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 3714193b49de392a6f838df611226b28f75a7efc+ff2bdc244935d5b40da6f20198b29dfc476efd7a (9b993e37631ec299a058f2d2806495aebd3f78c2) 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-ssh10652672092558798268.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-ssh12904837826793584794.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-ssh2088089890194948320.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-ssh14757371894083377588.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-ssh12457802038635900943.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6232 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-ssh4068208079384061180.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-ssh122907497598797224.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 Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 3714193b49de392a6f838df611226b28f75a7efc Merge succeeded, producing 3714193b49de392a6f838df611226b28f75a7efc Checking out Revision 3714193b49de392a6f838df611226b28f75a7efc (PR-1097) > git config core.sparsecheckout # timeout=10 > git checkout -f 3714193b49de392a6f838df611226b28f75a7efc # 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-ssh8504950992431764042.key > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3714193b49de392a6f838df611226b28f75a7efc # 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-02T03:24:21.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-02T03:24:21.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-02T03:24:21.884Z] ========================================================= [2022-03-02T03:24:21.884Z] EdgeX Global Pipelines Version Info [2022-03-02T03:24:21.884Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk da94e137d7cee9468dadf98dfd2596d4a5e70a31 # timeout=10 [2022-03-02T03:24:23.014Z] ------------------- [2022-03-02T03:24:23.014Z] stable info: [2022-03-02T03:24:23.014Z] ------------------- [2022-03-02T03:24:23.014Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-02T03:24:23.014Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-02T03:24:23.014Z] Message: update stable to v1.0.220 [2022-03-02T03:24:23.587Z] ------------------- [2022-03-02T03:24:23.587Z] experimental info: [2022-03-02T03:24:23.587Z] ------------------- [2022-03-02T03:24:23.587Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-02T03:24:23.587Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-02T03:24:23.587Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-02T03:24:23.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-02T03:24:23.754Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-02T03:24:23.766Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-02T03:24:23.777Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-02T03:24:23.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-02T03:24:23.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-02T03:24:23.813Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-02T03:24:23.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-02T03:24:23.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-02T03:24:23.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-02T03:24:23.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-02T03:24:23.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-02T03:24:23.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-02T03:24:23.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-02T03:24:23.915Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-02T03:24:23.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T03:24:23.943Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T03:24:23.956Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T03:24:23.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-02T03:24:23.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-02T03:24:23.994Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-02T03:24:24.007Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-02T03:24:24.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-02T03:24:24.033Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-02T03:24:24.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-02T03:24:24.055Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-02T03:24:24.070Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1097 [Pipeline] echo [2022-03-02T03:24:24.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1097 [Pipeline] echo [2022-03-02T03:24:24.101Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1097 [Pipeline] echo [2022-03-02T03:24:24.114Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3714193b49de392a6f838df611226b28f75a7efc [Pipeline] echo [2022-03-02T03:24:24.131Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3714193 [Pipeline] echo [2022-03-02T03:24:24.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T03:24:24.195Z] provisioning config files... [2022-03-02T03:24:24.210Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config5790073107783793276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:24:24.529Z] ---> docker-login.sh [2022-03-02T03:24:24.529Z] nexus3.edgexfoundry.org:10001 [2022-03-02T03:24:24.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:24.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:24.795Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:24.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:24.795Z] [2022-03-02T03:24:24.795Z] Login Succeeded [2022-03-02T03:24:24.795Z] nexus3.edgexfoundry.org:10002 [2022-03-02T03:24:24.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:24.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:24.795Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:24.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:24.795Z] [2022-03-02T03:24:24.795Z] Login Succeeded [2022-03-02T03:24:24.795Z] nexus3.edgexfoundry.org:10003 [2022-03-02T03:24:25.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:25.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:25.059Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:25.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:25.059Z] [2022-03-02T03:24:25.059Z] Login Succeeded [2022-03-02T03:24:25.059Z] nexus3.edgexfoundry.org:10004 [2022-03-02T03:24:25.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:25.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:25.059Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:25.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:25.059Z] [2022-03-02T03:24:25.060Z] Login Succeeded [2022-03-02T03:24:25.060Z] docker.io [2022-03-02T03:24:25.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:25.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:25.592Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:25.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:25.592Z] [2022-03-02T03:24:25.592Z] Login Succeeded [2022-03-02T03:24:25.855Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T03:24:25.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-02T03:24:26.259Z] + git rev-list -1 --merges 3714193b49de392a6f838df611226b28f75a7efc~1..3714193b49de392a6f838df611226b28f75a7efc [Pipeline] echo [2022-03-02T03:24:26.292Z] -----------> git rev-list -1 --merges 3714193b49de392a6f838df611226b28f75a7efc~1..3714193b49de392a6f838df611226b28f75a7efc 3714193b49de392a6f838df611226b28f75a7efc [false] [Pipeline] sh [2022-03-02T03:24:26.600Z] + git log --format=format:%s -1 3714193b49de392a6f838df611226b28f75a7efc [Pipeline] echo [2022-03-02T03:24:26.621Z] ========================================================= [2022-03-02T03:24:26.621Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-02T03:24:26.621Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-02T03:24:26.963Z] + git log --format=format:%s -1 3714193b49de392a6f838df611226b28f75a7efc [Pipeline] echo [2022-03-02T03:24:26.975Z] [semverPrep] GIT_COMMIT: 3714193b49de392a6f838df611226b28f75a7efc, Commit Message: feat: implement ProtocolProperties validation mechanism [Pipeline] echo [2022-03-02T03:24:26.981Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-02T03:24:27.407Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-02T03:24:27.408Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-02T03:24:27.408Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-02T03:24:27.408Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-02T03:24:27.408Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-02T03:24:27.408Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-02T03:24:27.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:24:27.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T03:24:27.836Z] [2022-03-02T03:24:27.836Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:24:28.141Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T03:24:28.141Z] latest: Pulling from edgex-devops/git-semver [2022-03-02T03:24:28.141Z] a0d0a0d46f8b: Pulling fs layer [2022-03-02T03:24:28.141Z] 3e5f54012d9b: Pulling fs layer [2022-03-02T03:24:28.141Z] 4c7163046ea9: Pulling fs layer [2022-03-02T03:24:28.141Z] 0c2d73faf560: Pulling fs layer [2022-03-02T03:24:28.141Z] 0c2d73faf560: Waiting [2022-03-02T03:24:28.141Z] 3e5f54012d9b: Verifying Checksum [2022-03-02T03:24:28.141Z] 3e5f54012d9b: Download complete [2022-03-02T03:24:28.141Z] a0d0a0d46f8b: Verifying Checksum [2022-03-02T03:24:28.141Z] a0d0a0d46f8b: Download complete [2022-03-02T03:24:28.407Z] 4c7163046ea9: Verifying Checksum [2022-03-02T03:24:28.407Z] 4c7163046ea9: Download complete [2022-03-02T03:24:28.407Z] 0c2d73faf560: Verifying Checksum [2022-03-02T03:24:28.407Z] 0c2d73faf560: Download complete [2022-03-02T03:24:28.407Z] a0d0a0d46f8b: Pull complete [2022-03-02T03:24:28.407Z] 3e5f54012d9b: Pull complete [2022-03-02T03:24:28.985Z] 4c7163046ea9: Pull complete [2022-03-02T03:24:28.985Z] 0c2d73faf560: Pull complete [2022-03-02T03:24:28.985Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-02T03:24:28.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T03:24:28.985Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-02T03:24:29.067Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2022-03-02T03:24:28.979Z] $ 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-02T03:24:29.707Z] $ docker top 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-02T03:24:29.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-02T03:24:29.884Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-02T03:24:30.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-02T03:24:29.961Z] $ docker exec 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da ssh-agent [2022-03-02T03:24:30.129Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXibdfAf/agent.14 [2022-03-02T03:24:30.129Z] SSH_AGENT_PID=20 [2022-03-02T03:24:30.137Z] Running ssh-add (command line suppressed) [2022-03-02T03:24:30.221Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_122063944416747108.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_122063944416747108.key) [2022-03-02T03:24:30.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-02T03:24:30.555Z] + git tag --points-at HEAD [Pipeline] } [2022-03-02T03:24:30.563Z] $ docker exec --env ******** --env ******** 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da ssh-agent -k [2022-03-02T03:24:30.667Z] unset SSH_AUTH_SOCK; [2022-03-02T03:24:30.667Z] unset SSH_AGENT_PID; [2022-03-02T03:24:30.667Z] echo Agent pid 20 killed; [2022-03-02T03:24:30.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-02T03:24:30.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-02T03:24:30.710Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-02T03:24:30.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-02T03:24:30.828Z] $ docker exec 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da ssh-agent [2022-03-02T03:24:30.936Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLBhKbD/agent.53 [2022-03-02T03:24:30.936Z] SSH_AGENT_PID=60 [2022-03-02T03:24:30.944Z] Running ssh-add (command line suppressed) [2022-03-02T03:24:31.045Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_6634116939326598370.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_6634116939326598370.key) [2022-03-02T03:24:31.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-02T03:24:31.353Z] + git semver init [2022-03-02T03:24:31.353Z] # -> Open(): unable to determine branch for HEAD [2022-03-02T03:24:31.353Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.git [2022-03-02T03:24:31.353Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-03-02T03:24:31.353Z] # $SEMVER_REMOTE_NAME = origin [2022-03-02T03:24:31.353Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-02T03:24:31.353Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-02T03:24:31.353Z] # $SEMVER_BRANCH = PR-1097 [2022-03-02T03:24:31.353Z] # $SEMVER_TEMP = /tmp/semver-353029516 [2022-03-02T03:24:31.353Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-02T03:24:32.298Z] # '/tmp/semver-353029516' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver' [2022-03-02T03:24:32.298Z] # -> Force: false [2022-03-02T03:24:32.298Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver [Pipeline] } [2022-03-02T03:24:32.308Z] $ docker exec --env ******** --env ******** 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da ssh-agent -k [2022-03-02T03:24:32.416Z] unset SSH_AUTH_SOCK; [2022-03-02T03:24:32.416Z] unset SSH_AGENT_PID; [2022-03-02T03:24:32.416Z] echo Agent pid 60 killed; [2022-03-02T03:24:32.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-02T03:24:32.762Z] + git semver [Pipeline] } [2022-03-02T03:24:32.780Z] $ docker stop --time=1 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da [2022-03-02T03:24:34.051Z] $ docker rm -f 9ee9c1b1128830d5c5c92eaa1af8e2a787205562461029e63278d1582b10c4da [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-02T03:24:34.413Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-02T03:24:34.650Z] Stashed 1 file(s) [Pipeline] echo [2022-03-02T03:24:34.654Z] [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-02T03:24:34.813Z] provisioning config files... [2022-03-02T03:24:34.824Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config5671826195503646844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:24:35.142Z] ---> docker-login.sh [2022-03-02T03:24:35.142Z] nexus3.edgexfoundry.org:10001 [2022-03-02T03:24:35.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:35.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:35.142Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:35.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:35.142Z] [2022-03-02T03:24:35.142Z] Login Succeeded [2022-03-02T03:24:35.142Z] nexus3.edgexfoundry.org:10002 [2022-03-02T03:24:35.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:35.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:35.402Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:35.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:35.402Z] [2022-03-02T03:24:35.402Z] Login Succeeded [2022-03-02T03:24:35.402Z] nexus3.edgexfoundry.org:10003 [2022-03-02T03:24:35.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:35.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:35.402Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:35.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:35.402Z] [2022-03-02T03:24:35.402Z] Login Succeeded [2022-03-02T03:24:35.402Z] nexus3.edgexfoundry.org:10004 [2022-03-02T03:24:35.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:35.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:35.664Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:35.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:35.664Z] [2022-03-02T03:24:35.664Z] Login Succeeded [2022-03-02T03:24:35.664Z] docker.io [2022-03-02T03:24:35.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:24:35.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:24:35.926Z] Configure a credential helper to remove this warning. See [2022-03-02T03:24:35.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:24:35.926Z] [2022-03-02T03:24:35.926Z] Login Succeeded [2022-03-02T03:24:35.926Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T03:24:35.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-02T03:24:36.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-02T03:24:36.019Z] ========================================================= [2022-03-02T03:24:36.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-02T03:24:36.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:24:36.343Z] + 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-02T03:24:36.343Z] Sending build context to Docker daemon 9.548MB [2022-03-02T03:24:36.343Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-02T03:24:36.343Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-02T03:24:36.605Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-02T03:24:36.605Z] 59bf1c3509f3: Pulling fs layer [2022-03-02T03:24:36.605Z] 666ba61612fd: Pulling fs layer [2022-03-02T03:24:36.605Z] 8ed8ca486205: Pulling fs layer [2022-03-02T03:24:36.605Z] 4fe6c5a15a65: Pulling fs layer [2022-03-02T03:24:36.605Z] 22a0e8bec74d: Pulling fs layer [2022-03-02T03:24:36.605Z] 640e595b4fbd: Pulling fs layer [2022-03-02T03:24:36.605Z] 763cafe07f6e: Pulling fs layer [2022-03-02T03:24:36.605Z] 0c0b528cf693: Pulling fs layer [2022-03-02T03:24:36.605Z] 10935f4eaf8b: Pulling fs layer [2022-03-02T03:24:36.605Z] 4fe6c5a15a65: Waiting [2022-03-02T03:24:36.605Z] 22a0e8bec74d: Waiting [2022-03-02T03:24:36.605Z] 640e595b4fbd: Waiting [2022-03-02T03:24:36.605Z] 763cafe07f6e: Waiting [2022-03-02T03:24:36.605Z] 0c0b528cf693: Waiting [2022-03-02T03:24:36.605Z] 10935f4eaf8b: Waiting [2022-03-02T03:24:36.605Z] 8ed8ca486205: Verifying Checksum [2022-03-02T03:24:36.605Z] 8ed8ca486205: Download complete [2022-03-02T03:24:36.605Z] 666ba61612fd: Verifying Checksum [2022-03-02T03:24:36.605Z] 666ba61612fd: Download complete [2022-03-02T03:24:36.605Z] 22a0e8bec74d: Verifying Checksum [2022-03-02T03:24:36.605Z] 22a0e8bec74d: Download complete [2022-03-02T03:24:36.605Z] 640e595b4fbd: Verifying Checksum [2022-03-02T03:24:36.605Z] 640e595b4fbd: Download complete [2022-03-02T03:24:36.605Z] 763cafe07f6e: Verifying Checksum [2022-03-02T03:24:36.605Z] 763cafe07f6e: Download complete [2022-03-02T03:24:36.605Z] 59bf1c3509f3: Verifying Checksum [2022-03-02T03:24:36.605Z] 59bf1c3509f3: Download complete [2022-03-02T03:24:36.605Z] 0c0b528cf693: Verifying Checksum [2022-03-02T03:24:36.605Z] 0c0b528cf693: Download complete [2022-03-02T03:24:36.878Z] 59bf1c3509f3: Pull complete [2022-03-02T03:24:37.142Z] 666ba61612fd: Pull complete [2022-03-02T03:24:37.142Z] 8ed8ca486205: Pull complete [2022-03-02T03:24:37.142Z] 4fe6c5a15a65: Verifying Checksum [2022-03-02T03:24:37.142Z] 4fe6c5a15a65: Download complete [2022-03-02T03:24:37.403Z] 10935f4eaf8b: Verifying Checksum [2022-03-02T03:24:37.403Z] 10935f4eaf8b: Download complete [2022-03-02T03:24:41.634Z] 4fe6c5a15a65: Pull complete [2022-03-02T03:24:41.635Z] 22a0e8bec74d: Pull complete [2022-03-02T03:24:41.635Z] 640e595b4fbd: Pull complete [2022-03-02T03:24:41.899Z] 763cafe07f6e: Pull complete [2022-03-02T03:24:41.899Z] 0c0b528cf693: Pull complete [2022-03-02T03:24:44.475Z] 10935f4eaf8b: Pull complete [2022-03-02T03:24:44.475Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-02T03:24:44.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-02T03:24:44.475Z] ---> 99d49a6021b9 [2022-03-02T03:24:44.475Z] Step 3/11 : ARG MAKE=make build [2022-03-02T03:24:46.391Z] ---> Running in 691bb3a20a9f [2022-03-02T03:24:46.391Z] Removing intermediate container 691bb3a20a9f [2022-03-02T03:24:46.391Z] ---> e65f186cd5ad [2022-03-02T03:24:46.391Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-02T03:24:46.391Z] ---> Running in 363dbeb2799e [2022-03-02T03:24:46.391Z] Removing intermediate container 363dbeb2799e [2022-03-02T03:24:46.391Z] ---> 4ea8b94a35f8 [2022-03-02T03:24:46.391Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-02T03:24:46.391Z] ---> Running in 053a4168e741 [2022-03-02T03:24:46.656Z] Removing intermediate container 053a4168e741 [2022-03-02T03:24:46.656Z] ---> c762e91c1878 [2022-03-02T03:24:46.656Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-02T03:24:46.656Z] ---> Running in eb0591fce11c [2022-03-02T03:24:47.228Z] Removing intermediate container eb0591fce11c [2022-03-02T03:24:47.228Z] ---> 23ecd2b05e31 [2022-03-02T03:24:47.228Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-02T03:24:47.228Z] ---> Running in d7de4db83352 [2022-03-02T03:24:47.489Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-02T03:24:48.454Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-02T03:24:48.721Z] OK: 221 MiB in 52 packages [2022-03-02T03:24:48.986Z] Removing intermediate container d7de4db83352 [2022-03-02T03:24:48.986Z] ---> b1b2e957b518 [2022-03-02T03:24:48.986Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-02T03:24:48.986Z] ---> fb083de88d62 [2022-03-02T03:24:48.986Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-02T03:24:49.254Z] ---> Running in d9e2777c86fa [2022-03-02T03:24:49.768Z] Still waiting to schedule task [2022-03-02T03:24:49.769Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-02T03:25:28.057Z] Removing intermediate container d9e2777c86fa [2022-03-02T03:25:28.057Z] ---> ec3a1baafff7 [2022-03-02T03:25:28.057Z] Step 10/11 : COPY . . [2022-03-02T03:25:28.057Z] ---> acb5b9108092 [2022-03-02T03:25:28.057Z] Step 11/11 : RUN ${MAKE} [2022-03-02T03:25:28.057Z] ---> Running in a3b59b6c6f1f [2022-03-02T03:25:28.057Z] noop [2022-03-02T03:25:28.057Z] Removing intermediate container a3b59b6c6f1f [2022-03-02T03:25:28.057Z] ---> 4170b44ca286 [2022-03-02T03:25:28.057Z] Successfully built 4170b44ca286 [2022-03-02T03:25:28.057Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:25:28.358Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-02T03:25:28.358Z] . [Pipeline] withDockerContainer [2022-03-02T03:25:28.425Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2022-03-02T03:25:28.458Z] $ 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-02T03:25:28.809Z] $ docker top 055f9b6c8b564d21ef0aec5b09b69828674820c256a85d302126cac79fcf5101 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T03:25:29.164Z] + go version [2022-03-02T03:25:29.164Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-02T03:25:29.175Z] $ docker stop --time=1 055f9b6c8b564d21ef0aec5b09b69828674820c256a85d302126cac79fcf5101 [2022-03-02T03:25:30.358Z] $ docker rm -f 055f9b6c8b564d21ef0aec5b09b69828674820c256a85d302126cac79fcf5101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:25:30.761Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-02T03:25:30.761Z] . [Pipeline] withDockerContainer [2022-03-02T03:25:30.823Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2022-03-02T03:25:30.853Z] $ 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-02T03:25:31.201Z] $ docker top 1708daa76ee4d4f4b04b9b006130d4fb129c1a0e9e83de20aa34693ba802546a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-02T03:25:31.572Z] + make test [2022-03-02T03:25:31.572Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-02T03:25:31.834Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-02T03:25:46.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-02T03:25:46.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-02T03:25:46.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-02T03:25:47.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.033s coverage: 23.3% of statements [2022-03-02T03:25:47.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-02T03:25:47.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.008s coverage: 27.6% of statements [2022-03-02T03:25:47.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.006s coverage: 78.9% of statements [2022-03-02T03:25:48.020Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 10.8% of statements [2022-03-02T03:25:48.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-02T03:25:48.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-02T03:25:48.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-02T03:25:48.280Z] --- FAIL: TestRestController_Validate (0.00s) [2022-03-02T03:25:48.280Z] --- FAIL: TestRestController_Validate/Valid_-_validation_succeed (0.00s) [2022-03-02T03:25:48.280Z] panic: [2022-03-02T03:25:48.280Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-02T03:25:48.280Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-02T03:25:48.280Z] This method was unexpected: [2022-03-02T03:25:48.280Z] ValidateDevice(models.Device) [2022-03-02T03:25:48.280Z] 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-02T03:25:48.280Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [recovered] [2022-03-02T03:25:48.280Z] panic: [2022-03-02T03:25:48.280Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-02T03:25:48.280Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-02T03:25:48.280Z] This method was unexpected: [2022-03-02T03:25:48.280Z] ValidateDevice(models.Device) [2022-03-02T03:25:48.280Z] 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-02T03:25:48.280Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [2022-03-02T03:25:48.280Z] [2022-03-02T03:25:48.280Z] goroutine 37 [running]: [2022-03-02T03:25:48.280Z] testing.tRunner.func1.2({0x67c7a0, 0xc0004643f0}) [2022-03-02T03:25:48.280Z] /usr/local/go/src/testing/testing.go:1209 +0x24e [2022-03-02T03:25:48.280Z] testing.tRunner.func1() [2022-03-02T03:25:48.280Z] /usr/local/go/src/testing/testing.go:1212 +0x218 [2022-03-02T03:25:48.280Z] panic({0x67c7a0, 0xc0004643f0}) [2022-03-02T03:25:48.280Z] /usr/local/go/src/runtime/panic.go:1038 +0x215 [2022-03-02T03:25:48.280Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc00041b090, {0x6f872e, 0x4}, {0xc000367e40, 0x1, 0x1}) [2022-03-02T03:25:48.280Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x145 [2022-03-02T03:25:48.280Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00041b090, {0x7a55e4, 0xe}, {0xc000464270, 0x1, 0x1}) [2022-03-02T03:25:48.280Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:418 +0x705 [2022-03-02T03:25:48.280Z] github.com/stretchr/testify/mock.(*Mock).Called(0x6d1d20, {0xc000464270, 0x1, 0x1}) [2022-03-02T03:25:48.280Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x149 [2022-03-02T03:25:48.280Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks.(*DeviceValidator).ValidateDevice(0xc00041b090, {{0x0, 0x0}, {0x0, 0x0}, {0xc00043be00, 0xb}, {0x0, 0x0}, {0xc00043be10, ...}, ...}) [2022-03-02T03:25:48.280Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/pkg/models/mocks/DeviceValidator.go:17 +0xc5 [2022-03-02T03:25:48.280Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).ValidateDevice(0xc0003676c0, {0x749288, 0xc000367700}, 0xc0003fc500) [2022-03-02T03:25:48.280Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/internal/controller/http/validation.go:32 +0x2a2 [2022-03-02T03:25:48.280Z] net/http.HandlerFunc.ServeHTTP(...) [2022-03-02T03:25:48.280Z] /usr/local/go/src/net/http/server.go:2047 [2022-03-02T03:25:48.280Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestRestController_Validate.func3(0xc0003f8b60) [2022-03-02T03:25:48.280Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/internal/controller/http/validation_test.go:89 +0x27e [2022-03-02T03:25:48.280Z] testing.tRunner(0xc0003f8d00, 0xc00000f0f8) [2022-03-02T03:25:48.280Z] /usr/local/go/src/testing/testing.go:1259 +0x102 [2022-03-02T03:25:48.280Z] created by testing.(*T).Run [2022-03-02T03:25:48.280Z] /usr/local/go/src/testing/testing.go:1306 +0x35a [2022-03-02T03:25:48.280Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.012s [2022-03-02T03:25:48.280Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-02T03:25:49.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.011s coverage: 86.1% of statements [2022-03-02T03:25:49.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-02T03:25:49.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-02T03:25:49.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.011s coverage: 57.4% of statements [2022-03-02T03:25:49.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.029s coverage: 89.2% of statements [2022-03-02T03:25:49.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-02T03:25:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-03-02T03:25:50.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-02T03:25:50.256Z] FAIL [2022-03-02T03:25:50.256Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-03-02T03:25:50.269Z] $ docker stop --time=1 1708daa76ee4d4f4b04b9b006130d4fb129c1a0e9e83de20aa34693ba802546a [2022-03-02T03:25:51.863Z] $ docker rm -f 1708daa76ee4d4f4b04b9b006130d4fb129c1a0e9e83de20aa34693ba802546a [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-02T03:25:52.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T03:25:52.396Z] [2022-03-02T03:25:52.396Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:25:52.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T03:25:52.698Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-02T03:25:52.698Z] 5eb5b503b376: Pulling fs layer [2022-03-02T03:25:52.698Z] 5c69ac0246d0: Pulling fs layer [2022-03-02T03:25:52.698Z] ec43610c2a17: Pulling fs layer [2022-03-02T03:25:52.698Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-02T03:25:52.698Z] 33b1e0a273af: Pulling fs layer [2022-03-02T03:25:52.698Z] 5d3b04190fa2: Pulling fs layer [2022-03-02T03:25:52.698Z] 2f39f015ded8: Pulling fs layer [2022-03-02T03:25:52.698Z] 33b1e0a273af: Waiting [2022-03-02T03:25:52.698Z] 5d3b04190fa2: Waiting [2022-03-02T03:25:52.698Z] 2f39f015ded8: Waiting [2022-03-02T03:25:52.698Z] 3a2ae6a8a46f: Waiting [2022-03-02T03:25:52.698Z] 5c69ac0246d0: Verifying Checksum [2022-03-02T03:25:52.698Z] 5c69ac0246d0: Download complete [2022-03-02T03:25:52.698Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-02T03:25:52.698Z] 3a2ae6a8a46f: Download complete [2022-03-02T03:25:52.963Z] ec43610c2a17: Verifying Checksum [2022-03-02T03:25:52.963Z] ec43610c2a17: Download complete [2022-03-02T03:25:52.963Z] 33b1e0a273af: Verifying Checksum [2022-03-02T03:25:52.963Z] 33b1e0a273af: Download complete [2022-03-02T03:25:52.963Z] 5d3b04190fa2: Verifying Checksum [2022-03-02T03:25:52.963Z] 5d3b04190fa2: Download complete [2022-03-02T03:25:52.963Z] 5eb5b503b376: Download complete [2022-03-02T03:25:53.541Z] 2f39f015ded8: Verifying Checksum [2022-03-02T03:25:53.541Z] 2f39f015ded8: Download complete [2022-03-02T03:25:54.494Z] 5eb5b503b376: Pull complete [2022-03-02T03:25:54.755Z] 5c69ac0246d0: Pull complete [2022-03-02T03:25:55.329Z] ec43610c2a17: Pull complete [2022-03-02T03:25:55.329Z] 3a2ae6a8a46f: Pull complete [2022-03-02T03:25:55.604Z] 33b1e0a273af: Pull complete [2022-03-02T03:25:55.604Z] 5d3b04190fa2: Pull complete [2022-03-02T03:26:00.930Z] 2f39f015ded8: Pull complete [2022-03-02T03:26:00.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-02T03:26:00.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T03:26:00.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-02T03:26:00.997Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2022-03-02T03:26:01.029Z] $ 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-02T03:26:03.109Z] $ docker top dbe96b2a538e5a68a9d2c2d844a31a68e8158decc5b6e431d39654e65773d667 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:26:03.557Z] ---> job-cost.sh [2022-03-02T03:26:03.557Z] lf-activate-venv: SKIPPING [2022-03-02T03:26:03.557Z] INFO: No Stack... [2022-03-02T03:26:03.818Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-02T03:26:04.389Z] INFO: Archiving Costs [Pipeline] sh [2022-03-02T03:26:04.689Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/cost.csv [2022-03-02T03:26:04.689Z] + cut -d, -f6 [Pipeline] lock [2022-03-02T03:26:04.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [2022-03-02T03:26:04.714Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] did not exist. Created. [2022-03-02T03:26:04.714Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-02T03:26:05.019Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-02T03:26:05.062Z] Stashed 1 file(s) [Pipeline] } [2022-03-02T03:26:05.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-02T03:26:05.093Z] $ docker stop --time=1 dbe96b2a538e5a68a9d2c2d844a31a68e8158decc5b6e431d39654e65773d667 [2022-03-02T03:26:06.236Z] $ docker rm -f dbe96b2a538e5a68a9d2c2d844a31a68e8158decc5b6e431d39654e65773d667 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-02T03:26:06.357Z] Failed in branch amd64 [2022-03-02T03:26:18.332Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6233 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] ws [2022-03-02T03:26:18.345Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2022-03-02T03:26:18.537Z] The recommended git tool is: git [2022-03-02T03:26:23.393Z] using credential edgex-jenkins-ssh [2022-03-02T03:26:23.408Z] Cloning the remote Git repository [2022-03-02T03:26:23.426Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T03:26:23.500Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2022-03-02T03:26:23.581Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T03:26:23.581Z] > git --version # timeout=10 [2022-03-02T03:26:23.607Z] > git --version # 'git version 2.17.1' [2022-03-02T03:26:23.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T03:26:23.719Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-02T03:26:25.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-02T03:26:25.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-02T03:26:25.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-02T03:26:25.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T03:26:25.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T03:26:25.411Z] > 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-02T03:26:26.139Z] Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit 3714193b49de392a6f838df611226b28f75a7efc [2022-03-02T03:26:26.379Z] Merge succeeded, producing 3714193b49de392a6f838df611226b28f75a7efc [2022-03-02T03:26:26.380Z] Checking out Revision 3714193b49de392a6f838df611226b28f75a7efc (PR-1097) [2022-03-02T03:26:26.127Z] > git config core.sparsecheckout # timeout=10 [2022-03-02T03:26:26.158Z] > git checkout -f 3714193b49de392a6f838df611226b28f75a7efc # timeout=10 [2022-03-02T03:26:26.267Z] > git remote # timeout=10 [2022-03-02T03:26:26.292Z] > git config --get remote.origin.url # timeout=10 [2022-03-02T03:26:26.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T03:26:26.314Z] > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-03-02T03:26:26.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-02T03:26:26.356Z] > git config core.sparsecheckout # timeout=10 [2022-03-02T03:26:26.375Z] > git checkout -f 3714193b49de392a6f838df611226b28f75a7efc # timeout=10 [2022-03-02T03:26:30.580Z] Commit message: "feat: implement ProtocolProperties validation mechanism" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-02T03:26:34.251Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-02T03:26:34.252Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-02T03:26:34.252Z] Dload Upload Total Spent Left Speed [2022-03-02T03:26:34.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46810 [Pipeline] sh [2022-03-02T03:26:34.758Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-02T03:26:35.097Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-02T03:26:35.097Z] + sudo tee /etc/docker/daemon.new [2022-03-02T03:26:35.097Z] { [2022-03-02T03:26:35.097Z] "registry-mirrors": [ [2022-03-02T03:26:35.097Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-02T03:26:35.097Z] ], [2022-03-02T03:26:35.097Z] "bip": "10.250.0.254/24", [2022-03-02T03:26:35.097Z] "hosts": [ [2022-03-02T03:26:35.097Z] "tcp://0.0.0.0:5555", [2022-03-02T03:26:35.097Z] "unix:///var/run/docker.sock" [2022-03-02T03:26:35.097Z] ], [2022-03-02T03:26:35.097Z] "mtu": 1458, [2022-03-02T03:26:35.097Z] "selinux-enabled": true, [2022-03-02T03:26:35.097Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-02T03:26:35.097Z] } [Pipeline] sh [2022-03-02T03:26:35.481Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-02T03:26:35.824Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T03:26:54.145Z] provisioning config files... [2022-03-02T03:26:54.168Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config672693797277168950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:26:54.530Z] ---> docker-login.sh [2022-03-02T03:26:54.530Z] nexus3.edgexfoundry.org:10001 [2022-03-02T03:26:55.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:26:55.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:26:55.401Z] Configure a credential helper to remove this warning. See [2022-03-02T03:26:55.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:26:55.401Z] [2022-03-02T03:26:55.401Z] Login Succeeded [2022-03-02T03:26:55.401Z] nexus3.edgexfoundry.org:10002 [2022-03-02T03:26:55.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:26:55.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:26:55.673Z] Configure a credential helper to remove this warning. See [2022-03-02T03:26:55.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:26:55.673Z] [2022-03-02T03:26:55.673Z] Login Succeeded [2022-03-02T03:26:55.673Z] nexus3.edgexfoundry.org:10003 [2022-03-02T03:26:55.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:26:56.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:26:56.224Z] Configure a credential helper to remove this warning. See [2022-03-02T03:26:56.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:26:56.224Z] [2022-03-02T03:26:56.224Z] Login Succeeded [2022-03-02T03:26:56.224Z] nexus3.edgexfoundry.org:10004 [2022-03-02T03:26:56.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:26:56.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:26:56.499Z] Configure a credential helper to remove this warning. See [2022-03-02T03:26:56.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:26:56.499Z] [2022-03-02T03:26:56.499Z] Login Succeeded [2022-03-02T03:26:56.499Z] docker.io [2022-03-02T03:26:56.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T03:26:57.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T03:26:57.359Z] Configure a credential helper to remove this warning. See [2022-03-02T03:26:57.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T03:26:57.359Z] [2022-03-02T03:26:57.359Z] Login Succeeded [2022-03-02T03:26:57.359Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T03:26:57.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-02T03:26:57.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-02T03:26:57.881Z] ========================================================= [2022-03-02T03:26:57.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-02T03:26:57.881Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:26:58.218Z] + 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-02T03:26:58.495Z] Sending build context to Docker daemon 5.184MB [2022-03-02T03:26:58.772Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-02T03:26:58.772Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-02T03:26:58.772Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-02T03:26:58.772Z] 9b3977197b4f: Pulling fs layer [2022-03-02T03:26:58.772Z] 1a89e8eeedd5: Pulling fs layer [2022-03-02T03:26:58.772Z] 94645a83ff95: Pulling fs layer [2022-03-02T03:26:58.772Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-02T03:26:58.772Z] 0c92f367c5e7: Pulling fs layer [2022-03-02T03:26:58.772Z] f7c0051592d6: Pulling fs layer [2022-03-02T03:26:58.772Z] a227ed2f7395: Pulling fs layer [2022-03-02T03:26:58.772Z] 7b1c46037f91: Pulling fs layer [2022-03-02T03:26:58.772Z] f7c0051592d6: Waiting [2022-03-02T03:26:58.772Z] a227ed2f7395: Waiting [2022-03-02T03:26:58.772Z] 7b1c46037f91: Waiting [2022-03-02T03:26:58.772Z] 3f3a8bcf1eab: Waiting [2022-03-02T03:26:58.772Z] 0c92f367c5e7: Waiting [2022-03-02T03:26:58.772Z] 94645a83ff95: Verifying Checksum [2022-03-02T03:26:58.772Z] 94645a83ff95: Download complete [2022-03-02T03:26:58.772Z] 1a89e8eeedd5: Verifying Checksum [2022-03-02T03:26:58.772Z] 1a89e8eeedd5: Download complete [2022-03-02T03:26:58.772Z] 0c92f367c5e7: Verifying Checksum [2022-03-02T03:26:58.772Z] 0c92f367c5e7: Download complete [2022-03-02T03:26:59.054Z] f7c0051592d6: Verifying Checksum [2022-03-02T03:26:59.054Z] f7c0051592d6: Download complete [2022-03-02T03:26:59.054Z] 9b3977197b4f: Verifying Checksum [2022-03-02T03:26:59.054Z] 9b3977197b4f: Download complete [2022-03-02T03:26:59.054Z] a227ed2f7395: Verifying Checksum [2022-03-02T03:26:59.054Z] a227ed2f7395: Download complete [2022-03-02T03:26:59.654Z] 9b3977197b4f: Pull complete [2022-03-02T03:27:00.253Z] 1a89e8eeedd5: Pull complete [2022-03-02T03:27:00.526Z] 94645a83ff95: Pull complete [2022-03-02T03:27:00.798Z] 7b1c46037f91: Verifying Checksum [2022-03-02T03:27:00.798Z] 7b1c46037f91: Download complete [2022-03-02T03:27:01.392Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-02T03:27:01.392Z] 3f3a8bcf1eab: Download complete [2022-03-02T03:27:13.782Z] 3f3a8bcf1eab: Pull complete [2022-03-02T03:27:13.782Z] 0c92f367c5e7: Pull complete [2022-03-02T03:27:13.782Z] f7c0051592d6: Pull complete [2022-03-02T03:27:13.782Z] a227ed2f7395: Pull complete [2022-03-02T03:27:20.515Z] 7b1c46037f91: Pull complete [2022-03-02T03:27:20.515Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-02T03:27:20.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-02T03:27:20.515Z] ---> f79e39bc4007 [2022-03-02T03:27:20.515Z] Step 3/11 : ARG MAKE=make build [2022-03-02T03:27:21.113Z] ---> Running in 7ea3c6e2378b [2022-03-02T03:27:21.390Z] Removing intermediate container 7ea3c6e2378b [2022-03-02T03:27:21.390Z] ---> 3cbb0a84ec16 [2022-03-02T03:27:21.390Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-02T03:27:21.662Z] ---> Running in 9a851d2916a7 [2022-03-02T03:27:21.937Z] Removing intermediate container 9a851d2916a7 [2022-03-02T03:27:21.937Z] ---> 87eaa149156f [2022-03-02T03:27:21.937Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-02T03:27:21.937Z] ---> Running in 6c787b8a1cf4 [2022-03-02T03:27:22.538Z] Removing intermediate container 6c787b8a1cf4 [2022-03-02T03:27:22.538Z] ---> ffbbcf8ab92e [2022-03-02T03:27:22.538Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-02T03:27:22.538Z] ---> Running in 10456366639d [2022-03-02T03:27:24.515Z] Removing intermediate container 10456366639d [2022-03-02T03:27:24.515Z] ---> cf09692ea1da [2022-03-02T03:27:24.515Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-02T03:27:24.515Z] ---> Running in 2f3f5b71f32a [2022-03-02T03:27:25.493Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-02T03:27:26.471Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-02T03:27:27.067Z] OK: 220 MiB in 52 packages [2022-03-02T03:27:28.049Z] Removing intermediate container 2f3f5b71f32a [2022-03-02T03:27:28.049Z] ---> 8dc14ead0e37 [2022-03-02T03:27:28.049Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-02T03:27:28.648Z] ---> 6e6c73b6cfb6 [2022-03-02T03:27:28.648Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-02T03:27:28.648Z] ---> Running in 5dbbb8265375 [2022-03-02T03:28:50.425Z] Removing intermediate container 5dbbb8265375 [2022-03-02T03:28:50.425Z] ---> 5699fa360492 [2022-03-02T03:28:50.425Z] Step 10/11 : COPY . . [2022-03-02T03:28:50.425Z] ---> bb3f321da8c7 [2022-03-02T03:28:50.425Z] Step 11/11 : RUN ${MAKE} [2022-03-02T03:28:50.425Z] ---> Running in 3c5da87fe84a [2022-03-02T03:28:50.425Z] noop [2022-03-02T03:28:50.425Z] Removing intermediate container 3c5da87fe84a [2022-03-02T03:28:50.425Z] ---> 761dcef4f4f1 [2022-03-02T03:28:50.425Z] Successfully built 761dcef4f4f1 [2022-03-02T03:28:50.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:28:50.766Z] + docker inspect -f . ci-base-image-arm64 [2022-03-02T03:28:50.766Z] . [Pipeline] withDockerContainer [2022-03-02T03:28:50.993Z] prd-ubuntu18.04-docker-arm64-4c-16g-6233 does not seem to be running inside a container [2022-03-02T03:28:51.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** ci-base-image-arm64 cat [2022-03-02T03:28:52.391Z] $ docker top cb344a11aacd45b33874054f7186a7e043fba1da59bba37dd4b720b0d07a08f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T03:28:53.284Z] + go version [2022-03-02T03:28:53.284Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-02T03:28:53.310Z] $ docker stop --time=1 cb344a11aacd45b33874054f7186a7e043fba1da59bba37dd4b720b0d07a08f4 [2022-03-02T03:28:54.956Z] $ docker rm -f cb344a11aacd45b33874054f7186a7e043fba1da59bba37dd4b720b0d07a08f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:28:55.551Z] + docker inspect -f . ci-base-image-arm64 [2022-03-02T03:28:55.551Z] . [Pipeline] withDockerContainer [2022-03-02T03:28:55.770Z] prd-ubuntu18.04-docker-arm64-4c-16g-6233 does not seem to be running inside a container [2022-03-02T03:28:55.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** ci-base-image-arm64 cat [2022-03-02T03:28:57.157Z] $ docker top 3c7ad3a8893dd174f74d4bfaf3ce595c2159c46eb439ceec6fed76bd1759ca7b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-02T03:28:58.069Z] + make test [2022-03-02T03:28:58.069Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-02T03:28:59.519Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-02T03:29:46.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-02T03:29:46.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-02T03:29:46.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-02T03:29:51.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.098s coverage: 23.3% of statements [2022-03-02T03:29:51.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-02T03:29:51.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-03-02T03:29:51.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements [2022-03-02T03:29:51.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.185s coverage: 10.8% of statements [2022-03-02T03:29:51.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-02T03:29:51.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-02T03:29:51.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-02T03:29:53.411Z] --- FAIL: TestRestController_Validate (0.00s) [2022-03-02T03:29:53.411Z] --- FAIL: TestRestController_Validate/Valid_-_validation_succeed (0.00s) [2022-03-02T03:29:53.411Z] panic: [2022-03-02T03:29:53.411Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-02T03:29:53.411Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-02T03:29:53.411Z] This method was unexpected: [2022-03-02T03:29:53.411Z] ValidateDevice(models.Device) [2022-03-02T03:29:53.411Z] 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-02T03:29:53.411Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [recovered] [2022-03-02T03:29:53.411Z] panic: [2022-03-02T03:29:53.411Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-02T03:29:53.411Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-02T03:29:53.411Z] This method was unexpected: [2022-03-02T03:29:53.411Z] ValidateDevice(models.Device) [2022-03-02T03:29:53.411Z] 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-02T03:29:53.411Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [2022-03-02T03:29:53.411Z] [2022-03-02T03:29:53.411Z] goroutine 35 [running]: [2022-03-02T03:29:53.411Z] testing.tRunner.func1.2({0x673080, 0x40004f73c0}) [2022-03-02T03:29:53.411Z] /usr/local/go/src/testing/testing.go:1209 +0x258 [2022-03-02T03:29:53.411Z] testing.tRunner.func1(0x40000b7860) [2022-03-02T03:29:53.411Z] /usr/local/go/src/testing/testing.go:1212 +0x278 [2022-03-02T03:29:53.411Z] panic({0x673080, 0x40004f73c0}) [2022-03-02T03:29:53.411Z] /usr/local/go/src/runtime/panic.go:1038 +0x224 [2022-03-02T03:29:53.411Z] github.com/stretchr/testify/mock.(*Mock).fail(0x4000101090, {0x6ed5a4, 0xc1}, {0x400049b9c0, 0x4, 0x4}) [2022-03-02T03:29:53.411Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x184 [2022-03-02T03:29:53.411Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x4000101090, {0x79710f, 0xe}, {0x40004f7240, 0x1, 0x1}) [2022-03-02T03:29:53.411Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:418 +0x7f4 [2022-03-02T03:29:53.411Z] github.com/stretchr/testify/mock.(*Mock).Called(0x4000101090, {0x40004f7240, 0x1, 0x1}) [2022-03-02T03:29:53.411Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x178 [2022-03-02T03:29:53.411Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks.(*DeviceValidator).ValidateDevice(0x4000101090, {{0x0, 0x0}, {0x0, 0x0}, {0x40005204a0, 0xb}, {0x0, 0x0}, {0x40005204b0, ...}, ...}) [2022-03-02T03:29:53.411Z] /w/workspace/device-sdk-go/10/pkg/models/mocks/DeviceValidator.go:17 +0xc0 [2022-03-02T03:29:53.411Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).ValidateDevice(0x400049b240, {0x73df30, 0x400049b280}, 0x4000484d00) [2022-03-02T03:29:53.411Z] /w/workspace/device-sdk-go/10/internal/controller/http/validation.go:32 +0x240 [2022-03-02T03:29:53.411Z] net/http.HandlerFunc.ServeHTTP(...) [2022-03-02T03:29:53.411Z] /usr/local/go/src/net/http/server.go:2047 [2022-03-02T03:29:53.411Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestRestController_Validate.func3(0x40000b7860) [2022-03-02T03:29:53.411Z] /w/workspace/device-sdk-go/10/internal/controller/http/validation_test.go:89 +0x2d0 [2022-03-02T03:29:53.411Z] testing.tRunner(0x40000b7860, 0x40000bed38) [2022-03-02T03:29:53.411Z] /usr/local/go/src/testing/testing.go:1259 +0xf8 [2022-03-02T03:29:53.411Z] created by testing.(*T).Run [2022-03-02T03:29:53.411Z] /usr/local/go/src/testing/testing.go:1306 +0x350 [2022-03-02T03:29:53.411Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s [2022-03-02T03:29:53.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-02T03:29:54.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements [2022-03-02T03:29:54.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-02T03:29:54.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-02T03:29:54.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.122s coverage: 57.4% of statements [2022-03-02T03:29:54.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.199s coverage: 89.2% of statements [2022-03-02T03:29:54.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-02T03:29:56.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements [2022-03-02T03:29:56.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-02T03:29:56.817Z] FAIL [2022-03-02T03:29:56.817Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-03-02T03:29:56.846Z] $ docker stop --time=1 3c7ad3a8893dd174f74d4bfaf3ce595c2159c46eb439ceec6fed76bd1759ca7b [2022-03-02T03:29:58.691Z] $ docker rm -f 3c7ad3a8893dd174f74d4bfaf3ce595c2159c46eb439ceec6fed76bd1759ca7b [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-02T03:29:59.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T03:29:59.589Z] [2022-03-02T03:29:59.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:29:59.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T03:30:00.207Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-02T03:30:00.207Z] 8998bd30e6a1: Pulling fs layer [2022-03-02T03:30:00.207Z] 04944245beec: Pulling fs layer [2022-03-02T03:30:00.207Z] 699f458cf7ca: Pulling fs layer [2022-03-02T03:30:00.207Z] 765212b225bb: Pulling fs layer [2022-03-02T03:30:00.207Z] f23df028b6ca: Pulling fs layer [2022-03-02T03:30:00.207Z] d65c8cfc05b1: Pulling fs layer [2022-03-02T03:30:00.207Z] 2437ff75d9bd: Pulling fs layer [2022-03-02T03:30:00.207Z] 765212b225bb: Waiting [2022-03-02T03:30:00.207Z] d65c8cfc05b1: Waiting [2022-03-02T03:30:00.207Z] 2437ff75d9bd: Waiting [2022-03-02T03:30:00.207Z] f23df028b6ca: Waiting [2022-03-02T03:30:00.207Z] 04944245beec: Verifying Checksum [2022-03-02T03:30:00.207Z] 04944245beec: Download complete [2022-03-02T03:30:00.207Z] 765212b225bb: Verifying Checksum [2022-03-02T03:30:00.207Z] 765212b225bb: Download complete [2022-03-02T03:30:00.480Z] f23df028b6ca: Verifying Checksum [2022-03-02T03:30:00.481Z] f23df028b6ca: Download complete [2022-03-02T03:30:00.481Z] d65c8cfc05b1: Verifying Checksum [2022-03-02T03:30:00.481Z] d65c8cfc05b1: Download complete [2022-03-02T03:30:00.481Z] 699f458cf7ca: Verifying Checksum [2022-03-02T03:30:00.481Z] 699f458cf7ca: Download complete [2022-03-02T03:30:00.755Z] 8998bd30e6a1: Download complete [2022-03-02T03:30:02.726Z] 2437ff75d9bd: Verifying Checksum [2022-03-02T03:30:02.726Z] 2437ff75d9bd: Download complete [2022-03-02T03:30:04.703Z] 8998bd30e6a1: Pull complete [2022-03-02T03:30:05.295Z] 04944245beec: Pull complete [2022-03-02T03:30:06.728Z] 699f458cf7ca: Pull complete [2022-03-02T03:30:07.001Z] 765212b225bb: Pull complete [2022-03-02T03:30:07.593Z] f23df028b6ca: Pull complete [2022-03-02T03:30:07.867Z] d65c8cfc05b1: Pull complete [2022-03-02T03:30:22.944Z] 2437ff75d9bd: Pull complete [2022-03-02T03:30:22.944Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-02T03:30:22.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T03:30:22.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-02T03:30:23.167Z] prd-ubuntu18.04-docker-arm64-4c-16g-6233 does not seem to be running inside a container [2022-03-02T03:30:23.251Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-02T03:30:25.775Z] $ docker top b38d58b5fe70b561555a6360eca3dfc9c2e6cb6ec07c6ac4bde7bc49a226bd1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:26.686Z] ---> job-cost.sh [2022-03-02T03:30:26.686Z] lf-activate-venv: SKIPPING [2022-03-02T03:30:26.686Z] INFO: No Stack... [2022-03-02T03:30:26.957Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-02T03:30:27.930Z] INFO: Archiving Costs [Pipeline] sh [2022-03-02T03:30:28.593Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [2022-03-02T03:30:28.593Z] + cut -d, -f6 [Pipeline] lock [2022-03-02T03:30:28.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [2022-03-02T03:30:28.658Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] did not exist. Created. [2022-03-02T03:30:28.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-02T03:30:29.335Z] /w/workspace/device-sdk-go/10@tmp/durable-9cb379b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-02T03:30:30.003Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-02T03:30:30.031Z] Warning: overwriting stash ‘stack-cost’ [2022-03-02T03:30:30.473Z] Stashed 1 file(s) [Pipeline] } [2022-03-02T03:30:30.480Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-02T03:30:30.504Z] $ docker stop --time=1 b38d58b5fe70b561555a6360eca3dfc9c2e6cb6ec07c6ac4bde7bc49a226bd1f [2022-03-02T03:30:32.011Z] $ docker rm -f b38d58b5fe70b561555a6360eca3dfc9c2e6cb6ec07c6ac4bde7bc49a226bd1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-02T03:30:32.327Z] 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-02T03:30:33.044Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives ']' [2022-03-02T03:30:33.044Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-02T03:30:33.044Z] total 8 [2022-03-02T03:30:33.044Z] drwxr-xr-x. 3 root root 34 Mar 2 03:26 . [2022-03-02T03:30:33.044Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 03:26 .. [2022-03-02T03:30:33.044Z] drwxr-xr-x. 2 root root 6 Mar 2 03:26 cost [2022-03-02T03:30:33.044Z] -rw-r--r--. 1 root root 86 Mar 2 03:26 cost.csv [2022-03-02T03:30:33.044Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-02T03:30:33.044Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-02T03:30:33.044Z] total 8 [2022-03-02T03:30:33.044Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 2 03:26 . [2022-03-02T03:30:33.044Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 03:26 .. [2022-03-02T03:30:33.044Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 2 03:26 cost [2022-03-02T03:30:33.044Z] -rw-r--r--. 1 jenkins jenkins 86 Mar 2 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:33.347Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:33.904Z] ---> package-listing.sh [2022-03-02T03:30:33.904Z] ++ facter osfamily [2022-03-02T03:30:33.904Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-02T03:30:34.165Z] + OS_FAMILY=redhat [2022-03-02T03:30:34.165Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-03-02T03:30:34.165Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-02T03:30:34.165Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-02T03:30:34.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-02T03:30:34.165Z] + PACKAGES=/tmp/packages_start.txt [2022-03-02T03:30:34.165Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-03-02T03:30:34.165Z] + PACKAGES=/tmp/packages_end.txt [2022-03-02T03:30:34.165Z] + case "${OS_FAMILY}" in [2022-03-02T03:30:34.165Z] + sort [2022-03-02T03:30:34.165Z] + rpm -qa [2022-03-02T03:30:34.736Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-02T03:30:34.736Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-02T03:30:34.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-02T03:30:34.736Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-03-02T03:30:34.736Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [2022-03-02T03:30:34.736Z] + 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-02T03:30:35.009Z] 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-02T03:30:35.292Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-02T03:30:35.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T03:30:35.857Z] . [Pipeline] withDockerContainer [2022-03-02T03:30:35.922Z] prd-centos7-docker-4c-2g-6232 does not seem to be running inside a container [2022-03-02T03:30:35.976Z] $ 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-02T03:30:36.193Z] $ docker top ac6c0f233a1dc575867e5e4a4030e6d8b8897f96b46d9eeece7b259cd6cc965a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T03:30:36.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-02T03:30:36.842Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-02T03:30:37.132Z] + ls /var/log/sa-host [2022-03-02T03:30:37.132Z] + sadf -c /var/log/sa-host/sa02 [2022-03-02T03:30:37.132Z] file_magic: OK [2022-03-02T03:30:37.132Z] HZ: Using current value: 100 [2022-03-02T03:30:37.132Z] file_header: OK [2022-03-02T03:30:37.132Z] 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-02T03:30:37.132Z] Statistics: [2022-03-02T03:30:37.132Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-02T03:30:37.132Z] File successfully converted to sysstat format version 12.5.2 [2022-03-02T03:30:37.132Z] + sadf -c /var/log/sa-host/sa17 [2022-03-02T03:30:37.132Z] file_magic: OK [2022-03-02T03:30:37.132Z] HZ: Using current value: 100 [2022-03-02T03:30:37.132Z] file_header: OK [2022-03-02T03:30:37.132Z] 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-02T03:30:37.132Z] Statistics: [2022-03-02T03:30:37.132Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-02T03:30:37.132Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T03:30:37.347Z] provisioning config files... [2022-03-02T03:30:37.356Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config5533855567414350581tmp [Pipeline] { [Pipeline] echo [2022-03-02T03:30:37.373Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:37.669Z] ---> create-netrc.sh [Pipeline] } [2022-03-02T03:30:37.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:38.012Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-02T03:30:38.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:38.313Z] ---> sudo-logs.sh [2022-03-02T03:30:38.313Z] Archiving 'sudo' log.. [2022-03-02T03:30:38.313Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6232.novalocal: Name or service not known [2022-03-02T03:30:38.313Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6232.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-02T03:30:38.339Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:38.632Z] ---> job-cost.sh [2022-03-02T03:30:38.632Z] lf-activate-venv: SKIPPING [2022-03-02T03:30:38.632Z] DEBUG: total: 0.05999999865889549 [2022-03-02T03:30:38.632Z] INFO: Retrieving Stack Cost... [2022-03-02T03:30:38.893Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-02T03:30:39.465Z] INFO: Archiving Costs [Pipeline] echo [2022-03-02T03:30:39.541Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T03:30:39.833Z] ---> logs-deploy.sh [2022-03-02T03:30:39.833Z] lf-activate-venv: SKIPPING [2022-03-02T03:30:39.833Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1097/10 [2022-03-02T03:30:39.833Z] INFO: archiving workspace using pattern(s): [2022-03-02T03:30:40.782Z] Archives upload complete. [2022-03-02T03:30:40.782Z] INFO: archiving logs to Nexus [2022-03-02T03:30:41.353Z] ---> uname -a: [2022-03-02T03:30:41.353Z] Linux prd-centos7-docker-4c-2g-6232.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] ---> lscpu: [2022-03-02T03:30:41.353Z] Architecture: x86_64 [2022-03-02T03:30:41.353Z] CPU op-mode(s): 32-bit, 64-bit [2022-03-02T03:30:41.353Z] Byte Order: Little Endian [2022-03-02T03:30:41.353Z] Address sizes: 40 bits physical, 48 bits virtual [2022-03-02T03:30:41.353Z] CPU(s): 2 [2022-03-02T03:30:41.353Z] On-line CPU(s) list: 0,1 [2022-03-02T03:30:41.353Z] Thread(s) per core: 1 [2022-03-02T03:30:41.353Z] Core(s) per socket: 1 [2022-03-02T03:30:41.353Z] Socket(s): 2 [2022-03-02T03:30:41.353Z] NUMA node(s): 1 [2022-03-02T03:30:41.353Z] Vendor ID: AuthenticAMD [2022-03-02T03:30:41.353Z] CPU family: 23 [2022-03-02T03:30:41.353Z] Model: 49 [2022-03-02T03:30:41.353Z] Model name: AMD EPYC-Rome Processor [2022-03-02T03:30:41.353Z] Stepping: 0 [2022-03-02T03:30:41.353Z] CPU MHz: 2800.000 [2022-03-02T03:30:41.353Z] BogoMIPS: 5600.00 [2022-03-02T03:30:41.353Z] Virtualization: AMD-V [2022-03-02T03:30:41.353Z] Hypervisor vendor: KVM [2022-03-02T03:30:41.353Z] Virtualization type: full [2022-03-02T03:30:41.353Z] L1d cache: 64 KiB [2022-03-02T03:30:41.353Z] L1i cache: 64 KiB [2022-03-02T03:30:41.353Z] L2 cache: 1 MiB [2022-03-02T03:30:41.353Z] L3 cache: 32 MiB [2022-03-02T03:30:41.353Z] NUMA node0 CPU(s): 0,1 [2022-03-02T03:30:41.353Z] Vulnerability Itlb multihit: Not affected [2022-03-02T03:30:41.353Z] Vulnerability L1tf: Not affected [2022-03-02T03:30:41.353Z] Vulnerability Mds: Not affected [2022-03-02T03:30:41.353Z] Vulnerability Meltdown: Not affected [2022-03-02T03:30:41.353Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-03-02T03:30:41.353Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2022-03-02T03:30:41.353Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2022-03-02T03:30:41.353Z] Vulnerability Srbds: Not affected [2022-03-02T03:30:41.353Z] Vulnerability Tsx async abort: Not affected [2022-03-02T03:30:41.353Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] ---> nproc: [2022-03-02T03:30:41.353Z] 2 [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] ---> df -h: [2022-03-02T03:30:41.353Z] Filesystem Size Used Avail Use% Mounted on [2022-03-02T03:30:41.353Z] overlay 40G 9.0G 32G 23% / [2022-03-02T03:30:41.353Z] tmpfs 64M 0 64M 0% /dev [2022-03-02T03:30:41.353Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2022-03-02T03:30:41.353Z] shm 64M 0 64M 0% /dev/shm [2022-03-02T03:30:41.353Z] /dev/vda1 40G 9.0G 32G 23% /facter-os [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] ---> sar -b -r -n DEV: [2022-03-02T03:30:41.353Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/02/22 _x86_64_ (2 CPU) [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:23:49 LINUX RESTART (2 CPU) [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-03-02T03:30:41.353Z] 03:25:01 230.10 45.37 184.74 0.00 6327.97 60433.58 0.00 [2022-03-02T03:30:41.353Z] 03:26:01 286.63 0.05 286.58 0.00 1.07 63869.58 0.00 [2022-03-02T03:30:41.353Z] 03:27:01 41.95 0.00 41.95 0.00 0.00 13054.49 0.00 [2022-03-02T03:30:41.353Z] 03:28:01 0.20 0.00 0.20 0.00 0.00 3.75 0.00 [2022-03-02T03:30:41.353Z] 03:29:01 0.27 0.00 0.27 0.00 0.00 3.35 0.00 [2022-03-02T03:30:41.353Z] 03:30:01 0.27 0.00 0.27 0.00 0.00 4.11 0.00 [2022-03-02T03:30:41.353Z] Average: 93.26 7.57 85.69 0.00 1055.57 22902.15 0.00 [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-03-02T03:30:41.353Z] 03:25:01 4810908 0 774164 9.67 2620 2421248 1607592 17.75 718788 2154484 123656 [2022-03-02T03:30:41.353Z] 03:26:01 3502272 0 997064 12.45 2620 3506984 1384408 15.28 924388 3054108 326404 [2022-03-02T03:30:41.353Z] 03:27:01 3515416 0 983904 12.29 2620 3507000 1211224 13.37 923288 3047232 20 [2022-03-02T03:30:41.353Z] 03:28:01 3518964 0 980352 12.24 2620 3507004 1173176 12.95 921456 3047232 16 [2022-03-02T03:30:41.353Z] 03:29:01 3519424 0 979888 12.23 2620 3507008 1173176 12.95 921360 3047232 8 [2022-03-02T03:30:41.353Z] 03:30:01 3517968 0 981336 12.25 2620 3507016 1173272 12.95 922856 3047232 8 [2022-03-02T03:30:41.353Z] Average: 3730825 0 949451 11.85 2620 3326043 1287141 14.21 888689 2899587 75019 [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-03-02T03:30:41.353Z] 03:25:01 veth349e209 104.66 135.13 10.08 595.73 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:25:01 eth0 689.20 410.83 5088.48 97.03 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:25:01 docker0 126.91 150.79 11.55 701.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:26:01 eth0 225.00 154.47 3979.16 25.31 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:26:01 docker0 84.36 110.84 6.89 1442.62 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:27:01 eth0 8.76 5.91 8.32 3.07 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:28:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:29:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:30:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] 03:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] Average: eth0 153.99 95.32 1513.28 20.93 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] Average: docker0 35.23 43.62 3.07 357.36 0.00 0.00 0.00 0.00 [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] ---> sar -P ALL: [2022-03-02T03:30:41.353Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/02/22 _x86_64_ (2 CPU) [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:23:49 LINUX RESTART (2 CPU) [2022-03-02T03:30:41.353Z] [2022-03-02T03:30:41.353Z] 03:24:01 CPU %user %nice %system %iowait %steal %idle [2022-03-02T03:30:41.353Z] 03:25:01 all 29.77 0.00 11.86 6.81 0.12 51.44 [2022-03-02T03:30:41.353Z] 03:25:01 0 30.70 0.00 12.49 7.27 0.12 49.41 [2022-03-02T03:30:41.353Z] 03:25:01 1 28.83 0.00 11.22 6.35 0.12 53.47 [2022-03-02T03:30:41.353Z] 03:26:01 all 44.95 0.00 13.64 2.20 0.12 39.10 [2022-03-02T03:30:41.353Z] 03:26:01 0 44.63 0.00 14.16 2.27 0.11 38.83 [2022-03-02T03:30:41.353Z] 03:26:01 1 45.26 0.00 13.11 2.13 0.13 39.36 [2022-03-02T03:30:41.353Z] 03:27:01 all 0.67 0.00 0.62 0.35 0.02 98.34 [2022-03-02T03:30:41.353Z] 03:27:01 0 0.77 0.00 0.57 0.37 0.02 98.27 [2022-03-02T03:30:41.353Z] 03:27:01 1 0.57 0.00 0.67 0.33 0.02 98.41 [2022-03-02T03:30:41.353Z] 03:28:01 all 0.22 0.00 0.05 0.00 0.01 99.72 [2022-03-02T03:30:41.353Z] 03:28:01 0 0.37 0.00 0.07 0.00 0.00 99.57 [2022-03-02T03:30:41.353Z] 03:28:01 1 0.07 0.00 0.03 0.00 0.02 99.88 [2022-03-02T03:30:41.353Z] 03:29:01 all 0.23 0.00 0.04 0.00 0.02 99.72 [2022-03-02T03:30:41.353Z] 03:29:01 0 0.32 0.00 0.03 0.00 0.02 99.63 [2022-03-02T03:30:41.353Z] 03:29:01 1 0.13 0.00 0.05 0.00 0.02 99.80 [2022-03-02T03:30:41.353Z] 03:30:01 all 0.24 0.00 0.04 0.00 0.01 99.71 [2022-03-02T03:30:41.354Z] 03:30:01 0 0.05 0.00 0.03 0.00 0.00 99.92 [2022-03-02T03:30:41.354Z] 03:30:01 1 0.43 0.00 0.05 0.00 0.02 99.50 [2022-03-02T03:30:41.354Z] Average: all 12.05 0.00 4.17 1.50 0.05 82.24 [2022-03-02T03:30:41.354Z] Average: 0 12.18 0.00 4.34 1.59 0.04 81.85 [2022-03-02T03:30:41.354Z] Average: 1 11.92 0.00 3.99 1.41 0.05 82.63 [2022-03-02T03:30:41.354Z] [2022-03-02T03:30:41.354Z] [2022-03-02T03:30:41.354Z]