Pull request #1632 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f79d91e42934c0c8204e64f9535ff278efb44e2+1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 (f18f2d4661cabfc1c4f1e45e253fff879d6314db) 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-ssh12426666284995971859.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4423386927577719324.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16908862082749937911.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4848204432849181210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7297673882929457386.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1218439199582989417.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15566’ Running on prd-ubuntu20.04-docker-8c-8g-15568 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # 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/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 Merge succeeded, producing 3f79d91e42934c0c8204e64f9535ff278efb44e2 Checking out Revision 3f79d91e42934c0c8204e64f9535ff278efb44e2 (PR-1632) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # 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 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:57:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:57:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:57:28 ========================================================= 04:57:28 EdgeX Global Pipelines Version Info 04:57:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:57:28 ------------------- 04:57:28 stable info: 04:57:28 ------------------- 04:57:28 Commited By: Ginny Guan ginny@iotechsys.com 04:57:28 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:57:28 Message: update stable to v1.0.265 04:57:29 ------------------- 04:57:29 experimental info: 04:57:29 ------------------- 04:57:29 Commited By: Cherry Wang cherry@iotechsys.com 04:57:29 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:57:29 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:57:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:57:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:57:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:57:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:57:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:57:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f79d91 [Pipeline] echo 04:57:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:31 provisioning config files... 04:57:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7093336905812863659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:32 ---> ****-login.sh 04:57:32 nexus3.edgexfoundry.org:10001 04:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:32 Configure a credential helper to remove this warning. See 04:57:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:32 04:57:32 Login Succeeded 04:57:32 nexus3.edgexfoundry.org:10002 04:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:32 Configure a credential helper to remove this warning. See 04:57:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:32 04:57:32 Login Succeeded 04:57:32 nexus3.edgexfoundry.org:10003 04:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:33 Configure a credential helper to remove this warning. See 04:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:33 04:57:33 Login Succeeded 04:57:33 nexus3.edgexfoundry.org:10004 04:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:33 Configure a credential helper to remove this warning. See 04:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:33 04:57:33 Login Succeeded 04:57:33 ****.io 04:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:33 Configure a credential helper to remove this warning. See 04:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:33 04:57:33 Login Succeeded 04:57:33 ---> ****-login.sh ends [Pipeline] } 04:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:57:34 + git rev-list -1 --merges 3f79d91e42934c0c8204e64f9535ff278efb44e2~1..3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo 04:57:34 -----------> git rev-list -1 --merges 3f79d91e42934c0c8204e64f9535ff278efb44e2~1..3f79d91e42934c0c8204e64f9535ff278efb44e2 3f79d91e42934c0c8204e64f9535ff278efb44e2 [false] [Pipeline] sh 04:57:34 + git log --format=format:%s -1 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo 04:57:34 ========================================================= 04:57:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:57:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:34 + git log --format=format:%s -1 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo 04:57:35 [semverPrep] GIT_COMMIT: 3f79d91e42934c0c8204e64f9535ff278efb44e2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:57:35 [semverPrep] This is not a build commit. [Pipeline] sh 04:57:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:57:35 + grep -v github /etc/ssh/ssh_known_hosts 04:57:35 + [ -e /tmp/ssh_known_hosts ] 04:57:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:57:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:57:35 + sudo tee -a /etc/ssh/ssh_known_hosts 04:57:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:36 04:57:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:36 0.1.4: Pulling from edgex-devops/py-git-semver 04:57:36 b85a868b505f: Pulling fs layer 04:57:36 e2be974225ed: Pulling fs layer 04:57:36 339a4e72a1f5: Pulling fs layer 04:57:36 988bab9f4d93: Pulling fs layer 04:57:36 1469e6f7b9e6: Pulling fs layer 04:57:36 eaf3925da568: Pulling fs layer 04:57:36 bab4dde63d76: Pulling fs layer 04:57:36 bde34c3a00c8: Pulling fs layer 04:57:36 b352a97aabf1: Pulling fs layer 04:57:36 4872d77fe225: Pulling fs layer 04:57:36 5851b861e8e6: Pulling fs layer 04:57:36 bab4dde63d76: Waiting 04:57:36 bde34c3a00c8: Waiting 04:57:36 4872d77fe225: Waiting 04:57:36 1469e6f7b9e6: Waiting 04:57:36 b352a97aabf1: Waiting 04:57:36 eaf3925da568: Waiting 04:57:36 988bab9f4d93: Waiting 04:57:36 e2be974225ed: Verifying Checksum 04:57:36 e2be974225ed: Download complete 04:57:36 988bab9f4d93: Verifying Checksum 04:57:36 988bab9f4d93: Download complete 04:57:36 1469e6f7b9e6: Verifying Checksum 04:57:36 1469e6f7b9e6: Download complete 04:57:36 eaf3925da568: Download complete 04:57:36 339a4e72a1f5: Verifying Checksum 04:57:36 339a4e72a1f5: Download complete 04:57:36 bde34c3a00c8: Download complete 04:57:36 b352a97aabf1: Verifying Checksum 04:57:36 b352a97aabf1: Download complete 04:57:36 4872d77fe225: Verifying Checksum 04:57:36 4872d77fe225: Download complete 04:57:36 5851b861e8e6: Verifying Checksum 04:57:36 5851b861e8e6: Download complete 04:57:36 b85a868b505f: Verifying Checksum 04:57:36 b85a868b505f: Download complete 04:57:36 bab4dde63d76: Verifying Checksum 04:57:36 bab4dde63d76: Download complete 04:57:37 b85a868b505f: Pull complete 04:57:37 e2be974225ed: Pull complete 04:57:38 339a4e72a1f5: Pull complete 04:57:38 988bab9f4d93: Pull complete 04:57:38 1469e6f7b9e6: Pull complete 04:57:38 eaf3925da568: Pull complete 04:57:40 bab4dde63d76: Pull complete 04:57:40 bde34c3a00c8: Pull complete 04:57:40 b352a97aabf1: Pull complete 04:57:40 4872d77fe225: Pull complete 04:57:40 5851b861e8e6: Pull complete 04:57:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:40 prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container 04:57:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:57:43 $ docker top f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 -eo pid,comm 04:57:44 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). 04:57:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:57:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:57:44 [ssh-agent] Looking for ssh-agent implementation... 04:57:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:57:44 $ docker exec f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent 04:57:44 SSH_AUTH_SOCK=/tmp/ssh-lAAOneGnFGem/agent.32 04:57:44 SSH_AGENT_PID=38 04:57:44 Running ssh-add (command line suppressed) 04:57:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_4685826980035998272.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_4685826980035998272.key) 04:57:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:44 + git tag --points-at HEAD [Pipeline] } 04:57:44 $ docker exec --env ******** --env ******** f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent -k 04:57:45 unset SSH_AUTH_SOCK; 04:57:45 unset SSH_AGENT_PID; 04:57:45 echo Agent pid 38 killed; 04:57:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:57:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:57:45 [ssh-agent] Looking for ssh-agent implementation... 04:57:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:57:45 $ docker exec f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent 04:57:45 SSH_AUTH_SOCK=/tmp/ssh-jSWwn2rqfWnb/agent.72 04:57:45 SSH_AGENT_PID=78 04:57:45 Running ssh-add (command line suppressed) 04:57:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_16491052497930999922.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_16491052497930999922.key) 04:57:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:45 + git semver init 04:57:46 2024-10-04 04:57:46,046 [run_init] DEBUG init version:0.0.0 force:False 04:57:46 2024-10-04 04:57:46,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 04:57:46 2024-10-04 04:57:46,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver 04:57:46 2024-10-04 04:57:46,048 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) 04:57:48 2024-10-04 04:57:48,042 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude 04:57:48 2024-10-04 04:57:48,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False 04:57:48 2024-10-04 04:57:48,043 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 04:57:48 2024-10-04 04:57:48,048 [execute] INFO git cat-file --batch-check 04:57:48 2024-10-04 04:57:48,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 04:57:48 2024-10-04 04:57:48,055 [execute] INFO git cat-file --batch 04:57:48 2024-10-04 04:57:48,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) 04:57:48 2024-10-04 04:57:48,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 04:57:48 0.0.0 [Pipeline] } 04:57:48 $ docker exec --env ******** --env ******** f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent -k 04:57:48 unset SSH_AUTH_SOCK; 04:57:48 unset SSH_AGENT_PID; 04:57:48 echo Agent pid 78 killed; 04:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:57:49 + git semver [Pipeline] } 04:57:49 $ docker stop --time=1 f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 04:57:50 $ docker rm -f --volumes f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 [Pipeline] // withDockerContainer [Pipeline] sh 04:57:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:57:51 Stashed 1 file(s) [Pipeline] echo 04:57:51 [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 04:57:52 provisioning config files... 04:57:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config13307449993486383630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:52 ---> ****-login.sh 04:57:52 nexus3.edgexfoundry.org:10001 04:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:52 Configure a credential helper to remove this warning. See 04:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:52 04:57:52 Login Succeeded 04:57:52 nexus3.edgexfoundry.org:10002 04:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:52 Configure a credential helper to remove this warning. See 04:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:52 04:57:52 Login Succeeded 04:57:52 nexus3.edgexfoundry.org:10003 04:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:53 Configure a credential helper to remove this warning. See 04:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:53 04:57:53 Login Succeeded 04:57:53 nexus3.edgexfoundry.org:10004 04:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:53 Configure a credential helper to remove this warning. See 04:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:53 04:57:53 Login Succeeded 04:57:53 ****.io 04:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:53 Configure a credential helper to remove this warning. See 04:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:53 04:57:53 Login Succeeded 04:57:53 ---> ****-login.sh ends [Pipeline] } 04:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:53 ========================================================= 04:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:54 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 04:57:54 Sending build context to Docker daemon 25.4MB 04:57:54 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:57:54 Step 2/10 : FROM ${BASE} AS builder 04:57:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:57:54 43c4264eed91: Pulling fs layer 04:57:54 4cc291be95ef: Pulling fs layer 04:57:54 2ac1f1163629: Pulling fs layer 04:57:54 5c3c966382ef: Pulling fs layer 04:57:54 4f4fb700ef54: Pulling fs layer 04:57:54 5d5c8e513c77: Pulling fs layer 04:57:54 9f66e0745190: Pulling fs layer 04:57:54 f49a43e4bbc0: Pulling fs layer 04:57:54 561ebcabdf7f: Pulling fs layer 04:57:54 5c3c966382ef: Waiting 04:57:54 4f4fb700ef54: Waiting 04:57:54 f49a43e4bbc0: Waiting 04:57:54 561ebcabdf7f: Waiting 04:57:54 5d5c8e513c77: Waiting 04:57:54 9f66e0745190: Waiting 04:57:54 4cc291be95ef: Verifying Checksum 04:57:54 4cc291be95ef: Download complete 04:57:54 5c3c966382ef: Verifying Checksum 04:57:54 5c3c966382ef: Download complete 04:57:54 4f4fb700ef54: Verifying Checksum 04:57:54 4f4fb700ef54: Download complete 04:57:54 5d5c8e513c77: Verifying Checksum 04:57:54 5d5c8e513c77: Download complete 04:57:54 43c4264eed91: Verifying Checksum 04:57:54 43c4264eed91: Download complete 04:57:54 9f66e0745190: Verifying Checksum 04:57:54 9f66e0745190: Download complete 04:57:54 43c4264eed91: Pull complete 04:57:54 561ebcabdf7f: Download complete 04:57:54 4cc291be95ef: Pull complete 04:57:55 2ac1f1163629: Verifying Checksum 04:57:55 2ac1f1163629: Download complete 04:57:55 f49a43e4bbc0: Download complete 04:57:58 2ac1f1163629: Pull complete 04:57:58 5c3c966382ef: Pull complete 04:57:58 4f4fb700ef54: Pull complete 04:57:58 5d5c8e513c77: Pull complete 04:57:58 9f66e0745190: Pull complete 04:58:00 f49a43e4bbc0: Pull complete 04:58:00 561ebcabdf7f: Pull complete 04:58:00 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:58:00 ---> 3a752c3f9dda 04:58:00 Step 3/10 : ARG MAKE=make build 04:58:05 ---> Running in bf847072181f 04:58:05 Removing intermediate container bf847072181f 04:58:05 ---> 3b30dbd97f1f 04:58:05 Step 4/10 : WORKDIR /device-sdk-go 04:58:05 ---> Running in e5d9dd4ed22b 04:58:05 Removing intermediate container e5d9dd4ed22b 04:58:05 ---> 592b964d0790 04:58:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:58:05 ---> Running in 8f654c342b31 04:58:05 Removing intermediate container 8f654c342b31 04:58:05 ---> e6a2f66e625f 04:58:05 Step 6/10 : RUN apk add --update --no-cache make git 04:58:05 ---> Running in 65b1b24f3939 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:58:05 OK: 246 MiB in 54 packages 04:58:06 Removing intermediate container 65b1b24f3939 04:58:06 ---> 89c977178b4d 04:58:06 Step 7/10 : COPY go.mod vendor* ./ 04:58:06 ---> 5e72a1e8395f 04:58:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:06 ---> Running in 147411bb29dc 04:58:07 Still waiting to schedule task 04:58:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15567’ is offline 04:58:53 Removing intermediate container 147411bb29dc 04:58:53 ---> bc2ab8dfa255 04:58:53 Step 9/10 : COPY . . 04:58:53 ---> 1790e6525006 04:58:53 Step 10/10 : RUN ${MAKE} 04:58:53 ---> Running in 0fc8e4dfe7f3 04:58:53 noop 04:58:54 Removing intermediate container 0fc8e4dfe7f3 04:58:54 ---> b723894ac862 04:58:54 Successfully built b723894ac862 04:58:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:54 + docker inspect -f . ci-base-image-x86_64 04:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:55 prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container 04:58:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** ci-base-image-x86_64 cat 04:58:55 $ docker top a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:55 + go version 04:58:55 go version go1.23.2 linux/amd64 [Pipeline] } 04:58:55 $ docker stop --time=1 a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 04:58:57 $ docker rm -f --volumes a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:58 + docker inspect -f . ci-base-image-x86_64 04:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:58 prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container 04:58:58 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** ci-base-image-x86_64 cat 04:58:58 $ docker top 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh 04:58:59 + make test 04:58:59 go test -race -coverprofile=coverage.out ./... 04:59:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 04:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements 04:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements 04:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 04:59:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 04:59:34 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 04:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 45.2% of statements 04:59:35 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 04:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.1% of statements 04:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.187s coverage: 44.6% of statements 04:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.048s coverage: 68.5% of statements 04:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.082s coverage: 89.2% of statements 04:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements 05:00:09 GO111MODULE=on go vet ./... 05:00:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:12 ./bin/test-attribution-txt.sh 05:00:12 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 05:00:12 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 05:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:00:12 $ docker stop --time=1 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 05:00:18 $ docker rm -f --volumes 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:20 + ls -al . 05:00:20 total 712 05:00:20 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:58 . 05:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:57 .. 05:00:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:57 .dockerignore 05:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:59 .git 05:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:57 .github 05:00:20 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:57 .gitignore 05:00:20 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 04:57 .golangci.yml 05:00:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:57 .semver 05:00:20 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 04:57 CHANGELOG.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:57 GOVERNANCE.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:57 Jenkinsfile 05:00:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:57 LICENSE 05:00:20 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:57 Makefile 05:00:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:57 OWNERS.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 04:57 README.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:57 VERSION 05:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:57 bin 05:00:20 -rw-r--r-- 1 jenkins jenkins 465883 Oct 4 04:59 coverage.out 05:00:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:57 example 05:00:20 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 04:57 go.mod 05:00:20 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 04:57 go.sum 05:00:20 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 04:57 internal 05:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:57 openapi 05:00:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:57 pkg 05:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:57 snap 05:00:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:20 + 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=3f79d91e42934c0c8204e64f9535ff278efb44e2 --label arch=amd64 --label version=0.0.0 . 05:00:20 Sending build context to Docker daemon 25.87MB 05:00:20 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:00:20 Step 2/24 : FROM ${BASE} AS builder 05:00:20 ---> b723894ac862 05:00:20 Step 3/24 : ARG MAKE=make build 05:00:21 ---> Running in 388f1f714bbf 05:00:21 Removing intermediate container 388f1f714bbf 05:00:21 ---> 9bb0612a0564 05:00:21 Step 4/24 : WORKDIR /device-sdk-go 05:00:21 ---> Running in fd1705172e60 05:00:21 Removing intermediate container fd1705172e60 05:00:21 ---> 9606eb9b2c65 05:00:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:00:21 ---> Running in ae1a44b5ae9e 05:00:21 Removing intermediate container ae1a44b5ae9e 05:00:21 ---> 012031620adf 05:00:21 Step 6/24 : RUN apk add --update --no-cache make git 05:00:21 ---> Running in 2bfe1f1994b7 05:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:00:22 OK: 246 MiB in 54 packages 05:00:22 Removing intermediate container 2bfe1f1994b7 05:00:22 ---> b8fd4f2c45a7 05:00:22 Step 7/24 : COPY go.mod vendor* ./ 05:00:22 ---> 4e33786b6194 05:00:22 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:22 ---> Running in 3f2b17020595 05:00:23 Removing intermediate container 3f2b17020595 05:00:23 ---> 16c28e6b283e 05:00:23 Step 9/24 : COPY . . 05:00:24 ---> 73605aa5f6c2 05:00:24 Step 10/24 : RUN ${MAKE} 05:00:24 ---> Running in e89183056782 05:00:24 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 05:00:56 Removing intermediate container e89183056782 05:00:56 ---> dab48f7c5191 05:00:56 Step 11/24 : FROM alpine:3.20 05:00:56 3.20: Pulling from library/alpine 05:00:56 43c4264eed91: Already exists 05:00:56 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:00:56 Status: Downloaded newer image for alpine:3.20 05:00:56 ---> 91ef0af61f39 05:00:56 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:00:56 ---> Running in 3b851fb2eb04 05:00:56 Removing intermediate container 3b851fb2eb04 05:00:56 ---> b771161fbf87 05:00:56 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:00:56 ---> Running in a93bca67ba4e 05:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:00:57 (1/1) Installing dumb-init (1.2.5-r3) 05:00:57 Executing busybox-1.36.1-r29.trigger 05:00:57 OK: 8 MiB in 15 packages 05:00:57 Removing intermediate container a93bca67ba4e 05:00:57 ---> 536ea58ca396 05:00:57 Step 14/24 : RUN apk --no-cache upgrade 05:00:57 ---> Running in b4941219144f 05:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:00:57 Upgrading critical system libraries and apk-tools: 05:00:57 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:00:57 Executing busybox-1.36.1-r29.trigger 05:00:58 Continuing the upgrade transaction with new apk-tools: 05:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:00:58 OK: 8 MiB in 15 packages 05:00:58 Removing intermediate container b4941219144f 05:00:58 ---> faa4b7714cba 05:00:58 Step 15/24 : WORKDIR / 05:00:58 ---> Running in a3110758d519 05:00:58 Removing intermediate container a3110758d519 05:00:58 ---> a02213a8a006 05:00:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:00:58 ---> 208936b0afc2 05:00:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:01:00 ---> 5f9883123d7c 05:01:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:01:00 ---> 73c09b16628b 05:01:00 Step 19/24 : EXPOSE 59999 05:01:00 ---> Running in 09be0a1f4dc8 05:01:00 Removing intermediate container 09be0a1f4dc8 05:01:00 ---> fb3d7e7a693a 05:01:00 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:01:00 ---> Running in da1706fd8013 05:01:00 Removing intermediate container da1706fd8013 05:01:00 ---> d9f3693379aa 05:01:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:01:00 ---> Running in bcbf83b71b60 05:01:00 Removing intermediate container bcbf83b71b60 05:01:00 ---> c15fa4b0837b 05:01:00 Step 22/24 : LABEL arch=amd64 05:01:00 ---> Running in 6d6a89e24831 05:01:00 Removing intermediate container 6d6a89e24831 05:01:00 ---> 23ca093117c4 05:01:00 Step 23/24 : LABEL git_sha=3f79d91e42934c0c8204e64f9535ff278efb44e2 05:01:00 ---> Running in 2825feeecbad 05:01:00 Removing intermediate container 2825feeecbad 05:01:00 ---> aec74ad01b03 05:01:00 Step 24/24 : LABEL version=0.0.0 05:01:00 ---> Running in dff2539730e1 05:01:00 Removing intermediate container dff2539730e1 05:01:00 ---> 54623c2e8f65 05:01:00 [Warning] One or more build-args [ARCH] were not consumed 05:01:00 Successfully built 54623c2e8f65 05:01:00 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:01 05:01:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:02 latest: Pulling from edgex-lftools-log-publisher 05:01:02 5eb5b503b376: Pulling fs layer 05:01:02 5c69ac0246d0: Pulling fs layer 05:01:02 ec43610c2a17: Pulling fs layer 05:01:02 3a2ae6a8a46f: Pulling fs layer 05:01:02 33b1e0a273af: Pulling fs layer 05:01:02 3a2ae6a8a46f: Waiting 05:01:02 5d3b04190fa2: Pulling fs layer 05:01:02 2f39f015ded8: Pulling fs layer 05:01:02 5d3b04190fa2: Waiting 05:01:02 33b1e0a273af: Waiting 05:01:02 2f39f015ded8: Waiting 05:01:02 5c69ac0246d0: Verifying Checksum 05:01:02 5c69ac0246d0: Download complete 05:01:02 3a2ae6a8a46f: Verifying Checksum 05:01:02 3a2ae6a8a46f: Download complete 05:01:02 33b1e0a273af: Verifying Checksum 05:01:02 33b1e0a273af: Download complete 05:01:02 5d3b04190fa2: Download complete 05:01:02 ec43610c2a17: Download complete 05:01:02 5eb5b503b376: Verifying Checksum 05:01:02 5eb5b503b376: Download complete 05:01:03 2f39f015ded8: Download complete 05:01:03 5eb5b503b376: Pull complete 05:01:03 5c69ac0246d0: Pull complete 05:01:04 ec43610c2a17: Pull complete 05:01:04 3a2ae6a8a46f: Pull complete 05:01:04 33b1e0a273af: Pull complete 05:01:04 5d3b04190fa2: Pull complete 05:01:08 2f39f015ded8: Pull complete 05:01:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:09 prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container 05:01:09 $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:12 $ docker top 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:13 ---> job-cost.sh 05:01:13 lf-activate-venv: SKIPPING 05:01:13 INFO: No Stack... 05:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:13 INFO: Archiving Costs [Pipeline] sh 05:01:14 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv 05:01:14 + cut -d, -f6 [Pipeline] lock 05:01:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] 05:01:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] did not exist. Created. 05:01:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:14 + echo total: 0.2199999988079071 [Pipeline] stash 05:01:14 Stashed 1 file(s) [Pipeline] } 05:01:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:14 $ docker stop --time=1 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 05:01:16 $ docker rm -f --volumes 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:03:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15591 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws 05:03:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:03:35 The recommended git tool is: git 05:03:41 using credential edgex-jenkins-ssh 05:03:41 Cloning the remote Git repository 05:03:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:03:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:03:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:41 > git --version # timeout=10 05:03:41 > git --version # 'git version 2.25.1' 05:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:48 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 05:03:48 Merge succeeded, producing 3f79d91e42934c0c8204e64f9535ff278efb44e2 05:03:48 Checking out Revision 3f79d91e42934c0c8204e64f9535ff278efb44e2 (PR-1632) 05:03:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:03:48 > git config core.sparsecheckout # timeout=10 05:03:48 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 05:03:48 > git remote # timeout=10 05:03:48 > git config --get remote.origin.url # timeout=10 05:03:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:48 > git merge 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 05:03:48 > git rev-parse HEAD^{commit} # timeout=10 05:03:48 > git config core.sparsecheckout # timeout=10 05:03:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 05:03:49 > git --version # timeout=10 05:03:49 > git --version # 'git version 2.25.1' 05:03:49 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:03:48 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:03:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:55 Dload Upload Total Spent Left Speed 05:03:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 05:03:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:03:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:03:55 + sudo tee /etc/docker/daemon.new 05:03:55 { 05:03:55 "registry-mirrors": [ 05:03:55 "https://nexus3.edgexfoundry.org:10001" 05:03:55 ], 05:03:55 "bip": "10.250.0.254/24", 05:03:55 "hosts": [ 05:03:55 "tcp://0.0.0.0:5555", 05:03:55 "unix:///var/run/docker.sock" 05:03:55 ], 05:03:55 "mtu": 1458, 05:03:55 "selinux-enabled": true, 05:03:55 "seccomp-profile": "/etc/docker/seccomp.json" 05:03:55 } [Pipeline] sh 05:03:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:03:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:14 provisioning config files... 05:04:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2316112905691585123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:15 ---> ****-login.sh 05:04:15 nexus3.edgexfoundry.org:10001 05:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:15 Configure a credential helper to remove this warning. See 05:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:15 05:04:15 Login Succeeded 05:04:15 nexus3.edgexfoundry.org:10002 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:16 Configure a credential helper to remove this warning. See 05:04:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:16 05:04:16 Login Succeeded 05:04:16 nexus3.edgexfoundry.org:10003 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:16 Configure a credential helper to remove this warning. See 05:04:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:16 05:04:16 Login Succeeded 05:04:16 nexus3.edgexfoundry.org:10004 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 ****.io 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 ---> ****-login.sh ends [Pipeline] } 05:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:04:18 ========================================================= 05:04:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:04:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:18 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 05:04:19 Sending build context to Docker daemon 13.16MB 05:04:19 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:04:19 Step 2/10 : FROM ${BASE} AS builder 05:04:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:04:19 cf04c63912e1: Pulling fs layer 05:04:19 55b35a11ae5e: Pulling fs layer 05:04:19 a37a00ec5f00: Pulling fs layer 05:04:19 50b3750afda1: Pulling fs layer 05:04:19 4f4fb700ef54: Pulling fs layer 05:04:19 80978eb59214: Pulling fs layer 05:04:19 c9f46d7d2bd2: Pulling fs layer 05:04:19 c5a475d317c9: Pulling fs layer 05:04:19 50b3750afda1: Waiting 05:04:19 80978eb59214: Waiting 05:04:19 4f4fb700ef54: Waiting 05:04:19 c9f46d7d2bd2: Waiting 05:04:19 c5a475d317c9: Waiting 05:04:19 55b35a11ae5e: Verifying Checksum 05:04:19 55b35a11ae5e: Download complete 05:04:19 50b3750afda1: Verifying Checksum 05:04:19 50b3750afda1: Download complete 05:04:19 4f4fb700ef54: Download complete 05:04:19 80978eb59214: Verifying Checksum 05:04:19 80978eb59214: Download complete 05:04:19 cf04c63912e1: Verifying Checksum 05:04:19 cf04c63912e1: Download complete 05:04:20 c5a475d317c9: Verifying Checksum 05:04:20 c5a475d317c9: Download complete 05:04:20 cf04c63912e1: Pull complete 05:04:21 55b35a11ae5e: Pull complete 05:04:21 a37a00ec5f00: Verifying Checksum 05:04:21 a37a00ec5f00: Download complete 05:04:22 c9f46d7d2bd2: Verifying Checksum 05:04:22 c9f46d7d2bd2: Download complete 05:04:35 a37a00ec5f00: Pull complete 05:04:35 50b3750afda1: Pull complete 05:04:35 4f4fb700ef54: Pull complete 05:04:35 80978eb59214: Pull complete 05:04:44 c9f46d7d2bd2: Pull complete 05:04:45 c5a475d317c9: Pull complete 05:04:45 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:04:45 ---> be29e6b0f0d4 05:04:45 Step 3/10 : ARG MAKE=make build 05:04:47 ---> Running in 5ab7ed8a616c 05:04:47 Removing intermediate container 5ab7ed8a616c 05:04:47 ---> a8f9425adae5 05:04:47 Step 4/10 : WORKDIR /device-sdk-go 05:04:47 ---> Running in 8fb1583ff302 05:04:47 Removing intermediate container 8fb1583ff302 05:04:47 ---> 5c6d95e22d19 05:04:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:47 ---> Running in a23307d83210 05:04:47 Removing intermediate container a23307d83210 05:04:47 ---> 0982af35686b 05:04:47 Step 6/10 : RUN apk add --update --no-cache make git 05:04:47 ---> Running in c0c92a5e190f 05:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:04:50 OK: 238 MiB in 54 packages 05:04:51 Removing intermediate container c0c92a5e190f 05:04:51 ---> bff77dfa3880 05:04:51 Step 7/10 : COPY go.mod vendor* ./ 05:04:51 ---> b5f940601dc6 05:04:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:51 ---> Running in 9dff091b5602 05:06:43 Removing intermediate container 9dff091b5602 05:06:43 ---> 9645d0685cb3 05:06:43 Step 9/10 : COPY . . 05:06:43 ---> e30da488e306 05:06:43 Step 10/10 : RUN ${MAKE} 05:06:43 ---> Running in d4cc6d772f3e 05:06:43 noop 05:06:43 Removing intermediate container d4cc6d772f3e 05:06:43 ---> a0342ca4c158 05:06:43 Successfully built a0342ca4c158 05:06:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:44 + docker inspect -f . ci-base-image-arm64 05:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:44 prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container 05:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:06:45 $ docker top abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:46 + go version 05:06:46 go version go1.23.2 linux/arm64 [Pipeline] } 05:06:46 $ docker stop --time=1 abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 05:06:48 $ docker rm -f --volumes abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:49 + docker inspect -f . ci-base-image-arm64 05:06:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:49 prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container 05:06:49 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:06:50 $ docker top 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:51 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:06:51 + make test 05:06:51 go test -race -coverprofile=coverage.out ./... 05:07:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:11:00 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 05:11:00 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 05:11:00 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 05:11:00 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 05:11:00 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 05:11:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.152s coverage: 26.0% of statements 05:11:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.183s coverage: 79.4% of statements 05:11:22 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 05:11:22 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 05:11:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.262s coverage: 86.0% of statements 05:11:32 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 05:11:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.562s coverage: 45.2% of statements 05:11:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.1% of statements 05:11:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.992s coverage: 44.6% of statements 05:11:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:11:40 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 05:11:40 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 05:11:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.370s coverage: 68.5% of statements 05:11:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.348s coverage: 89.2% of statements 05:11:52 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 05:11:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.279s coverage: 5.3% of statements 05:11:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:11:54 GO111MODULE=on go vet ./... 05:15:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:16 ./bin/test-attribution-txt.sh 05:15:16 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 05:15:16 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 05:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:15:16 $ docker stop --time=1 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 05:15:18 $ docker rm -f --volumes 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:20 Warning: overwriting stash ‘coverage-report’ 05:15:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:22 + ls -al . 05:15:22 total 708 05:15:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:06 . 05:15:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:03 .. 05:15:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:03 .dockerignore 05:15:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:03 .git 05:15:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:03 .github 05:15:22 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 05:03 .gitignore 05:15:22 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 05:03 .golangci.yml 05:15:22 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 05:03 CHANGELOG.md 05:15:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:03 GOVERNANCE.md 05:15:22 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 05:03 Jenkinsfile 05:15:22 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 05:03 LICENSE 05:15:22 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 05:03 Makefile 05:15:22 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 05:03 OWNERS.md 05:15:22 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 05:03 README.md 05:15:22 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:57 VERSION 05:15:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:03 bin 05:15:22 -rw-r--r-- 1 jenkins jenkins 465882 Oct 4 05:11 coverage.out 05:15:22 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 05:03 example 05:15:22 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 05:03 go.mod 05:15:22 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 05:03 go.sum 05:15:22 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 05:03 internal 05:15:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:03 openapi 05:15:22 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 05:03 pkg 05:15:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:03 snap 05:15:22 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:23 + 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=3f79d91e42934c0c8204e64f9535ff278efb44e2 --label arch=arm64 --label version=0.0.0 . 05:15:23 Sending build context to Docker daemon 13.62MB 05:15:23 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:15:23 Step 2/24 : FROM ${BASE} AS builder 05:15:23 ---> a0342ca4c158 05:15:23 Step 3/24 : ARG MAKE=make build 05:15:24 ---> Running in 561bc19cc5c4 05:15:24 Removing intermediate container 561bc19cc5c4 05:15:24 ---> b41c715a5c9f 05:15:24 Step 4/24 : WORKDIR /device-sdk-go 05:15:24 ---> Running in 5addf7e480ff 05:15:24 Removing intermediate container 5addf7e480ff 05:15:24 ---> f62cebb72b88 05:15:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:15:24 ---> Running in 1c56d6db93a9 05:15:25 Removing intermediate container 1c56d6db93a9 05:15:25 ---> 6b2309e087a0 05:15:25 Step 6/24 : RUN apk add --update --no-cache make git 05:15:25 ---> Running in 3b9b8dd67042 05:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:15:27 OK: 238 MiB in 54 packages 05:15:28 Removing intermediate container 3b9b8dd67042 05:15:28 ---> fa4e45a3cc4d 05:15:28 Step 7/24 : COPY go.mod vendor* ./ 05:15:29 ---> bcc0b2ba58ba 05:15:29 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:29 ---> Running in 7bccc791da6d 05:15:31 Removing intermediate container 7bccc791da6d 05:15:31 ---> 864cad8b9356 05:15:31 Step 9/24 : COPY . . 05:15:32 ---> b7f87d7bfe17 05:15:32 Step 10/24 : RUN ${MAKE} 05:15:32 ---> Running in 22cb76256b0f 05:15:33 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 05:18:58 Removing intermediate container 22cb76256b0f 05:18:58 ---> 95beecaa90a9 05:18:58 Step 11/24 : FROM alpine:3.20 05:18:58 3.20: Pulling from library/alpine 05:18:58 cf04c63912e1: Already exists 05:18:58 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:18:58 Status: Downloaded newer image for alpine:3.20 05:18:58 ---> c157a85ed455 05:18:58 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:18:58 ---> Running in 15907aca8a72 05:18:58 Removing intermediate container 15907aca8a72 05:18:58 ---> 7a464dce110f 05:18:58 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:18:58 ---> Running in b066c92cc6b3 05:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:19:00 (1/1) Installing dumb-init (1.2.5-r3) 05:19:00 Executing busybox-1.36.1-r29.trigger 05:19:00 OK: 9 MiB in 15 packages 05:19:01 Removing intermediate container b066c92cc6b3 05:19:01 ---> 4970c125573e 05:19:01 Step 14/24 : RUN apk --no-cache upgrade 05:19:01 ---> Running in 6131d109554d 05:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:19:04 Upgrading critical system libraries and apk-tools: 05:19:04 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:19:04 Executing busybox-1.36.1-r29.trigger 05:19:04 Continuing the upgrade transaction with new apk-tools: 05:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:19:05 OK: 9 MiB in 15 packages 05:19:06 Removing intermediate container 6131d109554d 05:19:06 ---> d2f335c94007 05:19:06 Step 15/24 : WORKDIR / 05:19:06 ---> Running in 09b877a3c6d4 05:19:07 Removing intermediate container 09b877a3c6d4 05:19:07 ---> 61d4b5c881c1 05:19:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:19:07 ---> d74554fc50aa 05:19:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:19:09 ---> 192dcbc916ec 05:19:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:19:10 ---> abab50a647b0 05:19:10 Step 19/24 : EXPOSE 59999 05:19:10 ---> Running in 253d6dcf56cb 05:19:10 Removing intermediate container 253d6dcf56cb 05:19:10 ---> e651cfd0c354 05:19:10 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:19:10 ---> Running in a24617d64faa 05:19:10 Removing intermediate container a24617d64faa 05:19:10 ---> 3c1761a14b10 05:19:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:19:11 ---> Running in 40903a62ba57 05:19:11 Removing intermediate container 40903a62ba57 05:19:11 ---> 4d05a61f9be2 05:19:11 Step 22/24 : LABEL arch=arm64 05:19:11 ---> Running in aa9323bb47d3 05:19:11 Removing intermediate container aa9323bb47d3 05:19:11 ---> 5dfffa930690 05:19:11 Step 23/24 : LABEL git_sha=3f79d91e42934c0c8204e64f9535ff278efb44e2 05:19:11 ---> Running in c27f89c9d9c5 05:19:11 Removing intermediate container c27f89c9d9c5 05:19:11 ---> bb7c26ebb48b 05:19:11 Step 24/24 : LABEL version=0.0.0 05:19:12 ---> Running in e172ab3b85b8 05:19:12 Removing intermediate container e172ab3b85b8 05:19:12 ---> 5cca1748590c 05:19:12 [Warning] One or more build-args [ARCH] were not consumed 05:19:12 Successfully built 5cca1748590c 05:19:12 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:13 05:19:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:13 arm64: Pulling from edgex-lftools-log-publisher 05:19:13 8998bd30e6a1: Pulling fs layer 05:19:13 04944245beec: Pulling fs layer 05:19:13 699f458cf7ca: Pulling fs layer 05:19:13 765212b225bb: Pulling fs layer 05:19:13 f23df028b6ca: Pulling fs layer 05:19:13 d65c8cfc05b1: Pulling fs layer 05:19:13 2437ff75d9bd: Pulling fs layer 05:19:13 765212b225bb: Waiting 05:19:13 f23df028b6ca: Waiting 05:19:13 d65c8cfc05b1: Waiting 05:19:13 2437ff75d9bd: Waiting 05:19:14 04944245beec: Verifying Checksum 05:19:14 04944245beec: Download complete 05:19:14 765212b225bb: Verifying Checksum 05:19:14 765212b225bb: Download complete 05:19:14 f23df028b6ca: Download complete 05:19:14 d65c8cfc05b1: Verifying Checksum 05:19:14 d65c8cfc05b1: Download complete 05:19:14 699f458cf7ca: Verifying Checksum 05:19:14 699f458cf7ca: Download complete 05:19:14 8998bd30e6a1: Verifying Checksum 05:19:14 8998bd30e6a1: Download complete 05:19:17 2437ff75d9bd: Verifying Checksum 05:19:17 2437ff75d9bd: Download complete 05:19:19 8998bd30e6a1: Pull complete 05:19:19 04944245beec: Pull complete 05:19:21 699f458cf7ca: Pull complete 05:19:21 765212b225bb: Pull complete 05:19:22 f23df028b6ca: Pull complete 05:19:22 d65c8cfc05b1: Pull complete 05:19:40 2437ff75d9bd: Pull complete 05:19:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:46 prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container 05:19:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:19:48 $ docker top d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:49 ---> job-cost.sh 05:19:49 lf-activate-venv: SKIPPING 05:19:49 INFO: No Stack... 05:19:50 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:50 INFO: Archiving Costs [Pipeline] sh 05:19:51 + cut -d, -f6 05:19:51 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:19:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] 05:19:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] did not exist. Created. 05:19:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:52 /w/workspace/device-sdk-go/1@tmp/durable-72abf6d4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:53 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:53 Warning: overwriting stash ‘stack-cost’ 05:19:53 Stashed 1 file(s) [Pipeline] } 05:19:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:53 $ docker stop --time=1 d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 05:19:54 $ docker rm -f --volumes d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 [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 05:19:56 provisioning config files... 05:19:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config3678414112747755973tmp [Pipeline] { [Pipeline] sh 05:19:56 + set +x 05:19:56 + curl -s+ https://codecov.io/bash 05:19:56 bash -s -- 05:19:56 05:19:56 _____ _ 05:19:56 / ____| | | 05:19:56 | | ___ __| | ___ ___ _____ __ 05:19:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:56 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:56 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:56 Bash-1.0.6 05:19:56 05:19:56 05:19:56 ==> git version 2.25.1 found 05:19:56 ==> 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 05:19:56 Release-Date: 2020-01-08 05:19:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:19:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:56 ==> Jenkins CI detected. 05:19:56 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 05:19:56 project root: . 05:19:56 --> token set from env 05:19:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:56 ==> Running gcov in . (disable via -X gcov) 05:19:56 ==> Python coveragepy not found 05:19:56 ==> Searching for coverage reports in: 05:19:56 + . 05:19:56 -> Found 1 reports 05:19:56 ==> Detecting git/mercurial file structure 05:19:56 ==> Reading reports 05:19:56 + ./coverage.out bytes=465882 05:19:56 ==> Appending adjustments 05:19:56 https://docs.codecov.io/docs/fixing-reports 05:19:56 + Found adjustments 05:19:56 ==> Gzipping contents 05:19:56 44K /tmp/codecov.JE5yaE.gz 05:19:56 ==> Uploading reports 05:19:56 url: https://codecov.io 05:19:56 query: branch=PR-1632&commit=3f79d91e42934c0c8204e64f9535ff278efb44e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 05:19:56 -> Pinging Codecov 05:19:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=3f79d91e42934c0c8204e64f9535ff278efb44e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= 05:19:57 -> Uploading to 05:19:57 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/3f79d91e42934c0c8204e64f9535ff278efb44e2/ca45136d-0e39-446e-9519-02e92b7afe21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T051957Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7857b84111046b0f551550caa14023b41f82b1bf845881aeb143c0aaf1f89731 05:19:57 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:57 Dload Upload Total Spent Left Speed 05:19:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44523 0 0 100 44523 0 173k --:--:-- --:--:-- --:--:-- 173k 05:19:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] } 05:19:57 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:19:59 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] 05:19:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 05:19:59 total 16 05:19:59 drwxr-xr-x 3 root root 4096 Oct 4 05:01 . 05:19:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:01 .. 05:19:59 drwxr-xr-x 2 root root 4096 Oct 4 05:01 cost 05:19:59 -rw-r--r-- 1 root root 86 Oct 4 05:01 cost.csv 05:19:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 05:19:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives 05:19:59 total 16 05:19:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:01 . 05:19:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:01 .. 05:19:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:01 cost 05:19:59 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:20:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:01 ---> package-listing.sh 05:20:01 ++ tr '[:upper:]' '[:lower:]' 05:20:01 ++ facter osfamily 05:20:01 + OS_FAMILY=debian 05:20:01 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 05:20:01 + START_PACKAGES=/tmp/packages_start.txt 05:20:01 + END_PACKAGES=/tmp/packages_end.txt 05:20:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:01 + PACKAGES=/tmp/packages_start.txt 05:20:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 05:20:01 + PACKAGES=/tmp/packages_end.txt 05:20:01 + case "${OS_FAMILY}" in 05:20:01 + dpkg -l 05:20:01 + grep '^ii' 05:20:01 + '[' -f /tmp/packages_start.txt ']' 05:20:01 + '[' -f /tmp/packages_end.txt ']' 05:20:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' 05:20:01 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ 05:20:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo 05:20:01 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:20:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:02 prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container 05:20:02 $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:02 $ docker top c03aec73fc75dac28b6d9b6af7987f75144be9e0c3426577d7d5a5d6d03aed5f -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:03 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:03 + ls /var/log/sa-host 05:20:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:04 provisioning config files... 05:20:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config11652789107568649461tmp [Pipeline] { [Pipeline] echo 05:20:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:04 ---> create-netrc.sh [Pipeline] } 05:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> python-tools-install.sh [Pipeline] echo 05:20:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> sudo-logs.sh 05:20:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:20:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> job-cost.sh 05:20:05 lf-activate-venv: SKIPPING 05:20:05 DEBUG: total: 0.2199999988079071 05:20:05 INFO: Retrieving Stack Cost... 05:20:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:06 INFO: Archiving Costs [Pipeline] echo 05:20:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:20:07 ---> logs-deploy.sh 05:20:07 lf-activate-venv: SKIPPING 05:20:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/1 05:20:07 INFO: archiving workspace using pattern(s): 05:20:08 Archives upload complete. 05:20:08 INFO: archiving logs to Nexus