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+7128670c60762a554b6733602f52baa10dc88de3 (08c6018bdd7a2155bf87dae0f2421adc1aa11057) 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-ssh13037842077913607852.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-ssh3018763553820877475.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-ssh7387868206016868539.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-ssh5873576734558130424.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-ssh12140480045797447592.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-28365 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 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 92f20f0e717187d38edfc08eb4f7c6185e33de43 Checking out Revision 92f20f0e717187d38edfc08eb4f7c6185e33de43 (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 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92f20f0e717187d38edfc08eb4f7c6185e33de43 # timeout=10 Commit message: "Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:40:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:27 ========================================================= 22:40:27 EdgeX Global Pipelines Version Info 22:40:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 # timeout=10 22:40:28 ------------------- 22:40:28 stable info: 22:40:28 ------------------- 22:40:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:40:28 Message: update stable to v1.0.239 22:40:28 ------------------- 22:40:28 experimental info: 22:40:28 ------------------- 22:40:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:40:28 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92f20f0 [Pipeline] echo 22:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:29 provisioning config files... 22:40:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8141858697223150013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:29 ---> docker-login.sh 22:40:29 nexus3.edgexfoundry.org:10001 22:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:30 Configure a credential helper to remove this warning. See 22:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:30 22:40:30 Login Succeeded 22:40:30 nexus3.edgexfoundry.org:10002 22:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:30 Configure a credential helper to remove this warning. See 22:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:30 22:40:30 Login Succeeded 22:40:30 nexus3.edgexfoundry.org:10003 22:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:30 Configure a credential helper to remove this warning. See 22:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:30 22:40:30 Login Succeeded 22:40:30 nexus3.edgexfoundry.org:10004 22:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:30 Configure a credential helper to remove this warning. See 22:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:30 22:40:30 Login Succeeded 22:40:30 docker.io 22:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:31 Configure a credential helper to remove this warning. See 22:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:31 22:40:31 Login Succeeded 22:40:31 ---> docker-login.sh ends [Pipeline] } 22:40:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:40:31 + git rev-list -1 --merges 92f20f0e717187d38edfc08eb4f7c6185e33de43~1..92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo 22:40:31 -----------> git rev-list -1 --merges 92f20f0e717187d38edfc08eb4f7c6185e33de43~1..92f20f0e717187d38edfc08eb4f7c6185e33de43 92f20f0e717187d38edfc08eb4f7c6185e33de43 22:40:31 92f20f0e717187d38edfc08eb4f7c6185e33de43 [false] [Pipeline] sh 22:40:31 + git log --format=format:%s -1 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo 22:40:31 ========================================================= 22:40:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:40:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:32 + git log --format=format:%s -1 92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] echo 22:40:32 [semverPrep] GIT_COMMIT: 92f20f0e717187d38edfc08eb4f7c6185e33de43, Commit Message: Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD [Pipeline] echo 22:40:32 [semverPrep] This is not a build commit. [Pipeline] sh 22:40:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:40:32 + grep -v github /etc/ssh/ssh_known_hosts 22:40:32 + [ -e /tmp/ssh_known_hosts ] 22:40:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:40:32 + + sudo tee -aecho /etc/ssh/ssh_known_hosts 22:40:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:40:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:33 22:40:33 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:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:33 0.1.4: Pulling from edgex-devops/py-git-semver 22:40:33 b85a868b505f: Pulling fs layer 22:40:33 e2be974225ed: Pulling fs layer 22:40:33 339a4e72a1f5: Pulling fs layer 22:40:33 988bab9f4d93: Pulling fs layer 22:40:33 1469e6f7b9e6: Pulling fs layer 22:40:33 eaf3925da568: Pulling fs layer 22:40:33 bab4dde63d76: Pulling fs layer 22:40:33 bde34c3a00c8: Pulling fs layer 22:40:33 b352a97aabf1: Pulling fs layer 22:40:33 4872d77fe225: Pulling fs layer 22:40:33 5851b861e8e6: Pulling fs layer 22:40:33 eaf3925da568: Waiting 22:40:33 bab4dde63d76: Waiting 22:40:33 bde34c3a00c8: Waiting 22:40:33 b352a97aabf1: Waiting 22:40:33 5851b861e8e6: Waiting 22:40:33 988bab9f4d93: Waiting 22:40:33 1469e6f7b9e6: Waiting 22:40:33 e2be974225ed: Verifying Checksum 22:40:33 e2be974225ed: Download complete 22:40:33 988bab9f4d93: Verifying Checksum 22:40:33 988bab9f4d93: Download complete 22:40:33 1469e6f7b9e6: Verifying Checksum 22:40:33 1469e6f7b9e6: Download complete 22:40:33 339a4e72a1f5: Verifying Checksum 22:40:33 339a4e72a1f5: Download complete 22:40:33 eaf3925da568: Verifying Checksum 22:40:33 eaf3925da568: Download complete 22:40:33 bde34c3a00c8: Verifying Checksum 22:40:33 bde34c3a00c8: Download complete 22:40:33 b352a97aabf1: Download complete 22:40:33 4872d77fe225: Verifying Checksum 22:40:33 4872d77fe225: Download complete 22:40:33 5851b861e8e6: Download complete 22:40:33 b85a868b505f: Download complete 22:40:33 bab4dde63d76: Verifying Checksum 22:40:33 bab4dde63d76: Download complete 22:40:34 b85a868b505f: Pull complete 22:40:34 e2be974225ed: Pull complete 22:40:35 339a4e72a1f5: Pull complete 22:40:35 988bab9f4d93: Pull complete 22:40:35 1469e6f7b9e6: Pull complete 22:40:35 eaf3925da568: Pull complete 22:40:37 bab4dde63d76: Pull complete 22:40:37 bde34c3a00c8: Pull complete 22:40:37 b352a97aabf1: Pull complete 22:40:37 4872d77fe225: Pull complete 22:40:37 5851b861e8e6: Pull complete 22:40:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:40:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:37 prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container 22:40:37 $ 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 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a -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 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent 22:40:39 SSH_AUTH_SOCK=/tmp/ssh-to9q0nL6nQd3/agent.32 22:40:39 SSH_AGENT_PID=38 22:40:39 Running ssh-add (command line suppressed) 22:40:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_1786922981351329601.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_1786922981351329601.key) 22:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:40 + git tag --points-at HEAD [Pipeline] } 22:40:40 $ docker exec --env ******** --env ******** 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent -k 22:40:40 unset SSH_AUTH_SOCK; 22:40:40 unset SSH_AGENT_PID; 22:40:40 echo Agent pid 38 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 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent 22:40:40 SSH_AUTH_SOCK=/tmp/ssh-0yiOkr9yrcuG/agent.71 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_4534927816490506946.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_4534927816490506946.key) 22:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:41 + git semver init 22:40:41 2022-09-06 22:40:41,474 [run_init] DEBUG init version:0.0.0 force:False 22:40:41 2022-09-06 22:40:41,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:40:41 2022-09-06 22:40:41,475 [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-09-06 22:40:41,475 [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-09-06 22:40:42,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 22:40:42 2022-09-06 22:40:42,533 [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-09-06 22:40:42,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:40:42 2022-09-06 22:40:42,536 [execute] INFO git cat-file --batch-check 22:40:42 2022-09-06 22:40:42,537 [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-09-06 22:40:42,543 [execute] INFO git cat-file --batch 22:40:42 2022-09-06 22:40:42,543 [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-09-06 22:40:42,548 [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 ******** 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a ssh-agent -k 22:40:43 unset SSH_AUTH_SOCK; 22:40:43 unset SSH_AGENT_PID; 22:40:43 echo Agent pid 78 killed; 22:40:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:44 + git semver [Pipeline] } 22:40:44 $ docker stop --time=1 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a 22:40:46 $ docker rm -f 876686b767b1881ed7c947c29c83b2b147a4eeaffcc95a580b9519a99719ea8a [Pipeline] // withDockerContainer [Pipeline] sh 22:40:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:46 Stashed 1 file(s) [Pipeline] echo 22:40:46 [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:46 provisioning config files... 22:40:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config1799856143470151764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:47 ---> docker-login.sh 22:40:47 nexus3.edgexfoundry.org:10001 22:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:47 Configure a credential helper to remove this warning. See 22:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:47 22:40:47 Login Succeeded 22:40:47 nexus3.edgexfoundry.org:10002 22:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:47 Configure a credential helper to remove this warning. See 22:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:47 22:40:47 Login Succeeded 22:40:47 nexus3.edgexfoundry.org:10003 22:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:47 Configure a credential helper to remove this warning. See 22:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:47 22:40:47 Login Succeeded 22:40:47 nexus3.edgexfoundry.org:10004 22:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:47 Configure a credential helper to remove this warning. See 22:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:47 22:40:47 Login Succeeded 22:40:47 docker.io 22:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:47 Configure a credential helper to remove this warning. See 22:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:47 22:40:47 Login Succeeded 22:40:47 ---> docker-login.sh ends [Pipeline] } 22:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:47 ========================================================= 22:40:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:40:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:48 + 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:48 Sending build context to Docker daemon 9.82MB 22:40:48 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:40:48 Step 2/11 : FROM ${BASE} AS builder 22:40:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:48 2408cc74d12b: Pulling fs layer 22:40:48 ea60b727a1ce: Pulling fs layer 22:40:48 30c4a7721957: Pulling fs layer 22:40:48 370296b7ddb6: Pulling fs layer 22:40:48 7c6cee850709: Pulling fs layer 22:40:48 39a5fcdaea64: Pulling fs layer 22:40:48 d94ebbe4e438: Pulling fs layer 22:40:48 bcfd1f05c69d: Pulling fs layer 22:40:48 59ccb84bbe0f: Pulling fs layer 22:40:48 370296b7ddb6: Waiting 22:40:48 7c6cee850709: Waiting 22:40:48 39a5fcdaea64: Waiting 22:40:48 d94ebbe4e438: Waiting 22:40:48 bcfd1f05c69d: Waiting 22:40:48 59ccb84bbe0f: Waiting 22:40:48 30c4a7721957: Verifying Checksum 22:40:48 30c4a7721957: Download complete 22:40:48 ea60b727a1ce: Verifying Checksum 22:40:48 ea60b727a1ce: Download complete 22:40:48 7c6cee850709: Verifying Checksum 22:40:48 7c6cee850709: Download complete 22:40:48 39a5fcdaea64: Download complete 22:40:48 2408cc74d12b: Download complete 22:40:48 d94ebbe4e438: Download complete 22:40:48 2408cc74d12b: Pull complete 22:40:48 ea60b727a1ce: Pull complete 22:40:48 30c4a7721957: Pull complete 22:40:49 bcfd1f05c69d: Verifying Checksum 22:40:49 59ccb84bbe0f: Verifying Checksum 22:40:49 59ccb84bbe0f: Download complete 22:40:49 370296b7ddb6: Verifying Checksum 22:40:49 370296b7ddb6: Download complete 22:40:53 370296b7ddb6: Pull complete 22:40:53 7c6cee850709: Pull complete 22:40:53 39a5fcdaea64: Pull complete 22:40:53 d94ebbe4e438: Pull complete 22:40:55 bcfd1f05c69d: Pull complete 22:40:56 59ccb84bbe0f: Pull complete 22:40:56 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:40:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:40:56 ---> a4fb48ad2a94 22:40:56 Step 3/11 : ARG MAKE=make build 22:40:57 ---> Running in 99ad4d4686a6 22:40:58 Removing intermediate container 99ad4d4686a6 22:40:58 ---> 427042bfa8c4 22:40:58 Step 4/11 : WORKDIR /device-sdk-go 22:40:58 ---> Running in 3f90a65d8d9a 22:40:58 Removing intermediate container 3f90a65d8d9a 22:40:58 ---> 6d6cd61d17af 22:40:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:40:58 ---> Running in 70251d273376 22:40:58 Removing intermediate container 70251d273376 22:40:58 ---> 2ef4d8191c64 22:40:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:58 ---> Running in 22c38b4f5679 22:40:58 Removing intermediate container 22c38b4f5679 22:40:58 ---> 7d97e93d8014 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 13af777eaf04 22:40:59 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:41:00 OK: 211 MiB in 51 packages 22:41:00 Removing intermediate container 13af777eaf04 22:41:00 ---> bb3651831a47 22:41:00 Step 8/11 : COPY go.mod vendor* ./ 22:41:00 ---> 869b7faf81bc 22:41:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:00 ---> Running in f68200d220da 22:41:01 Still waiting to schedule task 22:41:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:41:15 Removing intermediate container f68200d220da 22:41:15 ---> 6a6d4e6b3a83 22:41:15 Step 10/11 : COPY . . 22:41:15 ---> 3d721a55e6cc 22:41:15 Step 11/11 : RUN ${MAKE} 22:41:16 ---> Running in 5b47d618fd97 22:41:16 noop 22:41:16 Removing intermediate container 5b47d618fd97 22:41:16 ---> a86b42c9c70f 22:41:16 Successfully built a86b42c9c70f 22:41:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:16 + docker inspect -f . ci-base-image-x86_64 22:41:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:17 prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container 22:41:17 $ 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:17 $ docker top 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:17 + go version 22:41:17 go version go1.18.3 linux/amd64 [Pipeline] } 22:41:17 $ docker stop --time=1 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 22:41:19 $ docker rm -f 2f678ba2f7ef5dba9a0eb2794d47a3a3bdb24a9a0f9051c6849aa99aa68978c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:19 + docker inspect -f . ci-base-image-x86_64 22:41:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:19 prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container 22:41:19 $ 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:20 $ docker top bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh 22:41:20 + make test 22:41:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:41:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 23.6% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.097s coverage: 78.9% of statements 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.071s coverage: 10.8% of statements 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.081s coverage: 60.0% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 85.4% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.766s coverage: 89.2% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:41:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements 22:41:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:42:00 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:42:00 GO111MODULE=on go vet ./... 22:42:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:42:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:42:02 ./bin/test-attribution-txt.sh 22:42:02 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:42:02 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:42:02 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:42:02 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:42:02 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:42:02 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:42:02 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:42:02 $ docker stop --time=1 bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 22:42:05 $ docker rm -f bf2ed68bda68d8c47c77dff2d8ef62fd50f0b2134a5c58d03e6be510e91b6715 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:42:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:06 + ls -al . 22:42:06 total 300 22:42:06 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 22:41 . 22:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:40 .. 22:42:06 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 22:40 .dockerignore 22:42:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:41 .git 22:42:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:40 .github 22:42:06 -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 22:40 .gitignore 22:42:06 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 22:40 .golangci.yml 22:42:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 22:40 .semver 22:42:06 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 22:40 CHANGELOG.md 22:42:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:40 GOVERNANCE.md 22:42:06 -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 22:40 Jenkinsfile 22:42:06 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 22:40 LICENSE 22:42:06 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 22:40 Makefile 22:42:06 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 22:40 OWNERS.md 22:42:06 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 22:40 README.md 22:42:06 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 22:40 VERSION 22:42:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:40 bin 22:42:06 -rw-r--r-- 1 jenkins jenkins 130805 Sep 6 22:41 coverage.out 22:42:06 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 22:40 example 22:42:06 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 22:40 go.mod 22:42:06 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 22:40 go.sum 22:42:06 drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 22:40 internal 22:42:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:40 openapi 22:42:06 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 22:40 pkg 22:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:40 snap 22:42:06 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:06 + 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=92f20f0e717187d38edfc08eb4f7c6185e33de43 --label arch=amd64 --label version=0.0.0 . 22:42:06 Sending build context to Docker daemon 9.951MB 22:42:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:42:06 Step 2/25 : FROM ${BASE} AS builder 22:42:06 ---> a86b42c9c70f 22:42:06 Step 3/25 : ARG MAKE=make build 22:42:07 ---> Running in 4a6b80d80123 22:42:07 Removing intermediate container 4a6b80d80123 22:42:07 ---> 9cc7111d53fe 22:42:07 Step 4/25 : WORKDIR /device-sdk-go 22:42:07 ---> Running in 9ab3b227a928 22:42:07 Removing intermediate container 9ab3b227a928 22:42:07 ---> 0eef24f5f47b 22:42:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:07 ---> Running in 8d505fae395c 22:42:07 Removing intermediate container 8d505fae395c 22:42:07 ---> 63cbf8895a16 22:42:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:07 ---> Running in 369b796b885a 22:42:08 Removing intermediate container 369b796b885a 22:42:08 ---> 2e6ae497000a 22:42:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:08 ---> Running in eb876ae8bd1f 22:42:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:42:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:42:09 OK: 211 MiB in 51 packages 22:42:09 Removing intermediate container eb876ae8bd1f 22:42:09 ---> d19d187985cb 22:42:09 Step 8/25 : COPY go.mod vendor* ./ 22:42:09 ---> 34955eeaf5c2 22:42:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:09 ---> Running in 284962b63d97 22:42:10 Removing intermediate container 284962b63d97 22:42:10 ---> a627086f22d2 22:42:10 Step 10/25 : COPY . . 22:42:10 ---> ca0c4b5e1f7f 22:42:10 Step 11/25 : RUN ${MAKE} 22:42:10 ---> Running in 10f5c40117e8 22:42:11 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:29 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:42:32 Removing intermediate container 10f5c40117e8 22:42:32 ---> 94c20190b551 22:42:32 Step 12/25 : FROM alpine:3.16 22:42:32 3.16: Pulling from library/alpine 22:42:32 213ec9aee27d: Pulling fs layer 22:42:32 213ec9aee27d: Verifying Checksum 22:42:32 213ec9aee27d: Download complete 22:42:33 213ec9aee27d: Pull complete 22:42:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:42:33 Status: Downloaded newer image for alpine:3.16 22:42:33 ---> 9c6f07244728 22:42:33 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:33 ---> Running in ec1814a48fcf 22:42:33 Removing intermediate container ec1814a48fcf 22:42:33 ---> fd14def5effa 22:42:33 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:33 ---> Running in 70727943252c 22:42:33 Removing intermediate container 70727943252c 22:42:33 ---> 94876ba32edd 22:42:33 Step 15/25 : RUN apk add --update --no-cache zeromq 22:42:33 ---> Running in 75b949c12773 22:42:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:42:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:42:35 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:42:35 (2/5) Installing libsodium (1.0.18-r0) 22:42:35 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:42:35 (4/5) Installing libzmq (4.3.4-r0) 22:42:35 (5/5) Installing zeromq (4.3.4-r0) 22:42:35 Executing busybox-1.35.0-r17.trigger 22:42:35 OK: 8 MiB in 19 packages 22:42:36 Removing intermediate container 75b949c12773 22:42:36 ---> 5e578cde3e1e 22:42:36 Step 16/25 : WORKDIR / 22:42:36 ---> Running in 7c54c909540b 22:42:36 Removing intermediate container 7c54c909540b 22:42:36 ---> ec1e83b36802 22:42:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:42:36 ---> 1c06a53cf6a2 22:42:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:42:37 ---> 27dbc4639292 22:42:37 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:42:37 ---> 2108e2a0cd9e 22:42:37 Step 20/25 : EXPOSE 59999 22:42:37 ---> Running in e67f0da668ed 22:42:37 Removing intermediate container e67f0da668ed 22:42:37 ---> e59459e5c1fd 22:42:37 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:42:37 ---> Running in dda8f8421368 22:42:37 Removing intermediate container dda8f8421368 22:42:37 ---> 3fbd5729acb0 22:42:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:37 ---> Running in 51179c7713de 22:42:37 Removing intermediate container 51179c7713de 22:42:37 ---> cac9c2c3a946 22:42:37 Step 23/25 : LABEL arch=amd64 22:42:37 ---> Running in d8d82fecd9cd 22:42:37 Removing intermediate container d8d82fecd9cd 22:42:37 ---> fff3eabd7040 22:42:37 Step 24/25 : LABEL git_sha=92f20f0e717187d38edfc08eb4f7c6185e33de43 22:42:37 ---> Running in 8907edd63180 22:42:37 Removing intermediate container 8907edd63180 22:42:37 ---> f5b5acbac150 22:42:37 Step 25/25 : LABEL version=0.0.0 22:42:37 ---> Running in 29914a2ef8e7 22:42:37 Removing intermediate container 29914a2ef8e7 22:42:37 ---> eace437bb598 22:42:37 [Warning] One or more build-args [ARCH] were not consumed 22:42:37 Successfully built eace437bb598 22:42:37 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:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:38 22:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:38 latest: Pulling from edgex-lftools-log-publisher 22:42:38 5eb5b503b376: Pulling fs layer 22:42:38 5c69ac0246d0: Pulling fs layer 22:42:38 ec43610c2a17: Pulling fs layer 22:42:38 3a2ae6a8a46f: Pulling fs layer 22:42:38 33b1e0a273af: Pulling fs layer 22:42:38 5d3b04190fa2: Pulling fs layer 22:42:38 2f39f015ded8: Pulling fs layer 22:42:38 33b1e0a273af: Waiting 22:42:38 5d3b04190fa2: Waiting 22:42:38 2f39f015ded8: Waiting 22:42:38 3a2ae6a8a46f: Waiting 22:42:38 5c69ac0246d0: Verifying Checksum 22:42:38 5c69ac0246d0: Download complete 22:42:38 3a2ae6a8a46f: Verifying Checksum 22:42:38 3a2ae6a8a46f: Download complete 22:42:38 33b1e0a273af: Verifying Checksum 22:42:38 33b1e0a273af: Download complete 22:42:38 5d3b04190fa2: Verifying Checksum 22:42:38 5d3b04190fa2: Download complete 22:42:38 ec43610c2a17: Verifying Checksum 22:42:38 ec43610c2a17: Download complete 22:42:38 5eb5b503b376: Verifying Checksum 22:42:38 5eb5b503b376: Download complete 22:42:39 2f39f015ded8: Verifying Checksum 22:42:39 2f39f015ded8: Download complete 22:42:40 5eb5b503b376: Pull complete 22:42:40 5c69ac0246d0: Pull complete 22:42:40 ec43610c2a17: Pull complete 22:42:40 3a2ae6a8a46f: Pull complete 22:42:41 33b1e0a273af: Pull complete 22:42:41 5d3b04190fa2: Pull complete 22:42:46 2f39f015ded8: Pull complete 22:42:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:46 prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container 22:42:46 $ 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:48 $ docker top 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:49 ---> job-cost.sh 22:42:49 lf-activate-venv: SKIPPING 22:42:49 INFO: No Stack... 22:42:49 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:50 INFO: Archiving Costs [Pipeline] sh 22:42:50 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv 22:42:50 + cut -d, -f6 [Pipeline] lock 22:42:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] 22:42:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] did not exist. Created. 22:42:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:50 + echo total: 0.2199999988079071 [Pipeline] stash 22:42:50 Stashed 1 file(s) [Pipeline] } 22:42:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:50 $ docker stop --time=1 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 22:42:51 $ docker rm -f 09e86e053a8d75bea4182be4e36545bff37a3a7e34faea5f604499ace7d12606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:44:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28562 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 22:44:42 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 22:44:42 The recommended git tool is: git 22:44:50 using credential edgex-jenkins-ssh 22:44:50 Cloning the remote Git repository 22:44:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:51 > git init /w/workspace/device-sdk-go/7 # timeout=10 22:44:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:51 > git --version # timeout=10 22:44:51 > git --version # 'git version 2.25.1' 22:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:53 Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 22:44:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:53 > 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:53 > git config core.sparsecheckout # timeout=10 22:44:54 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 22:44:54 > git remote # timeout=10 22:44:54 > git config --get remote.origin.url # timeout=10 22:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:54 > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 22:44:54 > git rev-parse HEAD^{commit} # timeout=10 22:44:54 Merge succeeded, producing b1dc979145095e8e846205f9e2715265dc275d17 22:44:54 Checking out Revision b1dc979145095e8e846205f9e2715265dc275d17 (PR-1196) 22:44:54 > git config core.sparsecheckout # timeout=10 22:44:54 > git checkout -f b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 22:44:59 Commit message: "Merge commit '7128670c60762a554b6733602f52baa10dc88de3' into HEAD" 22:44:59 First time build. Skipping changelog. 22:44:59 > git rev-list --no-walk 5aeb5076a0732eaacdc86be0c405dc4574b4fc10 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:45:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:00 Dload Upload Total Spent Left Speed 22:45:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 22:45:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:45:01 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 22:45:01 /etc/docker/daemon.new 22:45:01 { 22:45:01 "registry-mirrors": [ 22:45:01 "https://nexus3.edgexfoundry.org:10001" 22:45:01 ], 22:45:01 "bip": "10.250.0.254/24", 22:45:01 "hosts": [ 22:45:01 "tcp://0.0.0.0:5555", 22:45:01 "unix:///var/run/docker.sock" 22:45:01 ], 22:45:01 "mtu": 1458, 22:45:01 "selinux-enabled": true, 22:45:01 "seccomp-profile": "/etc/docker/seccomp.json" 22:45:01 } [Pipeline] sh 22:45:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:45:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:20 provisioning config files... 22:45:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6810365522149003676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:20 ---> docker-login.sh 22:45:20 nexus3.edgexfoundry.org:10001 22:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:22 Configure a credential helper to remove this warning. See 22:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:22 22:45:22 Login Succeeded 22:45:22 nexus3.edgexfoundry.org:10002 22:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:22 Configure a credential helper to remove this warning. See 22:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:22 22:45:22 Login Succeeded 22:45:22 nexus3.edgexfoundry.org:10003 22:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:23 Configure a credential helper to remove this warning. See 22:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:23 22:45:23 Login Succeeded 22:45:23 nexus3.edgexfoundry.org:10004 22:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:23 Configure a credential helper to remove this warning. See 22:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:23 22:45:23 Login Succeeded 22:45:24 docker.io 22:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:24 Configure a credential helper to remove this warning. See 22:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:24 22:45:24 Login Succeeded 22:45:24 ---> docker-login.sh ends [Pipeline] } 22:45:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:25 ========================================================= 22:45:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:45:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:26 + 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:45:26 Sending build context to Docker daemon 5.277MB 22:45:26 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:45:26 Step 2/11 : FROM ${BASE} AS builder 22:45:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:26 b3c136eddcbf: Pulling fs layer 22:45:26 c0a3192eca97: Pulling fs layer 22:45:26 a050256f5b6f: Pulling fs layer 22:45:26 656be50a0ddc: Pulling fs layer 22:45:26 2bbca73fdf42: Pulling fs layer 22:45:26 46d945488cbd: Pulling fs layer 22:45:26 8a5474983e97: Pulling fs layer 22:45:26 329c88fbcd65: Pulling fs layer 22:45:26 656be50a0ddc: Waiting 22:45:26 2bbca73fdf42: Waiting 22:45:26 8a5474983e97: Waiting 22:45:26 46d945488cbd: Waiting 22:45:26 329c88fbcd65: Waiting 22:45:26 a050256f5b6f: Verifying Checksum 22:45:26 a050256f5b6f: Download complete 22:45:26 c0a3192eca97: Verifying Checksum 22:45:26 c0a3192eca97: Download complete 22:45:26 2bbca73fdf42: Verifying Checksum 22:45:26 2bbca73fdf42: Download complete 22:45:26 46d945488cbd: Verifying Checksum 22:45:26 46d945488cbd: Download complete 22:45:26 b3c136eddcbf: Verifying Checksum 22:45:26 b3c136eddcbf: Download complete 22:45:27 b3c136eddcbf: Pull complete 22:45:27 329c88fbcd65: Verifying Checksum 22:45:27 329c88fbcd65: Download complete 22:45:28 c0a3192eca97: Pull complete 22:45:28 a050256f5b6f: Pull complete 22:45:29 8a5474983e97: Verifying Checksum 22:45:29 8a5474983e97: Download complete 22:45:30 656be50a0ddc: Verifying Checksum 22:45:30 656be50a0ddc: Download complete 22:45:45 656be50a0ddc: Pull complete 22:45:45 2bbca73fdf42: Pull complete 22:45:45 46d945488cbd: Pull complete 22:45:50 8a5474983e97: Pull complete 22:45:53 329c88fbcd65: Pull complete 22:45:53 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:45:53 ---> ff4287adb874 22:45:53 Step 3/11 : ARG MAKE=make build 22:45:55 ---> Running in 12747ec4c8f2 22:45:55 Removing intermediate container 12747ec4c8f2 22:45:55 ---> cc2606794e1f 22:45:55 Step 4/11 : WORKDIR /device-sdk-go 22:45:55 ---> Running in c8dd31b639fe 22:45:55 Removing intermediate container c8dd31b639fe 22:45:55 ---> 5f78646caad9 22:45:55 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:45:55 ---> Running in c5f921d94c73 22:45:56 Removing intermediate container c5f921d94c73 22:45:56 ---> f43e38f4c03e 22:45:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:56 ---> Running in 6f9a168b96f4 22:45:58 Removing intermediate container 6f9a168b96f4 22:45:58 ---> 2368df4c578b 22:45:58 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:45:58 ---> Running in bb5a26a49b37 22:45:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:46:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:46:01 OK: 221 MiB in 51 packages 22:46:02 Removing intermediate container bb5a26a49b37 22:46:02 ---> 2ed234d92762 22:46:02 Step 8/11 : COPY go.mod vendor* ./ 22:46:03 ---> 9dbcbf7f9630 22:46:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:03 ---> Running in 27a9d87bd895 22:46:59 Removing intermediate container 27a9d87bd895 22:46:59 ---> 0976bcd27db6 22:46:59 Step 10/11 : COPY . . 22:46:59 ---> eb15aaeadf45 22:46:59 Step 11/11 : RUN ${MAKE} 22:46:59 ---> Running in 911feff2a2e2 22:46:59 noop 22:46:59 Removing intermediate container 911feff2a2e2 22:46:59 ---> bfa5b868f6f4 22:46:59 Successfully built bfa5b868f6f4 22:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:00 + docker inspect -f . ci-base-image-arm64 22:47:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container 22:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:47:01 $ docker top 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:02 + go version 22:47:02 go version go1.18.3 linux/arm64 [Pipeline] } 22:47:02 $ docker stop --time=1 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 22:47:04 $ docker rm -f 2df295df11136d03f7a211e2417e9f6f3db5080bab593710c88e1e8877f7af98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:05 + docker inspect -f . ci-base-image-arm64 22:47:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:05 prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container 22:47:05 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:47:07 $ docker top 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:08 + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh 22:47:08 + make test 22:47:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:47:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.400s coverage: 23.6% of statements 22:49:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.250s coverage: 27.6% of statements 22:49:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.345s coverage: 78.9% of statements 22:49:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 10.8% of statements 22:50:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.496s coverage: 60.0% of statements 22:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:50:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.492s coverage: 34.8% of statements 22:50:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:50:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.339s coverage: 85.4% of statements 22:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:50:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements 22:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:50:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:50:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.199s coverage: 89.2% of statements 22:50:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:50:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.9% of statements 22:50:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:50:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:13 GO111MODULE=on go vet ./... 22:51:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:50 ./bin/test-attribution-txt.sh 22:51:50 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:51:50 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:51:50 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:51:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:51:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:51:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:51:50 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:51:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:50 $ docker stop --time=1 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc 22:51:52 $ docker rm -f 922a2a61eb9576c3dcbb4de042b4493dbf288f94e13c3b2abaddd69f99eb21dc [Pipeline] // withDockerContainer [Pipeline] sh 22:51:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:54 Warning: overwriting stash ‘coverage-report’ 22:51:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:55 + ls -al . 22:51:55 total 296 22:51:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:47 . 22:51:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:44 .. 22:51:55 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 22:44 .dockerignore 22:51:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:44 .git 22:51:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:44 .github 22:51:55 -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 22:44 .gitignore 22:51:55 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 22:44 .golangci.yml 22:51:55 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 22:44 CHANGELOG.md 22:51:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:44 GOVERNANCE.md 22:51:55 -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 22:44 Jenkinsfile 22:51:55 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 22:44 LICENSE 22:51:55 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 22:44 Makefile 22:51:55 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 22:44 OWNERS.md 22:51:55 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 22:44 README.md 22:51:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 22:40 VERSION 22:51:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:44 bin 22:51:55 -rw-r--r-- 1 jenkins jenkins 130804 Sep 6 22:50 coverage.out 22:51:55 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 22:44 example 22:51:55 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 22:44 go.mod 22:51:55 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 22:44 go.sum 22:51:55 drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 22:44 internal 22:51:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:44 openapi 22:51:55 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 22:44 pkg 22:51:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:44 snap 22:51:55 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:55 + 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=b1dc979145095e8e846205f9e2715265dc275d17 --label arch=arm64 --label version=0.0.0 . 22:51:56 Sending build context to Docker daemon 5.409MB 22:51:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:51:56 Step 2/25 : FROM ${BASE} AS builder 22:51:56 ---> bfa5b868f6f4 22:51:56 Step 3/25 : ARG MAKE=make build 22:51:56 ---> Running in 974e33256ba5 22:51:56 Removing intermediate container 974e33256ba5 22:51:56 ---> ef0af6474577 22:51:56 Step 4/25 : WORKDIR /device-sdk-go 22:51:56 ---> Running in 6f85a04687b4 22:51:57 Removing intermediate container 6f85a04687b4 22:51:57 ---> 5d3e3696645d 22:51:57 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:51:57 ---> Running in 73f29cede64f 22:51:57 Removing intermediate container 73f29cede64f 22:51:57 ---> b1da3482a695 22:51:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:57 ---> Running in 74212e7ba491 22:51:59 Removing intermediate container 74212e7ba491 22:51:59 ---> bb98290bc8e6 22:51:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:51:59 ---> Running in 707ea25a98fe 22:52:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:52:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:52:02 OK: 221 MiB in 51 packages 22:52:03 Removing intermediate container 707ea25a98fe 22:52:03 ---> c01cfc9c2ed1 22:52:03 Step 8/25 : COPY go.mod vendor* ./ 22:52:04 ---> 2ca833a76145 22:52:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:52:04 ---> Running in 26f7b6bc24ba 22:52:06 Removing intermediate container 26f7b6bc24ba 22:52:06 ---> cc38bb7c4c2b 22:52:06 Step 10/25 : COPY . . 22:52:07 ---> 385ffc0926f4 22:52:07 Step 11/25 : RUN ${MAKE} 22:52:07 ---> Running in 90fa76e787aa 22:52:08 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:54:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:54:30 Removing intermediate container 90fa76e787aa 22:54:30 ---> cb214be88326 22:54:30 Step 12/25 : FROM alpine:3.16 22:54:30 3.16: Pulling from library/alpine 22:54:30 9b18e9b68314: Pulling fs layer 22:54:30 9b18e9b68314: Verifying Checksum 22:54:30 9b18e9b68314: Download complete 22:54:30 9b18e9b68314: Pull complete 22:54:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:54:30 Status: Downloaded newer image for alpine:3.16 22:54:30 ---> a6215f271958 22:54:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:54:30 ---> Running in 4867589c68e2 22:54:30 Removing intermediate container 4867589c68e2 22:54:30 ---> 313996777529 22:54:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:30 ---> Running in f0c4f57effac 22:54:31 Removing intermediate container f0c4f57effac 22:54:31 ---> 4cf9b71a3e82 22:54:31 Step 15/25 : RUN apk add --update --no-cache zeromq 22:54:31 ---> Running in 7521b1efa8b8 22:54:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:54:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:54:34 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:54:34 (2/5) Installing libsodium (1.0.18-r0) 22:54:34 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:54:34 (4/5) Installing libzmq (4.3.4-r0) 22:54:34 (5/5) Installing zeromq (4.3.4-r0) 22:54:34 Executing busybox-1.35.0-r17.trigger 22:54:34 OK: 8 MiB in 19 packages 22:54:35 Removing intermediate container 7521b1efa8b8 22:54:35 ---> e55e80e2dd6d 22:54:35 Step 16/25 : WORKDIR / 22:54:35 ---> Running in 6c11c14dde45 22:54:36 Removing intermediate container 6c11c14dde45 22:54:36 ---> a5deedd6dea6 22:54:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:54:36 ---> 4d01501085af 22:54:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:54:38 ---> 6cca9b9916a8 22:54:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:54:39 ---> 71d6b1cf641e 22:54:39 Step 20/25 : EXPOSE 59999 22:54:39 ---> Running in cc83d0912f52 22:54:39 Removing intermediate container cc83d0912f52 22:54:39 ---> 06d613a640e3 22:54:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:54:39 ---> Running in 7ce44db87013 22:54:39 Removing intermediate container 7ce44db87013 22:54:39 ---> 7a9cf5c3a2f9 22:54:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:54:39 ---> Running in 96c29cb93679 22:54:40 Removing intermediate container 96c29cb93679 22:54:40 ---> 61d2b13b0154 22:54:40 Step 23/25 : LABEL arch=arm64 22:54:40 ---> Running in 5fcf383a7972 22:54:40 Removing intermediate container 5fcf383a7972 22:54:40 ---> 95c8b1615578 22:54:40 Step 24/25 : LABEL git_sha=b1dc979145095e8e846205f9e2715265dc275d17 22:54:40 ---> Running in c7ad971046f1 22:54:41 Removing intermediate container c7ad971046f1 22:54:41 ---> 289585be4065 22:54:41 Step 25/25 : LABEL version=0.0.0 22:54:41 ---> Running in 84ea9c53bfd4 22:54:41 Removing intermediate container 84ea9c53bfd4 22:54:41 ---> e8c455a511a6 22:54:41 [Warning] One or more build-args [ARCH] were not consumed 22:54:41 Successfully built e8c455a511a6 22:54:41 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:54:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:42 22:54:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:42 arm64: Pulling from edgex-lftools-log-publisher 22:54:42 8998bd30e6a1: Pulling fs layer 22:54:42 04944245beec: Pulling fs layer 22:54:42 699f458cf7ca: Pulling fs layer 22:54:42 765212b225bb: Pulling fs layer 22:54:42 f23df028b6ca: Pulling fs layer 22:54:42 d65c8cfc05b1: Pulling fs layer 22:54:42 2437ff75d9bd: Pulling fs layer 22:54:42 f23df028b6ca: Waiting 22:54:42 d65c8cfc05b1: Waiting 22:54:42 2437ff75d9bd: Waiting 22:54:42 765212b225bb: Waiting 22:54:42 04944245beec: Verifying Checksum 22:54:42 04944245beec: Download complete 22:54:42 765212b225bb: Verifying Checksum 22:54:42 765212b225bb: Download complete 22:54:42 f23df028b6ca: Verifying Checksum 22:54:42 f23df028b6ca: Download complete 22:54:42 d65c8cfc05b1: Verifying Checksum 22:54:42 d65c8cfc05b1: Download complete 22:54:43 699f458cf7ca: Verifying Checksum 22:54:43 699f458cf7ca: Download complete 22:54:43 8998bd30e6a1: Verifying Checksum 22:54:43 8998bd30e6a1: Download complete 22:54:45 2437ff75d9bd: Verifying Checksum 22:54:45 2437ff75d9bd: Download complete 22:54:47 8998bd30e6a1: Pull complete 22:54:48 04944245beec: Pull complete 22:54:49 699f458cf7ca: Pull complete 22:54:49 765212b225bb: Pull complete 22:54:50 f23df028b6ca: Pull complete 22:54:51 d65c8cfc05b1: Pull complete 22:55:06 2437ff75d9bd: Pull complete 22:55:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:55:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:55:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:06 prd-ubuntu20.04-docker-arm64-4c-16g-28562 does not seem to be running inside a container 22:55:06 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:55:09 $ docker top 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:10 ---> job-cost.sh 22:55:10 lf-activate-venv: SKIPPING 22:55:10 INFO: No Stack... 22:55:11 INFO: Retrieving Pricing Info for: v3-standard-4 22:55:12 INFO: Archiving Costs [Pipeline] sh 22:55:12 + cut -d, -f6 22:55:12 + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock 22:55:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] 22:55:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] did not exist. Created. 22:55:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:13 /w/workspace/device-sdk-go/7@tmp/durable-4d1c71c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:55:14 + echo total: 0.10999999940395355 [Pipeline] stash 22:55:14 Warning: overwriting stash ‘stack-cost’ 22:55:14 Stashed 1 file(s) [Pipeline] } 22:55:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:55:14 $ docker stop --time=1 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 22:55:15 $ docker rm -f 283bf65e9b3afd3f66499d08a2afcc448c5a19308350d50913e02663229adb96 [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:55:16 provisioning config files... 22:55:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8532040719249055951tmp [Pipeline] { [Pipeline] sh 22:55:16 + set +x 22:55:16 + curl -s https://codecov.io/bash 22:55:16 + bash -s -- 22:55:16 22:55:16 _____ _ 22:55:16 / ____| | | 22:55:16 | | ___ __| | ___ ___ _____ __ 22:55:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:55:16 | |___| (_) | (_| | __/ (_| (_) \ V / 22:55:16 \_____\___/ \__,_|\___|\___\___/ \_/ 22:55:16 Bash-1.0.6 22:55:16 22:55:16 22:55:16 ==> git version 2.25.1 found 22:55:16 ==> 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:55:16 Release-Date: 2020-01-08 22:55:16 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:55:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:55:16 ==> Jenkins CI detected. 22:55:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 22:55:16 project root: . 22:55:16 --> token set from env 22:55:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:55:16 ==> Running gcov in . (disable via -X gcov) 22:55:16 ==> Python coveragepy not found 22:55:16 ==> Searching for coverage reports in: 22:55:16 + . 22:55:16 -> Found 1 reports 22:55:16 ==> Detecting git/mercurial file structure 22:55:16 ==> Reading reports 22:55:16 + ./coverage.out bytes=130804 22:55:16 ==> Appending adjustments 22:55:16 https://docs.codecov.io/docs/fixing-reports 22:55:17 + Found adjustments 22:55:17 ==> Gzipping contents 22:55:17 20K /tmp/codecov.n2g4O3.gz 22:55:17 ==> Uploading reports 22:55:17 url: https://codecov.io 22:55:17 query: branch=PR-1196&commit=92f20f0e717187d38edfc08eb4f7c6185e33de43&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:55:17 -> Pinging Codecov 22:55:17 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=92f20f0e717187d38edfc08eb4f7c6185e33de43&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:55:17 -> Uploading to 22:55:17 https://storage.googleapis.com/codecov/v4/raw/2022-09-06/7E55EF52A471D76F132DFD9A03CDDE97/92f20f0e717187d38edfc08eb4f7c6185e33de43/0291ab8c-a2d0-46f1-8125-e12ca21e7a4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T225517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b620a2811bbef4b008f1488ffd0cb83f4bd87ef0f055c1f5af48404a19916f0 22:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:17 Dload Upload Total Spent Left Speed 22:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17219 0 0 100 17219 0 76190 --:--:-- --:--:-- --:--:-- 76190 22:55:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/92f20f0e717187d38edfc08eb4f7c6185e33de43 [Pipeline] } 22:55:17 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:55:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 22:55:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:55:18 total 16 22:55:18 drwxr-xr-x 3 root root 4096 Sep 6 22:42 . 22:55:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:42 .. 22:55:18 drwxr-xr-x 2 root root 4096 Sep 6 22:42 cost 22:55:18 -rw-r--r-- 1 root root 87 Sep 6 22:42 cost.csv 22:55:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:55:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:55:18 total 16 22:55:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 22:42 . 22:55:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:42 .. 22:55:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 22:42 cost 22:55:18 -rw-r--r-- 1 jenkins jenkins 87 Sep 6 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:55:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:19 ---> package-listing.sh 22:55:19 ++ tr '[:upper:]' '[:lower:]' 22:55:19 ++ facter osfamily 22:55:19 + OS_FAMILY=debian 22:55:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 22:55:19 + START_PACKAGES=/tmp/packages_start.txt 22:55:19 + END_PACKAGES=/tmp/packages_end.txt 22:55:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:19 + PACKAGES=/tmp/packages_start.txt 22:55:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:55:19 + PACKAGES=/tmp/packages_end.txt 22:55:19 + case "${OS_FAMILY}" in 22:55:19 + dpkg -l 22:55:19 + grep '^ii' 22:55:19 + '[' -f /tmp/packages_start.txt ']' 22:55:19 + '[' -f /tmp/packages_end.txt ']' 22:55:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:55:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 22:55:19 + 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:55:19 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:55:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:20 prd-ubuntu20.04-docker-8c-8g-28365 does not seem to be running inside a container 22:55:20 $ 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:55:21 $ docker top 2cd14fcfddfddb2ddca3f5c982d570803afb680b400af7ceee221ae13f215249 -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:55:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:55:22 + ls /var/log/sa-host 22:55:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:22 provisioning config files... 22:55:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4807318483640273333tmp [Pipeline] { [Pipeline] echo 22:55:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:55:22 ---> create-netrc.sh [Pipeline] } 22:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:55:22 ---> python-tools-install.sh [Pipeline] echo 22:55:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:55:23 ---> sudo-logs.sh 22:55:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:55:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:55:23 ---> job-cost.sh 22:55:23 lf-activate-venv: SKIPPING 22:55:23 DEBUG: total: 0.2199999988079071 22:55:23 INFO: Retrieving Stack Cost... 22:55:24 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:24 INFO: Archiving Costs [Pipeline] echo 22:55:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:55:24 ---> logs-deploy.sh 22:55:24 lf-activate-venv: SKIPPING 22:55:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/7 22:55:24 INFO: archiving workspace using pattern(s): 22:55:25 Archives upload complete. 22:55:25 INFO: archiving logs to Nexus