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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 (31973adff48a7e959ce3e45b273db68fe4238c56) 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-ssh899253187151464101.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13631111631826390443.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15828880611860762146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5922760396226848095.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14625874131749658962.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/v3]] ========================================================= [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.21 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/v3 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24082 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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 > 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing b340ca580fa7312ab9e576b3670e568980f579ea Checking out Revision b340ca580fa7312ab9e576b3670e568980f579ea (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b340ca580fa7312ab9e576b3670e568980f579ea # timeout=10 Commit message: "Merge commit '5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fec59e9fda01cdfef93c7987ac1751221428a1b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:46 ========================================================= 18:41:46 EdgeX Global Pipelines Version Info 18:41:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:47 ------------------- 18:41:47 stable info: 18:41:47 ------------------- 18:41:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:47 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:47 Message: update stable to v1.0.258 18:41:48 ------------------- 18:41:48 experimental info: 18:41:48 ------------------- 18:41:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:41:48 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b340ca580fa7312ab9e576b3670e568980f579ea [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b340ca5 [Pipeline] echo 18:41:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:49 provisioning config files... 18:41:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2426508263304162423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:49 ---> ****-login.sh 18:41:49 nexus3.edgexfoundry.org:10001 18:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10002 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10003 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 nexus3.edgexfoundry.org:10004 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:51 Configure a credential helper to remove this warning. See 18:41:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:51 18:41:51 Login Succeeded 18:41:51 ****.io 18:41:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:41:52 Configure a credential helper to remove this warning. See 18:41:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:41:52 18:41:52 Login Succeeded 18:41:52 ---> ****-login.sh ends [Pipeline] } 18:41:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:53 + git rev-list -1 --merges b340ca580fa7312ab9e576b3670e568980f579ea~1..b340ca580fa7312ab9e576b3670e568980f579ea [Pipeline] echo 18:41:53 -----------> git rev-list -1 --merges b340ca580fa7312ab9e576b3670e568980f579ea~1..b340ca580fa7312ab9e576b3670e568980f579ea b340ca580fa7312ab9e576b3670e568980f579ea 18:41:53 b340ca580fa7312ab9e576b3670e568980f579ea [false] [Pipeline] sh 18:41:53 + git log --format=format:%s -1 b340ca580fa7312ab9e576b3670e568980f579ea [Pipeline] echo 18:41:53 ========================================================= 18:41:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:53 + git log --format=format:%s -1 b340ca580fa7312ab9e576b3670e568980f579ea [Pipeline] echo 18:41:54 [semverPrep] GIT_COMMIT: b340ca580fa7312ab9e576b3670e568980f579ea, Commit Message: Merge commit '5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057' into HEAD [Pipeline] echo 18:41:54 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:54 + grep -v github /etc/ssh/ssh_known_hosts 18:41:54 + [ -e /tmp/ssh_known_hosts ] 18:41:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:54 + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:54 18:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:55 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:55 b85a868b505f: Pulling fs layer 18:41:55 e2be974225ed: Pulling fs layer 18:41:55 339a4e72a1f5: Pulling fs layer 18:41:55 988bab9f4d93: Pulling fs layer 18:41:55 1469e6f7b9e6: Pulling fs layer 18:41:55 eaf3925da568: Pulling fs layer 18:41:55 bab4dde63d76: Pulling fs layer 18:41:55 bde34c3a00c8: Pulling fs layer 18:41:55 b352a97aabf1: Pulling fs layer 18:41:55 4872d77fe225: Pulling fs layer 18:41:55 5851b861e8e6: Pulling fs layer 18:41:55 988bab9f4d93: Waiting 18:41:55 1469e6f7b9e6: Waiting 18:41:55 eaf3925da568: Waiting 18:41:55 4872d77fe225: Waiting 18:41:55 bab4dde63d76: Waiting 18:41:55 5851b861e8e6: Waiting 18:41:55 bde34c3a00c8: Waiting 18:41:55 b352a97aabf1: Waiting 18:41:55 e2be974225ed: Verifying Checksum 18:41:55 e2be974225ed: Download complete 18:41:55 988bab9f4d93: Verifying Checksum 18:41:55 988bab9f4d93: Download complete 18:41:55 1469e6f7b9e6: Verifying Checksum 18:41:55 1469e6f7b9e6: Download complete 18:41:55 339a4e72a1f5: Verifying Checksum 18:41:55 339a4e72a1f5: Download complete 18:41:56 bde34c3a00c8: Download complete 18:41:56 b352a97aabf1: Download complete 18:41:56 4872d77fe225: Verifying Checksum 18:41:56 4872d77fe225: Download complete 18:41:56 5851b861e8e6: Download complete 18:41:56 b85a868b505f: Download complete 18:41:56 bab4dde63d76: Verifying Checksum 18:41:57 b85a868b505f: Pull complete 18:41:57 e2be974225ed: Pull complete 18:41:58 339a4e72a1f5: Pull complete 18:41:58 988bab9f4d93: Pull complete 18:41:58 1469e6f7b9e6: Pull complete 18:41:59 eaf3925da568: Pull complete 18:42:01 bab4dde63d76: Pull complete 18:42:01 bde34c3a00c8: Pull complete 18:42:02 b352a97aabf1: Pull complete 18:42:02 4872d77fe225: Pull complete 18:42:02 5851b861e8e6: Pull complete 18:42:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:03 prd-ubuntu20.04-docker-8c-8g-24082 does not seem to be running inside a container 18:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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-devops/py-git-semver:0.1.4 cat 18:42:10 $ docker top c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b -eo pid,comm 18:42:10 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). 18:42:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:10 [ssh-agent] Looking for ssh-agent implementation... 18:42:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:10 $ docker exec c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b ssh-agent 18:42:10 SSH_AUTH_SOCK=/tmp/ssh-9OHZNTNRqzqP/agent.25 18:42:10 SSH_AGENT_PID=38 18:42:10 Running ssh-add (command line suppressed) 18:42:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_2083173595832690017.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_2083173595832690017.key) 18:42:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:11 + git tag --points-at HEAD [Pipeline] } 18:42:11 $ docker exec --env ******** --env ******** c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b ssh-agent -k 18:42:11 unset SSH_AUTH_SOCK; 18:42:11 unset SSH_AGENT_PID; 18:42:11 echo Agent pid 38 killed; 18:42:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:11 [ssh-agent] Looking for ssh-agent implementation... 18:42:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:11 $ docker exec c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b ssh-agent 18:42:11 SSH_AUTH_SOCK=/tmp/ssh-l25LU5Q2o9NQ/agent.70 18:42:11 SSH_AGENT_PID=76 18:42:11 Running ssh-add (command line suppressed) 18:42:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_18234789082321300833.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_18234789082321300833.key) 18:42:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:11 + git semver init 18:42:12 2023-12-05 18:42:12,290 [run_init] DEBUG init version:0.0.0 force:False 18:42:12 2023-12-05 18:42:12,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:42:12 2023-12-05 18:42:12,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:42:12 2023-12-05 18:42:12,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) 18:42:13 2023-12-05 18:42:13,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude 18:42:13 2023-12-05 18:42:13,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False 18:42:13 2023-12-05 18:42:13,882 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:42:13 2023-12-05 18:42:13,886 [execute] INFO git cat-file --batch-check 18:42:13 2023-12-05 18:42:13,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:42:13 2023-12-05 18:42:13,893 [execute] INFO git cat-file --batch 18:42:13 2023-12-05 18:42:13,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:42:13 2023-12-05 18:42:13,900 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:42:13 0.0.0 [Pipeline] } 18:42:13 $ docker exec --env ******** --env ******** c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b ssh-agent -k 18:42:14 unset SSH_AUTH_SOCK; 18:42:14 unset SSH_AGENT_PID; 18:42:14 echo Agent pid 76 killed; 18:42:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:14 + git semver [Pipeline] } 18:42:14 $ docker stop --time=1 c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b 18:42:16 $ docker rm -f --volumes c8c0b531f3a7de70d38bf9a40d1bf696227c9380b58650de835276d035794f0b [Pipeline] // withDockerContainer [Pipeline] sh 18:42:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:17 Stashed 1 file(s) [Pipeline] echo 18:42:17 [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 18:42:17 provisioning config files... 18:42:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config5283575990073692212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:17 ---> ****-login.sh 18:42:17 nexus3.edgexfoundry.org:10001 18:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 nexus3.edgexfoundry.org:10002 18:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 nexus3.edgexfoundry.org:10003 18:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:18 Configure a credential helper to remove this warning. See 18:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:18 18:42:18 Login Succeeded 18:42:18 nexus3.edgexfoundry.org:10004 18:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:18 Configure a credential helper to remove this warning. See 18:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:18 18:42:18 Login Succeeded 18:42:18 ****.io 18:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:18 Configure a credential helper to remove this warning. See 18:42:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:18 18:42:18 Login Succeeded 18:42:18 ---> ****-login.sh ends [Pipeline] } 18:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:18 ========================================================= 18:42:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:42:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:19 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 18:42:19 Sending build context to Docker daemon 21.91MB 18:42:19 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:42:19 Step 2/10 : FROM ${BASE} AS builder 18:42:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:19 7264a8db6415: Pulling fs layer 18:42:19 c4d48a809fc2: Pulling fs layer 18:42:19 4f1c88b9dad5: Pulling fs layer 18:42:19 ad3a456e5733: Pulling fs layer 18:42:19 69c7f0334f64: Pulling fs layer 18:42:19 1f1c1a5573a3: Pulling fs layer 18:42:19 ce7588e14bc9: Pulling fs layer 18:42:19 b5e4710f87ac: Pulling fs layer 18:42:19 1f1c1a5573a3: Waiting 18:42:19 ce7588e14bc9: Waiting 18:42:19 b5e4710f87ac: Waiting 18:42:19 ad3a456e5733: Waiting 18:42:19 69c7f0334f64: Waiting 18:42:19 c4d48a809fc2: Download complete 18:42:19 ad3a456e5733: Verifying Checksum 18:42:19 ad3a456e5733: Download complete 18:42:19 69c7f0334f64: Download complete 18:42:19 7264a8db6415: Verifying Checksum 18:42:19 7264a8db6415: Download complete 18:42:19 1f1c1a5573a3: Verifying Checksum 18:42:19 1f1c1a5573a3: Download complete 18:42:19 7264a8db6415: Pull complete 18:42:19 b5e4710f87ac: Download complete 18:42:19 c4d48a809fc2: Pull complete 18:42:19 4f1c88b9dad5: Verifying Checksum 18:42:19 4f1c88b9dad5: Download complete 18:42:20 ce7588e14bc9: Verifying Checksum 18:42:20 ce7588e14bc9: Download complete 18:42:22 4f1c88b9dad5: Pull complete 18:42:22 ad3a456e5733: Pull complete 18:42:23 69c7f0334f64: Pull complete 18:42:23 1f1c1a5573a3: Pull complete 18:42:26 ce7588e14bc9: Pull complete 18:42:26 b5e4710f87ac: Pull complete 18:42:26 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:42:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:42:26 ---> 88b5674ff536 18:42:26 Step 3/10 : ARG MAKE=make build 18:42:32 Still waiting to schedule task 18:42:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:42:34 ---> Running in dcda54d97695 18:42:34 Removing intermediate container dcda54d97695 18:42:34 ---> 8868d24377b7 18:42:34 Step 4/10 : WORKDIR /device-sdk-go 18:42:34 ---> Running in 324e5dde0460 18:42:34 Removing intermediate container 324e5dde0460 18:42:34 ---> add7234d0b33 18:42:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:34 ---> Running in 11ad7ef83f9d 18:42:34 Removing intermediate container 11ad7ef83f9d 18:42:34 ---> 23e6dcee17e2 18:42:34 Step 6/10 : RUN apk add --update --no-cache make git 18:42:34 ---> Running in 3cb91df2372d 18:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:42:34 OK: 264 MiB in 52 packages 18:42:34 Removing intermediate container 3cb91df2372d 18:42:34 ---> c07c1c5a12cd 18:42:34 Step 7/10 : COPY go.mod vendor* ./ 18:42:35 ---> 56d9a0248449 18:42:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:35 ---> Running in c32108b2e5a9 18:43:21 Removing intermediate container c32108b2e5a9 18:43:21 ---> 0c6977da3756 18:43:21 Step 9/10 : COPY . . 18:43:22 ---> 22d9269b404f 18:43:22 Step 10/10 : RUN ${MAKE} 18:43:22 ---> Running in 826acf68f4a5 18:43:22 noop 18:43:23 Removing intermediate container 826acf68f4a5 18:43:23 ---> e36faa9adef8 18:43:23 Successfully built e36faa9adef8 18:43:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:23 + docker inspect -f . ci-base-image-x86_64 18:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:23 prd-ubuntu20.04-docker-8c-8g-24082 does not seem to be running inside a container 18:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** ci-base-image-x86_64 cat 18:43:24 $ docker top 62167f9623d7576d8b400da5ae1b6a10e134e13ba36cf341ddff05dae56ee02b -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:25 + go version 18:43:25 go version go1.21.0 linux/amd64 [Pipeline] } 18:43:25 $ docker stop --time=1 62167f9623d7576d8b400da5ae1b6a10e134e13ba36cf341ddff05dae56ee02b 18:43:27 $ docker rm -f --volumes 62167f9623d7576d8b400da5ae1b6a10e134e13ba36cf341ddff05dae56ee02b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:27 + docker inspect -f . ci-base-image-x86_64 18:43:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:28 prd-ubuntu20.04-docker-8c-8g-24082 does not seem to be running inside a container 18:43:28 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** ci-base-image-x86_64 cat 18:43:29 $ docker top aff71b28aa01cbbb1d212171bbfeda1e180de3cccf8752d0d0a5a375e5bca756 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh 18:43:30 + make test 18:43:30 go test -race -coverprofile=coverage.out ./... 18:43:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements 18:43:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.040s coverage: 81.5% of statements 18:43:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements 18:43:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements 18:43:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements 18:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.167s coverage: 45.9% of statements 18:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.079s coverage: 68.5% of statements 18:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.103s coverage: 89.2% of statements 18:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 18:44:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24083 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws 18:44:16 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 18:44:19 The recommended git tool is: git 18:44:20 GO111MODULE=on go vet ./... 18:44:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:44:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:44:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:44:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:44:23 $ docker stop --time=1 aff71b28aa01cbbb1d212171bbfeda1e180de3cccf8752d0d0a5a375e5bca756 18:44:25 using credential edgex-jenkins-ssh 18:44:25 Cloning the remote Git repository 18:44:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:25 > git init /w/workspace/device-sdk-go/4 # timeout=10 18:44:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:25 > git --version # timeout=10 18:44:25 > git --version # 'git version 2.25.1' 18:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:28 $ docker rm -f --volumes aff71b28aa01cbbb1d212171bbfeda1e180de3cccf8752d0d0a5a375e5bca756 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:44:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:29 + ls -al . 18:44:29 total 308 18:44:29 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 18:43 . 18:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:41 .. 18:44:29 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 18:41 .dockerignore 18:44:29 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:43 .git 18:44:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:41 .github 18:44:29 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 18:41 .gitignore 18:44:29 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 18:41 .golangci.yml 18:44:29 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:42 .semver 18:44:29 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 18:41 CHANGELOG.md 18:44:29 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 18:41 GOVERNANCE.md 18:44:29 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 18:41 Jenkinsfile 18:44:29 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 18:41 LICENSE 18:44:29 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 18:41 Makefile 18:44:29 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 18:41 OWNERS.md 18:44:29 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 18:41 README.md 18:44:29 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:42 VERSION 18:44:29 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:41 bin 18:44:29 -rw-r--r-- 1 jenkins jenkins 122155 Dec 5 18:43 coverage.out 18:44:29 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 18:41 example 18:44:29 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 18:41 go.mod 18:44:29 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 18:41 go.sum 18:44:29 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 18:41 internal 18:44:29 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:41 openapi 18:44:29 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 18:41 pkg 18:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:41 snap 18:44:29 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:30 + 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=b340ca580fa7312ab9e576b3670e568980f579ea --label arch=amd64 --label version=0.0.0 . 18:44:30 Sending build context to Docker daemon 22.03MB 18:44:30 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:44:30 Step 2/24 : FROM ${BASE} AS builder 18:44:30 ---> e36faa9adef8 18:44:30 Step 3/24 : ARG MAKE=make build 18:44:30 Merging remotes/origin/main commit 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 18:44:30 ---> Running in 8b4752aca0c3 18:44:31 Removing intermediate container 8b4752aca0c3 18:44:31 ---> df2b168af477 18:44:31 Step 4/24 : WORKDIR /device-sdk-go 18:44:31 ---> Running in e92ccbbbb059 18:44:31 Merge succeeded, producing 75fec91ffc9333535ffc20e2754e85db6f29132d 18:44:31 Checking out Revision 75fec91ffc9333535ffc20e2754e85db6f29132d (PR-1540) 18:44:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:44:30 > git config core.sparsecheckout # timeout=10 18:44:30 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 18:44:30 > git remote # timeout=10 18:44:30 > git config --get remote.origin.url # timeout=10 18:44:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:30 > git merge 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 # timeout=10 18:44:31 > git rev-parse HEAD^{commit} # timeout=10 18:44:31 > git config core.sparsecheckout # timeout=10 18:44:31 > git checkout -f 75fec91ffc9333535ffc20e2754e85db6f29132d # timeout=10 18:44:31 Removing intermediate container e92ccbbbb059 18:44:31 ---> cd9a1cf10c2b 18:44:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:31 ---> Running in 8c99bb6e53e2 18:44:31 Removing intermediate container 8c99bb6e53e2 18:44:31 ---> f50590a64fcf 18:44:31 Step 6/24 : RUN apk add --update --no-cache make git 18:44:31 ---> Running in f6b77b8a47f1 18:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:44:32 OK: 264 MiB in 52 packages 18:44:32 Removing intermediate container f6b77b8a47f1 18:44:32 ---> 91f3ecb50a1c 18:44:32 Step 7/24 : COPY go.mod vendor* ./ 18:44:32 ---> f2b108d5d54d 18:44:32 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:32 ---> Running in afbea3b7b7bd 18:44:33 Removing intermediate container afbea3b7b7bd 18:44:33 ---> 6d86c6bac7d0 18:44:33 Step 9/24 : COPY . . 18:44:34 Commit message: "Merge commit '5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057' into HEAD" 18:44:34 First time build. Skipping changelog. 18:44:34 ---> 1bd1f477588b 18:44:34 Step 10/24 : RUN ${MAKE} 18:44:34 ---> Running in b0584d79bddb 18:44:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:36 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:36 Dload Upload Total Spent Left Speed 18:44:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 83986 0 --:--:-- --:--:-- --:--:-- 84546 18:44:34 > git rev-list --no-walk fec59e9fda01cdfef93c7987ac1751221428a1b1 # timeout=10 [Pipeline] sh 18:44:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 18:44:36 sudo tee /etc/docker/daemon.new 18:44:36 { 18:44:36 "registry-mirrors": [ 18:44:36 "https://nexus3.edgexfoundry.org:10001" 18:44:36 ], 18:44:36 "bip": "10.250.0.254/24", 18:44:36 "hosts": [ 18:44:36 "tcp://0.0.0.0:5555", 18:44:36 "unix:///var/run/docker.sock" 18:44:36 ], 18:44:36 "mtu": 1458, 18:44:36 "selinux-enabled": true, 18:44:36 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:36 } [Pipeline] sh 18:44:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:56 provisioning config files... 18:44:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6305318558811621716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:56 ---> ****-login.sh 18:44:56 nexus3.edgexfoundry.org:10001 18:44:56 Removing intermediate container b0584d79bddb 18:44:56 ---> b844f5b99db4 18:44:56 Step 11/24 : FROM alpine:3.18 18:44:56 3.18: Pulling from library/alpine 18:44:56 c926b61bad3b: Pulling fs layer 18:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:57 c926b61bad3b: Verifying Checksum 18:44:57 c926b61bad3b: Download complete 18:44:57 c926b61bad3b: Pull complete 18:44:57 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:44:57 Status: Downloaded newer image for alpine:3.18 18:44:57 ---> b541f2080109 18:44:57 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:57 Configure a credential helper to remove this warning. See 18:44:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:57 18:44:57 Login Succeeded 18:44:57 nexus3.edgexfoundry.org:10002 18:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:57 Configure a credential helper to remove this warning. See 18:44:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:57 18:44:57 Login Succeeded 18:44:57 nexus3.edgexfoundry.org:10003 18:44:57 ---> Running in ca58924f6de2 18:44:57 Removing intermediate container ca58924f6de2 18:44:57 ---> fea566fffb49 18:44:57 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:44:57 ---> Running in a34d9dfa07b9 18:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:57 Configure a credential helper to remove this warning. See 18:44:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:57 18:44:57 Login Succeeded 18:44:57 nexus3.edgexfoundry.org:10004 18:44:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:44:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:57 Configure a credential helper to remove this warning. See 18:44:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:57 18:44:57 Login Succeeded 18:44:57 ****.io 18:44:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:58 (1/1) Installing dumb-init (1.2.5-r2) 18:44:58 Executing busybox-1.36.1-r5.trigger 18:44:58 OK: 7 MiB in 16 packages 18:44:58 Removing intermediate container a34d9dfa07b9 18:44:58 ---> 81fe7c5ee860 18:44:58 Step 14/24 : RUN apk --no-cache upgrade 18:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:44:58 Configure a credential helper to remove this warning. See 18:44:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:44:58 18:44:58 Login Succeeded 18:44:58 ---> ****-login.sh ends [Pipeline] } 18:44:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:44:58 ---> Running in 7b52a6452256 [Pipeline] // withEnv [Pipeline] unstash 18:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 18:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:44:59 ========================================================= 18:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:44:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 18:44:59 OK: 7 MiB in 16 packages [Pipeline] sh 18:44:59 Removing intermediate container 7b52a6452256 18:44:59 ---> 5700f68cb5ed 18:44:59 Step 15/24 : WORKDIR / 18:44:59 ---> Running in d33b60334247 18:44:59 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 18:44:59 Removing intermediate container d33b60334247 18:44:59 ---> 64aedc566109 18:44:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:00 ---> 758bd66f117b 18:45:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:01 ---> 1de8cd9da393 18:45:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:01 #0 building with "default" instance using docker driver 18:45:01 18:45:01 #1 [internal] load .dockerignore 18:45:01 #1 transferring context: 33B 0.0s 18:45:01 #1 transferring context: 182B 0.0s done 18:45:01 #1 DONE 0.1s 18:45:01 18:45:01 #2 [internal] load build definition from Dockerfile 18:45:01 #2 transferring dockerfile: 1.66kB 0.0s done 18:45:01 #2 DONE 0.1s 18:45:01 18:45:01 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:45:01 #3 DONE 0.2s 18:45:01 18:45:01 #4 [internal] load build context 18:45:01 #4 DONE 0.0s 18:45:01 18:45:01 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:45:01 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 18:45:01 #5 DONE 0.0s 18:45:01 18:45:01 #4 [internal] load build context 18:45:01 ---> cdb3c5fe6732 18:45:01 Step 19/24 : EXPOSE 59999 18:45:01 ---> Running in 9b4683b08592 18:45:01 Removing intermediate container 9b4683b08592 18:45:01 ---> 8bb621c498d8 18:45:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:45:01 ---> Running in ba208e2ccfd9 18:45:01 Removing intermediate container ba208e2ccfd9 18:45:01 ---> 8851e546b60a 18:45:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:01 ---> Running in 7e2ccd9d4ee1 18:45:01 Removing intermediate container 7e2ccd9d4ee1 18:45:01 ---> dd732227ac96 18:45:01 Step 22/24 : LABEL arch=amd64 18:45:01 ---> Running in 63eeea96b570 18:45:02 Removing intermediate container 63eeea96b570 18:45:02 ---> 5048eae5e1e4 18:45:02 Step 23/24 : LABEL git_sha=b340ca580fa7312ab9e576b3670e568980f579ea 18:45:02 ---> Running in aea53f8b6b30 18:45:02 #4 transferring context: 11.14MB 0.7s done 18:45:02 #4 DONE 1.0s 18:45:02 18:45:02 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:45:02 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 18:45:02 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 18:45:02 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 18:45:02 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 18:45:02 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 1.0s 18:45:02 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.55MB / 97.63MB 1.0s 18:45:02 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s done 18:45:02 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 18:45:02 Removing intermediate container aea53f8b6b30 18:45:02 ---> c0e3fc73b3f2 18:45:02 Step 24/24 : LABEL version=0.0.0 18:45:02 ---> Running in d5d2ba50a905 18:45:02 Removing intermediate container d5d2ba50a905 18:45:02 ---> 6c5ad4f274bf 18:45:02 [Warning] One or more build-args [ARCH] were not consumed 18:45:02 Successfully built 6c5ad4f274bf 18:45:02 Successfully tagged device-sdk-simple:latest [Pipeline] } 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.94MB / 63.99MB 1.1s 18:45:02 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 1.2s 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.2s 18:45:02 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [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) 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 1.4s 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.4s 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 1.5s 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.85MB / 63.99MB 1.6s 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.6s Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:02 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.96MB / 63.99MB 1.8s 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.18MB / 97.63MB 1.8s 18:45:02 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.96MB / 97.63MB 1.9s 18:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:03 18:45:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:03 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.9s done 18:45:03 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18:45:03 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.27MB / 97.63MB 2.2s 18:45:03 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.41MB / 97.63MB 2.3s 18:45:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:03 latest: Pulling from edgex-lftools-log-publisher 18:45:03 5eb5b503b376: Pulling fs layer 18:45:03 5c69ac0246d0: Pulling fs layer 18:45:03 ec43610c2a17: Pulling fs layer 18:45:03 3a2ae6a8a46f: Pulling fs layer 18:45:03 33b1e0a273af: Pulling fs layer 18:45:03 5d3b04190fa2: Pulling fs layer 18:45:03 2f39f015ded8: Pulling fs layer 18:45:03 33b1e0a273af: Waiting 18:45:03 5d3b04190fa2: Waiting 18:45:03 2f39f015ded8: Waiting 18:45:03 5c69ac0246d0: Download complete 18:45:03 3a2ae6a8a46f: Download complete 18:45:03 33b1e0a273af: Verifying Checksum 18:45:03 33b1e0a273af: Download complete 18:45:03 ec43610c2a17: Verifying Checksum 18:45:03 ec43610c2a17: Download complete 18:45:03 5d3b04190fa2: Verifying Checksum 18:45:03 5d3b04190fa2: Download complete 18:45:03 5eb5b503b376: Verifying Checksum 18:45:03 5eb5b503b376: Download complete 18:45:03 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.36MB / 97.63MB 2.5s 18:45:04 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.7s done 18:45:04 2f39f015ded8: Download complete 18:45:04 5eb5b503b376: Pull complete 18:45:05 5c69ac0246d0: Pull complete 18:45:06 ec43610c2a17: Pull complete 18:45:06 3a2ae6a8a46f: Pull complete 18:45:06 33b1e0a273af: Pull complete 18:45:06 5d3b04190fa2: Pull complete 18:45:09 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 18:45:10 2f39f015ded8: Pull complete 18:45:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:10 prd-ubuntu20.04-docker-8c-8g-24082 does not seem to be running inside a container 18:45:11 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:14 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 18:45:19 $ docker top a12323e63cecf38d246595f6ed1c4d38fabc93bc3c0015b63f61de174349802f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:19 ---> job-cost.sh 18:45:19 lf-activate-venv: SKIPPING 18:45:19 INFO: No Stack... 18:45:19 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:20 INFO: Archiving Costs [Pipeline] sh 18:45:20 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv 18:45:20 + cut -d, -f6 [Pipeline] lock 18:45:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] 18:45:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] did not exist. Created. 18:45:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:21 + echo total: 0.2199999988079071 [Pipeline] stash 18:45:21 Stashed 1 file(s) [Pipeline] } 18:45:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:21 $ docker stop --time=1 a12323e63cecf38d246595f6ed1c4d38fabc93bc3c0015b63f61de174349802f 18:45:21 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 18:45:22 $ docker rm -f --volumes a12323e63cecf38d246595f6ed1c4d38fabc93bc3c0015b63f61de174349802f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:23 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 18:45:23 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 18:45:23 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 18:45:23 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18:45:28 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 18:45:32 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 18:45:32 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 18:45:34 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 18:45:34 #5 DONE 33.7s 18:45:34 18:45:34 #6 [builder 2/7] WORKDIR /device-sdk-go 18:45:36 #6 DONE 1.9s 18:45:36 18:45:36 #7 [builder 3/7] RUN apk add --update --no-cache make git 18:45:37 #7 0.788 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:45:38 #7 1.241 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:45:39 #7 2.351 OK: 266 MiB in 52 packages 18:45:39 #7 DONE 2.6s 18:45:39 18:45:39 #8 [builder 4/7] COPY go.mod vendor* ./ 18:45:39 #8 DONE 0.2s 18:45:39 18:45:39 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:01 #9 DONE 21.5s 18:46:01 18:46:01 #10 [builder 6/7] COPY . . 18:46:01 #10 DONE 0.4s 18:46:01 18:46:01 #11 [builder 7/7] RUN echo noop 18:46:02 #11 0.681 noop 18:46:02 #11 DONE 0.8s 18:46:02 18:46:02 #12 exporting to image 18:46:02 #12 exporting layers 18:46:24 #12 exporting layers 21.9s done 18:46:24 #12 writing image sha256:fd3c3b81df982f2092fb6cb6d30d4f1a666143ce1206b8c9826db3d35d539a0a done 18:46:24 #12 naming to docker.io/library/ci-base-image-arm64 done 18:46:24 #12 DONE 21.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:24 + docker inspect -f . ci-base-image-arm64 18:46:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:25 prd-ubuntu20.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container 18:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat 18:46:26 $ docker top 5d110d8454f09dfec4cb4b77c7c488c401f037c818d5de5e78cb8f8c51f34d12 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:27 + go version 18:46:27 go version go1.21.0 linux/arm64 [Pipeline] } 18:46:27 $ docker stop --time=1 5d110d8454f09dfec4cb4b77c7c488c401f037c818d5de5e78cb8f8c51f34d12 18:46:28 $ docker rm -f --volumes 5d110d8454f09dfec4cb4b77c7c488c401f037c818d5de5e78cb8f8c51f34d12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:29 + docker inspect -f . ci-base-image-arm64 18:46:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:30 prd-ubuntu20.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container 18:46:30 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat 18:46:31 $ docker top f611953d1f0172b8d613c5f2b1a1c7f2b620c82f4b19782782404a1d9d974dd5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:31 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 18:46:32 + make test 18:46:32 go test -race -coverprofile=coverage.out ./... 18:47:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:48:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:48:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:48:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:48:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:48:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:48:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.244s coverage: 27.6% of statements 18:48:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:48:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:48:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.299s coverage: 81.5% of statements 18:48:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.340s coverage: 86.0% of statements 18:48:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:48:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.492s coverage: 71.8% of statements 18:48:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:48:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:48:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.311s coverage: 14.4% of statements 18:48:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.052s coverage: 45.9% of statements 18:48:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.429s coverage: 68.5% of statements 18:48:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.462s coverage: 89.2% of statements 18:48:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:48:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.272s coverage: 5.5% of statements 18:48:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:48:47 GO111MODULE=on go vet ./... 18:50:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:09 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:50:09 $ docker stop --time=1 f611953d1f0172b8d613c5f2b1a1c7f2b620c82f4b19782782404a1d9d974dd5 18:50:11 $ docker rm -f --volumes f611953d1f0172b8d613c5f2b1a1c7f2b620c82f4b19782782404a1d9d974dd5 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:12 Warning: overwriting stash ‘coverage-report’ 18:50:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:14 + ls -al . 18:50:14 total 304 18:50:14 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 18:46 . 18:50:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:44 .. 18:50:14 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 18:44 .dockerignore 18:50:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:44 .git 18:50:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:44 .github 18:50:14 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 18:44 .gitignore 18:50:14 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 18:44 .golangci.yml 18:50:14 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 18:44 CHANGELOG.md 18:50:14 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 18:44 GOVERNANCE.md 18:50:14 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 18:44 Jenkinsfile 18:50:14 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 18:44 LICENSE 18:50:14 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 18:44 Makefile 18:50:14 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 18:44 OWNERS.md 18:50:14 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 18:44 README.md 18:50:14 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:42 VERSION 18:50:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:44 bin 18:50:14 -rw-r--r-- 1 jenkins jenkins 122153 Dec 5 18:48 coverage.out 18:50:14 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 18:44 example 18:50:14 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 18:44 go.mod 18:50:14 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 18:44 go.sum 18:50:14 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 18:44 internal 18:50:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:44 openapi 18:50:14 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 18:44 pkg 18:50:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:44 snap 18:50:14 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:14 + 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=75fec91ffc9333535ffc20e2754e85db6f29132d --label arch=arm64 --label version=0.0.0 . 18:50:15 #0 building with "default" instance using docker driver 18:50:15 18:50:15 #1 [internal] load .dockerignore 18:50:15 #1 transferring context: 33B 18:50:15 #1 transferring context: 182B 0.0s done 18:50:15 #1 DONE 0.0s 18:50:15 18:50:15 #2 [internal] load build definition from Dockerfile 18:50:15 #2 transferring dockerfile: 1.66kB 0.0s done 18:50:15 #2 DONE 0.0s 18:50:15 18:50:15 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 18:50:15 #3 DONE 0.0s 18:50:15 18:50:15 #4 [internal] load metadata for docker.io/library/alpine:3.18 18:50:16 #4 DONE 0.7s 18:50:16 18:50:16 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:50:16 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 18:50:16 #5 DONE 0.1s 18:50:16 18:50:16 #6 [internal] load build context 18:50:16 #6 transferring context: 137.10kB 0.1s done 18:50:16 #6 DONE 0.1s 18:50:16 18:50:16 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:50:16 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 18:50:16 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 18:50:16 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 18:50:16 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 18:50:16 #5 ... 18:50:16 18:50:16 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 18:50:16 #7 DONE 0.2s 18:50:16 18:50:16 #8 [builder 2/7] WORKDIR /device-sdk-go 18:50:16 #8 DONE 0.1s 18:50:16 18:50:16 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 18:50:16 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 18:50:16 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 18:50:16 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 18:50:16 #5 DONE 1.0s 18:50:16 18:50:16 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:50:17 #9 0.693 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:50:18 #9 1.013 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:50:19 #9 ... 18:50:19 18:50:19 #10 [builder 3/7] RUN apk add --update --no-cache make git 18:50:19 #10 0.712 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:50:19 #10 1.143 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:50:19 #10 2.266 OK: 266 MiB in 52 packages 18:50:19 #10 DONE 2.6s 18:50:19 18:50:19 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:50:19 #9 2.050 (1/1) Installing dumb-init (1.2.5-r2) 18:50:19 #9 2.062 Executing busybox-1.36.1-r5.trigger 18:50:19 #9 2.106 OK: 8 MiB in 16 packages 18:50:19 #9 ... 18:50:19 18:50:19 #11 [builder 4/7] COPY go.mod vendor* ./ 18:50:19 #11 DONE 0.2s 18:50:19 18:50:19 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:19 #12 ... 18:50:19 18:50:19 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 18:50:19 #9 DONE 2.5s 18:50:19 18:50:19 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:50:20 #13 0.835 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:50:20 #13 ... 18:50:20 18:50:20 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:20 #12 DONE 1.4s 18:50:20 18:50:20 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:50:20 #13 1.213 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:50:20 #13 ... 18:50:20 18:50:20 #14 [builder 6/7] COPY . . 18:50:20 #14 DONE 0.5s 18:50:21 18:50:21 #15 [builder 7/7] RUN make build 18:50:21 #15 0.671 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:50:22 #15 ... 18:50:22 18:50:22 #13 [stage-1 3/7] RUN apk --no-cache upgrade 18:50:22 #13 2.314 OK: 8 MiB in 16 packages 18:50:22 #13 DONE 2.8s 18:50:22 18:50:22 #15 [builder 7/7] RUN make build 18:51:30 #15 DONE 61.6s 18:51:30 18:51:30 #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:51:30 #16 DONE 0.1s 18:51:30 18:51:30 #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:51:30 #17 DONE 0.3s 18:51:30 18:51:30 #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:51:30 #18 DONE 0.1s 18:51:30 18:51:30 #19 exporting to image 18:51:30 #19 exporting layers 18:51:30 #19 exporting layers 0.4s done 18:51:30 #19 writing image sha256:d334c6607cd39055839b129253b9980536604b2451108a357e6f3c7e5b072402 done 18:51:30 #19 naming to docker.io/library/device-sdk-simple-arm64 done 18:51:30 #19 DONE 0.4s [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 18:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:31 18:51:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:31 arm64: Pulling from edgex-lftools-log-publisher 18:51:31 8998bd30e6a1: Pulling fs layer 18:51:31 04944245beec: Pulling fs layer 18:51:31 699f458cf7ca: Pulling fs layer 18:51:31 765212b225bb: Pulling fs layer 18:51:31 f23df028b6ca: Pulling fs layer 18:51:31 d65c8cfc05b1: Pulling fs layer 18:51:31 2437ff75d9bd: Pulling fs layer 18:51:31 d65c8cfc05b1: Waiting 18:51:31 f23df028b6ca: Waiting 18:51:31 2437ff75d9bd: Waiting 18:51:31 765212b225bb: Waiting 18:51:31 04944245beec: Verifying Checksum 18:51:31 04944245beec: Download complete 18:51:31 765212b225bb: Verifying Checksum 18:51:31 765212b225bb: Download complete 18:51:31 f23df028b6ca: Download complete 18:51:31 d65c8cfc05b1: Verifying Checksum 18:51:31 d65c8cfc05b1: Download complete 18:51:31 699f458cf7ca: Verifying Checksum 18:51:31 699f458cf7ca: Download complete 18:51:32 8998bd30e6a1: Download complete 18:51:34 2437ff75d9bd: Verifying Checksum 18:51:34 2437ff75d9bd: Download complete 18:51:40 8998bd30e6a1: Pull complete 18:51:41 04944245beec: Pull complete 18:51:43 699f458cf7ca: Pull complete 18:51:43 765212b225bb: Pull complete 18:51:44 f23df028b6ca: Pull complete 18:51:44 d65c8cfc05b1: Pull complete 18:52:10 2437ff75d9bd: Pull complete 18:52:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:11 prd-ubuntu20.04-docker-arm64-4c-16g-24083 does not seem to be running inside a container 18:52:11 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:52:12 $ docker top 3d3695c862b65ded293bd40c34180a3be717c9813bbb931646f8d78510bcaa96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:13 ---> job-cost.sh 18:52:13 lf-activate-venv: SKIPPING 18:52:13 INFO: No Stack... 18:52:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:14 INFO: Archiving Costs [Pipeline] sh 18:52:15 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 18:52:15 + cut -d, -f6 [Pipeline] lock 18:52:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] 18:52:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] did not exist. Created. 18:52:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:15 /w/workspace/device-sdk-go/4@tmp/durable-e7264848/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:52:16 + echo total: 0.2199999988079071 [Pipeline] stash 18:52:16 Warning: overwriting stash ‘stack-cost’ 18:52:16 Stashed 1 file(s) [Pipeline] } 18:52:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:16 $ docker stop --time=1 3d3695c862b65ded293bd40c34180a3be717c9813bbb931646f8d78510bcaa96 18:52:18 $ docker rm -f --volumes 3d3695c862b65ded293bd40c34180a3be717c9813bbb931646f8d78510bcaa96 [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 18:52:19 provisioning config files... 18:52:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config11108387320762394684tmp [Pipeline] { [Pipeline] sh 18:52:20 + set +x 18:52:20 + curl -s https://codecov.io/bash 18:52:20 + bash -s -- 18:52:20 18:52:20 _____ _ 18:52:20 / ____| | | 18:52:20 | | ___ __| | ___ ___ _____ __ 18:52:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:52:20 | |___| (_) | (_| | __/ (_| (_) \ V / 18:52:20 \_____\___/ \__,_|\___|\___\___/ \_/ 18:52:20 Bash-1.0.6 18:52:20 18:52:20 18:52:20 ==> git version 2.25.1 found 18:52:20 ==> 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 18:52:20 Release-Date: 2020-01-08 18:52:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:52:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:52:20 ==> Jenkins CI detected. 18:52:20 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 18:52:20 project root: . 18:52:20 --> token set from env 18:52:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:52:20 ==> Running gcov in . (disable via -X gcov) 18:52:20 ==> Python coveragepy not found 18:52:20 ==> Searching for coverage reports in: 18:52:20 + . 18:52:20 -> Found 1 reports 18:52:20 ==> Detecting git/mercurial file structure 18:52:20 ==> Reading reports 18:52:20 + ./coverage.out bytes=122153 18:52:20 ==> Appending adjustments 18:52:20 https://docs.codecov.io/docs/fixing-reports 18:52:20 + Found adjustments 18:52:20 ==> Gzipping contents 18:52:20 20K /tmp/codecov.40Ujlw.gz 18:52:20 ==> Uploading reports 18:52:20 url: https://codecov.io 18:52:20 query: branch=PR-1540&commit=b340ca580fa7312ab9e576b3670e568980f579ea&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:52:20 -> Pinging Codecov 18:52:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=b340ca580fa7312ab9e576b3670e568980f579ea&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:52:21 -> Uploading to 18:52:21 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/7E55EF52A471D76F132DFD9A03CDDE97/b340ca580fa7312ab9e576b3670e568980f579ea/2e75e9fd-02a9-46d2-b7dd-51e490c397cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T185220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=777e6584e4c6958c56bde0f776898f870c0c99dd3b01bf1bd1c91cfa86c54b52 18:52:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:21 Dload Upload Total Spent Left Speed 18:52:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16778 0 0 100 16778 0 64779 --:--:-- --:--:-- --:--:-- 64779 18:52:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b340ca580fa7312ab9e576b3670e568980f579ea [Pipeline] } 18:52:21 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 18:52:23 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] 18:52:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:23 total 16 18:52:23 drwxr-xr-x 3 root root 4096 Dec 5 18:45 . 18:52:23 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 18:45 .. 18:52:23 drwxr-xr-x 2 root root 4096 Dec 5 18:45 cost 18:52:23 -rw-r--r-- 1 root root 86 Dec 5 18:45 cost.csv 18:52:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:23 total 16 18:52:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:45 . 18:52:23 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 18:45 .. 18:52:23 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 18:45 cost 18:52:23 -rw-r--r-- 1 jenkins jenkins 86 Dec 5 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:24 ---> package-listing.sh 18:52:24 ++ facter osfamily 18:52:24 ++ tr '[:upper:]' '[:lower:]' 18:52:24 + OS_FAMILY=debian 18:52:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 18:52:24 + START_PACKAGES=/tmp/packages_start.txt 18:52:24 + END_PACKAGES=/tmp/packages_end.txt 18:52:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:24 + PACKAGES=/tmp/packages_start.txt 18:52:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:52:24 + PACKAGES=/tmp/packages_end.txt 18:52:24 + case "${OS_FAMILY}" in 18:52:24 + dpkg -l 18:52:24 + grep '^ii' 18:52:24 + '[' -f /tmp/packages_start.txt ']' 18:52:24 + '[' -f /tmp/packages_end.txt ']' 18:52:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:52:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ 18:52:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo 18:52:24 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:25 prd-ubuntu20.04-docker-8c-8g-24082 does not seem to be running inside a container 18:52:25 $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:25 $ docker top a50ea367ff1243d50d27b572a94d03c6d7f37791b09dd072bdb948b6c4b1d9b6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:26 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:26 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:26 + ls /var/log/sa-host 18:52:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:27 provisioning config files... 18:52:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13555545141614742160tmp [Pipeline] { [Pipeline] echo 18:52:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:27 ---> create-netrc.sh [Pipeline] } 18:52:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:27 ---> python-tools-install.sh [Pipeline] echo 18:52:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:28 ---> sudo-logs.sh 18:52:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:28 ---> job-cost.sh 18:52:28 lf-activate-venv: SKIPPING 18:52:28 DEBUG: total: 0.2199999988079071 18:52:28 INFO: Retrieving Stack Cost... 18:52:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:29 INFO: Archiving Costs [Pipeline] echo 18:52:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:29 ---> logs-deploy.sh 18:52:29 lf-activate-venv: SKIPPING 18:52:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/4 18:52:29 INFO: archiving workspace using pattern(s): 18:52:30 Archives upload complete. 18:52:30 INFO: archiving logs to Nexus