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 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 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-ssh5057365550656000356.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-ssh3089342006045183004.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-ssh6573028894831503794.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-ssh2770802802831770663.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-ssh3352551246027280121.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-28066 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-ssh4177189435819840098.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh3008982369457725272.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 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 6b8b5fafede3c273b57c7e6f52168c21266c8a7a Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh5679783310466716673.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 Commit message: "feat: Cache the profile when loading the profile" First time build. Skipping changelog. > git rev-list --no-walk 333f929eaa98416a42bc989c1799fcf4bcae3bfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:35:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:35:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:35:38 ========================================================= 07:35:38 EdgeX Global Pipelines Version Info 07:35:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:35:39 ------------------- 07:35:39 stable info: 07:35:39 ------------------- 07:35:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:35:39 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 07:35:39 Message: update stable to v1.0.211 07:35:39 ------------------- 07:35:39 experimental info: 07:35:39 ------------------- 07:35:39 Commited By: **** collab-it+edgex@linuxfoundation.org 07:35:39 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 07:35:39 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b8b5fa [Pipeline] echo 07:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:40 provisioning config files... 07:35:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config5828042787224734353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:40 ---> docker-login.sh 07:35:40 nexus3.edgexfoundry.org:10001 07:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:41 Configure a credential helper to remove this warning. See 07:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:41 07:35:41 Login Succeeded 07:35:41 nexus3.edgexfoundry.org:10002 07:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:41 Configure a credential helper to remove this warning. See 07:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:41 07:35:41 Login Succeeded 07:35:41 nexus3.edgexfoundry.org:10003 07:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:41 Configure a credential helper to remove this warning. See 07:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:41 07:35:41 Login Succeeded 07:35:41 nexus3.edgexfoundry.org:10004 07:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:41 Configure a credential helper to remove this warning. See 07:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:41 07:35:41 Login Succeeded 07:35:41 docker.io 07:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:41 Configure a credential helper to remove this warning. See 07:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:41 07:35:41 Login Succeeded 07:35:41 ---> docker-login.sh ends [Pipeline] } 07:35:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:35:44 + git rev-list -1 --merges 6b8b5fafede3c273b57c7e6f52168c21266c8a7a~1..6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo 07:35:44 -----------> git rev-list -1 --merges 6b8b5fafede3c273b57c7e6f52168c21266c8a7a~1..6b8b5fafede3c273b57c7e6f52168c21266c8a7a 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [false] [Pipeline] sh 07:35:44 + git log --format=format:%s -1 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo 07:35:44 ========================================================= 07:35:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:35:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:45 + git log --format=format:%s -1 6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] echo 07:35:45 [semverPrep] GIT_COMMIT: 6b8b5fafede3c273b57c7e6f52168c21266c8a7a, Commit Message: feat: Cache the profile when loading the profile [Pipeline] echo 07:35:45 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:45 07:35:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:35:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:45 latest: Pulling from edgex-devops/git-semver 07:35:45 a0d0a0d46f8b: Pulling fs layer 07:35:45 3e5f54012d9b: Pulling fs layer 07:35:45 4c7163046ea9: Pulling fs layer 07:35:45 0c2d73faf560: Pulling fs layer 07:35:45 0c2d73faf560: Waiting 07:35:45 3e5f54012d9b: Verifying Checksum 07:35:45 3e5f54012d9b: Download complete 07:35:45 a0d0a0d46f8b: Verifying Checksum 07:35:45 a0d0a0d46f8b: Download complete 07:35:45 4c7163046ea9: Verifying Checksum 07:35:45 4c7163046ea9: Download complete 07:35:45 0c2d73faf560: Verifying Checksum 07:35:45 0c2d73faf560: Download complete 07:35:46 a0d0a0d46f8b: Pull complete 07:35:46 3e5f54012d9b: Pull complete 07:35:46 4c7163046ea9: Pull complete 07:35:46 0c2d73faf560: Pull complete 07:35:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:35:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:35:46 prd-centos7-docker-4c-2g-28066 does not seem to be running inside a container 07:35:46 $ 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 07:35:47 $ docker top bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:35:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:47 [ssh-agent] Looking for ssh-agent implementation... 07:35:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:47 $ docker exec bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent 07:35:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXopkFeL/agent.13 07:35:47 SSH_AGENT_PID=19 07:35:47 Running ssh-add (command line suppressed) 07:35:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_180175158524764410.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_180175158524764410.key) 07:35:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:48 + git tag --points-at HEAD [Pipeline] } 07:35:48 $ docker exec --env ******** --env ******** bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent -k 07:35:48 unset SSH_AUTH_SOCK; 07:35:48 unset SSH_AGENT_PID; 07:35:48 echo Agent pid 19 killed; 07:35:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:35:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:48 [ssh-agent] Looking for ssh-agent implementation... 07:35:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:48 $ docker exec bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent 07:35:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFLaiDI/agent.52 07:35:48 SSH_AGENT_PID=58 07:35:48 Running ssh-add (command line suppressed) 07:35:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3313679079395270638.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_3313679079395270638.key) 07:35:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:48 + git semver init 07:35:48 # -> Open(): unable to determine branch for HEAD 07:35:48 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git 07:35:48 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 07:35:48 # $SEMVER_REMOTE_NAME = origin 07:35:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:35:48 # $SEMVER_USER_NAME = edgex-jenkins 07:35:48 # $SEMVER_BRANCH = PR-1055 07:35:48 # $SEMVER_TEMP = /tmp/semver-620636071 07:35:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:35:49 # '/tmp/semver-620636071' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' 07:35:49 # -> Force: false 07:35:49 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } 07:35:49 $ docker exec --env ******** --env ******** bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 ssh-agent -k 07:35:50 unset SSH_AUTH_SOCK; 07:35:50 unset SSH_AGENT_PID; 07:35:50 echo Agent pid 58 killed; 07:35:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:35:50 + git semver [Pipeline] } 07:35:50 $ docker stop --time=1 bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 07:35:51 $ docker rm -f bd0f3dd5cc10d613c0df18813c079be6d0fd5e8f04eb043281c7b75c3001c995 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:35:52 Stashed 1 file(s) [Pipeline] echo 07:35:52 [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 07:36:08 Still waiting to schedule task 07:36:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:36:08 Still waiting to schedule task 07:36:08 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28062’ is offline 07:37:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28067 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 07:37:50 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:37:50 Selected Git installation does not exist. Using Default 07:37:50 The recommended git tool is: NONE 07:37:55 using credential edgex-jenkins-ssh 07:37:55 Cloning the remote Git repository 07:37:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:37:55 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:37:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:55 > git --version # timeout=10 07:37:55 > git --version # 'git version 2.17.1' 07:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:37:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:37:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:57 > 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 07:37:58 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:37:58 Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:37:58 Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) 07:37:58 > git config core.sparsecheckout # timeout=10 07:37:58 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 07:37:58 > git remote # timeout=10 07:37:58 > git config --get remote.origin.url # timeout=10 07:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:58 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 07:37:58 > git rev-parse HEAD^{commit} # timeout=10 07:37:58 > git config core.sparsecheckout # timeout=10 07:37:58 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 07:38:03 Commit message: "feat: Cache the profile when loading the profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:38:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:04 Dload Upload Total Spent Left Speed 07:38:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 96130 0 --:--:-- --:--:-- --:--:-- 96130 [Pipeline] sh 07:38:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:38:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:38:05 + sudo tee /etc/docker/daemon.new 07:38:05 { 07:38:05 "registry-mirrors": [ 07:38:05 "https://nexus3.edgexfoundry.org:10001" 07:38:05 ], 07:38:05 "bip": "10.250.0.254/24", 07:38:05 "hosts": [ 07:38:05 "tcp://0.0.0.0:5555", 07:38:05 "unix:///var/run/docker.sock" 07:38:05 ], 07:38:05 "mtu": 1458, 07:38:05 "selinux-enabled": true, 07:38:05 "seccomp-profile": "/etc/docker/seccomp.json" 07:38:05 } [Pipeline] sh 07:38:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:38:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:24 provisioning config files... 07:38:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6962930832177498626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:24 ---> docker-login.sh 07:38:24 nexus3.edgexfoundry.org:10001 07:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:25 Configure a credential helper to remove this warning. See 07:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:25 07:38:25 Login Succeeded 07:38:25 nexus3.edgexfoundry.org:10002 07:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:26 Configure a credential helper to remove this warning. See 07:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:26 07:38:26 Login Succeeded 07:38:26 nexus3.edgexfoundry.org:10003 07:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:26 Configure a credential helper to remove this warning. See 07:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:26 07:38:26 Login Succeeded 07:38:26 nexus3.edgexfoundry.org:10004 07:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:27 Configure a credential helper to remove this warning. See 07:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:27 07:38:27 Login Succeeded 07:38:27 docker.io 07:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:28 Configure a credential helper to remove this warning. See 07:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:28 07:38:28 Login Succeeded 07:38:28 ---> docker-login.sh ends [Pipeline] } 07:38:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:38:28 ========================================================= 07:38:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:38:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:38:29 + 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 . 07:38:29 Sending build context to Docker daemon 2.79MB 07:38:29 Running on prd-centos7-docker-4c-2g-28068 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 07:38:29 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:38:29 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 07:38:29 Step 2/10 : FROM ${BASE} AS builder 07:38:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:38:29 552d1f2373af: Pulling fs layer 07:38:29 ea3f2d53f512: Pulling fs layer 07:38:29 9e70ebbbe112: Pulling fs layer 07:38:29 7a9cfe048b4a: Pulling fs layer 07:38:29 72dc09318566: Pulling fs layer 07:38:29 f4f7b4309257: Pulling fs layer 07:38:29 0ac9a79272e3: Pulling fs layer 07:38:29 b78e95d17946: Pulling fs layer 07:38:29 f4f7b4309257: Waiting 07:38:29 0ac9a79272e3: Waiting 07:38:29 b78e95d17946: Waiting 07:38:29 7a9cfe048b4a: Waiting 07:38:29 72dc09318566: Waiting 07:38:29 9e70ebbbe112: Verifying Checksum 07:38:29 9e70ebbbe112: Download complete 07:38:29 ea3f2d53f512: Verifying Checksum 07:38:29 ea3f2d53f512: Download complete 07:38:29 72dc09318566: Verifying Checksum 07:38:29 72dc09318566: Download complete 07:38:29 f4f7b4309257: Verifying Checksum 07:38:29 f4f7b4309257: Download complete 07:38:29 Selected Git installation does not exist. Using Default 07:38:29 The recommended git tool is: NONE 07:38:30 552d1f2373af: Verifying Checksum 07:38:30 552d1f2373af: Download complete 07:38:30 0ac9a79272e3: Verifying Checksum 07:38:30 0ac9a79272e3: Download complete 07:38:30 552d1f2373af: Pull complete 07:38:31 ea3f2d53f512: Pull complete 07:38:31 9e70ebbbe112: Pull complete 07:38:31 b78e95d17946: Download complete 07:38:31 using credential edgex-jenkins-ssh 07:38:31 Cloning the remote Git repository 07:38:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:38:31 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:38:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:38:31 > git --version # timeout=10 07:38:31 > git --version # 'git version 2.24.4' 07:38:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:31 [INFO] Currently running in a labeled security context 07:38:31 [INFO] Currently SELinux is 'enforcing' on the host 07:38:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2257966515862702652.key 07:38:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:32 7a9cfe048b4a: Verifying Checksum 07:38:32 7a9cfe048b4a: Download complete 07:38:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:38:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:38:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:38:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:32 [INFO] Currently running in a labeled security context 07:38:32 [INFO] Currently SELinux is 'enforcing' on the host 07:38:32 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh7647037004547600069.key 07:38:32 > 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 07:38:33 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:38:33 Merge succeeded, producing 6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:38:33 Checking out Revision 6b8b5fafede3c273b57c7e6f52168c21266c8a7a (PR-1055) 07:38:33 > git config core.sparsecheckout # timeout=10 07:38:33 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 07:38:33 > git remote # timeout=10 07:38:33 > git config --get remote.origin.url # timeout=10 07:38:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:33 [INFO] Currently running in a labeled security context 07:38:33 [INFO] Currently SELinux is 'enforcing' on the host 07:38:33 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2374175455429589706.key 07:38:33 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 07:38:33 > git rev-parse HEAD^{commit} # timeout=10 07:38:33 > git config core.sparsecheckout # timeout=10 07:38:33 > git checkout -f 6b8b5fafede3c273b57c7e6f52168c21266c8a7a # timeout=10 07:38:38 Commit message: "feat: Cache the profile when loading the profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:38 provisioning config files... 07:38:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5583291770996096369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:38 ---> docker-login.sh 07:38:38 nexus3.edgexfoundry.org:10001 07:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:38 Configure a credential helper to remove this warning. See 07:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:38 07:38:38 Login Succeeded 07:38:38 nexus3.edgexfoundry.org:10002 07:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 nexus3.edgexfoundry.org:10003 07:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 nexus3.edgexfoundry.org:10004 07:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 docker.io 07:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 ---> docker-login.sh ends [Pipeline] } 07:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:38:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:38:39 ========================================================= 07:38:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:38:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:38:40 + 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 . 07:38:40 Sending build context to Docker daemon 2.78MB 07:38:40 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 07:38:40 Step 2/10 : FROM ${BASE} AS builder 07:38:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:38:40 a0d0a0d46f8b: Pulling fs layer 07:38:40 31adcdaf11c8: Pulling fs layer 07:38:40 b8b176561691: Pulling fs layer 07:38:40 4527c011a84f: Pulling fs layer 07:38:40 5d74067f8e1e: Pulling fs layer 07:38:40 e0aca202a116: Pulling fs layer 07:38:40 3a43be97a3b4: Pulling fs layer 07:38:40 34cad66bf833: Pulling fs layer 07:38:40 b4e3c513aaa6: Pulling fs layer 07:38:40 4527c011a84f: Waiting 07:38:40 5d74067f8e1e: Waiting 07:38:40 e0aca202a116: Waiting 07:38:40 3a43be97a3b4: Waiting 07:38:40 34cad66bf833: Waiting 07:38:40 b4e3c513aaa6: Waiting 07:38:40 b8b176561691: Verifying Checksum 07:38:40 b8b176561691: Download complete 07:38:40 31adcdaf11c8: Download complete 07:38:40 5d74067f8e1e: Verifying Checksum 07:38:40 5d74067f8e1e: Download complete 07:38:40 e0aca202a116: Verifying Checksum 07:38:40 e0aca202a116: Download complete 07:38:40 a0d0a0d46f8b: Verifying Checksum 07:38:40 a0d0a0d46f8b: Download complete 07:38:40 3a43be97a3b4: Verifying Checksum 07:38:40 3a43be97a3b4: Download complete 07:38:40 34cad66bf833: Verifying Checksum 07:38:40 34cad66bf833: Download complete 07:38:40 a0d0a0d46f8b: Pull complete 07:38:40 b4e3c513aaa6: Verifying Checksum 07:38:40 b4e3c513aaa6: Download complete 07:38:40 4527c011a84f: Verifying Checksum 07:38:40 4527c011a84f: Download complete 07:38:40 31adcdaf11c8: Pull complete 07:38:40 b8b176561691: Pull complete 07:38:42 7a9cfe048b4a: Pull complete 07:38:42 72dc09318566: Pull complete 07:38:42 f4f7b4309257: Pull complete 07:38:43 0ac9a79272e3: Pull complete 07:38:45 4527c011a84f: Pull complete 07:38:45 5d74067f8e1e: Pull complete 07:38:45 e0aca202a116: Pull complete 07:38:45 3a43be97a3b4: Pull complete 07:38:45 34cad66bf833: Pull complete 07:38:47 b4e3c513aaa6: Pull complete 07:38:47 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 07:38:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:38:47 ---> 9f6097aaca64 07:38:47 Step 3/10 : ARG MAKE=make build 07:38:49 ---> Running in e54dc1479b57 07:38:49 Removing intermediate container e54dc1479b57 07:38:49 ---> d76ffd55b86b 07:38:49 Step 4/10 : WORKDIR /device-sdk-go 07:38:49 ---> Running in 290ccb7a101d 07:38:49 Removing intermediate container 290ccb7a101d 07:38:49 ---> f7f8b530fd8e 07:38:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:38:49 ---> Running in 81dc7b71ea42 07:38:49 Removing intermediate container 81dc7b71ea42 07:38:49 ---> 46c0925b524c 07:38:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:49 ---> Running in a61b212090ba 07:38:49 Removing intermediate container a61b212090ba 07:38:49 ---> 9e1cca8d0a12 07:38:49 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:38:49 ---> Running in 808a43f5583f 07:38:49 b78e95d17946: Pull complete 07:38:49 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 07:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:38:49 ---> 8b459fc5aaf0 07:38:49 Step 3/10 : ARG MAKE=make build 07:38:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:38:50 ---> Running in 90d1eebf58d3 07:38:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:38:51 Removing intermediate container 90d1eebf58d3 07:38:51 ---> e6a005759c98 07:38:51 Step 4/10 : WORKDIR /device-sdk-go 07:38:51 ---> Running in b57ea3556fa6 07:38:51 OK: 220 MiB in 52 packages 07:38:51 Removing intermediate container 808a43f5583f 07:38:51 ---> d1b794d9e175 07:38:51 Step 8/10 : COPY . . 07:38:51 Removing intermediate container b57ea3556fa6 07:38:51 ---> b75ab8bee49c 07:38:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:38:51 ---> Running in 676b89000d71 07:38:51 ---> 4eb61fddc973 07:38:51 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:51 ---> Running in f5458b5ac198 07:38:51 Removing intermediate container 676b89000d71 07:38:51 ---> c83393194f08 07:38:51 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:52 ---> Running in 9085dc2ca0ec 07:38:54 Removing intermediate container 9085dc2ca0ec 07:38:54 ---> 2016d95e4a54 07:38:54 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:38:54 ---> Running in a590768dbe8f 07:38:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:38:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:38:57 OK: 219 MiB in 52 packages 07:38:57 Removing intermediate container a590768dbe8f 07:38:57 ---> b5c07e6cc183 07:38:57 Step 8/10 : COPY . . 07:38:59 ---> 97267b6fd60e 07:38:59 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:59 ---> Running in b618627225a1 07:39:24 Removing intermediate container f5458b5ac198 07:39:24 ---> b46f9056699f 07:39:24 Step 10/10 : RUN ${MAKE} 07:39:24 ---> Running in 7f2cb4dc7c89 07:39:24 noop 07:39:24 Removing intermediate container 7f2cb4dc7c89 07:39:24 ---> 2e1505723882 07:39:24 Successfully built 2e1505723882 07:39:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:39:24 + docker inspect -f . ci-base-image-x86_64 07:39:24 . [Pipeline] withDockerContainer 07:39:24 prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container 07:39:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 07:39:25 $ docker top 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:25 + go version 07:39:25 go version go1.16.8 linux/amd64 [Pipeline] } 07:39:25 $ docker stop --time=1 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 07:39:26 $ docker rm -f 37dfcac4a47cc0d19495c5bb062a6fddcd38106a6e113696618d0845e4d4bb24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:39:27 + docker inspect -f . ci-base-image-x86_64 07:39:27 . [Pipeline] withDockerContainer 07:39:27 prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container 07:39:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat 07:39:27 $ docker top 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:39:27 + make test 07:39:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:39:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:39:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:39:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:39:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:39:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.3% of statements 07:39:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:39:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 07:39:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements 07:39:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements 07:39:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:39:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:39:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements 07:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements 07:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements 07:40:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.821s coverage: 89.2% of statements 07:40:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:40:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements 07:40:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:40:00 GO111MODULE=on go vet ./... 07:40:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:18 ./bin/test-attribution-txt.sh [Pipeline] } 07:40:18 $ docker stop --time=1 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 07:40:20 $ docker rm -f 036e4f75d77d1276634afc42b079755830c5a609faea45ec9c44375c43ca2a45 [Pipeline] // withDockerContainer [Pipeline] sh 07:40:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:40:21 Removing intermediate container b618627225a1 07:40:21 ---> 71311f16a8df 07:40:21 Step 10/10 : RUN ${MAKE} 07:40:21 ---> Running in ea87ce7efdee 07:40:21 noop 07:40:21 Removing intermediate container ea87ce7efdee 07:40:21 ---> 807988f6c73a 07:40:21 Successfully built 807988f6c73a 07:40:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:23 + docker inspect -f . ci-base-image-arm64 07:40:23 . [Pipeline] withDockerContainer 07:40:23 + ls -al . 07:40:23 total 264 07:40:23 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 07:40 . 07:40:23 drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 07:38 .. 07:40:23 drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 07:38 bin 07:40:23 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 07:38 CHANGELOG.md 07:40:23 -rw-r--r--. 1 jenkins jenkins 128369 Nov 9 07:40 coverage.out 07:40:23 -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 07:38 .dockerignore 07:40:23 drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 07:38 example 07:40:23 drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 07:38 .git 07:40:23 drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 07:38 .github 07:40:23 -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 07:38 .gitignore 07:40:23 -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 07:38 go.mod 07:40:23 -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 07:38 go.sum 07:40:23 -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 07:38 GOVERNANCE.md 07:40:23 drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 07:38 internal 07:40:23 -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 07:38 Jenkinsfile 07:40:23 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 07:38 LICENSE 07:40:23 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 07:38 Makefile 07:40:23 drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 07:38 openapi 07:40:23 -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 07:38 OWNERS.md 07:40:23 drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 07:38 pkg 07:40:23 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 07:38 README.md 07:40:23 drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 07:38 snap 07:40:23 -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 07:35 VERSION 07:40:23 -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 07:38 version.go 07:40:23 prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container 07:40:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 07:40:24 $ docker top 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:40:25 + 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a --label arch=amd64 --label version=0.0.0 . 07:40:25 Sending build context to Docker daemon 2.909MB 07:40:25 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 07:40:25 Step 2/24 : FROM ${BASE} AS builder 07:40:25 ---> 2e1505723882 07:40:25 Step 3/24 : ARG MAKE=make build 07:40:25 ---> Running in eb6ff6f0eeeb 07:40:25 Removing intermediate container eb6ff6f0eeeb 07:40:25 ---> 53cd8775b5e9 07:40:25 Step 4/24 : WORKDIR /device-sdk-go 07:40:25 ---> Running in 9e269783b871 07:40:25 Removing intermediate container 9e269783b871 07:40:25 ---> f1e1c6a344dd 07:40:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:40:25 ---> Running in 3e3c28a352a4 07:40:25 Removing intermediate container 3e3c28a352a4 07:40:25 ---> 1f6a6220c46e 07:40:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:40:25 ---> Running in e37f11d76e6c 07:40:25 + go version 07:40:25 go version go1.16.8 linux/arm64 [Pipeline] } 07:40:25 $ docker stop --time=1 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 07:40:26 Removing intermediate container e37f11d76e6c 07:40:26 ---> c2b2927574f4 07:40:26 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:40:26 ---> Running in 4db7a9dd3b49 07:40:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:40:27 $ docker rm -f 455556d039010f50daeb3c4e478a02d254a8b46fe9bd032276e91a2556228fc4 07:40:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 07:40:27 OK: 220 MiB in 52 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:40:28 Removing intermediate container 4db7a9dd3b49 07:40:28 ---> 37c6adfe24c6 07:40:28 Step 8/24 : COPY . . 07:40:28 + docker inspect -f . ci-base-image-arm64 07:40:28 . [Pipeline] withDockerContainer 07:40:28 ---> 93f48e0e4bc2 07:40:28 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:28 ---> Running in 682f1eb5e1cc 07:40:28 prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container 07:40:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 07:40:28 Removing intermediate container 682f1eb5e1cc 07:40:28 ---> 1b2d4606dd74 07:40:28 Step 10/24 : RUN ${MAKE} 07:40:28 ---> Running in 2d58804068b1 07:40:29 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 07:40:30 $ docker top 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:40:31 + make test 07:40:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:40:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:40:40 Removing intermediate container 2d58804068b1 07:40:40 ---> 18b681e66516 07:40:40 Step 11/24 : FROM alpine:3.14 07:40:44 3.14: Pulling from library/alpine 07:40:44 a0d0a0d46f8b: Already exists 07:40:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:40:44 Status: Downloaded newer image for alpine:3.14 07:40:44 ---> 14119a10abf4 07:40:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:40:44 ---> Running in 2e866e08675c 07:40:44 Removing intermediate container 2e866e08675c 07:40:44 ---> dbee71899f8b 07:40:44 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:40:44 ---> Running in 3988371a2513 07:40:44 Removing intermediate container 3988371a2513 07:40:44 ---> 28a9ac21389c 07:40:44 Step 14/24 : RUN apk add --update --no-cache zeromq 07:40:44 ---> Running in 65225e72698e 07:40:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:40:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:40:46 (1/5) Installing libgcc (10.3.1_git20210424-r2) 07:40:46 (2/5) Installing libsodium (1.0.18-r0) 07:40:46 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 07:40:46 (4/5) Installing libzmq (4.3.4-r0) 07:40:46 (5/5) Installing zeromq (4.3.4-r0) 07:40:46 Executing busybox-1.33.1-r3.trigger 07:40:46 OK: 8 MiB in 19 packages 07:40:46 Removing intermediate container 65225e72698e 07:40:46 ---> 497602e0a1cd 07:40:46 Step 15/24 : WORKDIR / 07:40:46 ---> Running in 56ee5ecee122 07:40:46 Removing intermediate container 56ee5ecee122 07:40:46 ---> 89b8056206b9 07:40:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:40:47 ---> 5562f905a84e 07:40:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:40:47 ---> 63d5ec22fc61 07:40:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:40:47 ---> 36ffae62ef29 07:40:47 Step 19/24 : EXPOSE 59999 07:40:47 ---> Running in 117ddf21469d 07:40:47 Removing intermediate container 117ddf21469d 07:40:47 ---> c88701de7f87 07:40:47 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:40:47 ---> Running in 508b62e7822c 07:40:48 Removing intermediate container 508b62e7822c 07:40:48 ---> 12573b212625 07:40:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:40:48 ---> Running in 071606ad9318 07:40:48 Removing intermediate container 071606ad9318 07:40:48 ---> ef62bc57cbeb 07:40:48 Step 22/24 : LABEL arch=amd64 07:40:48 ---> Running in c305d11d10fb 07:40:48 Removing intermediate container c305d11d10fb 07:40:48 ---> d916d38b8db9 07:40:48 Step 23/24 : LABEL git_sha=6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:40:48 ---> Running in 138e60da5c5d 07:40:48 Removing intermediate container 138e60da5c5d 07:40:48 ---> 867175d9f1ae 07:40:48 Step 24/24 : LABEL version=0.0.0 07:40:48 ---> Running in 50e4b691c0a6 07:40:48 Removing intermediate container 50e4b691c0a6 07:40:48 ---> ff62021eb05f 07:40:48 [Warning] One or more build-args [ARCH] were not consumed 07:40:48 Successfully built ff62021eb05f 07:40:48 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 07:40:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:48 07:40:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:49 latest: Pulling from edgex-lftools-log-publisher 07:40:49 b4d181a07f80: Pulling fs layer 07:40:49 a1111a8f2ec3: Pulling fs layer 07:40:49 ed53099fbce6: Pulling fs layer 07:40:49 dc539afda2c1: Pulling fs layer 07:40:49 77bc0d833cb6: Pulling fs layer 07:40:49 9065ff56babe: Pulling fs layer 07:40:49 d287ab97295c: Pulling fs layer 07:40:49 dc539afda2c1: Waiting 07:40:49 77bc0d833cb6: Waiting 07:40:49 9065ff56babe: Waiting 07:40:49 d287ab97295c: Waiting 07:40:49 a1111a8f2ec3: Verifying Checksum 07:40:49 a1111a8f2ec3: Download complete 07:40:49 dc539afda2c1: Verifying Checksum 07:40:49 dc539afda2c1: Download complete 07:40:49 ed53099fbce6: Verifying Checksum 07:40:49 ed53099fbce6: Download complete 07:40:49 77bc0d833cb6: Verifying Checksum 07:40:49 77bc0d833cb6: Download complete 07:40:49 9065ff56babe: Verifying Checksum 07:40:49 9065ff56babe: Download complete 07:40:49 b4d181a07f80: Verifying Checksum 07:40:49 b4d181a07f80: Download complete 07:40:49 d287ab97295c: Verifying Checksum 07:40:49 d287ab97295c: Download complete 07:40:50 b4d181a07f80: Pull complete 07:40:51 a1111a8f2ec3: Pull complete 07:40:51 ed53099fbce6: Pull complete 07:40:51 dc539afda2c1: Pull complete 07:40:52 77bc0d833cb6: Pull complete 07:40:52 9065ff56babe: Pull complete 07:40:57 d287ab97295c: Pull complete 07:40:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:40:57 prd-centos7-docker-4c-2g-28068 does not seem to be running inside a container 07:40:57 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:latest cat 07:40:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:40:59 $ docker top 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:00 ---> job-cost.sh 07:41:00 lf-activate-venv: SKIPPING 07:41:00 INFO: No Stack... 07:41:00 INFO: Retrieving Pricing Info for: v3-standard-2 07:41:00 INFO: Archiving Costs [Pipeline] sh 07:41:01 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 07:41:01 + cut -d, -f6 [Pipeline] lock 07:41:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] 07:41:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] did not exist. Created. 07:41:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:01 + echo total: 0.05999999865889549 [Pipeline] stash 07:41:01 Stashed 1 file(s) [Pipeline] } 07:41:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:01 $ docker stop --time=1 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf 07:41:02 $ docker rm -f 6aa83c7767e9bee22931b8309c1076a42f6651fd98d75da74aaea8a7495e7acf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:41:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:41:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:41:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:42:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.294s coverage: 23.3% of statements 07:42:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:42:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.239s coverage: 27.6% of statements 07:42:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.265s coverage: 78.9% of statements 07:42:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.221s coverage: 9.0% of statements 07:42:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:42:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:42:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:42:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 28.7% of statements 07:42:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:42:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.231s coverage: 83.3% of statements 07:42:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:42:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:42:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.330s coverage: 57.8% of statements 07:42:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.002s coverage: 89.2% of statements 07:42:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:42:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.200s coverage: 4.8% of statements 07:42:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:42:13 GO111MODULE=on go vet ./... 07:43:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:10 ./bin/test-attribution-txt.sh [Pipeline] } 07:43:10 $ docker stop --time=1 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 07:43:12 $ docker rm -f 751a751a0327a89d8f55a7e011a23293bfd20b3b9cbde43437aa9103c7878208 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:13 Warning: overwriting stash ‘coverage-report’ 07:43:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:14 + ls -al . 07:43:14 total 300 07:43:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 07:43 . 07:43:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 07:37 .. 07:43:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 07:37 .dockerignore 07:43:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 07:38 .git 07:43:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:37 .github 07:43:14 -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 07:37 .gitignore 07:43:14 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 07:37 CHANGELOG.md 07:43:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 07:37 GOVERNANCE.md 07:43:14 -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 07:37 Jenkinsfile 07:43:14 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 07:37 LICENSE 07:43:14 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 07:37 Makefile 07:43:14 -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 07:37 OWNERS.md 07:43:14 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 07:37 README.md 07:43:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 07:35 VERSION 07:43:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 07:37 bin 07:43:14 -rw-r--r-- 1 jenkins jenkins 128369 Nov 9 07:42 coverage.out 07:43:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 07:37 example 07:43:14 -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 07:37 go.mod 07:43:14 -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 07:37 go.sum 07:43:14 drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 07:37 internal 07:43:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:37 openapi 07:43:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 07:37 pkg 07:43:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 07:37 snap 07:43:14 -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 07:37 version.go [Pipeline] isUnix [Pipeline] sh 07:43:15 + 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a --label arch=arm64 --label version=0.0.0 . 07:43:15 Sending build context to Docker daemon 2.919MB 07:43:15 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 07:43:15 Step 2/24 : FROM ${BASE} AS builder 07:43:15 ---> 807988f6c73a 07:43:15 Step 3/24 : ARG MAKE=make build 07:43:15 ---> Running in a38ae0167567 07:43:16 Removing intermediate container a38ae0167567 07:43:16 ---> 6b2f4dd7857d 07:43:16 Step 4/24 : WORKDIR /device-sdk-go 07:43:16 ---> Running in 98bb240740c8 07:43:16 Removing intermediate container 98bb240740c8 07:43:16 ---> 6decad948565 07:43:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:43:16 ---> Running in aa3fb17f3370 07:43:17 Removing intermediate container aa3fb17f3370 07:43:17 ---> 274ad1ef4079 07:43:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:43:17 ---> Running in 4abf10e24c2a 07:43:19 Removing intermediate container 4abf10e24c2a 07:43:19 ---> dd7481215ca2 07:43:19 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:43:19 ---> Running in 18cdcdeb77b4 07:43:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:43:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:43:22 OK: 219 MiB in 52 packages 07:43:23 Removing intermediate container 18cdcdeb77b4 07:43:23 ---> 722019d1179c 07:43:23 Step 8/24 : COPY . . 07:43:24 ---> 69bd704fa7cb 07:43:24 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:24 ---> Running in 651faf425f5e 07:43:27 Removing intermediate container 651faf425f5e 07:43:27 ---> bc5663a136ad 07:43:27 Step 10/24 : RUN ${MAKE} 07:43:27 ---> Running in ac905ee02270 07:43: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 07:44:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:44:02 Removing intermediate container ac905ee02270 07:44:02 ---> 5be554027243 07:44:02 Step 11/24 : FROM alpine:3.14 07:44:06 3.14: Pulling from library/alpine 07:44:06 552d1f2373af: Already exists 07:44:06 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:44:06 Status: Downloaded newer image for alpine:3.14 07:44:06 ---> bb3de5531c18 07:44:06 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:44:06 ---> Running in 71ee75bafcaa 07:44:07 Removing intermediate container 71ee75bafcaa 07:44:07 ---> e0c7941cc907 07:44:07 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:07 ---> Running in 4213bdd81eed 07:44:09 Removing intermediate container 4213bdd81eed 07:44:09 ---> f092ebe44e7a 07:44:09 Step 14/24 : RUN apk add --update --no-cache zeromq 07:44:09 ---> Running in bc41dbfcbc6c 07:44:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:44:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:44:12 (1/5) Installing libgcc (10.3.1_git20210424-r2) 07:44:12 (2/5) Installing libsodium (1.0.18-r0) 07:44:12 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 07:44:12 (4/5) Installing libzmq (4.3.4-r0) 07:44:12 (5/5) Installing zeromq (4.3.4-r0) 07:44:12 Executing busybox-1.33.1-r3.trigger 07:44:12 OK: 8 MiB in 19 packages 07:44:13 Removing intermediate container bc41dbfcbc6c 07:44:13 ---> 7569efb1339b 07:44:13 Step 15/24 : WORKDIR / 07:44:13 ---> Running in 3129271e50a7 07:44:14 Removing intermediate container 3129271e50a7 07:44:14 ---> 68797436b539 07:44:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:44:15 ---> 9c1eb41845ee 07:44:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:44:16 ---> 2c5e26241344 07:44:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:44:16 ---> 025d8687d5ca 07:44:16 Step 19/24 : EXPOSE 59999 07:44:16 ---> Running in 929b67705991 07:44:17 Removing intermediate container 929b67705991 07:44:17 ---> f17ec4f29e1a 07:44:17 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:44:17 ---> Running in af1ffed4700a 07:44:17 Removing intermediate container af1ffed4700a 07:44:17 ---> f7a183ed8592 07:44:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:44:17 ---> Running in 804136237cbf 07:44:18 Removing intermediate container 804136237cbf 07:44:18 ---> 46583f10ee17 07:44:18 Step 22/24 : LABEL arch=arm64 07:44:18 ---> Running in 68c5e2361a20 07:44:18 Removing intermediate container 68c5e2361a20 07:44:18 ---> 06b57f94e66b 07:44:18 Step 23/24 : LABEL git_sha=6b8b5fafede3c273b57c7e6f52168c21266c8a7a 07:44:18 ---> Running in dfe58e390a70 07:44:19 Removing intermediate container dfe58e390a70 07:44:19 ---> 303ed4e9260e 07:44:19 Step 24/24 : LABEL version=0.0.0 07:44:19 ---> Running in 21a6f51b148d 07:44:19 Removing intermediate container 21a6f51b148d 07:44:19 ---> 513e9941c506 07:44:19 [Warning] One or more build-args [ARCH] were not consumed 07:44:19 Successfully built 513e9941c506 07:44:19 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 07:44:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:44:20 07:44:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:44:21 arm64: Pulling from edgex-lftools-log-publisher 07:44:21 448f6bf000e3: Pulling fs layer 07:44:21 f757da607395: Pulling fs layer 07:44:21 05883995daec: Pulling fs layer 07:44:21 8603b9c90790: Pulling fs layer 07:44:21 1560dd03e051: Pulling fs layer 07:44:21 27f5ce0e4adf: Pulling fs layer 07:44:21 c2d8d7efcc4b: Pulling fs layer 07:44:21 8603b9c90790: Waiting 07:44:21 1560dd03e051: Waiting 07:44:21 c2d8d7efcc4b: Waiting 07:44:21 27f5ce0e4adf: Waiting 07:44:21 f757da607395: Verifying Checksum 07:44:21 f757da607395: Download complete 07:44:21 8603b9c90790: Verifying Checksum 07:44:21 8603b9c90790: Download complete 07:44:21 1560dd03e051: Verifying Checksum 07:44:21 1560dd03e051: Download complete 07:44:21 27f5ce0e4adf: Verifying Checksum 07:44:21 27f5ce0e4adf: Download complete 07:44:21 05883995daec: Verifying Checksum 07:44:21 05883995daec: Download complete 07:44:21 448f6bf000e3: Verifying Checksum 07:44:21 448f6bf000e3: Download complete 07:44:24 c2d8d7efcc4b: Verifying Checksum 07:44:24 c2d8d7efcc4b: Download complete 07:44:25 448f6bf000e3: Pull complete 07:44:25 f757da607395: Pull complete 07:44:27 05883995daec: Pull complete 07:44:27 8603b9c90790: Pull complete 07:44:28 1560dd03e051: Pull complete 07:44:28 27f5ce0e4adf: Pull complete 07:44:43 c2d8d7efcc4b: Pull complete 07:44:43 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:44:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:44:44 prd-ubuntu18.04-docker-arm64-4c-16g-28067 does not seem to be running inside a container 07:44:44 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 07:44:47 $ docker top 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:47 ---> job-cost.sh 07:44:47 lf-activate-venv: SKIPPING 07:44:47 INFO: No Stack... 07:44:48 INFO: Retrieving Pricing Info for: v3-standard-4 07:44:49 INFO: Archiving Costs [Pipeline] sh 07:44:49 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 07:44:49 + cut -d, -f6 [Pipeline] lock 07:44:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] 07:44:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] did not exist. Created. 07:44:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:44:50 /w/workspace/device-sdk-go/5@tmp/durable-59e8de7c/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-59e8de7c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:44:51 + echo total: 0.10999999940395355 [Pipeline] stash 07:44:51 Warning: overwriting stash ‘stack-cost’ 07:44:51 Stashed 1 file(s) [Pipeline] } 07:44:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:44:51 $ docker stop --time=1 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 07:44:52 $ docker rm -f 6b19ac7c689d6bb30775394dd2c3a514d80cf7b00421553e2baa121a72fadb12 [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 07:44:53 provisioning config files... 07:44:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config6265370403614645382tmp [Pipeline] { [Pipeline] sh 07:44:53 + set +x 07:44:53 + bash -s -- 07:44:53 + curl -s https://codecov.io/bash 07:44:53 07:44:53 _____ _ 07:44:53 / ____| | | 07:44:53 | | ___ __| | ___ ___ _____ __ 07:44:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:44:53 | |___| (_) | (_| | __/ (_| (_) \ V / 07:44:53 \_____\___/ \__,_|\___|\___\___/ \_/ 07:44:53 Bash-1.0.6 07:44:53 07:44:53 07:44:53 ==> git version 2.24.4 found 07:44:53 ==> 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 07:44:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:44:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:44:53 ==> Jenkins CI detected. 07:44:53 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 07:44:53 project root: . 07:44:53 --> token set from env 07:44:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:44:53 ==> Running gcov in . (disable via -X gcov) 07:44:53 ==> Python coveragepy not found 07:44:53 ==> Searching for coverage reports in: 07:44:53 + . 07:44:53 -> Found 1 reports 07:44:53 ==> Detecting git/mercurial file structure 07:44:54 ==> Reading reports 07:44:54 + ./coverage.out bytes=128369 07:44:54 ==> Appending adjustments 07:44:54 https://docs.codecov.io/docs/fixing-reports 07:44:54 + Found adjustments 07:44:54 ==> Gzipping contents 07:44:54 16K /tmp/codecov.OflCk4.gz 07:44:54 ==> Uploading reports 07:44:54 url: https://codecov.io 07:44:54 query: branch=PR-1055&commit=6b8b5fafede3c273b57c7e6f52168c21266c8a7a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 07:44:54 -> Pinging Codecov 07:44:54 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=6b8b5fafede3c273b57c7e6f52168c21266c8a7a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 07:44:54 -> Uploading to 07:44:54 https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/6b8b5fafede3c273b57c7e6f52168c21266c8a7a/d6043ad9-3d90-414b-8265-f92de7dfc303.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T074454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18a8afdc91dda29ba08179babe71172d7c046433ae764859b2ab3ec117f0a9d5 07:44:54 % Total % Received % Xferd Average Speed Time Time Time Current 07:44:54 Dload Upload Total Spent Left Speed 07:44:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16329 0 0 100 16329 0 52602 --:--:-- --:--:-- --:--:-- 52674 07:44:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6b8b5fafede3c273b57c7e6f52168c21266c8a7a [Pipeline] } 07:44:54 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 07:44:57 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:44:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:44:58 ---> package-listing.sh 07:44:58 ++ tr '[:upper:]' '[:lower:]' 07:44:58 ++ facter osfamily 07:44:58 + OS_FAMILY=redhat 07:44:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 07:44:58 + START_PACKAGES=/tmp/packages_start.txt 07:44:58 + END_PACKAGES=/tmp/packages_end.txt 07:44:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:44:58 + PACKAGES=/tmp/packages_start.txt 07:44:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 07:44:58 + PACKAGES=/tmp/packages_end.txt 07:44:58 + case "${OS_FAMILY}" in 07:44:58 + sort 07:44:58 + rpm -qa 07:44:58 + '[' -f /tmp/packages_start.txt ']' 07:44:58 + '[' -f /tmp/packages_end.txt ']' 07:44:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:44:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 07:44:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ 07:44:58 + 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 07:44:58 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 07:44:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:44:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:44:59 07:44:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:45:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:00 latest: Pulling from edgex-lftools-log-publisher 07:45:00 b4d181a07f80: Pulling fs layer 07:45:00 a1111a8f2ec3: Pulling fs layer 07:45:00 ed53099fbce6: Pulling fs layer 07:45:00 dc539afda2c1: Pulling fs layer 07:45:00 77bc0d833cb6: Pulling fs layer 07:45:00 9065ff56babe: Pulling fs layer 07:45:00 d287ab97295c: Pulling fs layer 07:45:00 dc539afda2c1: Waiting 07:45:00 77bc0d833cb6: Waiting 07:45:00 9065ff56babe: Waiting 07:45:00 d287ab97295c: Waiting 07:45:00 a1111a8f2ec3: Verifying Checksum 07:45:00 a1111a8f2ec3: Download complete 07:45:00 dc539afda2c1: Verifying Checksum 07:45:00 dc539afda2c1: Download complete 07:45:00 77bc0d833cb6: Verifying Checksum 07:45:00 77bc0d833cb6: Download complete 07:45:00 ed53099fbce6: Verifying Checksum 07:45:00 ed53099fbce6: Download complete 07:45:00 9065ff56babe: Verifying Checksum 07:45:00 9065ff56babe: Download complete 07:45:00 b4d181a07f80: Verifying Checksum 07:45:00 b4d181a07f80: Download complete 07:45:00 d287ab97295c: Verifying Checksum 07:45:00 d287ab97295c: Download complete 07:45:01 b4d181a07f80: Pull complete 07:45:02 a1111a8f2ec3: Pull complete 07:45:02 ed53099fbce6: Pull complete 07:45:02 dc539afda2c1: Pull complete 07:45:02 77bc0d833cb6: Pull complete 07:45:02 9065ff56babe: Pull complete 07:45:08 d287ab97295c: Pull complete 07:45:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:45:08 prd-centos7-docker-4c-2g-28066 does not seem to be running inside a container 07:45:08 $ 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 07:45:11 $ docker top fc00ed63a9511278f448b4ce9ac89d7651f09d267aec44d77e00462598df7369 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:11 + touch /tmp/pre-build-complete [Pipeline] sh 07:45:11 + mkdir -p /var/log/sysstat [Pipeline] sh 07:45:12 + ls /var/log/sa-host 07:45:12 + sadf -c /var/log/sa-host/sa09 07:45:12 file_magic: OK 07:45:12 HZ: Using current value: 100 07:45:12 file_header: OK 07:45:12 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 07:45:12 Statistics: 07:45:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:45:12 File successfully converted to sysstat format version 12.0.3 07:45:12 + sadf -c /var/log/sa-host/sa30 07:45:12 file_magic: OK 07:45:12 HZ: Using current value: 100 07:45:12 file_header: OK 07:45:12 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 07:45:12 Statistics: 07:45:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:45:12 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:12 provisioning config files... 07:45:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config1623832314278454236tmp [Pipeline] { [Pipeline] echo 07:45:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:45:12 ---> create-netrc.sh [Pipeline] } 07:45:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:45:13 ---> python-tools-install.sh [Pipeline] echo 07:45:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:45:13 ---> sudo-logs.sh 07:45:13 Archiving 'sudo' log.. 07:45:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-28066.novalocal: Name or service not known 07:45:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-28066.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:45:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:45:13 ---> job-cost.sh 07:45:13 lf-activate-venv: SKIPPING 07:45:13 DEBUG: total: 0.10999999940395355 07:45:13 INFO: Retrieving Stack Cost... 07:45:15 INFO: Retrieving Pricing Info for: v3-standard-2 07:45:15 INFO: Archiving Costs [Pipeline] echo 07:45:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:45:15 ---> logs-deploy.sh 07:45:15 lf-activate-venv: SKIPPING 07:45:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/5 07:45:15 INFO: archiving workspace using pattern(s): 07:45:16 Archives upload complete. 07:45:16 INFO: archiving logs to Nexus 07:45:17 ---> uname -a: 07:45:17 Linux prd-centos7-docker-4c-2g-28066.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 07:45:17 07:45:17 07:45:17 ---> lscpu: 07:45:17 Architecture: x86_64 07:45:17 CPU op-mode(s): 32-bit, 64-bit 07:45:17 Byte Order: Little Endian 07:45:17 Address sizes: 40 bits physical, 48 bits virtual 07:45:17 CPU(s): 2 07:45:17 On-line CPU(s) list: 0,1 07:45:17 Thread(s) per core: 1 07:45:17 Core(s) per socket: 1 07:45:17 Socket(s): 2 07:45:17 NUMA node(s): 1 07:45:17 Vendor ID: AuthenticAMD 07:45:17 CPU family: 23 07:45:17 Model: 49 07:45:17 Model name: AMD EPYC-Rome Processor 07:45:17 Stepping: 0 07:45:17 CPU MHz: 2799.998 07:45:17 BogoMIPS: 5599.99 07:45:17 Virtualization: AMD-V 07:45:17 Hypervisor vendor: KVM 07:45:17 Virtualization type: full 07:45:17 L1d cache: 32K 07:45:17 L1i cache: 32K 07:45:17 L2 cache: 512K 07:45:17 L3 cache: 16384K 07:45:17 NUMA node0 CPU(s): 0,1 07:45:17 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 07:45:17 07:45:17 07:45:17 ---> nproc: 07:45:17 2 07:45:17 07:45:17 07:45:17 ---> df -h: 07:45:17 Filesystem Size Used Avail Use% Mounted on 07:45:17 overlay 40G 7.7G 33G 20% / 07:45:17 tmpfs 64M 0 64M 0% /dev 07:45:17 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 07:45:17 shm 64M 0 64M 0% /dev/shm 07:45:17 /dev/vda1 40G 7.7G 33G 20% /facter-os 07:45:17 07:45:17 07:45:17 ---> sar -b -r -n DEV: 07:45:17 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) 07:45:17 07:45:17 07:35:04 LINUX RESTART (2 CPU) 07:45:17 07:45:17 07:36:01 tps rtps wtps bread/s bwrtn/s 07:45:17 07:37:01 3.95 0.15 3.80 4.80 118.66 07:45:17 07:38:01 0.47 0.00 0.47 0.00 7.69 07:45:17 07:39:01 0.30 0.00 0.30 0.00 5.05 07:45:17 07:40:01 0.17 0.00 0.17 0.00 2.42 07:45:17 07:41:02 0.28 0.00 0.28 0.00 3.43 07:45:17 07:42:01 0.34 0.00 0.34 0.00 5.49 07:45:17 07:43:01 0.25 0.00 0.25 0.00 2.93 07:45:17 07:44:01 0.25 0.00 0.25 0.00 2.58 07:45:17 07:45:01 0.83 0.15 0.68 14.25 8.14 07:45:17 Average: 0.76 0.03 0.73 2.12 17.40 07:45:17 07:45:17 07:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:45:17 07:37:01 5694468 0 612216 7.64 2620 1699636 1423316 15.71 558828 1522592 16 07:45:17 07:38:01 5691980 0 614696 7.68 2620 1699644 1423812 15.72 560836 1523184 20 07:45:17 07:39:01 5692304 0 614372 7.67 2620 1699644 1423896 15.72 560292 1523184 16 07:45:17 07:40:01 5694884 0 611784 7.64 2620 1699652 1423572 15.72 557784 1523936 8 07:45:17 07:41:02 5694304 0 612360 7.65 2620 1699656 1423680 15.72 558384 1523936 16 07:45:17 07:42:01 5694560 0 612100 7.64 2620 1699660 1423668 15.72 558040 1524024 8 07:45:17 07:43:01 5695340 0 611316 7.63 2620 1699664 1423572 15.72 557628 1524024 8 07:45:17 07:44:01 5694804 0 611844 7.64 2620 1699672 1423572 15.72 557516 1524028 8 07:45:17 07:45:01 5395752 0 695388 8.68 2620 1915180 1789668 19.76 803260 1565328 215112 07:45:17 Average: 5660933 0 621786 7.76 2620 1723601 1464306 16.17 585841 1528248 23912 07:45:17 07:45:17 07:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:45:17 07:37:01 eth0 0.67 0.08 0.06 0.02 0.00 0.00 0.00 0.00 07:45:17 07:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:38:01 eth0 0.67 0.37 0.28 0.20 0.00 0.00 0.00 0.00 07:45:17 07:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:39:01 eth0 0.78 0.28 0.31 0.20 0.00 0.00 0.00 0.00 07:45:17 07:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:40:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:45:17 07:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:41:02 eth0 0.17 0.10 0.08 0.07 0.00 0.00 0.00 0.00 07:45:17 07:41:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:41:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:42:01 eth0 0.19 0.19 0.07 0.01 0.00 0.00 0.00 0.00 07:45:17 07:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:43:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:45:17 07:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:44:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:45:17 07:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:45:01 eth0 99.67 63.18 2592.54 9.17 0.00 0.00 0.00 0.00 07:45:17 07:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 Average: eth0 11.41 7.18 288.89 1.08 0.00 0.00 0.00 0.00 07:45:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:45:17 07:45:17 07:45:17 ---> sar -P ALL: 07:45:17 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) 07:45:17 07:45:17 07:35:04 LINUX RESTART (2 CPU) 07:45:17 07:45:17 07:36:01 CPU %user %nice %system %iowait %steal %idle 07:45:17 07:37:01 all 0.21 0.00 0.07 0.00 0.03 99.70 07:45:17 07:37:01 0 0.23 0.00 0.07 0.00 0.02 99.68 07:45:17 07:37:01 1 0.18 0.00 0.07 0.00 0.03 99.72 07:45:17 07:38:01 all 0.23 0.00 0.07 0.00 0.01 99.69 07:45:17 07:38:01 0 0.38 0.00 0.07 0.00 0.00 99.55 07:45:17 07:38:01 1 0.08 0.00 0.07 0.00 0.02 99.83 07:45:17 07:39:01 all 0.18 0.00 0.04 0.00 0.03 99.76 07:45:17 07:39:01 0 0.28 0.00 0.03 0.00 0.02 99.67 07:45:17 07:39:01 1 0.07 0.00 0.05 0.00 0.03 99.85 07:45:17 07:40:01 all 0.20 0.00 0.04 0.00 0.01 99.75 07:45:17 07:40:01 0 0.30 0.00 0.03 0.00 0.00 99.67 07:45:17 07:40:01 1 0.10 0.00 0.05 0.00 0.02 99.83 07:45:17 07:41:02 all 0.17 0.00 0.03 0.00 0.03 99.77 07:45:17 07:41:02 0 0.28 0.00 0.02 0.00 0.02 99.68 07:45:17 07:41:02 1 0.05 0.00 0.05 0.00 0.03 99.87 07:45:17 07:42:01 all 0.08 0.00 0.05 0.00 0.01 99.86 07:45:17 07:42:01 0 0.07 0.00 0.03 0.00 0.00 99.90 07:45:17 07:42:01 1 0.10 0.00 0.07 0.00 0.02 99.81 07:45:17 07:43:01 all 0.11 0.00 0.04 0.00 0.01 99.84 07:45:17 07:43:01 0 0.13 0.00 0.05 0.00 0.02 99.80 07:45:17 07:43:01 1 0.08 0.00 0.03 0.00 0.00 99.88 07:45:17 07:44:01 all 0.18 0.00 0.04 0.00 0.02 99.77 07:45:17 07:44:01 0 0.07 0.00 0.05 0.00 0.02 99.87 07:45:17 07:44:01 1 0.28 0.00 0.03 0.00 0.02 99.67 07:45:17 07:45:01 all 2.95 0.00 0.95 0.01 0.03 96.06 07:45:17 07:45:01 0 2.47 0.00 0.96 0.00 0.03 96.55 07:45:17 07:45:01 1 3.44 0.00 0.94 0.02 0.03 95.57 07:45:17 Average: all 0.48 0.00 0.15 0.00 0.02 99.36 07:45:17 Average: 0 0.47 0.00 0.15 0.00 0.01 99.37 07:45:17 Average: 1 0.49 0.00 0.15 0.00 0.02 99.34 07:45:17 07:45:17 07:45:17