Pull request #1055 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc rather than 9ebc0a267d74b8439ac3babc29c7da197ae8c506 Obtained Jenkinsfile from 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1816035569403704942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3722934412605978908.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1055/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-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3252444141105251150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh3758944699459845106.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-1055/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-1055/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7006976466244634913.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.16 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-28035 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1055 # 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-1055@tmp/jenkins-gitclient-ssh5997803338047631281.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 > 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-1055@tmp/jenkins-gitclient-ssh4637053133849160029.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) > 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-1055@tmp/jenkins-gitclient-ssh3208836027813348785.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 Commit message: "feat: Cache the profile when loading the predefined profile at startup" First time build. Skipping changelog. > git rev-list --no-walk 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:12:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:12:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:12:04 ========================================================= 04:12:04 EdgeX Global Pipelines Version Info 04:12:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:12:05 ------------------- 04:12:05 stable info: 04:12:05 ------------------- 04:12:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:12:05 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 04:12:05 Message: update stable to v1.0.211 04:12:06 ------------------- 04:12:06 experimental info: 04:12:06 ------------------- 04:12:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:12:06 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 04:12:06 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ebc0a2 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:06 provisioning config files... 04:12:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config5435278153294004646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:08 ---> docker-login.sh 04:12:08 nexus3.edgexfoundry.org:10001 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10002 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10003 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10004 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 docker.io 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:09 Configure a credential helper to remove this warning. See 04:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:09 04:12:09 Login Succeeded 04:12:09 ---> docker-login.sh ends [Pipeline] } 04:12:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:12:09 + git rev-list -1 --merges 9ebc0a267d74b8439ac3babc29c7da197ae8c506~1..9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo 04:12:09 -----------> git rev-list -1 --merges 9ebc0a267d74b8439ac3babc29c7da197ae8c506~1..9ebc0a267d74b8439ac3babc29c7da197ae8c506 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [false] [Pipeline] sh 04:12:09 + git log --format=format:%s -1 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo 04:12:09 ========================================================= 04:12:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:12:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:10 + git log --format=format:%s -1 9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] echo 04:12:10 [semverPrep] GIT_COMMIT: 9ebc0a267d74b8439ac3babc29c7da197ae8c506, Commit Message: feat: Cache the profile when loading the predefined profile at startup [Pipeline] echo 04:12:10 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:10 04:12:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:12:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:11 latest: Pulling from edgex-devops/git-semver 04:12:11 a0d0a0d46f8b: Pulling fs layer 04:12:11 3e5f54012d9b: Pulling fs layer 04:12:11 4c7163046ea9: Pulling fs layer 04:12:11 0c2d73faf560: Pulling fs layer 04:12:11 0c2d73faf560: Waiting 04:12:11 3e5f54012d9b: Download complete 04:12:11 a0d0a0d46f8b: Verifying Checksum 04:12:11 a0d0a0d46f8b: Download complete 04:12:11 4c7163046ea9: Verifying Checksum 04:12:11 4c7163046ea9: Download complete 04:12:11 0c2d73faf560: Verifying Checksum 04:12:11 0c2d73faf560: Download complete 04:12:11 a0d0a0d46f8b: Pull complete 04:12:11 3e5f54012d9b: Pull complete 04:12:11 4c7163046ea9: Pull complete 04:12:11 0c2d73faf560: Pull complete 04:12:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:12:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:12:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:12:11 prd-centos7-docker-4c-2g-28035 does not seem to be running inside a container 04:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:12:12 $ docker top 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:12 [ssh-agent] Looking for ssh-agent implementation... 04:12:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:12 $ docker exec 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent 04:12:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkjgnHK/agent.14 04:12:13 SSH_AGENT_PID=20 04:12:13 Running ssh-add (command line suppressed) 04:12:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_4490682970890049985.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_4490682970890049985.key) 04:12:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:13 + git tag --points-at HEAD [Pipeline] } 04:12:13 $ docker exec --env ******** --env ******** 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent -k 04:12:13 unset SSH_AUTH_SOCK; 04:12:13 unset SSH_AGENT_PID; 04:12:13 echo Agent pid 20 killed; 04:12:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:12:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:13 [ssh-agent] Looking for ssh-agent implementation... 04:12:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:13 $ docker exec 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent 04:12:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepjGFf/agent.54 04:12:13 SSH_AGENT_PID=60 04:12:13 Running ssh-add (command line suppressed) 04:12:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3066626939669574884.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3066626939669574884.key) 04:12:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:14 + git semver init 04:12:14 # -> Open(): unable to determine branch for HEAD 04:12:14 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git 04:12:14 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 04:12:14 # $SEMVER_REMOTE_NAME = origin 04:12:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:12:14 # $SEMVER_USER_NAME = edgex-jenkins 04:12:14 # $SEMVER_BRANCH = PR-1055 04:12:14 # $SEMVER_TEMP = /tmp/semver-735199124 04:12:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:12:15 # '/tmp/semver-735199124' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' 04:12:15 # -> Force: false 04:12:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } 04:12:15 $ docker exec --env ******** --env ******** 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b ssh-agent -k 04:12:15 unset SSH_AUTH_SOCK; 04:12:15 unset SSH_AGENT_PID; 04:12:15 echo Agent pid 60 killed; 04:12:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:15 + git semver [Pipeline] } 04:12:15 $ docker stop --time=1 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b 04:12:17 $ docker rm -f 83a90195f68e17ded0fc47bde953d79883c484d98b72447d2f0c522fb465727b [Pipeline] // withDockerContainer [Pipeline] sh 04:12:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:12:18 Stashed 1 file(s) [Pipeline] echo 04:12:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:12:33 Still waiting to schedule task 04:12:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:12:33 Still waiting to schedule task 04:12:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:13:19 Running on prd-centos7-docker-4c-2g-28039 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 04:13:19 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:13:19 Selected Git installation does not exist. Using Default 04:13:19 The recommended git tool is: NONE 04:13:23 using credential edgex-jenkins-ssh 04:13:23 Cloning the remote Git repository 04:13:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:13:23 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:13:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:13:23 > git --version # timeout=10 04:13:23 > git --version # 'git version 2.24.4' 04:13:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:23 [INFO] Currently running in a labeled security context 04:13:23 [INFO] Currently SELinux is 'enforcing' on the host 04:13:23 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3820633793330538519.key 04:13:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:13:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:13:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:13:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:13:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:13:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:23 [INFO] Currently running in a labeled security context 04:13:23 [INFO] Currently SELinux is 'enforcing' on the host 04:13:23 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh9076213345721750258.key 04:13:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:13:24 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:13:24 Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:13:24 Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) 04:13:24 > git config core.sparsecheckout # timeout=10 04:13:24 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 04:13:24 > git remote # timeout=10 04:13:24 > git config --get remote.origin.url # timeout=10 04:13:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:13:24 [INFO] Currently running in a labeled security context 04:13:24 [INFO] Currently SELinux is 'enforcing' on the host 04:13:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh484644564048583409.key 04:13:24 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 04:13:24 > git rev-parse HEAD^{commit} # timeout=10 04:13:24 > git config core.sparsecheckout # timeout=10 04:13:24 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 04:13:28 Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:28 provisioning config files... 04:13:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5977618355980411317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:28 ---> docker-login.sh 04:13:28 nexus3.edgexfoundry.org:10001 04:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:28 Configure a credential helper to remove this warning. See 04:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:28 04:13:28 Login Succeeded 04:13:28 nexus3.edgexfoundry.org:10002 04:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:29 Configure a credential helper to remove this warning. See 04:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:29 04:13:29 Login Succeeded 04:13:29 nexus3.edgexfoundry.org:10003 04:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:29 Configure a credential helper to remove this warning. See 04:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:29 04:13:29 Login Succeeded 04:13:29 nexus3.edgexfoundry.org:10004 04:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:29 Configure a credential helper to remove this warning. See 04:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:29 04:13:29 Login Succeeded 04:13:29 docker.io 04:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:30 Configure a credential helper to remove this warning. See 04:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:30 04:13:30 Login Succeeded 04:13:30 ---> docker-login.sh ends [Pipeline] } 04:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:30 ========================================================= 04:13:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:13:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:13:30 + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 04:13:30 Sending build context to Docker daemon 2.783MB 04:13:30 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:13:30 Step 2/10 : FROM ${BASE} AS builder 04:13:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:13:30 a0d0a0d46f8b: Pulling fs layer 04:13:30 31adcdaf11c8: Pulling fs layer 04:13:30 b8b176561691: Pulling fs layer 04:13:30 4527c011a84f: Pulling fs layer 04:13:30 5d74067f8e1e: Pulling fs layer 04:13:30 e0aca202a116: Pulling fs layer 04:13:30 3a43be97a3b4: Pulling fs layer 04:13:30 34cad66bf833: Pulling fs layer 04:13:30 b4e3c513aaa6: Pulling fs layer 04:13:30 e0aca202a116: Waiting 04:13:30 3a43be97a3b4: Waiting 04:13:30 34cad66bf833: Waiting 04:13:30 b4e3c513aaa6: Waiting 04:13:30 4527c011a84f: Waiting 04:13:30 5d74067f8e1e: Waiting 04:13:30 b8b176561691: Verifying Checksum 04:13:30 b8b176561691: Download complete 04:13:30 31adcdaf11c8: Verifying Checksum 04:13:30 31adcdaf11c8: Download complete 04:13:30 5d74067f8e1e: Verifying Checksum 04:13:30 5d74067f8e1e: Download complete 04:13:30 e0aca202a116: Verifying Checksum 04:13:30 e0aca202a116: Download complete 04:13:30 3a43be97a3b4: Verifying Checksum 04:13:30 3a43be97a3b4: Download complete 04:13:30 a0d0a0d46f8b: Verifying Checksum 04:13:30 a0d0a0d46f8b: Download complete 04:13:31 34cad66bf833: Verifying Checksum 04:13:31 34cad66bf833: Download complete 04:13:31 a0d0a0d46f8b: Pull complete 04:13:31 31adcdaf11c8: Pull complete 04:13:31 b8b176561691: Pull complete 04:13:31 4527c011a84f: Download complete 04:13:31 b4e3c513aaa6: Verifying Checksum 04:13:31 b4e3c513aaa6: Download complete 04:13:35 4527c011a84f: Pull complete 04:13:35 5d74067f8e1e: Pull complete 04:13:35 e0aca202a116: Pull complete 04:13:35 3a43be97a3b4: Pull complete 04:13:35 34cad66bf833: Pull complete 04:13:38 b4e3c513aaa6: Pull complete 04:13:38 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:13:38 ---> 9f6097aaca64 04:13:38 Step 3/10 : ARG MAKE=make build 04:13:39 ---> Running in 0b2707aaef47 04:13:39 Removing intermediate container 0b2707aaef47 04:13:39 ---> f32d3362b220 04:13:39 Step 4/10 : WORKDIR /device-sdk-go 04:13:40 ---> Running in 0bc6d4daa1a6 04:13:40 Removing intermediate container 0bc6d4daa1a6 04:13:40 ---> 76861adb8e13 04:13:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:40 ---> Running in 931ae52a857e 04:13:40 Removing intermediate container 931ae52a857e 04:13:40 ---> c3afe9101f1e 04:13:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:40 ---> Running in eb4db1dae6a7 04:13:40 Removing intermediate container eb4db1dae6a7 04:13:40 ---> 74e74dafdfeb 04:13:40 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:40 ---> Running in 96b6c3554541 04:13:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:13:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:13:42 OK: 220 MiB in 52 packages 04:13:42 Removing intermediate container 96b6c3554541 04:13:42 ---> a604c62076fc 04:13:42 Step 8/10 : COPY . . 04:13:43 ---> 7a1c00d82c83 04:13:43 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:43 ---> Running in 3f46f7f61dd7 04:14:21 Removing intermediate container 3f46f7f61dd7 04:14:21 ---> 824036ae56cf 04:14:21 Step 10/10 : RUN ${MAKE} 04:14:21 ---> Running in f1df62dffd2c 04:14:21 noop 04:14:21 Removing intermediate container f1df62dffd2c 04:14:21 ---> 7fed861a7996 04:14:21 Successfully built 7fed861a7996 04:14:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:14:22 + docker inspect -f . ci-base-image-x86_64 04:14:22 . [Pipeline] withDockerContainer 04:14:22 prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container 04:14:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:14:22 $ docker top 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:23 + go version 04:14:23 go version go1.16.8 linux/amd64 [Pipeline] } 04:14:23 $ docker stop --time=1 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb 04:14:24 $ docker rm -f 06f7d0119138b6b7ff6a9a77982ff40954912c4df74022d2601f70a926a036fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:14:24 + docker inspect -f . ci-base-image-x86_64 04:14:24 . [Pipeline] withDockerContainer 04:14:25 prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container 04:14:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:14:25 $ docker top b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:14:25 + make test 04:14:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:14:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:14:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:14:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:14:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements 04:14:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements 04:15:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 9.0% of statements 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:15:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:15:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements 04:15:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:15:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements 04:15:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:15:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:15:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements 04:15:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.815s coverage: 89.2% of statements 04:15:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:15:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements 04:15:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:15:04 GO111MODULE=on go vet ./... 04:15:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28041 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 04:15:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:15:18 Selected Git installation does not exist. Using Default 04:15:18 The recommended git tool is: NONE 04:15:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:23 ./bin/test-attribution-txt.sh [Pipeline] } 04:15:23 $ docker stop --time=1 b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 04:15:24 $ docker rm -f b3e5781c9071989b57c7505290fbd98b1ded7b080b919a2e58813e2527adf928 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:15:26 using credential edgex-jenkins-ssh 04:15:26 Cloning the remote Git repository 04:15:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:26 + ls -al . 04:15:26 total 264 04:15:26 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 04:15 . 04:15:26 drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 04:13 .. 04:15:26 drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 04:13 bin 04:15:26 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 04:13 CHANGELOG.md 04:15:26 -rw-r--r--. 1 jenkins jenkins 128021 Nov 9 04:15 coverage.out 04:15:26 -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 04:13 .dockerignore 04:15:26 drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 04:13 example 04:15:26 drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 04:13 .git 04:15:26 drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 04:13 .github 04:15:26 -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 04:13 .gitignore 04:15:26 -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 04:13 go.mod 04:15:26 -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 04:13 go.sum 04:15:26 -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 04:13 GOVERNANCE.md 04:15:26 drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 04:13 internal 04:15:26 -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 04:13 Jenkinsfile 04:15:26 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 04:13 LICENSE 04:15:26 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 04:13 Makefile 04:15:26 drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 04:13 openapi 04:15:26 -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 04:13 OWNERS.md 04:15:26 drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 04:13 pkg 04:15:26 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 04:13 README.md 04:15:26 drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 04:13 snap 04:15:26 -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 04:12 VERSION 04:15:26 -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 04:13 version.go [Pipeline] isUnix [Pipeline] sh 04:15:26 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 --label arch=amd64 --label version=0.0.0 . 04:15:26 Sending build context to Docker daemon 2.912MB 04:15:26 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:15:26 Step 2/24 : FROM ${BASE} AS builder 04:15:26 ---> 7fed861a7996 04:15:26 Step 3/24 : ARG MAKE=make build 04:15:27 ---> Running in fc723b987a09 04:15:27 Removing intermediate container fc723b987a09 04:15:27 ---> 4a44511bc720 04:15:27 Step 4/24 : WORKDIR /device-sdk-go 04:15:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:15:26 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:15:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:15:26 > git --version # timeout=10 04:15:26 > git --version # 'git version 2.17.1' 04:15:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:27 ---> Running in 2142d0e874c2 04:15:27 Removing intermediate container 2142d0e874c2 04:15:27 ---> e25f63a89e15 04:15:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:27 ---> Running in 16d968519867 04:15:27 Removing intermediate container 16d968519867 04:15:27 ---> 51f8381551de 04:15:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:27 ---> Running in 1fd57134718d 04:15:27 Removing intermediate container 1fd57134718d 04:15:27 ---> 9eec13b6cf3e 04:15:27 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:27 ---> Running in 7227ec9990fd 04:15:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:28 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:15:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:15:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:15:29 Merge succeeded, producing 9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:15:29 Checking out Revision 9ebc0a267d74b8439ac3babc29c7da197ae8c506 (PR-1055) 04:15:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:15:29 OK: 220 MiB in 52 packages 04:15:29 Removing intermediate container 7227ec9990fd 04:15:29 ---> 307985ec7f04 04:15:29 Step 8/24 : COPY . . 04:15:28 > git config core.sparsecheckout # timeout=10 04:15:28 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 04:15:28 > git remote # timeout=10 04:15:28 > git config --get remote.origin.url # timeout=10 04:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:28 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 04:15:29 > git rev-parse HEAD^{commit} # timeout=10 04:15:29 > git config core.sparsecheckout # timeout=10 04:15:29 > git checkout -f 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 04:15:30 ---> b73a9b0f3ca4 04:15:30 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:30 ---> Running in 97bb65231361 04:15:30 Removing intermediate container 97bb65231361 04:15:30 ---> f93602651635 04:15:30 Step 10/24 : RUN ${MAKE} 04:15:30 ---> Running in 3f8412a42b3b 04:15:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:15:33 Commit message: "feat: Cache the profile when loading the predefined profile at startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:34 Dload Upload Total Spent Left Speed 04:15:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 151k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh 04:15:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:35 + sudo tee /etc/docker/daemon.new 04:15:35 { 04:15:35 "registry-mirrors": [ 04:15:35 "https://nexus3.edgexfoundry.org:10001" 04:15:35 ], 04:15:35 "bip": "10.250.0.254/24", 04:15:35 "hosts": [ 04:15:35 "tcp://0.0.0.0:5555", 04:15:35 "unix:///var/run/docker.sock" 04:15:35 ], 04:15:35 "mtu": 1458, 04:15:35 "selinux-enabled": true, 04:15:35 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:35 } [Pipeline] sh 04:15:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:36 + sudo service docker restart 04:15:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:15:44 Removing intermediate container 3f8412a42b3b 04:15:44 ---> b956da17f5c0 04:15:44 Step 11/24 : FROM alpine:3.14 04:15:48 3.14: Pulling from library/alpine 04:15:48 a0d0a0d46f8b: Already exists 04:15:48 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:15:48 Status: Downloaded newer image for alpine:3.14 04:15:48 ---> 14119a10abf4 04:15:48 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:48 ---> Running in a62290d96438 04:15:48 Removing intermediate container a62290d96438 04:15:48 ---> cb39df18f2a6 04:15:48 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:48 ---> Running in 562963f55f65 04:15:48 Removing intermediate container 562963f55f65 04:15:48 ---> 3a523d0922ee 04:15:48 Step 14/24 : RUN apk add --update --no-cache zeromq 04:15:48 ---> Running in da2617fa787e 04:15:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:15:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:15:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:15:50 (2/5) Installing libsodium (1.0.18-r0) 04:15:50 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:15:50 (4/5) Installing libzmq (4.3.4-r0) 04:15:50 (5/5) Installing zeromq (4.3.4-r0) 04:15:50 Executing busybox-1.33.1-r3.trigger 04:15:50 OK: 8 MiB in 19 packages 04:15:50 Removing intermediate container da2617fa787e 04:15:50 ---> 3cb9aa580c5f 04:15:50 Step 15/24 : WORKDIR / 04:15:51 ---> Running in 18094bdd4ec0 04:15:51 Removing intermediate container 18094bdd4ec0 04:15:51 ---> d74f3d5166a1 04:15:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:15:51 ---> 232df43a7d4c 04:15:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:15:51 ---> c7298198b10e 04:15:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:15:51 ---> 9c5ce5a94546 04:15:51 Step 19/24 : EXPOSE 59999 04:15:51 ---> Running in 397a77913a69 04:15:51 Removing intermediate container 397a77913a69 04:15:51 ---> 28ed2a488893 04:15:51 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:15:51 ---> Running in 182d66768a61 04:15:51 Removing intermediate container 182d66768a61 04:15:51 ---> 5870c8101c2c 04:15:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:15:51 ---> Running in 4e10343247c8 04:15:51 Removing intermediate container 4e10343247c8 04:15:51 ---> 65372f76041d 04:15:51 Step 22/24 : LABEL arch=amd64 04:15:51 ---> Running in 16ff3558620f 04:15:52 Removing intermediate container 16ff3558620f 04:15:52 ---> d2251e4c6126 04:15:52 Step 23/24 : LABEL git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:15:52 ---> Running in a18980357991 04:15:52 Removing intermediate container a18980357991 04:15:52 ---> 602acae1bfae 04:15:52 Step 24/24 : LABEL version=0.0.0 04:15:52 ---> Running in e2ce3e78ff80 04:15:52 Removing intermediate container e2ce3e78ff80 04:15:52 ---> 902f6690d1bf 04:15:52 [Warning] One or more build-args [ARCH] were not consumed 04:15:52 Successfully built 902f6690d1bf 04:15:52 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:53 04:15:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:15:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:53 latest: Pulling from edgex-lftools-log-publisher 04:15:53 b4d181a07f80: Pulling fs layer 04:15:53 a1111a8f2ec3: Pulling fs layer 04:15:53 ed53099fbce6: Pulling fs layer 04:15:53 dc539afda2c1: Pulling fs layer 04:15:53 77bc0d833cb6: Pulling fs layer 04:15:53 9065ff56babe: Pulling fs layer 04:15:53 d287ab97295c: Pulling fs layer 04:15:53 dc539afda2c1: Waiting 04:15:53 77bc0d833cb6: Waiting 04:15:53 9065ff56babe: Waiting 04:15:53 d287ab97295c: Waiting 04:15:53 a1111a8f2ec3: Verifying Checksum 04:15:53 a1111a8f2ec3: Download complete 04:15:53 dc539afda2c1: Download complete 04:15:53 77bc0d833cb6: Verifying Checksum 04:15:53 77bc0d833cb6: Download complete 04:15:53 ed53099fbce6: Verifying Checksum 04:15:53 ed53099fbce6: Download complete 04:15:53 9065ff56babe: Verifying Checksum 04:15:53 9065ff56babe: Download complete 04:15:53 b4d181a07f80: Verifying Checksum 04:15:53 b4d181a07f80: Download complete 04:15:54 d287ab97295c: Verifying Checksum 04:15:54 d287ab97295c: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:55 provisioning config files... 04:15:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1399868935663080545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:55 b4d181a07f80: Pull complete 04:15:55 ---> docker-login.sh 04:15:55 nexus3.edgexfoundry.org:10001 04:15:55 a1111a8f2ec3: Pull complete 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 ed53099fbce6: Pull complete 04:15:56 dc539afda2c1: Pull complete 04:15:56 77bc0d833cb6: Pull complete 04:15:56 9065ff56babe: Pull complete 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 nexus3.edgexfoundry.org:10002 04:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:57 Configure a credential helper to remove this warning. See 04:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:57 04:15:57 Login Succeeded 04:15:57 nexus3.edgexfoundry.org:10003 04:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:57 Configure a credential helper to remove this warning. See 04:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:57 04:15:57 Login Succeeded 04:15:57 nexus3.edgexfoundry.org:10004 04:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:58 Configure a credential helper to remove this warning. See 04:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:58 04:15:58 Login Succeeded 04:15:58 docker.io 04:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:59 Configure a credential helper to remove this warning. See 04:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:59 04:15:59 Login Succeeded 04:15:59 ---> docker-login.sh ends [Pipeline] } 04:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:59 ========================================================= 04:15:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:15:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:16:00 + 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.16-alpine --build-arg MAKE=echo noop --target=builder . 04:16:00 Sending build context to Docker daemon 2.782MB 04:16:00 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:16:00 Step 2/10 : FROM ${BASE} AS builder 04:16:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:16:01 552d1f2373af: Pulling fs layer 04:16:01 ea3f2d53f512: Pulling fs layer 04:16:01 9e70ebbbe112: Pulling fs layer 04:16:01 7a9cfe048b4a: Pulling fs layer 04:16:01 72dc09318566: Pulling fs layer 04:16:01 f4f7b4309257: Pulling fs layer 04:16:01 0ac9a79272e3: Pulling fs layer 04:16:01 b78e95d17946: Pulling fs layer 04:16:01 72dc09318566: Waiting 04:16:01 f4f7b4309257: Waiting 04:16:01 0ac9a79272e3: Waiting 04:16:01 b78e95d17946: Waiting 04:16:01 7a9cfe048b4a: Waiting 04:16:01 9e70ebbbe112: Verifying Checksum 04:16:01 9e70ebbbe112: Download complete 04:16:01 ea3f2d53f512: Verifying Checksum 04:16:01 ea3f2d53f512: Download complete 04:16:01 72dc09318566: Verifying Checksum 04:16:01 72dc09318566: Download complete 04:16:01 552d1f2373af: Verifying Checksum 04:16:01 552d1f2373af: Download complete 04:16:01 f4f7b4309257: Verifying Checksum 04:16:01 f4f7b4309257: Download complete 04:16:01 0ac9a79272e3: Download complete 04:16:01 d287ab97295c: Pull complete 04:16:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:16:01 prd-centos7-docker-4c-2g-28039 does not seem to be running inside a container 04:16:01 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:16:02 552d1f2373af: Pull complete 04:16:03 ea3f2d53f512: Pull complete 04:16:03 9e70ebbbe112: Pull complete 04:16:03 b78e95d17946: Verifying Checksum 04:16:03 b78e95d17946: Download complete 04:16:03 7a9cfe048b4a: Verifying Checksum 04:16:03 7a9cfe048b4a: Download complete 04:16:05 $ docker top c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:05 ---> job-cost.sh 04:16:05 lf-activate-venv: SKIPPING 04:16:05 INFO: No Stack... 04:16:05 INFO: Retrieving Pricing Info for: v3-standard-2 04:16:05 INFO: Archiving Costs [Pipeline] sh 04:16:06 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 04:16:06 + cut -d, -f6 [Pipeline] lock 04:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] 04:16:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] did not exist. Created. 04:16:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:06 + echo total: 0.05999999865889549 [Pipeline] stash 04:16:06 Stashed 1 file(s) [Pipeline] } 04:16:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:06 $ docker stop --time=1 c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e 04:16:07 $ docker rm -f c5ef47639cb20da7429c36f4e9d1534d64048289cd76a938f0bb5b354204376e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:16:14 7a9cfe048b4a: Pull complete 04:16:14 72dc09318566: Pull complete 04:16:14 f4f7b4309257: Pull complete 04:16:14 0ac9a79272e3: Pull complete 04:16:20 b78e95d17946: Pull complete 04:16:20 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:16:20 ---> 8b459fc5aaf0 04:16:20 Step 3/10 : ARG MAKE=make build 04:16:22 ---> Running in 7d08d3ace81b 04:16:22 Removing intermediate container 7d08d3ace81b 04:16:22 ---> 426450670b2b 04:16:22 Step 4/10 : WORKDIR /device-sdk-go 04:16:22 ---> Running in bed305e64e56 04:16:23 Removing intermediate container bed305e64e56 04:16:23 ---> 2b02a27c9d61 04:16:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:23 ---> Running in b2ed165a274f 04:16:24 Removing intermediate container b2ed165a274f 04:16:24 ---> 39963de4d9b8 04:16:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:24 ---> Running in ac48ed5fc291 04:16:26 Removing intermediate container ac48ed5fc291 04:16:26 ---> 05f7268cc2b7 04:16:26 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:16:26 ---> Running in cf6234a8dd23 04:16:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:16:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:16:29 OK: 219 MiB in 52 packages 04:16:30 Removing intermediate container cf6234a8dd23 04:16:30 ---> f190a7a248a0 04:16:30 Step 8/10 : COPY . . 04:16:32 ---> 439e0adf0a00 04:16:32 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:32 ---> Running in e6d2a3856ed5 04:17:53 Removing intermediate container e6d2a3856ed5 04:17:53 ---> 66331ef12eaf 04:17:53 Step 10/10 : RUN ${MAKE} 04:17:53 ---> Running in 282c8acf0bc2 04:17:53 noop 04:17:53 Removing intermediate container 282c8acf0bc2 04:17:53 ---> d73db03e955f 04:17:53 Successfully built d73db03e955f 04:17:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:54 + docker inspect -f . ci-base-image-arm64 04:17:54 . [Pipeline] withDockerContainer 04:17:54 prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container 04:17:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:17:56 $ docker top ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:57 + go version 04:17:57 go version go1.16.8 linux/arm64 [Pipeline] } 04:17:57 $ docker stop --time=1 ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 04:17:58 $ docker rm -f ec8d2e315f592c39af9d60416043654dd69b75b74cb31da4f77c1bc07a481425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:59 + docker inspect -f . ci-base-image-arm64 04:17:59 . [Pipeline] withDockerContainer 04:17:59 prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container 04:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:18:01 $ docker top 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:18:02 + make test 04:18:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:18:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:19:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.351s coverage: 23.3% of statements 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:19:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.312s coverage: 27.6% of statements 04:19:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.311s coverage: 78.9% of statements 04:19:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.239s coverage: 9.0% of statements 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:19:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.365s coverage: 28.7% of statements 04:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:19:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.208s coverage: 83.3% of statements 04:19:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:19:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:19:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.643s coverage: 57.8% of statements 04:19:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.403s coverage: 89.2% of statements 04:19:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:19:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.9% of statements 04:19:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:19:59 GO111MODULE=on go vet ./... 04:21:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:07 ./bin/test-attribution-txt.sh [Pipeline] } 04:21:07 $ docker stop --time=1 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 04:21:09 $ docker rm -f 081521b8f9fbd5d331e09f41c89e4d9a9b9a95023103194198c5230786b334f1 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:10 Warning: overwriting stash ‘coverage-report’ 04:21:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:13 + ls -al . 04:21:13 total 300 04:21:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 04:21 . 04:21:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 .. 04:21:13 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 04:15 .dockerignore 04:21:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 04:15 .git 04:21:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 .github 04:21:13 -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 04:15 .gitignore 04:21:13 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 04:15 CHANGELOG.md 04:21:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 04:15 GOVERNANCE.md 04:21:13 -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 04:15 Jenkinsfile 04:21:13 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 04:15 LICENSE 04:21:13 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 04:15 Makefile 04:21:13 -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 04:15 OWNERS.md 04:21:13 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 04:15 README.md 04:21:13 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 04:12 VERSION 04:21:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 04:15 bin 04:21:13 -rw-r--r-- 1 jenkins jenkins 128022 Nov 9 04:19 coverage.out 04:21:13 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 example 04:21:13 -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 04:15 go.mod 04:21:13 -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 04:15 go.sum 04:21:13 drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 04:15 internal 04:21:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 openapi 04:21:13 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 pkg 04:21:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 snap 04:21:13 -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 04:15 version.go [Pipeline] isUnix [Pipeline] sh 04:21:13 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 --label arch=arm64 --label version=0.0.0 . 04:21:14 Sending build context to Docker daemon 2.911MB 04:21:14 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:21:14 Step 2/24 : FROM ${BASE} AS builder 04:21:14 ---> d73db03e955f 04:21:14 Step 3/24 : ARG MAKE=make build 04:21:14 ---> Running in ee121722e6f6 04:21:15 Removing intermediate container ee121722e6f6 04:21:15 ---> b7d987b713b3 04:21:15 Step 4/24 : WORKDIR /device-sdk-go 04:21:15 ---> Running in bdfbdedf6206 04:21:15 Removing intermediate container bdfbdedf6206 04:21:15 ---> 813e6bf3d67f 04:21:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:15 ---> Running in 140285d87c6a 04:21:16 Removing intermediate container 140285d87c6a 04:21:16 ---> ff6fe0d01b4f 04:21:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:16 ---> Running in 4e9ce995ff3c 04:21:18 Removing intermediate container 4e9ce995ff3c 04:21:18 ---> 4ada39bbed8a 04:21:18 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:18 ---> Running in 509594ab795d 04:21:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:21:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:21:21 OK: 219 MiB in 52 packages 04:21:22 Removing intermediate container 509594ab795d 04:21:22 ---> cdaae04eb22b 04:21:22 Step 8/24 : COPY . . 04:21:23 ---> 26023aa928df 04:21:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:24 ---> Running in 2670bb1e3342 04:21:26 Removing intermediate container 2670bb1e3342 04:21:26 ---> 4759cd7357f5 04:21:26 Step 10/24 : RUN ${MAKE} 04:21:26 ---> Running in 4ae2d6413bcb 04:21:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:22:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:07 Removing intermediate container 4ae2d6413bcb 04:22:07 ---> 47021e843b49 04:22:07 Step 11/24 : FROM alpine:3.14 04:22:11 3.14: Pulling from library/alpine 04:22:11 552d1f2373af: Already exists 04:22:11 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:22:11 Status: Downloaded newer image for alpine:3.14 04:22:11 ---> bb3de5531c18 04:22:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:11 ---> Running in 56590cb7b563 04:22:11 Removing intermediate container 56590cb7b563 04:22:11 ---> 5ee793aa7971 04:22:11 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:11 ---> Running in b59f1a558d14 04:22:13 Removing intermediate container b59f1a558d14 04:22:13 ---> 1c0b7d640b4c 04:22:13 Step 14/24 : RUN apk add --update --no-cache zeromq 04:22:13 ---> Running in 44fcd2480a7b 04:22:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:16 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:22:16 (2/5) Installing libsodium (1.0.18-r0) 04:22:16 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:17 (4/5) Installing libzmq (4.3.4-r0) 04:22:17 (5/5) Installing zeromq (4.3.4-r0) 04:22:17 Executing busybox-1.33.1-r3.trigger 04:22:17 OK: 8 MiB in 19 packages 04:22:18 Removing intermediate container 44fcd2480a7b 04:22:18 ---> c3e757664ee1 04:22:18 Step 15/24 : WORKDIR / 04:22:18 ---> Running in 22f2056f2804 04:22:19 Removing intermediate container 22f2056f2804 04:22:19 ---> 64d541874676 04:22:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:20 ---> 4773f353f603 04:22:20 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:21 ---> 1f7e55550d0d 04:22:21 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:21 ---> a3f9439864da 04:22:21 Step 19/24 : EXPOSE 59999 04:22:21 ---> Running in becb6136da24 04:22:22 Removing intermediate container becb6136da24 04:22:22 ---> 7241b44f896c 04:22:22 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:22:22 ---> Running in 5ec872f9c5f6 04:22:22 Removing intermediate container 5ec872f9c5f6 04:22:22 ---> 87b446d007a9 04:22:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:23 ---> Running in 94452c6f3d75 04:22:23 Removing intermediate container 94452c6f3d75 04:22:23 ---> 177594e05074 04:22:23 Step 22/24 : LABEL arch=arm64 04:22:23 ---> Running in 9a734881a926 04:22:23 Removing intermediate container 9a734881a926 04:22:23 ---> 2d42ecf91f69 04:22:23 Step 23/24 : LABEL git_sha=9ebc0a267d74b8439ac3babc29c7da197ae8c506 04:22:23 ---> Running in ce8976472308 04:22:24 Removing intermediate container ce8976472308 04:22:24 ---> f88cb5d6a033 04:22:24 Step 24/24 : LABEL version=0.0.0 04:22:24 ---> Running in 5bb8a6ef07bf 04:22:25 Removing intermediate container 5bb8a6ef07bf 04:22:25 ---> a3f28e1498f1 04:22:25 [Warning] One or more build-args [ARCH] were not consumed 04:22:25 Successfully built a3f28e1498f1 04:22:25 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:25 04:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:26 arm64: Pulling from edgex-lftools-log-publisher 04:22:26 448f6bf000e3: Pulling fs layer 04:22:26 f757da607395: Pulling fs layer 04:22:26 05883995daec: Pulling fs layer 04:22:26 8603b9c90790: Pulling fs layer 04:22:26 1560dd03e051: Pulling fs layer 04:22:26 27f5ce0e4adf: Pulling fs layer 04:22:26 c2d8d7efcc4b: Pulling fs layer 04:22:26 8603b9c90790: Waiting 04:22:26 1560dd03e051: Waiting 04:22:26 27f5ce0e4adf: Waiting 04:22:26 c2d8d7efcc4b: Waiting 04:22:26 f757da607395: Verifying Checksum 04:22:26 f757da607395: Download complete 04:22:26 8603b9c90790: Verifying Checksum 04:22:26 8603b9c90790: Download complete 04:22:26 1560dd03e051: Verifying Checksum 04:22:26 1560dd03e051: Download complete 04:22:26 27f5ce0e4adf: Verifying Checksum 04:22:26 27f5ce0e4adf: Download complete 04:22:26 05883995daec: Verifying Checksum 04:22:26 05883995daec: Download complete 04:22:27 448f6bf000e3: Verifying Checksum 04:22:27 448f6bf000e3: Download complete 04:22:29 c2d8d7efcc4b: Verifying Checksum 04:22:29 c2d8d7efcc4b: Download complete 04:22:31 448f6bf000e3: Pull complete 04:22:31 f757da607395: Pull complete 04:22:33 05883995daec: Pull complete 04:22:33 8603b9c90790: Pull complete 04:22:34 1560dd03e051: Pull complete 04:22:34 27f5ce0e4adf: Pull complete 04:22:50 c2d8d7efcc4b: Pull complete 04:22:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:22:50 prd-ubuntu18.04-docker-arm64-4c-16g-28041 does not seem to be running inside a container 04:22:50 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 04:22:53 $ docker top 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:55 ---> job-cost.sh 04:22:55 lf-activate-venv: SKIPPING 04:22:55 INFO: No Stack... 04:22:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:22:59 INFO: Archiving Costs [Pipeline] sh 04:22:59 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 04:22:59 + cut -d, -f6 [Pipeline] lock 04:23:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] 04:23:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] did not exist. Created. 04:23:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:00 /w/workspace/device-sdk-go/2@tmp/durable-90ff1e3b/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-90ff1e3b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:01 Warning: overwriting stash ‘stack-cost’ 04:23:01 Stashed 1 file(s) [Pipeline] } 04:23:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:01 $ docker stop --time=1 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 04:23:03 $ docker rm -f 037391d771c318d706aa62ea01c228598e2f771031d15bc4ca60522e818eaef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:23:03 provisioning config files... 04:23:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config8631987582641048355tmp [Pipeline] { [Pipeline] sh 04:23:04 + set +x 04:23:04 + bash -s -- 04:23:04 + curl -s https://codecov.io/bash 04:23:04 04:23:04 _____ _ 04:23:04 / ____| | | 04:23:04 | | ___ __| | ___ ___ _____ __ 04:23:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:04 Bash-1.0.6 04:23:04 04:23:04 04:23:04 ==> git version 2.24.4 found 04:23:04 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:23:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:23:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:23:04 ==> Jenkins CI detected. 04:23:04 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 04:23:04 project root: . 04:23:04 --> token set from env 04:23:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:04 ==> Running gcov in . (disable via -X gcov) 04:23:04 ==> Python coveragepy not found 04:23:04 ==> Searching for coverage reports in: 04:23:04 + . 04:23:04 -> Found 1 reports 04:23:04 ==> Detecting git/mercurial file structure 04:23:04 ==> Reading reports 04:23:04 + ./coverage.out bytes=128022 04:23:04 ==> Appending adjustments 04:23:04 https://docs.codecov.io/docs/fixing-reports 04:23:04 + Found adjustments 04:23:04 ==> Gzipping contents 04:23:04 16K /tmp/codecov.GoGCWA.gz 04:23:04 ==> Uploading reports 04:23:04 url: https://codecov.io 04:23:04 query: branch=PR-1055&commit=9ebc0a267d74b8439ac3babc29c7da197ae8c506&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 04:23:04 -> Pinging Codecov 04:23:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1055&commit=9ebc0a267d74b8439ac3babc29c7da197ae8c506&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 04:23:04 -> Uploading to 04:23:04 https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/9ebc0a267d74b8439ac3babc29c7da197ae8c506/cb7b4670-a5f0-43f4-b3c5-13603ac2450b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T042304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1acd35ed6fa0d0e69e3e40a1c6a356aed35231eb9e1d1f1aa5409c5efe6b63c 04:23:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:04 Dload Upload Total Spent Left Speed 04:23:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16268 0 0 100 16268 0 46134 --:--:-- --:--:-- --:--:-- 46215 04:23:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9ebc0a267d74b8439ac3babc29c7da197ae8c506 [Pipeline] } 04:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:23:07 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:23:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:08 ---> package-listing.sh 04:23:08 ++ facter osfamily 04:23:08 ++ tr '[:upper:]' '[:lower:]' 04:23:08 + OS_FAMILY=redhat 04:23:08 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 04:23:08 + START_PACKAGES=/tmp/packages_start.txt 04:23:08 + END_PACKAGES=/tmp/packages_end.txt 04:23:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:08 + PACKAGES=/tmp/packages_start.txt 04:23:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 04:23:08 + PACKAGES=/tmp/packages_end.txt 04:23:08 + case "${OS_FAMILY}" in 04:23:08 + rpm -qa 04:23:08 + sort 04:23:08 + '[' -f /tmp/packages_start.txt ']' 04:23:08 + '[' -f /tmp/packages_end.txt ']' 04:23:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 04:23:08 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ 04:23:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [Pipeline] echo 04:23:08 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-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:23:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:09 04:23:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:10 latest: Pulling from edgex-lftools-log-publisher 04:23:10 b4d181a07f80: Pulling fs layer 04:23:10 a1111a8f2ec3: Pulling fs layer 04:23:10 ed53099fbce6: Pulling fs layer 04:23:10 dc539afda2c1: Pulling fs layer 04:23:10 77bc0d833cb6: Pulling fs layer 04:23:10 9065ff56babe: Pulling fs layer 04:23:10 d287ab97295c: Pulling fs layer 04:23:10 77bc0d833cb6: Waiting 04:23:10 9065ff56babe: Waiting 04:23:10 d287ab97295c: Waiting 04:23:10 dc539afda2c1: Waiting 04:23:10 a1111a8f2ec3: Verifying Checksum 04:23:10 a1111a8f2ec3: Download complete 04:23:10 dc539afda2c1: Verifying Checksum 04:23:10 dc539afda2c1: Download complete 04:23:10 77bc0d833cb6: Verifying Checksum 04:23:10 77bc0d833cb6: Download complete 04:23:10 ed53099fbce6: Verifying Checksum 04:23:10 ed53099fbce6: Download complete 04:23:10 9065ff56babe: Verifying Checksum 04:23:10 9065ff56babe: Download complete 04:23:10 b4d181a07f80: Verifying Checksum 04:23:10 b4d181a07f80: Download complete 04:23:10 d287ab97295c: Verifying Checksum 04:23:10 d287ab97295c: Download complete 04:23:11 b4d181a07f80: Pull complete 04:23:11 a1111a8f2ec3: Pull complete 04:23:12 ed53099fbce6: Pull complete 04:23:12 dc539afda2c1: Pull complete 04:23:12 77bc0d833cb6: Pull complete 04:23:12 9065ff56babe: Pull complete 04:23:18 d287ab97295c: Pull complete 04:23:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:23:18 prd-centos7-docker-4c-2g-28035 does not seem to be running inside a container 04:23:18 $ 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-1055/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-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@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 04:23:21 $ docker top 156f2767e04a915628bb633198283f35971785eb0f7185077475f7c773c6d7fc -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:21 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:21 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:22 + ls /var/log/sa-host 04:23:22 + sadf -c /var/log/sa-host/sa09 04:23:22 file_magic: OK 04:23:22 HZ: Using current value: 100 04:23:22 file_header: OK 04:23:22 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 04:23:22 Statistics: 04:23:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:22 File successfully converted to sysstat format version 12.0.3 04:23:22 + sadf -c /var/log/sa-host/sa30 04:23:22 file_magic: OK 04:23:22 HZ: Using current value: 100 04:23:22 file_header: OK 04:23:22 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 04:23:22 Statistics: 04:23:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:23:22 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:22 provisioning config files... 04:23:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config7811608384778453531tmp [Pipeline] { [Pipeline] echo 04:23:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:22 ---> create-netrc.sh [Pipeline] } 04:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:22 ---> python-tools-install.sh [Pipeline] echo 04:23:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:23 ---> sudo-logs.sh 04:23:23 Archiving 'sudo' log.. 04:23:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-28035.novalocal: Name or service not known 04:23:23 sudo: unable to resolve host prd-centos7-docker-4c-2g-28035.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:23:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:23 ---> job-cost.sh 04:23:23 lf-activate-venv: SKIPPING 04:23:23 DEBUG: total: 0.10999999940395355 04:23:23 INFO: Retrieving Stack Cost... 04:23:23 INFO: Retrieving Pricing Info for: v3-standard-2 04:23:24 INFO: Archiving Costs [Pipeline] echo 04:23:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:24 ---> logs-deploy.sh 04:23:24 lf-activate-venv: SKIPPING 04:23:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/2 04:23:24 INFO: archiving workspace using pattern(s): 04:23:25 Archives upload complete. 04:23:26 INFO: archiving logs to Nexus 04:23:26 ---> uname -a: 04:23:26 Linux prd-centos7-docker-4c-2g-28035.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 04:23:26 04:23:26 04:23:26 ---> lscpu: 04:23:26 Architecture: x86_64 04:23:26 CPU op-mode(s): 32-bit, 64-bit 04:23:26 Byte Order: Little Endian 04:23:26 Address sizes: 40 bits physical, 48 bits virtual 04:23:26 CPU(s): 2 04:23:26 On-line CPU(s) list: 0,1 04:23:26 Thread(s) per core: 1 04:23:26 Core(s) per socket: 1 04:23:26 Socket(s): 2 04:23:26 NUMA node(s): 1 04:23:26 Vendor ID: AuthenticAMD 04:23:26 CPU family: 23 04:23:26 Model: 49 04:23:26 Model name: AMD EPYC-Rome Processor 04:23:26 Stepping: 0 04:23:26 CPU MHz: 2799.998 04:23:26 BogoMIPS: 5599.99 04:23:26 Virtualization: AMD-V 04:23:26 Hypervisor vendor: KVM 04:23:26 Virtualization type: full 04:23:26 L1d cache: 32K 04:23:26 L1i cache: 32K 04:23:26 L2 cache: 512K 04:23:26 L3 cache: 16384K 04:23:26 NUMA node0 CPU(s): 0,1 04:23:26 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 04:23:26 04:23:26 04:23:26 ---> nproc: 04:23:26 2 04:23:26 04:23:26 04:23:26 ---> df -h: 04:23:26 Filesystem Size Used Avail Use% Mounted on 04:23:26 overlay 40G 7.7G 33G 20% / 04:23:26 tmpfs 64M 0 64M 0% /dev 04:23:26 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:23:26 shm 64M 0 64M 0% /dev/shm 04:23:26 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:23:26 04:23:26 04:23:26 ---> sar -b -r -n DEV: 04:23:26 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 04:23:26 04:23:26 04:11:31 LINUX RESTART (2 CPU) 04:23:26 04:23:26 04:12:01 tps rtps wtps bread/s bwrtn/s 04:23:26 04:13:01 59.20 3.41 55.78 2352.19 2870.07 04:23:26 04:14:01 0.45 0.00 0.45 0.00 7.93 04:23:26 04:15:01 0.25 0.00 0.25 0.00 3.05 04:23:26 04:16:01 0.20 0.00 0.20 0.00 2.96 04:23:26 04:17:01 0.35 0.00 0.35 0.00 5.55 04:23:26 04:18:01 0.23 0.00 0.23 0.00 3.38 04:23:26 04:19:01 0.60 0.00 0.60 0.00 6.68 04:23:26 04:20:01 0.45 0.00 0.45 0.00 6.91 04:23:26 04:21:01 0.18 0.00 0.18 0.00 1.25 04:23:26 04:22:01 0.15 0.00 0.15 0.00 1.73 04:23:26 04:23:01 0.37 0.00 0.37 0.00 5.95 04:23:26 Average: 5.68 0.31 5.37 213.94 265.16 04:23:26 04:23:26 04:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:23:26 04:13:01 5686384 0 620336 7.75 2620 1699600 1264788 13.96 564536 1523220 20 04:23:26 04:14:01 5688528 0 618184 7.72 2620 1699608 1255700 13.86 563136 1523184 16 04:23:26 04:15:01 5701796 0 604916 7.55 2620 1699608 1156784 12.77 551564 1523536 16 04:23:26 04:16:01 5697884 0 608820 7.60 2620 1699616 1157084 12.77 555264 1523536 16 04:23:26 04:17:01 5699756 0 606944 7.58 2620 1699620 1156868 12.77 552756 1524392 16 04:23:26 04:18:01 5700184 0 606512 7.57 2620 1699624 1156784 12.77 552336 1524392 20 04:23:26 04:19:01 5699532 0 607160 7.58 2620 1699628 1156844 12.77 552432 1524624 8 04:23:26 04:20:01 5690088 0 616596 7.70 2620 1699636 1156784 12.77 561984 1524628 8 04:23:26 04:21:01 5689924 0 616760 7.70 2620 1699636 1156784 12.77 564260 1522888 16 04:23:26 04:22:01 5689392 0 617288 7.71 2620 1699640 1156880 12.77 564724 1522888 12 04:23:26 04:23:01 5682364 0 624312 7.80 2620 1699644 1156904 12.77 572268 1522888 8 04:23:26 Average: 5693257 0 613439 7.66 2620 1699624 1175655 12.98 559569 1523652 14 04:23:26 04:23:26 04:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:23:26 04:13:01 eth0 77.69 59.45 366.92 23.85 0.00 0.00 0.00 0.00 04:23:26 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:13:01 docker0 10.05 4.83 1.75 29.51 0.00 0.00 0.00 0.00 04:23:26 04:14:01 eth0 2.50 0.90 1.52 0.54 0.00 0.00 0.00 0.00 04:23:26 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:15:01 eth0 0.57 0.08 0.06 0.07 0.00 0.00 0.00 0.00 04:23:26 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:16:01 eth0 0.93 0.52 0.53 0.39 0.00 0.00 0.00 0.00 04:23:26 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:17:01 eth0 0.45 0.20 0.09 0.05 0.00 0.00 0.00 0.00 04:23:26 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:18:01 eth0 0.23 0.10 0.01 0.03 0.00 0.00 0.00 0.00 04:23:26 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:19:01 eth0 0.20 0.13 0.07 0.01 0.00 0.00 0.00 0.00 04:23:26 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:20:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:26 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:21:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:23:26 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:22:01 eth0 0.25 0.20 0.08 0.05 0.00 0.00 0.00 0.00 04:23:26 04:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:23:01 eth0 0.28 0.13 0.07 0.04 0.00 0.00 0.00 0.00 04:23:26 04:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 Average: eth0 7.58 5.63 33.60 2.28 0.00 0.00 0.00 0.00 04:23:26 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:23:26 Average: docker0 0.91 0.44 0.16 2.68 0.00 0.00 0.00 0.00 04:23:26 04:23:26 04:23:26 ---> sar -P ALL: 04:23:26 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 04:23:26 04:23:26 04:11:31 LINUX RESTART (2 CPU) 04:23:26 04:23:26 04:12:01 CPU %user %nice %system %iowait %steal %idle 04:23:26 04:13:01 all 4.36 0.00 2.21 1.52 0.04 91.87 04:23:26 04:13:01 0 4.60 0.00 2.43 1.81 0.05 91.11 04:23:26 04:13:01 1 4.12 0.00 1.99 1.23 0.03 92.62 04:23:26 04:14:01 all 0.23 0.00 0.08 0.00 0.03 99.67 04:23:26 04:14:01 0 0.10 0.00 0.10 0.00 0.03 99.77 04:23:26 04:14:01 1 0.35 0.00 0.05 0.00 0.02 99.58 04:23:26 04:15:01 all 0.23 0.00 0.08 0.00 0.02 99.67 04:23:26 04:15:01 0 0.10 0.00 0.08 0.00 0.02 99.80 04:23:26 04:15:01 1 0.35 0.00 0.08 0.00 0.02 99.55 04:23:26 04:16:01 all 0.25 0.00 0.07 0.00 0.02 99.67 04:23:26 04:16:01 0 0.10 0.00 0.10 0.00 0.02 99.78 04:23:26 04:16:01 1 0.40 0.00 0.03 0.00 0.02 99.55 04:23:26 04:17:01 all 0.21 0.00 0.11 0.00 0.03 99.66 04:23:26 04:17:01 0 0.20 0.00 0.10 0.00 0.02 99.68 04:23:26 04:17:01 1 0.22 0.00 0.12 0.00 0.03 99.63 04:23:26 04:18:01 all 0.19 0.00 0.05 0.00 0.03 99.73 04:23:26 04:18:01 0 0.32 0.00 0.07 0.00 0.02 99.60 04:23:26 04:18:01 1 0.07 0.00 0.03 0.00 0.03 99.87 04:23:26 04:19:01 all 0.20 0.00 0.06 0.00 0.02 99.72 04:23:26 04:19:01 0 0.28 0.00 0.03 0.00 0.02 99.67 04:23:26 04:19:01 1 0.12 0.00 0.08 0.00 0.02 99.78 04:23:26 04:20:01 all 0.18 0.00 0.07 0.00 0.03 99.72 04:23:26 04:20:01 0 0.33 0.00 0.03 0.00 0.02 99.62 04:23:26 04:20:01 1 0.03 0.00 0.10 0.00 0.03 99.83 04:23:26 04:21:01 all 0.16 0.00 0.06 0.00 0.02 99.77 04:23:26 04:21:01 0 0.22 0.00 0.03 0.00 0.02 99.73 04:23:26 04:21:01 1 0.10 0.00 0.08 0.00 0.02 99.80 04:23:26 04:22:01 all 0.18 0.00 0.06 0.00 0.03 99.74 04:23:26 04:22:01 0 0.25 0.00 0.03 0.00 0.02 99.70 04:23:26 04:22:01 1 0.10 0.00 0.08 0.00 0.03 99.78 04:23:26 04:23:01 all 0.22 0.00 0.05 0.00 0.01 99.72 04:23:26 04:23:01 0 0.40 0.00 0.07 0.00 0.02 99.52 04:23:26 04:23:01 1 0.03 0.00 0.03 0.00 0.00 99.93 04:23:26 04:23:26 Average: CPU %user %nice %system %iowait %steal %idle 04:23:26 Average: all 0.58 0.00 0.26 0.14 0.02 99.00 04:23:26 Average: 0 0.62 0.00 0.28 0.16 0.02 98.91 04:23:26 Average: 1 0.53 0.00 0.24 0.11 0.02 99.09 04:23:26 04:23:26 04:23:26