Branch indexing 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e (865d1c97fcd2399f78e3ae4bc969ea42f5012d40) 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-ssh18102425223957555711.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15197596755092952648.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5273383189887860994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh16449796631121458035.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10486703776734989779.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-24002 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 2559506977c8006839206ac002a9a497c3cf8672 Checking out Revision 2559506977c8006839206ac002a9a497c3cf8672 (PR-1196) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2559506977c8006839206ac002a9a497c3cf8672 # timeout=10 Commit message: "Merge commit 'ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:40:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:25 ========================================================= 22:40:25 EdgeX Global Pipelines Version Info 22:40:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9ca43d4e07228127a445416ee2103b68cbbf287a # timeout=10 22:40:26 ------------------- 22:40:26 stable info: 22:40:26 ------------------- 22:40:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:40:26 Message: update stable to v1.0.239 22:40:27 ------------------- 22:40:27 experimental info: 22:40:27 ------------------- 22:40:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:27 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:40:27 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2559506977c8006839206ac002a9a497c3cf8672 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2559506 [Pipeline] echo 22:40:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:27 provisioning config files... 22:40:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4021555136879763890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:28 ---> docker-login.sh 22:40:28 nexus3.edgexfoundry.org:10001 22:40:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:28 Configure a credential helper to remove this warning. See 22:40:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:28 22:40:28 Login Succeeded 22:40:28 nexus3.edgexfoundry.org:10002 22:40:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:28 Configure a credential helper to remove this warning. See 22:40:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:28 22:40:28 Login Succeeded 22:40:28 nexus3.edgexfoundry.org:10003 22:40:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 nexus3.edgexfoundry.org:10004 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 docker.io 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 ---> docker-login.sh ends [Pipeline] } 22:40:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:40:30 + git rev-list -1 --merges 2559506977c8006839206ac002a9a497c3cf8672~1..2559506977c8006839206ac002a9a497c3cf8672 [Pipeline] echo 22:40:30 -----------> git rev-list -1 --merges 2559506977c8006839206ac002a9a497c3cf8672~1..2559506977c8006839206ac002a9a497c3cf8672 2559506977c8006839206ac002a9a497c3cf8672 22:40:30 2559506977c8006839206ac002a9a497c3cf8672 [false] [Pipeline] sh 22:40:30 + git log --format=format:%s -1 2559506977c8006839206ac002a9a497c3cf8672 [Pipeline] echo 22:40:30 ========================================================= 22:40:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:40:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:30 + git log --format=format:%s -1 2559506977c8006839206ac002a9a497c3cf8672 [Pipeline] echo 22:40:30 [semverPrep] GIT_COMMIT: 2559506977c8006839206ac002a9a497c3cf8672, Commit Message: Merge commit 'ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e' into HEAD [Pipeline] echo 22:40:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:40:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:40:31 + grep -v github /etc/ssh/ssh_known_hosts 22:40:31 + [ -e /tmp/ssh_known_hosts ] 22:40:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:40:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:40:31 + sudo tee -a /etc/ssh/ssh_known_hosts 22:40:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:31 22:40:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:40:31 b85a868b505f: Pulling fs layer 22:40:31 e2be974225ed: Pulling fs layer 22:40:31 339a4e72a1f5: Pulling fs layer 22:40:31 988bab9f4d93: Pulling fs layer 22:40:31 1469e6f7b9e6: Pulling fs layer 22:40:31 eaf3925da568: Pulling fs layer 22:40:31 bab4dde63d76: Pulling fs layer 22:40:31 bde34c3a00c8: Pulling fs layer 22:40:31 b352a97aabf1: Pulling fs layer 22:40:31 4872d77fe225: Pulling fs layer 22:40:31 5851b861e8e6: Pulling fs layer 22:40:31 eaf3925da568: Waiting 22:40:31 bab4dde63d76: Waiting 22:40:31 bde34c3a00c8: Waiting 22:40:31 4872d77fe225: Waiting 22:40:31 5851b861e8e6: Waiting 22:40:31 1469e6f7b9e6: Waiting 22:40:31 b352a97aabf1: Waiting 22:40:31 988bab9f4d93: Waiting 22:40:31 e2be974225ed: Download complete 22:40:31 988bab9f4d93: Verifying Checksum 22:40:31 988bab9f4d93: Download complete 22:40:31 1469e6f7b9e6: Verifying Checksum 22:40:31 1469e6f7b9e6: Download complete 22:40:31 eaf3925da568: Verifying Checksum 22:40:31 eaf3925da568: Download complete 22:40:32 339a4e72a1f5: Verifying Checksum 22:40:32 339a4e72a1f5: Download complete 22:40:32 bde34c3a00c8: Verifying Checksum 22:40:32 bde34c3a00c8: Download complete 22:40:32 b352a97aabf1: Verifying Checksum 22:40:32 b352a97aabf1: Download complete 22:40:32 4872d77fe225: Download complete 22:40:32 b85a868b505f: Verifying Checksum 22:40:32 b85a868b505f: Download complete 22:40:32 bab4dde63d76: Verifying Checksum 22:40:32 bab4dde63d76: Download complete 22:40:33 b85a868b505f: Pull complete 22:40:33 e2be974225ed: Pull complete 22:40:33 339a4e72a1f5: Pull complete 22:40:34 988bab9f4d93: Pull complete 22:40:34 1469e6f7b9e6: Pull complete 22:40:34 eaf3925da568: Pull complete 22:40:36 bab4dde63d76: Pull complete 22:40:36 bde34c3a00c8: Pull complete 22:40:36 b352a97aabf1: Pull complete 22:40:36 4872d77fe225: Pull complete 22:40:36 5851b861e8e6: Pull complete 22:40:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:40:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:36 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 22:40:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:40:39 $ docker top 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 -eo pid,comm 22:40:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:40:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:39 [ssh-agent] Looking for ssh-agent implementation... 22:40:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:39 $ docker exec 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 ssh-agent 22:40:39 SSH_AUTH_SOCK=/tmp/ssh-cGXx4pcZg7Km/agent.32 22:40:39 SSH_AGENT_PID=39 22:40:39 Running ssh-add (command line suppressed) 22:40:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5519487540375121727.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5519487540375121727.key) 22:40:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:40 + git tag --points-at HEAD [Pipeline] } 22:40:40 $ docker exec --env ******** --env ******** 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 ssh-agent -k 22:40:40 unset SSH_AUTH_SOCK; 22:40:40 unset SSH_AGENT_PID; 22:40:40 echo Agent pid 39 killed; 22:40:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:40 [ssh-agent] Looking for ssh-agent implementation... 22:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:40 $ docker exec 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 ssh-agent 22:40:40 SSH_AUTH_SOCK=/tmp/ssh-pdugsSTQAvGP/agent.72 22:40:40 SSH_AGENT_PID=78 22:40:40 Running ssh-add (command line suppressed) 22:40:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7948551317764814742.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7948551317764814742.key) 22:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:40 + git semver init 22:40:41 2022-08-30 22:40:41,094 [run_init] DEBUG init version:0.0.0 force:False 22:40:41 2022-08-30 22:40:41,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:40:41 2022-08-30 22:40:41,096 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:40:41 2022-08-30 22:40:41,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) 22:40:42 2022-08-30 22:40:41,949 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 22:40:42 2022-08-30 22:40:41,949 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False 22:40:42 2022-08-30 22:40:41,949 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:40:42 2022-08-30 22:40:41,953 [execute] INFO git cat-file --batch-check 22:40:42 2022-08-30 22:40:41,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:40:42 2022-08-30 22:40:41,960 [execute] INFO git cat-file --batch 22:40:42 2022-08-30 22:40:41,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:40:42 2022-08-30 22:40:41,965 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:40:42 0.0.0 [Pipeline] } 22:40:42 $ docker exec --env ******** --env ******** 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 ssh-agent -k 22:40:42 unset SSH_AUTH_SOCK; 22:40:42 unset SSH_AGENT_PID; 22:40:42 echo Agent pid 78 killed; 22:40:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:42 + git semver [Pipeline] } 22:40:42 $ docker stop --time=1 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 22:40:44 $ docker rm -f 3fc073b0cf90174d492bf97ae59fd5c1e6bb9bf60fe332e9a2f8848f531eb802 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:44 Stashed 1 file(s) [Pipeline] echo 22:40:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:44 provisioning config files... 22:40:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config3015307088579036555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:45 ---> docker-login.sh 22:40:45 nexus3.edgexfoundry.org:10001 22:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:45 Configure a credential helper to remove this warning. See 22:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:45 22:40:45 Login Succeeded 22:40:45 nexus3.edgexfoundry.org:10002 22:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:45 Configure a credential helper to remove this warning. See 22:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:45 22:40:45 Login Succeeded 22:40:45 nexus3.edgexfoundry.org:10003 22:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:45 Configure a credential helper to remove this warning. See 22:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:45 22:40:45 Login Succeeded 22:40:45 nexus3.edgexfoundry.org:10004 22:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:45 Configure a credential helper to remove this warning. See 22:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:45 22:40:45 Login Succeeded 22:40:45 docker.io 22:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:45 Configure a credential helper to remove this warning. See 22:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:45 22:40:45 Login Succeeded 22:40:45 ---> docker-login.sh ends [Pipeline] } 22:40:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:46 ========================================================= 22:40:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:40:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:46 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 22:40:46 Sending build context to Docker daemon 9.811MB 22:40:46 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:40:46 Step 2/11 : FROM ${BASE} AS builder 22:40:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:46 2408cc74d12b: Pulling fs layer 22:40:46 ea60b727a1ce: Pulling fs layer 22:40:46 30c4a7721957: Pulling fs layer 22:40:46 370296b7ddb6: Pulling fs layer 22:40:46 7c6cee850709: Pulling fs layer 22:40:46 39a5fcdaea64: Pulling fs layer 22:40:46 d94ebbe4e438: Pulling fs layer 22:40:46 bcfd1f05c69d: Pulling fs layer 22:40:46 59ccb84bbe0f: Pulling fs layer 22:40:46 370296b7ddb6: Waiting 22:40:46 7c6cee850709: Waiting 22:40:46 39a5fcdaea64: Waiting 22:40:46 d94ebbe4e438: Waiting 22:40:46 bcfd1f05c69d: Waiting 22:40:46 59ccb84bbe0f: Waiting 22:40:46 30c4a7721957: Verifying Checksum 22:40:46 30c4a7721957: Download complete 22:40:46 ea60b727a1ce: Download complete 22:40:46 7c6cee850709: Verifying Checksum 22:40:46 7c6cee850709: Download complete 22:40:46 39a5fcdaea64: Download complete 22:40:46 2408cc74d12b: Verifying Checksum 22:40:46 2408cc74d12b: Download complete 22:40:46 d94ebbe4e438: Verifying Checksum 22:40:46 d94ebbe4e438: Download complete 22:40:46 2408cc74d12b: Pull complete 22:40:46 ea60b727a1ce: Pull complete 22:40:46 30c4a7721957: Pull complete 22:40:46 59ccb84bbe0f: Verifying Checksum 22:40:46 59ccb84bbe0f: Download complete 22:40:47 370296b7ddb6: Verifying Checksum 22:40:47 370296b7ddb6: Download complete 22:40:47 bcfd1f05c69d: Verifying Checksum 22:40:47 bcfd1f05c69d: Download complete 22:40:51 370296b7ddb6: Pull complete 22:40:51 7c6cee850709: Pull complete 22:40:51 39a5fcdaea64: Pull complete 22:40:51 d94ebbe4e438: Pull complete 22:40:53 bcfd1f05c69d: Pull complete 22:40:53 59ccb84bbe0f: Pull complete 22:40:53 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:40:53 ---> a4fb48ad2a94 22:40:53 Step 3/11 : ARG MAKE=make build 22:40:57 ---> Running in b67529a1f1da 22:40:57 Removing intermediate container b67529a1f1da 22:40:57 ---> 7862ac0ea220 22:40:57 Step 4/11 : WORKDIR /device-sdk-go 22:40:57 ---> Running in ba672858c086 22:40:57 Removing intermediate container ba672858c086 22:40:57 ---> 0620813996be 22:40:57 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:40:57 ---> Running in e56a88a57426 22:40:57 Removing intermediate container e56a88a57426 22:40:57 ---> d20417eb98c2 22:40:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:57 ---> Running in f665329723ee 22:40:58 Removing intermediate container f665329723ee 22:40:58 ---> c7dd6a2a10cc 22:40:58 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:40:58 ---> Running in bde0e7c6f3bd 22:40:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:40:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:40:59 OK: 211 MiB in 51 packages 22:40:59 Removing intermediate container bde0e7c6f3bd 22:40:59 ---> 3a34b1f3e1ed 22:40:59 Step 8/11 : COPY go.mod vendor* ./ 22:40:59 ---> 7cb8dcaa6ade 22:40:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:59 ---> Running in 29f991b19e1a 22:40:59 Still waiting to schedule task 22:40:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:41:17 Removing intermediate container 29f991b19e1a 22:41:17 ---> 4530dc46d826 22:41:17 Step 10/11 : COPY . . 22:41:17 ---> 01942c311e2b 22:41:17 Step 11/11 : RUN ${MAKE} 22:41:17 ---> Running in 4ac846e27f46 22:41:18 noop 22:41:18 Removing intermediate container 4ac846e27f46 22:41:18 ---> 1424c5373dfd 22:41:18 Successfully built 1424c5373dfd 22:41:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:18 + docker inspect -f . ci-base-image-x86_64 22:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:18 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 22:41:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:19 $ docker top 9e327108514aee4e6ef05f28e94d78b4bd958dd5bea1be9f0447e2435871df68 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:19 + go version 22:41:19 go version go1.18.3 linux/amd64 [Pipeline] } 22:41:19 $ docker stop --time=1 9e327108514aee4e6ef05f28e94d78b4bd958dd5bea1be9f0447e2435871df68 22:41:20 $ docker rm -f 9e327108514aee4e6ef05f28e94d78b4bd958dd5bea1be9f0447e2435871df68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:21 + docker inspect -f . ci-base-image-x86_64 22:41:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:21 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 22:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:21 $ docker top 901163386a352a8d7a170af4483077c01b931a198d5dea7974ebff2ef23d5ec2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh 22:41:22 + make test 22:41:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:41:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:41:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:41:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:41:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.076s coverage: 23.6% of statements 22:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.062s coverage: 10.8% of statements 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.086s coverage: 60.0% of statements 22:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:41:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 34.8% of statements 22:41:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:41:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 85.4% of statements 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:41:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 65.1% of statements 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:41:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.740s coverage: 89.2% of statements 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:41:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.9% of statements 22:41:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:41:56 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:41:56 GO111MODULE=on go vet ./... 22:41:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:58 ./bin/test-attribution-txt.sh 22:41:58 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:41:58 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:41:58 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:41:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:41:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:41:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:41:58 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:41:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:58 $ docker stop --time=1 901163386a352a8d7a170af4483077c01b931a198d5dea7974ebff2ef23d5ec2 22:42:01 $ docker rm -f 901163386a352a8d7a170af4483077c01b931a198d5dea7974ebff2ef23d5ec2 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:02 + ls -al . 22:42:02 total 300 22:42:02 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 22:41 . 22:42:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:40 .. 22:42:02 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 22:40 .dockerignore 22:42:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:41 .git 22:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:40 .github 22:42:02 -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 22:40 .gitignore 22:42:02 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:40 .golangci.yml 22:42:02 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:40 .semver 22:42:02 -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 22:40 CHANGELOG.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:40 GOVERNANCE.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 22:40 Jenkinsfile 22:42:02 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 22:40 LICENSE 22:42:02 -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 22:40 Makefile 22:42:02 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 22:40 OWNERS.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 22:40 README.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:40 VERSION 22:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:40 bin 22:42:02 -rw-r--r-- 1 jenkins jenkins 130805 Aug 30 22:41 coverage.out 22:42:02 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 22:40 example 22:42:02 -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 22:40 go.mod 22:42:02 -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 22:40 go.sum 22:42:02 drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 22:40 internal 22:42:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:40 openapi 22:42:02 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:40 pkg 22:42:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:40 snap 22:42:02 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:03 + 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=2559506977c8006839206ac002a9a497c3cf8672 --label arch=amd64 --label version=0.0.0 . 22:42:03 Sending build context to Docker daemon 9.943MB 22:42:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:42:03 Step 2/25 : FROM ${BASE} AS builder 22:42:03 ---> 1424c5373dfd 22:42:03 Step 3/25 : ARG MAKE=make build 22:42:03 ---> Running in 96cace5e530e 22:42:03 Removing intermediate container 96cace5e530e 22:42:03 ---> f40e6ba6491c 22:42:03 Step 4/25 : WORKDIR /device-sdk-go 22:42:03 ---> Running in db7501f5e3d4 22:42:03 Removing intermediate container db7501f5e3d4 22:42:03 ---> faa597ec2ccf 22:42:03 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:03 ---> Running in 5907e8459f32 22:42:03 Removing intermediate container 5907e8459f32 22:42:03 ---> e6e07fd77e4f 22:42:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:03 ---> Running in a1310b6e1e60 22:42:04 Removing intermediate container a1310b6e1e60 22:42:04 ---> 741760e0f3da 22:42:04 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:04 ---> Running in 9d86bfe33c76 22:42:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:42:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:42:05 OK: 211 MiB in 51 packages 22:42:05 Removing intermediate container 9d86bfe33c76 22:42:05 ---> 27df607fb607 22:42:05 Step 8/25 : COPY go.mod vendor* ./ 22:42:06 ---> 90c41405adce 22:42:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:06 ---> Running in 410c14f9f910 22:42:06 Removing intermediate container 410c14f9f910 22:42:06 ---> c3862eef9c0c 22:42:06 Step 10/25 : COPY . . 22:42:07 ---> f2834277ec7e 22:42:07 Step 11/25 : RUN ${MAKE} 22:42:07 ---> Running in cc4c93889a3f 22:42:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:42:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:42:27 Removing intermediate container cc4c93889a3f 22:42:27 ---> 16df4c7f842c 22:42:27 Step 12/25 : FROM alpine:3.16 22:42:27 3.16: Pulling from library/alpine 22:42:27 213ec9aee27d: Pulling fs layer 22:42:27 213ec9aee27d: Verifying Checksum 22:42:27 213ec9aee27d: Download complete 22:42:28 213ec9aee27d: Pull complete 22:42:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:42:28 Status: Downloaded newer image for alpine:3.16 22:42:28 ---> 9c6f07244728 22:42:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:28 ---> Running in f880cb1c47b9 22:42:28 Removing intermediate container f880cb1c47b9 22:42:28 ---> 78a820adfbfb 22:42:28 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:28 ---> Running in d331e8f9ab37 22:42:28 Removing intermediate container d331e8f9ab37 22:42:28 ---> c29a608e5f59 22:42:28 Step 15/25 : RUN apk add --update --no-cache zeromq 22:42:28 ---> Running in dc9290acdbee 22:42:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:42:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:42:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:42:30 (2/5) Installing libsodium (1.0.18-r0) 22:42:30 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:42:30 (4/5) Installing libzmq (4.3.4-r0) 22:42:30 (5/5) Installing zeromq (4.3.4-r0) 22:42:30 Executing busybox-1.35.0-r17.trigger 22:42:30 OK: 8 MiB in 19 packages 22:42:31 Removing intermediate container dc9290acdbee 22:42:31 ---> beda53a3e054 22:42:31 Step 16/25 : WORKDIR / 22:42:31 ---> Running in d23784f6cbf9 22:42:31 Removing intermediate container d23784f6cbf9 22:42:31 ---> 8a5e5d5da172 22:42:31 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:42:31 ---> 146ab824e3ca 22:42:31 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:42:32 ---> 3e29c5564a58 22:42:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:42:32 ---> fc3e921a1285 22:42:32 Step 20/25 : EXPOSE 59999 22:42:32 ---> Running in ee1eb6781149 22:42:32 Removing intermediate container ee1eb6781149 22:42:32 ---> 0ce5badf0f13 22:42:32 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:42:32 ---> Running in eb536ed4dd5c 22:42:32 Removing intermediate container eb536ed4dd5c 22:42:32 ---> 533b2e6ac91f 22:42:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:32 ---> Running in 497fed7b4478 22:42:32 Removing intermediate container 497fed7b4478 22:42:32 ---> 79b87f1974ce 22:42:32 Step 23/25 : LABEL arch=amd64 22:42:32 ---> Running in f9bcabed0d00 22:42:32 Removing intermediate container f9bcabed0d00 22:42:32 ---> d2f763832abe 22:42:32 Step 24/25 : LABEL git_sha=2559506977c8006839206ac002a9a497c3cf8672 22:42:32 ---> Running in 49a48629b57b 22:42:33 Removing intermediate container 49a48629b57b 22:42:33 ---> 820bc749f5ab 22:42:33 Step 25/25 : LABEL version=0.0.0 22:42:33 ---> Running in b3c699404a26 22:42:33 Removing intermediate container b3c699404a26 22:42:33 ---> d4193f94edd1 22:42:33 [Warning] One or more build-args [ARCH] were not consumed 22:42:33 Successfully built d4193f94edd1 22:42:33 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:33 22:42:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:33 latest: Pulling from edgex-lftools-log-publisher 22:42:33 5eb5b503b376: Pulling fs layer 22:42:33 5c69ac0246d0: Pulling fs layer 22:42:33 ec43610c2a17: Pulling fs layer 22:42:33 3a2ae6a8a46f: Pulling fs layer 22:42:33 33b1e0a273af: Pulling fs layer 22:42:33 5d3b04190fa2: Pulling fs layer 22:42:33 2f39f015ded8: Pulling fs layer 22:42:33 33b1e0a273af: Waiting 22:42:33 5d3b04190fa2: Waiting 22:42:33 2f39f015ded8: Waiting 22:42:33 3a2ae6a8a46f: Waiting 22:42:33 5c69ac0246d0: Verifying Checksum 22:42:33 5c69ac0246d0: Download complete 22:42:33 3a2ae6a8a46f: Verifying Checksum 22:42:33 3a2ae6a8a46f: Download complete 22:42:34 33b1e0a273af: Verifying Checksum 22:42:34 33b1e0a273af: Download complete 22:42:34 ec43610c2a17: Verifying Checksum 22:42:34 ec43610c2a17: Download complete 22:42:34 5d3b04190fa2: Download complete 22:42:34 5eb5b503b376: Verifying Checksum 22:42:34 5eb5b503b376: Download complete 22:42:34 2f39f015ded8: Download complete 22:42:35 5eb5b503b376: Pull complete 22:42:35 5c69ac0246d0: Pull complete 22:42:36 ec43610c2a17: Pull complete 22:42:36 3a2ae6a8a46f: Pull complete 22:42:36 33b1e0a273af: Pull complete 22:42:36 5d3b04190fa2: Pull complete 22:42:40 2f39f015ded8: Pull complete 22:42:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:40 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 22:42:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 22:42:43 $ docker top 76bd38e232769af839737b78b4fba1fc7ab7b4020fe375e436e37328910a4f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:44 ---> job-cost.sh 22:42:44 lf-activate-venv: SKIPPING 22:42:44 INFO: No Stack... 22:42:44 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:45 INFO: Archiving Costs [Pipeline] sh 22:42:45 + + cut -d, -f6 22:42:45 cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [Pipeline] lock 22:42:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] 22:42:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] did not exist. Created. 22:42:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:45 + echo total: 0.2199999988079071 [Pipeline] stash 22:42:45 Stashed 1 file(s) [Pipeline] } 22:42:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:45 $ docker stop --time=1 76bd38e232769af839737b78b4fba1fc7ab7b4020fe375e436e37328910a4f77 22:42:46 $ docker rm -f 76bd38e232769af839737b78b4fba1fc7ab7b4020fe375e436e37328910a4f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24004 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 22:43:58 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 22:43:58 The recommended git tool is: git 22:44:06 using credential edgex-jenkins-ssh 22:44:06 Cloning the remote Git repository 22:44:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:06 > git init /w/workspace/device-sdk-go/6 # timeout=10 22:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:06 > git --version # timeout=10 22:44:06 > git --version # 'git version 2.25.1' 22:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:44:09 Merging remotes/origin/main commit ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 22:44:09 Merge succeeded, producing 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 22:44:09 Checking out Revision 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 (PR-1196) 22:44:09 > git config core.sparsecheckout # timeout=10 22:44:09 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 22:44:09 > git remote # timeout=10 22:44:09 > git config --get remote.origin.url # timeout=10 22:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:09 > git merge ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 22:44:09 > git rev-parse HEAD^{commit} # timeout=10 22:44:09 > git config core.sparsecheckout # timeout=10 22:44:09 > git checkout -f 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 # timeout=10 22:44:14 Commit message: "Merge commit 'ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e' into HEAD" 22:44:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:44:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:44:15 Dload Upload Total Spent Left Speed 22:44:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k 22:44:14 > git rev-list --no-walk 9ca43d4e07228127a445416ee2103b68cbbf287a # timeout=10 [Pipeline] sh 22:44:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:44:16 + sudo tee /etc/docker/daemon.new 22:44:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:44:16 { 22:44:16 "registry-mirrors": [ 22:44:16 "https://nexus3.edgexfoundry.org:10001" 22:44:16 ], 22:44:16 "bip": "10.250.0.254/24", 22:44:16 "hosts": [ 22:44:16 "tcp://0.0.0.0:5555", 22:44:16 "unix:///var/run/docker.sock" 22:44:16 ], 22:44:16 "mtu": 1458, 22:44:16 "selinux-enabled": true, 22:44:16 "seccomp-profile": "/etc/docker/seccomp.json" 22:44:16 } [Pipeline] sh 22:44:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:44:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:35 provisioning config files... 22:44:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config645207882190658574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:35 ---> docker-login.sh 22:44:35 nexus3.edgexfoundry.org:10001 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:36 Configure a credential helper to remove this warning. See 22:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:36 22:44:36 Login Succeeded 22:44:36 nexus3.edgexfoundry.org:10002 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 nexus3.edgexfoundry.org:10003 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 nexus3.edgexfoundry.org:10004 22:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:38 Configure a credential helper to remove this warning. See 22:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:38 22:44:38 Login Succeeded 22:44:38 docker.io 22:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:39 Configure a credential helper to remove this warning. See 22:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:39 22:44:39 Login Succeeded 22:44:39 ---> docker-login.sh ends [Pipeline] } 22:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:40 ========================================================= 22:44:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:44:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:40 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 22:44:41 Sending build context to Docker daemon 5.276MB 22:44:41 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:44:41 Step 2/11 : FROM ${BASE} AS builder 22:44:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:41 b3c136eddcbf: Pulling fs layer 22:44:41 c0a3192eca97: Pulling fs layer 22:44:41 a050256f5b6f: Pulling fs layer 22:44:41 656be50a0ddc: Pulling fs layer 22:44:41 2bbca73fdf42: Pulling fs layer 22:44:41 46d945488cbd: Pulling fs layer 22:44:41 8a5474983e97: Pulling fs layer 22:44:41 329c88fbcd65: Pulling fs layer 22:44:41 656be50a0ddc: Waiting 22:44:41 2bbca73fdf42: Waiting 22:44:41 46d945488cbd: Waiting 22:44:41 8a5474983e97: Waiting 22:44:41 329c88fbcd65: Waiting 22:44:41 a050256f5b6f: Download complete 22:44:41 c0a3192eca97: Download complete 22:44:41 2bbca73fdf42: Download complete 22:44:41 46d945488cbd: Verifying Checksum 22:44:41 46d945488cbd: Download complete 22:44:41 b3c136eddcbf: Verifying Checksum 22:44:41 b3c136eddcbf: Download complete 22:44:42 b3c136eddcbf: Pull complete 22:44:42 329c88fbcd65: Verifying Checksum 22:44:42 329c88fbcd65: Download complete 22:44:42 c0a3192eca97: Pull complete 22:44:43 a050256f5b6f: Pull complete 22:44:43 8a5474983e97: Verifying Checksum 22:44:43 8a5474983e97: Download complete 22:44:44 656be50a0ddc: Verifying Checksum 22:44:44 656be50a0ddc: Download complete 22:44:59 656be50a0ddc: Pull complete 22:44:59 2bbca73fdf42: Pull complete 22:44:59 46d945488cbd: Pull complete 22:45:05 8a5474983e97: Pull complete 22:45:07 329c88fbcd65: Pull complete 22:45:07 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:45:07 ---> ff4287adb874 22:45:07 Step 3/11 : ARG MAKE=make build 22:45:09 ---> Running in b9e871acfb65 22:45:09 Removing intermediate container b9e871acfb65 22:45:09 ---> 2711729b1563 22:45:09 Step 4/11 : WORKDIR /device-sdk-go 22:45:09 ---> Running in e14d7b0c2b1b 22:45:10 Removing intermediate container e14d7b0c2b1b 22:45:10 ---> 0b0f957a9e17 22:45:10 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:45:10 ---> Running in 3cdb2e064a3c 22:45:10 Removing intermediate container 3cdb2e064a3c 22:45:10 ---> f2b58aa7d33b 22:45:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:10 ---> Running in 1f7ab4457409 22:45:12 Removing intermediate container 1f7ab4457409 22:45:12 ---> ff7cf98712a3 22:45:12 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:45:12 ---> Running in 3cfe5d714fe7 22:45:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:45:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:45:15 OK: 221 MiB in 51 packages 22:45:16 Removing intermediate container 3cfe5d714fe7 22:45:16 ---> 46774877d8e0 22:45:16 Step 8/11 : COPY go.mod vendor* ./ 22:45:17 ---> 9025b771bd32 22:45:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:17 ---> Running in e12c3fbd855d 22:46:04 Removing intermediate container e12c3fbd855d 22:46:04 ---> 81c2fc1431f8 22:46:04 Step 10/11 : COPY . . 22:46:05 ---> 847e8fd29c27 22:46:05 Step 11/11 : RUN ${MAKE} 22:46:05 ---> Running in c3a7d7e63531 22:46:06 noop 22:46:07 Removing intermediate container c3a7d7e63531 22:46:07 ---> e8b42748999b 22:46:07 Successfully built e8b42748999b 22:46:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:07 + docker inspect -f . ci-base-image-arm64 22:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:07 prd-ubuntu20.04-docker-arm64-4c-16g-24004 does not seem to be running inside a container 22:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 22:46:09 $ docker top 8aff52179039879c95d6ff1e73f5f6cbcd958458ee0a676999e795d56e8adae8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:10 + go version 22:46:10 go version go1.18.3 linux/arm64 [Pipeline] } 22:46:10 $ docker stop --time=1 8aff52179039879c95d6ff1e73f5f6cbcd958458ee0a676999e795d56e8adae8 22:46:11 $ docker rm -f 8aff52179039879c95d6ff1e73f5f6cbcd958458ee0a676999e795d56e8adae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:12 + docker inspect -f . ci-base-image-arm64 22:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:12 prd-ubuntu20.04-docker-arm64-4c-16g-24004 does not seem to be running inside a container 22:46:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 22:46:14 $ docker top 0b3479a314f4fa518fc9214b814c05d3307c3502ae1b3da1ae1957100c4d8a61 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh 22:46:15 + make test 22:46:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.422s coverage: 23.6% of statements 22:49:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements 22:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.325s coverage: 78.9% of statements 22:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.246s coverage: 10.8% of statements 22:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.761s coverage: 60.0% of statements 22:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:49:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.515s coverage: 34.8% of statements 22:49:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:49:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.342s coverage: 85.4% of statements 22:49:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:49:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:49:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.416s coverage: 65.1% of statements 22:49:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:49:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:49:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.217s coverage: 89.2% of statements 22:49:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:49:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.9% of statements 22:49:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:49:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:49:18 GO111MODULE=on go vet ./... 22:50:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:50:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:50:55 ./bin/test-attribution-txt.sh 22:50:55 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:50:55 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:50:55 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:50:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:50:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:50:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:50:55 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:50:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:50:55 $ docker stop --time=1 0b3479a314f4fa518fc9214b814c05d3307c3502ae1b3da1ae1957100c4d8a61 22:50:57 $ docker rm -f 0b3479a314f4fa518fc9214b814c05d3307c3502ae1b3da1ae1957100c4d8a61 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:59 Warning: overwriting stash ‘coverage-report’ 22:50:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:00 + ls -al . 22:51:00 total 296 22:51:00 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 22:46 . 22:51:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:44 .. 22:51:00 -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 22:44 .dockerignore 22:51:00 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 22:44 .git 22:51:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:44 .github 22:51:00 -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 22:44 .gitignore 22:51:00 -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 22:44 .golangci.yml 22:51:00 -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 22:44 CHANGELOG.md 22:51:00 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 22:44 GOVERNANCE.md 22:51:00 -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 22:44 Jenkinsfile 22:51:00 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 22:44 LICENSE 22:51:00 -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 22:44 Makefile 22:51:00 -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 22:44 OWNERS.md 22:51:00 -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 22:44 README.md 22:51:00 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 22:40 VERSION 22:51:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 22:44 bin 22:51:00 -rw-r--r-- 1 jenkins jenkins 130804 Aug 30 22:49 coverage.out 22:51:00 drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 22:44 example 22:51:00 -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 22:44 go.mod 22:51:00 -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 22:44 go.sum 22:51:00 drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 22:44 internal 22:51:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 22:44 openapi 22:51:00 drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 22:44 pkg 22:51:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 22:44 snap 22:51:00 -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:00 + 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=5aeb5076a0732eaacdc86be0c405dc4574b4fc10 --label arch=arm64 --label version=0.0.0 . 22:51:01 Sending build context to Docker daemon 5.408MB 22:51:01 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:51:01 Step 2/25 : FROM ${BASE} AS builder 22:51:01 ---> e8b42748999b 22:51:01 Step 3/25 : ARG MAKE=make build 22:51:01 ---> Running in ed254d8c30c8 22:51:01 Removing intermediate container ed254d8c30c8 22:51:01 ---> 47a0ead60568 22:51:01 Step 4/25 : WORKDIR /device-sdk-go 22:51:02 ---> Running in b1ee3b885fda 22:51:02 Removing intermediate container b1ee3b885fda 22:51:02 ---> a401d161f8be 22:51:02 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:51:02 ---> Running in a1e35a7b611e 22:51:02 Removing intermediate container a1e35a7b611e 22:51:02 ---> 2c870705aa4a 22:51:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:02 ---> Running in 782c16e46c08 22:51:04 Removing intermediate container 782c16e46c08 22:51:04 ---> 3aa8279e2745 22:51:04 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:51:04 ---> Running in f364de2f68a4 22:51:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:51:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:51:07 OK: 221 MiB in 51 packages 22:51:08 Removing intermediate container f364de2f68a4 22:51:08 ---> 76a02cc0d5d0 22:51:08 Step 8/25 : COPY go.mod vendor* ./ 22:51:09 ---> 4a0faf4c35b5 22:51:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:09 ---> Running in 79a960620a44 22:51:11 Removing intermediate container 79a960620a44 22:51:11 ---> d205d14f1000 22:51:11 Step 10/25 : COPY . . 22:51:12 ---> 46a417965c85 22:51:12 Step 11/25 : RUN ${MAKE} 22:51:12 ---> Running in fe3d3c766d22 22:51:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:53:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:53:35 Removing intermediate container fe3d3c766d22 22:53:35 ---> 4bca66aa64bb 22:53:35 Step 12/25 : FROM alpine:3.16 22:53:35 3.16: Pulling from library/alpine 22:53:35 9b18e9b68314: Pulling fs layer 22:53:35 9b18e9b68314: Verifying Checksum 22:53:35 9b18e9b68314: Download complete 22:53:35 9b18e9b68314: Pull complete 22:53:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:53:35 Status: Downloaded newer image for alpine:3.16 22:53:35 ---> a6215f271958 22:53:35 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:53:35 ---> Running in 05694e5f43ac 22:53:35 Removing intermediate container 05694e5f43ac 22:53:35 ---> 7c59821079f4 22:53:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:35 ---> Running in 3ec3af9bacf2 22:53:35 Removing intermediate container 3ec3af9bacf2 22:53:35 ---> ce39c9c69a5a 22:53:35 Step 15/25 : RUN apk add --update --no-cache zeromq 22:53:35 ---> Running in 97c55f52732e 22:53:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:53:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:53:35 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:53:35 (2/5) Installing libsodium (1.0.18-r0) 22:53:36 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:53:37 (4/5) Installing libzmq (4.3.4-r0) 22:53:37 (5/5) Installing zeromq (4.3.4-r0) 22:53:37 Executing busybox-1.35.0-r17.trigger 22:53:37 OK: 8 MiB in 19 packages 22:53:38 Removing intermediate container 97c55f52732e 22:53:38 ---> ec9ab3dd35fd 22:53:38 Step 16/25 : WORKDIR / 22:53:38 ---> Running in e69920119d7c 22:53:38 Removing intermediate container e69920119d7c 22:53:38 ---> fcb1e22d97c8 22:53:38 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:53:39 ---> f3718b7bea84 22:53:39 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:53:40 ---> 3374cd086f03 22:53:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:53:40 ---> 817fcaa8e0d3 22:53:40 Step 20/25 : EXPOSE 59999 22:53:41 ---> Running in 6a23542fdbd7 22:53:41 Removing intermediate container 6a23542fdbd7 22:53:41 ---> 2cd671381b33 22:53:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:53:41 ---> Running in a3ed2ea1c915 22:53:41 Removing intermediate container a3ed2ea1c915 22:53:41 ---> 068c48c95942 22:53:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:53:41 ---> Running in 2a391efce08c 22:53:42 Removing intermediate container 2a391efce08c 22:53:42 ---> c86d893dd4e1 22:53:42 Step 23/25 : LABEL arch=arm64 22:53:42 ---> Running in 3f20803ef2c8 22:53:42 Removing intermediate container 3f20803ef2c8 22:53:42 ---> 292fcd433047 22:53:42 Step 24/25 : LABEL git_sha=5aeb5076a0732eaacdc86be0c405dc4574b4fc10 22:53:42 ---> Running in 0e47a31d4978 22:53:42 Removing intermediate container 0e47a31d4978 22:53:42 ---> 4dfc47fcfe97 22:53:42 Step 25/25 : LABEL version=0.0.0 22:53:42 ---> Running in 4ea291e2d03f 22:53:43 Removing intermediate container 4ea291e2d03f 22:53:43 ---> 88398da1572c 22:53:43 [Warning] One or more build-args [ARCH] were not consumed 22:53:43 Successfully built 88398da1572c 22:53:43 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:43 22:53:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:44 arm64: Pulling from edgex-lftools-log-publisher 22:53:44 8998bd30e6a1: Pulling fs layer 22:53:44 04944245beec: Pulling fs layer 22:53:44 699f458cf7ca: Pulling fs layer 22:53:44 765212b225bb: Pulling fs layer 22:53:44 f23df028b6ca: Pulling fs layer 22:53:44 d65c8cfc05b1: Pulling fs layer 22:53:44 2437ff75d9bd: Pulling fs layer 22:53:44 765212b225bb: Waiting 22:53:44 f23df028b6ca: Waiting 22:53:44 2437ff75d9bd: Waiting 22:53:44 d65c8cfc05b1: Waiting 22:53:44 04944245beec: Verifying Checksum 22:53:44 04944245beec: Download complete 22:53:44 765212b225bb: Verifying Checksum 22:53:44 765212b225bb: Download complete 22:53:44 f23df028b6ca: Verifying Checksum 22:53:44 f23df028b6ca: Download complete 22:53:44 d65c8cfc05b1: Verifying Checksum 22:53:44 d65c8cfc05b1: Download complete 22:53:44 699f458cf7ca: Verifying Checksum 22:53:44 699f458cf7ca: Download complete 22:53:45 8998bd30e6a1: Download complete 22:53:47 2437ff75d9bd: Verifying Checksum 22:53:47 2437ff75d9bd: Download complete 22:53:49 8998bd30e6a1: Pull complete 22:53:50 04944245beec: Pull complete 22:53:51 699f458cf7ca: Pull complete 22:53:51 765212b225bb: Pull complete 22:53:52 f23df028b6ca: Pull complete 22:53:52 d65c8cfc05b1: Pull complete 22:54:07 2437ff75d9bd: Pull complete 22:54:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:08 prd-ubuntu20.04-docker-arm64-4c-16g-24004 does not seem to be running inside a container 22:54:08 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 22:54:10 $ docker top b7d134d42c4120ad395449c70a07c39d06cb0aecaf216bb53666ac2f1194adc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:11 ---> job-cost.sh 22:54:11 lf-activate-venv: SKIPPING 22:54:11 INFO: No Stack... 22:54:12 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:13 INFO: Archiving Costs [Pipeline] sh 22:54:14 + cut -d, -f6 22:54:14 + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock 22:54:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] 22:54:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] did not exist. Created. 22:54:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:14 /w/workspace/device-sdk-go/6@tmp/durable-9c175fd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:15 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:15 Warning: overwriting stash ‘stack-cost’ 22:54:15 Stashed 1 file(s) [Pipeline] } 22:54:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:15 $ docker stop --time=1 b7d134d42c4120ad395449c70a07c39d06cb0aecaf216bb53666ac2f1194adc4 22:54:17 $ docker rm -f b7d134d42c4120ad395449c70a07c39d06cb0aecaf216bb53666ac2f1194adc4 [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 22:54:17 provisioning config files... 22:54:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7656473592979930053tmp [Pipeline] { [Pipeline] sh 22:54:17 + set +x 22:54:17 + curl -s https://codecov.io/bash 22:54:17 + bash -s -- 22:54:17 22:54:17 _____ _ 22:54:17 / ____| | | 22:54:17 | | ___ __| | ___ ___ _____ __ 22:54:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:54:17 | |___| (_) | (_| | __/ (_| (_) \ V / 22:54:17 \_____\___/ \__,_|\___|\___\___/ \_/ 22:54:17 Bash-1.0.6 22:54:17 22:54:17 22:54:17 ==> git version 2.25.1 found 22:54:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:54:17 Release-Date: 2020-01-08 22:54:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:54:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:54:17 ==> Jenkins CI detected. 22:54:17 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 22:54:17 project root: . 22:54:17 --> token set from env 22:54:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:54:17 ==> Running gcov in . (disable via -X gcov) 22:54:17 ==> Python coveragepy not found 22:54:17 ==> Searching for coverage reports in: 22:54:17 + . 22:54:18 -> Found 1 reports 22:54:18 ==> Detecting git/mercurial file structure 22:54:18 ==> Reading reports 22:54:18 + ./coverage.out bytes=130804 22:54:18 ==> Appending adjustments 22:54:18 https://docs.codecov.io/docs/fixing-reports 22:54:18 + Found adjustments 22:54:18 ==> Gzipping contents 22:54:18 20K /tmp/codecov.82SUQM.gz 22:54:18 ==> Uploading reports 22:54:18 url: https://codecov.io 22:54:18 query: branch=PR-1196&commit=2559506977c8006839206ac002a9a497c3cf8672&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:54:18 -> Pinging Codecov 22:54:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=2559506977c8006839206ac002a9a497c3cf8672&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:54:18 -> Uploading to 22:54:18 https://storage.googleapis.com/codecov/v4/raw/2022-08-30/7E55EF52A471D76F132DFD9A03CDDE97/2559506977c8006839206ac002a9a497c3cf8672/0eb07e39-9627-4293-a9f5-3e12480fcd94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T225418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a072e2cf2de231132cb70061ace5cedecdb787cdcd0ff3a6ae37f53783fec303 22:54:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:54:18 Dload Upload Total Spent Left Speed 22:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17218 0 0 100 17218 0 67257 --:--:-- --:--:-- --:--:-- 67257 22:54:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2559506977c8006839206ac002a9a497c3cf8672 [Pipeline] } 22:54:18 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 22:54:19 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 22:54:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:54:19 total 16 22:54:19 drwxr-xr-x 3 root root 4096 Aug 30 22:42 . 22:54:19 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 22:42 .. 22:54:19 drwxr-xr-x 2 root root 4096 Aug 30 22:42 cost 22:54:19 -rw-r--r-- 1 root root 86 Aug 30 22:42 cost.csv 22:54:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:54:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:54:19 total 16 22:54:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 22:42 . 22:54:19 drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 22:42 .. 22:54:19 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 22:42 cost 22:54:19 -rw-r--r-- 1 jenkins jenkins 86 Aug 30 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:20 ---> package-listing.sh 22:54:20 ++ facter osfamily 22:54:20 ++ tr '[:upper:]' '[:lower:]' 22:54:21 + OS_FAMILY=debian 22:54:21 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 22:54:21 + START_PACKAGES=/tmp/packages_start.txt 22:54:21 + END_PACKAGES=/tmp/packages_end.txt 22:54:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:21 + PACKAGES=/tmp/packages_start.txt 22:54:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:54:21 + PACKAGES=/tmp/packages_end.txt 22:54:21 + case "${OS_FAMILY}" in 22:54:21 + dpkg -l 22:54:21 + grep '^ii' 22:54:21 + '[' -f /tmp/packages_start.txt ']' 22:54:21 + '[' -f /tmp/packages_end.txt ']' 22:54:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:54:21 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 22:54:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo 22:54:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:22 prd-ubuntu20.04-docker-8c-8g-24002 does not seem to be running inside a container 22:54:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:54:22 $ docker top 48ad6c9f70afb9cb3edfe9f5a902dc58fa5b6219b0048972fb3d0f3e6594859f -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:22 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:23 + ls /var/log/sa-host 22:54:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:23 provisioning config files... 22:54:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config2348246273122061809tmp [Pipeline] { [Pipeline] echo 22:54:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:23 ---> create-netrc.sh [Pipeline] } 22:54:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:24 ---> python-tools-install.sh [Pipeline] echo 22:54:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:24 ---> sudo-logs.sh 22:54:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:24 ---> job-cost.sh 22:54:24 lf-activate-venv: SKIPPING 22:54:24 DEBUG: total: 0.2199999988079071 22:54:24 INFO: Retrieving Stack Cost... 22:54:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:25 INFO: Archiving Costs [Pipeline] echo 22:54:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:26 ---> logs-deploy.sh 22:54:26 lf-activate-venv: SKIPPING 22:54:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/6 22:54:26 INFO: archiving workspace using pattern(s): 22:54:27 Archives upload complete. 22:54:27 INFO: archiving logs to Nexus 22:54:27 ---> uname -a: 22:54:27 Linux prd-ubuntu20-04-docker-8c-8g-24002 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:54:27 22:54:27 22:54:27 ---> lscpu: 22:54:27 Architecture: x86_64 22:54:27 CPU op-mode(s): 32-bit, 64-bit 22:54:27 Byte Order: Little Endian 22:54:27 Address sizes: 40 bits physical, 48 bits virtual 22:54:27 CPU(s): 8 22:54:27 On-line CPU(s) list: 0-7 22:54:27 Thread(s) per core: 1 22:54:27 Core(s) per socket: 1 22:54:27 Socket(s): 8 22:54:27 NUMA node(s): 1 22:54:27 Vendor ID: AuthenticAMD 22:54:27 CPU family: 23 22:54:27 Model: 49 22:54:27 Model name: AMD EPYC-Rome Processor 22:54:27 Stepping: 0 22:54:27 CPU MHz: 2800.002 22:54:27 BogoMIPS: 5600.00 22:54:27 Virtualization: AMD-V 22:54:27 Hypervisor vendor: KVM 22:54:27 Virtualization type: full 22:54:27 L1d cache: 256 KiB 22:54:27 L1i cache: 256 KiB 22:54:27 L2 cache: 4 MiB 22:54:27 L3 cache: 128 MiB 22:54:27 NUMA node0 CPU(s): 0-7 22:54:27 Vulnerability Itlb multihit: Not affected 22:54:27 Vulnerability L1tf: Not affected 22:54:27 Vulnerability Mds: Not affected 22:54:27 Vulnerability Meltdown: Not affected 22:54:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:54:27 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:54:27 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:54:27 Vulnerability Srbds: Not affected 22:54:27 Vulnerability Tsx async abort: Not affected 22:54:27 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:54:27 22:54:27 22:54:27 ---> nproc: 22:54:27 8 22:54:27 22:54:27 22:54:27 ---> df -h: 22:54:27 Filesystem Size Used Avail Use% Mounted on 22:54:27 overlay 155G 11G 145G 7% / 22:54:27 tmpfs 64M 0 64M 0% /dev 22:54:27 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:54:27 shm 64M 0 64M 0% /dev/shm 22:54:27 /dev/vda1 155G 11G 145G 7% /facter-os 22:54:27 22:54:27 22:54:27 ---> sar -b -r -n DEV: 22:54:27 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24002) 08/30/22 _x86_64_ (8 CPU) 22:54:27 22:54:27 22:38:02 LINUX RESTART (8 CPU) 22:54:27 22:54:27 22:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:54:27 22:40:01 4.17 0.02 4.15 0.00 0.13 100.65 0.00 22:54:27 22:41:01 345.96 13.80 332.16 0.00 2127.91 38553.31 0.00 22:54:27 22:42:01 105.47 1.12 104.35 0.00 14.13 45746.91 0.00 22:54:27 22:43:01 176.94 0.10 176.84 0.00 12.00 37193.27 0.00 22:54:27 22:44:01 1.62 0.02 1.60 0.00 0.13 19.46 0.00 22:54:27 22:45:01 1.47 0.00 1.47 0.00 0.00 17.06 0.00 22:54:27 22:46:01 0.97 0.00 0.97 0.00 0.00 11.60 0.00 22:54:27 22:47:01 1.43 0.00 1.43 0.00 0.00 16.40 0.00 22:54:27 22:48:01 0.98 0.00 0.98 0.00 0.00 11.60 0.00 22:54:27 22:49:01 1.45 0.00 1.45 0.00 0.00 21.20 0.00 22:54:27 22:50:01 0.92 0.00 0.92 0.00 0.00 10.40 0.00 22:54:27 22:51:01 1.17 0.00 1.17 0.00 0.00 14.26 0.00 22:54:27 22:52:01 1.03 0.00 1.03 0.00 0.00 12.40 0.00 22:54:27 22:53:01 1.53 0.00 1.53 0.00 0.00 18.00 0.00 22:54:27 22:54:01 1.70 0.02 1.68 0.00 0.13 19.86 0.00 22:54:27 Average: 43.12 1.00 42.11 0.00 143.62 8117.49 0.00 22:54:27 22:54:27 22:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:54:27 22:40:01 30229896 31924480 435208 1.32 77244 1928348 1967268 5.80 815592 1558296 20 22:54:27 22:41:01 28897072 31743340 556576 1.69 105436 3008296 2155096 6.35 1113720 2492440 1672 22:54:27 22:42:01 28000116 31756604 534576 1.63 162748 3780376 1982064 5.84 1262908 3147016 19160 22:54:27 22:43:01 27635972 31785988 506812 1.54 174652 4124040 1797696 5.30 1278084 3457800 172 22:54:27 22:44:01 27636912 31786904 505924 1.54 174688 4124052 1797696 5.30 1277984 3457808 32 22:54:27 22:45:01 27637400 31787380 505416 1.54 174700 4124056 1797696 5.30 1276380 3457812 36 22:54:27 22:46:01 27637416 31787400 505344 1.54 174708 4124060 1797696 5.30 1276304 3457816 12 22:54:27 22:47:01 27638116 31788372 504544 1.53 174740 4124064 1797696 5.30 1275820 3458064 12 22:54:27 22:48:01 27645944 31796224 496852 1.51 174764 4124056 1797696 5.30 1267044 3458060 12 22:54:27 22:49:01 27646412 31796844 495796 1.51 174800 4124108 1797696 5.30 1267536 3458104 12 22:54:27 22:50:01 27646372 31796824 495744 1.51 174816 4124112 1797696 5.30 1267196 3458108 20 22:54:27 22:51:01 27646180 31796704 495716 1.51 174844 4124112 1797696 5.30 1267512 3458108 24 22:54:27 22:52:01 27646368 31796956 495444 1.51 174880 4124116 1797696 5.30 1267232 3458160 8 22:54:27 22:53:01 27645576 31796280 495896 1.51 174900 4124112 1797696 5.30 1267572 3458168 12 22:54:27 22:54:01 27645280 31796128 495664 1.51 174936 4124120 1807812 5.33 1267560 3458176 20 22:54:27 Average: 27922335 31795762 501701 1.53 162857 3880402 1845793 5.44 1229896 3246262 1415 22:54:27 22:54:27 22:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:54:27 22:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:40:01 ens3 0.68 0.17 0.14 0.07 0.00 0.00 0.00 0.00 22:54:27 22:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:41:01 lo 6.87 6.87 0.66 0.66 0.00 0.00 0.00 0.00 22:54:27 22:41:01 ens3 592.45 403.85 6105.30 86.64 0.00 0.00 0.00 0.00 22:54:27 22:41:01 vethf4af33b 43.64 48.81 4.20 46.80 0.00 0.00 0.00 0.00 22:54:27 22:41:01 docker0 58.66 64.07 4.72 156.66 0.00 0.00 0.00 0.00 22:54:27 22:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:42:01 ens3 152.46 121.00 1397.43 67.92 0.00 0.00 0.00 0.00 22:54:27 22:42:01 docker0 75.39 96.45 6.21 1364.40 0.00 0.00 0.00 0.00 22:54:27 22:43:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 22:54:27 22:43:01 ens3 172.54 126.18 2688.30 54.13 0.00 0.00 0.00 0.00 22:54:27 22:43:01 docker0 20.33 24.58 1.20 98.80 0.00 0.00 0.00 0.00 22:54:27 22:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:44:01 ens3 16.33 13.91 8.29 21.10 0.00 0.00 0.00 0.00 22:54:27 22:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:45:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:46:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:47:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:48:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:49:01 ens3 1.22 1.15 0.15 1.96 0.00 0.00 0.00 0.00 22:54:27 22:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:50:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 22:54:27 22:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:51:01 ens3 0.20 0.12 0.07 0.01 0.00 0.00 0.00 0.00 22:54:27 22:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:52:01 ens3 0.38 0.00 0.04 0.00 0.00 0.00 0.00 0.00 22:54:27 22:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:54:27 22:53:01 ens3 0.58 0.38 0.27 0.21 0.00 0.00 0.00 0.00 22:54:27 22:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 22:54:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 22:54:27 22:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:54:27 Average: lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 22:54:27 Average: ens3 62.50 44.47 679.98 15.47 0.00 0.00 0.00 0.00 22:54:27 Average: docker0 10.29 12.34 0.81 107.99 0.00 0.00 0.00 0.00 22:54:27 22:54:27