Pull request #1648 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fac54c85002fbba0025aa9bf0937156a622a7c44+7f77e0e62202159fe6913cf9abaefab1a89f7492 (0addd6f9d40f6cb58d1bd6a0521124a33ae88150) 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-ssh1079775844042057413.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-ssh11710584688516903687.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-1648/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-1648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5834456093773199590.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-1648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13240246225653515468.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-ssh18260129516684079398.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-1648/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-1648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16432448708321691328.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]] ========================================================= [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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26104 in /w/workspace/gexfoundry_device-sdk-go_PR-1648 [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-1648 # 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/1648/head:refs/remotes/origin/PR-1648 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit fac54c85002fbba0025aa9bf0937156a622a7c44 Merge succeeded, producing fac54c85002fbba0025aa9bf0937156a622a7c44 Checking out Revision fac54c85002fbba0025aa9bf0937156a622a7c44 (PR-1648) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" 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 fac54c85002fbba0025aa9bf0937156a622a7c44 # 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 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:17:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:17:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:17:26 ========================================================= 04:17:26 EdgeX Global Pipelines Version Info 04:17:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:17:27 ------------------- 04:17:27 stable info: 04:17:27 ------------------- 04:17:27 Commited By: Ginny Guan ginny@iotechsys.com 04:17:27 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:17:27 Message: update stable to v1.0.265 04:17:28 ------------------- 04:17:28 experimental info: 04:17:28 ------------------- 04:17:28 Commited By: Cherry Wang cherry@iotechsys.com 04:17:28 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:17:28 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:17:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:17:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1648 [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1648 [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1648 [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fac54c8 [Pipeline] echo 04:17:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:30 provisioning config files... 04:17:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config527607647999101607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:31 ---> ****-login.sh 04:17:31 nexus3.edgexfoundry.org:10001 04:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:31 Configure a credential helper to remove this warning. See 04:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:31 04:17:31 Login Succeeded 04:17:31 nexus3.edgexfoundry.org:10002 04:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:31 Configure a credential helper to remove this warning. See 04:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:31 04:17:31 Login Succeeded 04:17:31 nexus3.edgexfoundry.org:10003 04:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:31 Configure a credential helper to remove this warning. See 04:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:31 04:17:31 Login Succeeded 04:17:31 nexus3.edgexfoundry.org:10004 04:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:31 Configure a credential helper to remove this warning. See 04:17:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:31 04:17:31 Login Succeeded 04:17:31 ****.io 04:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:32 Configure a credential helper to remove this warning. See 04:17:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:32 04:17:32 Login Succeeded 04:17:32 ---> ****-login.sh ends [Pipeline] } 04:17:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:17:32 + git rev-list -1 --merges fac54c85002fbba0025aa9bf0937156a622a7c44~1..fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo 04:17:32 -----------> git rev-list -1 --merges fac54c85002fbba0025aa9bf0937156a622a7c44~1..fac54c85002fbba0025aa9bf0937156a622a7c44 fac54c85002fbba0025aa9bf0937156a622a7c44 [false] [Pipeline] sh 04:17:33 + git log --format=format:%s -1 fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo 04:17:33 ========================================================= 04:17:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:17:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:33 + git log --format=format:%s -1 fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo 04:17:33 [semverPrep] GIT_COMMIT: fac54c85002fbba0025aa9bf0937156a622a7c44, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo 04:17:33 [semverPrep] This is not a build commit. [Pipeline] sh 04:17:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:17:34 + grep -v github /etc/ssh/ssh_known_hosts 04:17:34 + [ -e /tmp/ssh_known_hosts ] 04:17:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:17:34 + sudo tee -a /etc/ssh/ssh_known_hosts 04:17:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:17:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:34 04:17:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:17:35 b85a868b505f: Pulling fs layer 04:17:35 e2be974225ed: Pulling fs layer 04:17:35 339a4e72a1f5: Pulling fs layer 04:17:35 988bab9f4d93: Pulling fs layer 04:17:35 1469e6f7b9e6: Pulling fs layer 04:17:35 eaf3925da568: Pulling fs layer 04:17:35 bab4dde63d76: Pulling fs layer 04:17:35 bde34c3a00c8: Pulling fs layer 04:17:35 b352a97aabf1: Pulling fs layer 04:17:35 4872d77fe225: Pulling fs layer 04:17:35 5851b861e8e6: Pulling fs layer 04:17:35 bab4dde63d76: Waiting 04:17:35 bde34c3a00c8: Waiting 04:17:35 b352a97aabf1: Waiting 04:17:35 988bab9f4d93: Waiting 04:17:35 1469e6f7b9e6: Waiting 04:17:35 4872d77fe225: Waiting 04:17:35 5851b861e8e6: Waiting 04:17:35 eaf3925da568: Waiting 04:17:35 e2be974225ed: Download complete 04:17:35 988bab9f4d93: Verifying Checksum 04:17:35 988bab9f4d93: Download complete 04:17:35 1469e6f7b9e6: Verifying Checksum 04:17:35 1469e6f7b9e6: Download complete 04:17:35 339a4e72a1f5: Verifying Checksum 04:17:35 339a4e72a1f5: Download complete 04:17:35 eaf3925da568: Verifying Checksum 04:17:35 eaf3925da568: Download complete 04:17:35 bde34c3a00c8: Verifying Checksum 04:17:35 bde34c3a00c8: Download complete 04:17:35 b352a97aabf1: Verifying Checksum 04:17:35 b352a97aabf1: Download complete 04:17:35 4872d77fe225: Download complete 04:17:35 b85a868b505f: Download complete 04:17:35 bab4dde63d76: Verifying Checksum 04:17:35 bab4dde63d76: Download complete 04:17:36 b85a868b505f: Pull complete 04:17:36 e2be974225ed: Pull complete 04:17:37 339a4e72a1f5: Pull complete 04:17:37 988bab9f4d93: Pull complete 04:17:37 1469e6f7b9e6: Pull complete 04:17:37 eaf3925da568: Pull complete 04:17:39 bab4dde63d76: Pull complete 04:17:39 bde34c3a00c8: Pull complete 04:17:39 b352a97aabf1: Pull complete 04:17:39 4872d77fe225: Pull complete 04:17:40 5851b861e8e6: Pull complete 04:17:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:17:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:40 prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container 04:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:17:43 $ docker top d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 -eo pid,comm 04:17:43 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:17:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:17:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:43 [ssh-agent] Looking for ssh-agent implementation... 04:17:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:43 $ docker exec d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent 04:17:43 SSH_AUTH_SOCK=/tmp/ssh-PJaB57ZKQueY/agent.32 04:17:43 SSH_AGENT_PID=38 04:17:43 Running ssh-add (command line suppressed) 04:17:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_9346997352663288241.key (/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_9346997352663288241.key) 04:17:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:44 + git tag --points-at HEAD [Pipeline] } 04:17:44 $ docker exec --env ******** --env ******** d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent -k 04:17:44 unset SSH_AUTH_SOCK; 04:17:44 unset SSH_AGENT_PID; 04:17:44 echo Agent pid 38 killed; 04:17:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:17:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:44 [ssh-agent] Looking for ssh-agent implementation... 04:17:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:44 $ docker exec d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent 04:17:44 SSH_AUTH_SOCK=/tmp/ssh-3qp6vHQBxexC/agent.71 04:17:44 SSH_AGENT_PID=77 04:17:44 Running ssh-add (command line suppressed) 04:17:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_2295320069522535772.key (/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_2295320069522535772.key) 04:17:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:45 + git semver init 04:17:45 2024-11-11 04:17:45,216 [run_init] DEBUG init version:0.0.0 force:False 04:17:45 2024-11-11 04:17:45,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver 04:17:45 2024-11-11 04:17:45,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver 04:17:45 2024-11-11 04:17:45,218 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648, universal_newlines=False, shell=None, istream=None) 04:17:47 2024-11-11 04:17:47,312 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.git/info/exclude 04:17:47 2024-11-11 04:17:47,312 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 with force:False 04:17:47 2024-11-11 04:17:47,312 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 04:17:47 2024-11-11 04:17:47,315 [execute] INFO git cat-file --batch-check 04:17:47 2024-11-11 04:17:47,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver, universal_newlines=False, shell=None, istream=) 04:17:47 2024-11-11 04:17:47,321 [execute] INFO git cat-file --batch 04:17:47 2024-11-11 04:17:47,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver, universal_newlines=False, shell=None, istream=) 04:17:47 2024-11-11 04:17:47,325 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 04:17:47 0.0.0 [Pipeline] } 04:17:47 $ docker exec --env ******** --env ******** d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent -k 04:17:47 unset SSH_AUTH_SOCK; 04:17:47 unset SSH_AGENT_PID; 04:17:47 echo Agent pid 77 killed; 04:17:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:17:48 + git semver [Pipeline] } 04:17:48 $ docker stop --time=1 d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 04:17:50 $ docker rm -f --volumes d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:17:50 Stashed 1 file(s) [Pipeline] echo 04:17:50 [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:17:51 provisioning config files... 04:17:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config5925177971314753663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:51 ---> ****-login.sh 04:17:51 nexus3.edgexfoundry.org:10001 04:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:51 Configure a credential helper to remove this warning. See 04:17:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:51 04:17:51 Login Succeeded 04:17:51 nexus3.edgexfoundry.org:10002 04:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:51 Configure a credential helper to remove this warning. See 04:17:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:51 04:17:51 Login Succeeded 04:17:51 nexus3.edgexfoundry.org:10003 04:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:52 Configure a credential helper to remove this warning. See 04:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:52 04:17:52 Login Succeeded 04:17:52 nexus3.edgexfoundry.org:10004 04:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:52 Configure a credential helper to remove this warning. See 04:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:52 04:17:52 Login Succeeded 04:17:52 ****.io 04:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:52 Configure a credential helper to remove this warning. See 04:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:52 04:17:52 Login Succeeded 04:17:52 ---> ****-login.sh ends [Pipeline] } 04:17:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:52 ========================================================= 04:17:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:17:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:53 + 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:17:53 Sending build context to Docker daemon 25.61MB 04:17:53 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:17:53 Step 2/10 : FROM ${BASE} AS builder 04:17:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:17:53 43c4264eed91: Pulling fs layer 04:17:53 4cc291be95ef: Pulling fs layer 04:17:53 2ac1f1163629: Pulling fs layer 04:17:53 5c3c966382ef: Pulling fs layer 04:17:53 4f4fb700ef54: Pulling fs layer 04:17:53 5d5c8e513c77: Pulling fs layer 04:17:53 9f66e0745190: Pulling fs layer 04:17:53 f49a43e4bbc0: Pulling fs layer 04:17:53 561ebcabdf7f: Pulling fs layer 04:17:53 5c3c966382ef: Waiting 04:17:53 4f4fb700ef54: Waiting 04:17:53 5d5c8e513c77: Waiting 04:17:53 9f66e0745190: Waiting 04:17:53 f49a43e4bbc0: Waiting 04:17:53 561ebcabdf7f: Waiting 04:17:53 4cc291be95ef: Verifying Checksum 04:17:53 4cc291be95ef: Download complete 04:17:53 5c3c966382ef: Verifying Checksum 04:17:53 5c3c966382ef: Download complete 04:17:53 4f4fb700ef54: Verifying Checksum 04:17:53 4f4fb700ef54: Download complete 04:17:53 5d5c8e513c77: Verifying Checksum 04:17:53 5d5c8e513c77: Download complete 04:17:53 43c4264eed91: Download complete 04:17:53 9f66e0745190: Verifying Checksum 04:17:53 9f66e0745190: Download complete 04:17:53 43c4264eed91: Pull complete 04:17:53 561ebcabdf7f: Verifying Checksum 04:17:53 561ebcabdf7f: Download complete 04:17:53 4cc291be95ef: Pull complete 04:17:54 2ac1f1163629: Verifying Checksum 04:17:54 2ac1f1163629: Download complete 04:17:54 f49a43e4bbc0: Verifying Checksum 04:17:54 f49a43e4bbc0: Download complete 04:17:57 2ac1f1163629: Pull complete 04:17:57 5c3c966382ef: Pull complete 04:17:57 4f4fb700ef54: Pull complete 04:17:57 5d5c8e513c77: Pull complete 04:17:57 9f66e0745190: Pull complete 04:18:00 f49a43e4bbc0: Pull complete 04:18:01 561ebcabdf7f: Pull complete 04:18:01 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:18:01 ---> 3a752c3f9dda 04:18:01 Step 3/10 : ARG MAKE=make build 04:18:05 ---> Running in f14068f27f2f 04:18:05 Removing intermediate container f14068f27f2f 04:18:05 ---> 0bde2de7d67f 04:18:05 Step 4/10 : WORKDIR /device-sdk-go 04:18:05 ---> Running in 14811aa75f66 04:18:05 Removing intermediate container 14811aa75f66 04:18:05 ---> 931e734a6866 04:18:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:18:05 ---> Running in f2a5c92417d9 04:18:05 Removing intermediate container f2a5c92417d9 04:18:05 ---> b7e11cb4aa5f 04:18:05 Step 6/10 : RUN apk add --update --no-cache make git 04:18:05 ---> Running in bbccfd4b0e04 04:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:18:06 OK: 246 MiB in 54 packages 04:18:06 Still waiting to schedule task 04:18:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:18:06 Removing intermediate container bbccfd4b0e04 04:18:06 ---> 2881a3b35cbc 04:18:06 Step 7/10 : COPY go.mod vendor* ./ 04:18:06 ---> 552b088a5836 04:18:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:06 ---> Running in 75c0f3ae15b4 04:19:02 Removing intermediate container 75c0f3ae15b4 04:19:02 ---> c18df0e0eaac 04:19:02 Step 9/10 : COPY . . 04:19:02 ---> e495b228ad6a 04:19:02 Step 10/10 : RUN ${MAKE} 04:19:02 ---> Running in afcaf9ac7657 04:19:02 noop 04:19:02 Removing intermediate container afcaf9ac7657 04:19:02 ---> f88be93680ae 04:19:02 Successfully built f88be93680ae 04:19:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:03 + docker inspect -f . ci-base-image-x86_64 04:19:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:03 prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container 04:19:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@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-x86_64 cat 04:19:03 $ docker top 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:04 + go version 04:19:04 go version go1.23.2 linux/amd64 [Pipeline] } 04:19:04 $ docker stop --time=1 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 04:19:05 $ docker rm -f --volumes 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:06 + docker inspect -f . ci-base-image-x86_64 04:19:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:06 prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container 04:19:06 $ 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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@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-x86_64 cat 04:19:06 $ docker top 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1648 [Pipeline] fileExists [Pipeline] sh 04:19:07 + make test 04:19:07 go test -race -coverprofile=coverage.out ./... 04:19:15 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.031s coverage: 28.7% of statements 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.036s coverage: 79.4% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.042s coverage: 86.0% of statements 04:19:54 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.086s coverage: 45.2% of statements 04:19:54 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:19:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.045s coverage: 14.1% of statements 04:19:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.287s coverage: 44.6% of statements 04:19:56 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.053s coverage: 68.4% of statements 04:19:56 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.090s coverage: 88.3% of statements 04:19:56 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.053s coverage: 5.3% of statements 04:20:28 GO111MODULE=on go vet ./... 04:20:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:20:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:20:34 $ docker stop --time=1 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 04:20:37 $ docker rm -f --volumes 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:40 + ls -al . 04:20:40 total 704 04:20:40 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 04:19 . 04:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:17 .. 04:20:40 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:17 .dockerignore 04:20:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:19 .git 04:20:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:17 .github 04:20:40 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:17 .gitignore 04:20:40 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:17 .golangci.yml 04:20:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:17 .semver 04:20:40 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:17 CHANGELOG.md 04:20:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:17 GOVERNANCE.md 04:20:40 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:17 Jenkinsfile 04:20:40 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:17 LICENSE 04:20:40 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:17 Makefile 04:20:40 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:17 OWNERS.md 04:20:40 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:17 README.md 04:20:40 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:17 VERSION 04:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:17 bin 04:20:40 -rw-r--r-- 1 jenkins jenkins 468088 Nov 11 04:19 coverage.out 04:20:40 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:17 example 04:20:40 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:17 go.mod 04:20:40 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:17 go.sum 04:20:40 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:17 internal 04:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:17 openapi 04:20:40 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:17 pkg 04:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:17 snap 04:20:40 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:40 + 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=fac54c85002fbba0025aa9bf0937156a622a7c44 --label arch=amd64 --label version=0.0.0 . 04:20:40 Sending build context to Docker daemon 26.08MB 04:20:40 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:20:40 Step 2/24 : FROM ${BASE} AS builder 04:20:40 ---> f88be93680ae 04:20:40 Step 3/24 : ARG MAKE=make build 04:20:41 ---> Running in bade951c482e 04:20:41 Removing intermediate container bade951c482e 04:20:41 ---> 4338768c5a82 04:20:41 Step 4/24 : WORKDIR /device-sdk-go 04:20:41 ---> Running in 10268272adce 04:20:41 Removing intermediate container 10268272adce 04:20:41 ---> b5b3e9f53ed7 04:20:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:41 ---> Running in f498482e85fb 04:20:41 Removing intermediate container f498482e85fb 04:20:41 ---> 366c91ac1e18 04:20:41 Step 6/24 : RUN apk add --update --no-cache make git 04:20:41 ---> Running in 2240a73b471f 04:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:20:41 OK: 246 MiB in 54 packages 04:20:42 Removing intermediate container 2240a73b471f 04:20:42 ---> 1dfb6f070087 04:20:42 Step 7/24 : COPY go.mod vendor* ./ 04:20:42 ---> faac309e34bf 04:20:42 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:42 ---> Running in 9c51a87cb437 04:20:42 Removing intermediate container 9c51a87cb437 04:20:42 ---> 4563e3749a5b 04:20:42 Step 9/24 : COPY . . 04:20:43 ---> 8f153c56a323 04:20:43 Step 10/24 : RUN ${MAKE} 04:20:43 ---> Running in 6ca271e8aae4 04:20:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:21:15 Removing intermediate container 6ca271e8aae4 04:21:15 ---> 49e14cd478ee 04:21:15 Step 11/24 : FROM alpine:3.20 04:21:15 3.20: Pulling from library/alpine 04:21:15 43c4264eed91: Already exists 04:21:15 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:21:15 Status: Downloaded newer image for alpine:3.20 04:21:15 ---> 91ef0af61f39 04:21:15 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:15 ---> Running in 80486c791041 04:21:15 Removing intermediate container 80486c791041 04:21:15 ---> 2044bf9028b0 04:21:15 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:21:15 ---> Running in f4f7eef5c71d 04:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:21:16 (1/1) Installing dumb-init (1.2.5-r3) 04:21:16 Executing busybox-1.36.1-r29.trigger 04:21:16 OK: 8 MiB in 15 packages 04:21:17 Removing intermediate container f4f7eef5c71d 04:21:17 ---> c9d17966ab44 04:21:17 Step 14/24 : RUN apk --no-cache upgrade 04:21:17 ---> Running in 952d6a56deeb 04:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:21:17 Upgrading critical system libraries and apk-tools: 04:21:17 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:21:17 Executing busybox-1.36.1-r29.trigger 04:21:17 Continuing the upgrade transaction with new apk-tools: 04:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:21:18 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:21:18 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:21:18 OK: 8 MiB in 15 packages 04:21:18 Removing intermediate container 952d6a56deeb 04:21:18 ---> 8f3e8b245820 04:21:18 Step 15/24 : WORKDIR / 04:21:18 ---> Running in 8b8d025407cc 04:21:18 Removing intermediate container 8b8d025407cc 04:21:18 ---> 5c7ff099730f 04:21:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:18 ---> 3539da5ebe9c 04:21:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:19 ---> e8b391d7eeba 04:21:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:19 ---> 1226c0859c76 04:21:19 Step 19/24 : EXPOSE 59999 04:21:19 ---> Running in 534c80a4d0c7 04:21:19 Removing intermediate container 534c80a4d0c7 04:21:19 ---> 0f554b859416 04:21:19 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:21:19 ---> Running in d16c8d556ae8 04:21:19 Removing intermediate container d16c8d556ae8 04:21:19 ---> 82cdfba8c71e 04:21:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:21:19 ---> Running in 962b60d4de98 04:21:20 Removing intermediate container 962b60d4de98 04:21:20 ---> 8ff628a17186 04:21:20 Step 22/24 : LABEL arch=amd64 04:21:20 ---> Running in b48d11c550e6 04:21:20 Removing intermediate container b48d11c550e6 04:21:20 ---> e3fcdede443d 04:21:20 Step 23/24 : LABEL git_sha=fac54c85002fbba0025aa9bf0937156a622a7c44 04:21:20 ---> Running in 196d73737dd7 04:21:20 Removing intermediate container 196d73737dd7 04:21:20 ---> d234c7e84917 04:21:20 Step 24/24 : LABEL version=0.0.0 04:21:20 ---> Running in 6de41ad3c9dc 04:21:20 Removing intermediate container 6de41ad3c9dc 04:21:20 ---> 527519946e6f 04:21:20 [Warning] One or more build-args [ARCH] were not consumed 04:21:20 Successfully built 527519946e6f 04:21:20 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 04:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:21 04:21:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:21 latest: Pulling from edgex-lftools-log-publisher 04:21:21 5eb5b503b376: Pulling fs layer 04:21:21 5c69ac0246d0: Pulling fs layer 04:21:21 ec43610c2a17: Pulling fs layer 04:21:21 3a2ae6a8a46f: Pulling fs layer 04:21:21 33b1e0a273af: Pulling fs layer 04:21:21 5d3b04190fa2: Pulling fs layer 04:21:21 2f39f015ded8: Pulling fs layer 04:21:21 5d3b04190fa2: Waiting 04:21:21 33b1e0a273af: Waiting 04:21:21 3a2ae6a8a46f: Waiting 04:21:21 5c69ac0246d0: Verifying Checksum 04:21:21 5c69ac0246d0: Download complete 04:21:21 3a2ae6a8a46f: Verifying Checksum 04:21:21 3a2ae6a8a46f: Download complete 04:21:21 33b1e0a273af: Verifying Checksum 04:21:21 33b1e0a273af: Download complete 04:21:21 5d3b04190fa2: Download complete 04:21:21 ec43610c2a17: Verifying Checksum 04:21:21 ec43610c2a17: Download complete 04:21:22 5eb5b503b376: Download complete 04:21:22 2f39f015ded8: Download complete 04:21:23 5eb5b503b376: Pull complete 04:21:23 5c69ac0246d0: Pull complete 04:21:23 ec43610c2a17: Pull complete 04:21:23 3a2ae6a8a46f: Pull complete 04:21:23 33b1e0a273af: Pull complete 04:21:23 5d3b04190fa2: Pull complete 04:21:28 2f39f015ded8: Pull complete 04:21:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:28 prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container 04:21:28 $ 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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@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:latest cat 04:21:32 $ docker top 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:32 ---> job-cost.sh 04:21:32 lf-activate-venv: SKIPPING 04:21:32 INFO: No Stack... 04:21:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:33 INFO: Archiving Costs [Pipeline] sh 04:21:34 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/cost.csv 04:21:34 + cut -d, -f6 [Pipeline] lock 04:21:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] 04:21:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] did not exist. Created. 04:21:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:34 + echo total: 0.2199999988079071 [Pipeline] stash 04:21:34 Stashed 1 file(s) [Pipeline] } 04:21:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:34 $ docker stop --time=1 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c 04:21:35 $ docker rm -f --volumes 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26106 in /w/workspace/gexfoundry_device-sdk-go_PR-1648 [Pipeline] { [Pipeline] ws 04:21:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:21:48 The recommended git tool is: git 04:21:54 using credential edgex-jenkins-ssh 04:21:54 Cloning the remote Git repository 04:21:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:21:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:55 > git --version # timeout=10 04:21:55 > git --version # 'git version 2.25.1' 04:21:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:01 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit fac54c85002fbba0025aa9bf0937156a622a7c44 04:22:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1648/head:refs/remotes/origin/PR-1648 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:22:01 > git config core.sparsecheckout # timeout=10 04:22:01 Merge succeeded, producing fac54c85002fbba0025aa9bf0937156a622a7c44 04:22:01 Checking out Revision fac54c85002fbba0025aa9bf0937156a622a7c44 (PR-1648) 04:22:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" 04:22:02 > git --version # timeout=10 04:22:02 > git --version # 'git version 2.25.1' 04:22:02 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:22:01 > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 04:22:01 > git remote # timeout=10 04:22:01 > git config --get remote.origin.url # timeout=10 04:22:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:01 > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 04:22:01 > git rev-parse HEAD^{commit} # timeout=10 04:22:01 > git config core.sparsecheckout # timeout=10 04:22:01 > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:08 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:08 Dload Upload Total Spent Left Speed 04:22:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 04:22:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:08 + sudo tee /etc/docker/daemon.new 04:22:08 { 04:22:08 "registry-mirrors": [ 04:22:08 "https://nexus3.edgexfoundry.org:10001" 04:22:08 ], 04:22:08 "bip": "10.250.0.254/24", 04:22:08 "hosts": [ 04:22:08 "tcp://0.0.0.0:5555", 04:22:08 "unix:///var/run/docker.sock" 04:22:08 ], 04:22:08 "mtu": 1458, 04:22:08 "selinux-enabled": true, 04:22:08 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:08 } [Pipeline] sh 04:22:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:27 provisioning config files... 04:22:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8046956899716119224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:28 ---> ****-login.sh 04:22:28 nexus3.edgexfoundry.org:10001 04:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:29 Configure a credential helper to remove this warning. See 04:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:29 04:22:29 Login Succeeded 04:22:29 nexus3.edgexfoundry.org:10002 04:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:29 Configure a credential helper to remove this warning. See 04:22:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:29 04:22:29 Login Succeeded 04:22:29 nexus3.edgexfoundry.org:10003 04:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:30 Configure a credential helper to remove this warning. See 04:22:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:30 04:22:30 Login Succeeded 04:22:30 nexus3.edgexfoundry.org:10004 04:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:30 Configure a credential helper to remove this warning. See 04:22:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:30 04:22:30 Login Succeeded 04:22:30 ****.io 04:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:30 Configure a credential helper to remove this warning. See 04:22:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:30 04:22:30 Login Succeeded 04:22:30 ---> ****-login.sh ends [Pipeline] } 04:22:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:31 ========================================================= 04:22:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:22:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + 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 . 04:22:32 Sending build context to Docker daemon 13.27MB 04:22:32 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:22:32 Step 2/10 : FROM ${BASE} AS builder 04:22:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:22:33 cf04c63912e1: Pulling fs layer 04:22:33 55b35a11ae5e: Pulling fs layer 04:22:33 a37a00ec5f00: Pulling fs layer 04:22:33 50b3750afda1: Pulling fs layer 04:22:33 4f4fb700ef54: Pulling fs layer 04:22:33 50b3750afda1: Waiting 04:22:33 4f4fb700ef54: Waiting 04:22:33 80978eb59214: Pulling fs layer 04:22:33 c9f46d7d2bd2: Pulling fs layer 04:22:33 c5a475d317c9: Pulling fs layer 04:22:33 80978eb59214: Waiting 04:22:33 c9f46d7d2bd2: Waiting 04:22:33 c5a475d317c9: Waiting 04:22:33 55b35a11ae5e: Verifying Checksum 04:22:33 55b35a11ae5e: Download complete 04:22:33 50b3750afda1: Verifying Checksum 04:22:33 50b3750afda1: Download complete 04:22:33 4f4fb700ef54: Verifying Checksum 04:22:33 4f4fb700ef54: Download complete 04:22:33 80978eb59214: Verifying Checksum 04:22:33 80978eb59214: Download complete 04:22:33 cf04c63912e1: Verifying Checksum 04:22:33 cf04c63912e1: Download complete 04:22:34 c5a475d317c9: Verifying Checksum 04:22:34 c5a475d317c9: Download complete 04:22:35 cf04c63912e1: Pull complete 04:22:35 55b35a11ae5e: Pull complete 04:22:35 a37a00ec5f00: Verifying Checksum 04:22:35 a37a00ec5f00: Download complete 04:22:36 c9f46d7d2bd2: Verifying Checksum 04:22:36 c9f46d7d2bd2: Download complete 04:22:51 a37a00ec5f00: Pull complete 04:22:51 50b3750afda1: Pull complete 04:22:51 4f4fb700ef54: Pull complete 04:22:51 80978eb59214: Pull complete 04:22:59 c9f46d7d2bd2: Pull complete 04:23:00 c5a475d317c9: Pull complete 04:23:00 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:23:00 ---> be29e6b0f0d4 04:23:00 Step 3/10 : ARG MAKE=make build 04:23:01 ---> Running in 7effca715635 04:23:02 Removing intermediate container 7effca715635 04:23:02 ---> 4e03da1672c3 04:23:02 Step 4/10 : WORKDIR /device-sdk-go 04:23:02 ---> Running in 27799935fd3f 04:23:02 Removing intermediate container 27799935fd3f 04:23:02 ---> 0f8a7e677916 04:23:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:23:02 ---> Running in 8117faca0fa2 04:23:03 Removing intermediate container 8117faca0fa2 04:23:03 ---> aa12dabd6682 04:23:03 Step 6/10 : RUN apk add --update --no-cache make git 04:23:03 ---> Running in e59d9d03bbbb 04:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:23:06 OK: 238 MiB in 54 packages 04:23:07 Removing intermediate container e59d9d03bbbb 04:23:07 ---> 7b8889a7673f 04:23:07 Step 7/10 : COPY go.mod vendor* ./ 04:23:08 ---> e028e42cf1a0 04:23:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:08 ---> Running in f8667e279421 04:25:15 Removing intermediate container f8667e279421 04:25:15 ---> d9654d2a8f45 04:25:15 Step 9/10 : COPY . . 04:25:15 ---> 1754652765ff 04:25:15 Step 10/10 : RUN ${MAKE} 04:25:15 ---> Running in 81fc268e1da1 04:25:15 noop 04:25:15 Removing intermediate container 81fc268e1da1 04:25:15 ---> 65d29546b7b7 04:25:15 Successfully built 65d29546b7b7 04:25:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:15 + docker inspect -f . ci-base-image-arm64 04:25:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:16 prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container 04:25:16 $ 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 04:25:17 $ docker top 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:18 + go version 04:25:18 go version go1.23.2 linux/arm64 [Pipeline] } 04:25:18 $ docker stop --time=1 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f 04:25:20 $ docker rm -f --volumes 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:21 + docker inspect -f . ci-base-image-arm64 04:25:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:21 prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container 04:25:21 $ 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 04:25:22 $ docker top b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:25:24 + make test 04:25:24 go test -race -coverprofile=coverage.out ./... 04:26:32 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:30:09 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:30:09 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:30:09 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:30:09 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:30:09 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:30:24 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.178s coverage: 28.7% of statements 04:30:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.180s coverage: 79.4% of statements 04:30:39 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:30:39 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:30:40 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.300s coverage: 86.0% of statements 04:30:52 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:30:53 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.662s coverage: 45.2% of statements 04:30:55 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.294s coverage: 14.1% of statements 04:30:55 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.356s coverage: 44.6% of statements 04:31:01 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:31:01 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:31:01 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:31:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.450s coverage: 68.4% of statements 04:31:08 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.358s coverage: 88.3% of statements 04:31:15 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:31:15 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.301s coverage: 5.3% of statements 04:31:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:31:16 GO111MODULE=on go vet ./... 04:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:23 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:35:23 $ docker stop --time=1 b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 04:35:26 $ docker rm -f --volumes b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:28 Warning: overwriting stash ‘coverage-report’ 04:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:30 + ls -al . 04:35:30 total 700 04:35:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:25 . 04:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:21 .. 04:35:30 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:22 .dockerignore 04:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:22 .git 04:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:22 .github 04:35:30 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:22 .gitignore 04:35:30 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:22 .golangci.yml 04:35:30 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:22 CHANGELOG.md 04:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:22 GOVERNANCE.md 04:35:30 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:22 Jenkinsfile 04:35:30 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:22 LICENSE 04:35:30 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:22 Makefile 04:35:30 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:22 OWNERS.md 04:35:30 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:22 README.md 04:35:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:17 VERSION 04:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:22 bin 04:35:30 -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 04:31 coverage.out 04:35:30 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:22 example 04:35:30 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:22 go.mod 04:35:30 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:22 go.sum 04:35:30 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:22 internal 04:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:22 openapi 04:35:30 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:22 pkg 04:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:22 snap 04:35:30 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:31 + 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=fac54c85002fbba0025aa9bf0937156a622a7c44 --label arch=arm64 --label version=0.0.0 . 04:35:31 Sending build context to Docker daemon 13.74MB 04:35:31 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:35:31 Step 2/24 : FROM ${BASE} AS builder 04:35:31 ---> 65d29546b7b7 04:35:31 Step 3/24 : ARG MAKE=make build 04:35:32 ---> Running in 16d9195a08b0 04:35:32 Removing intermediate container 16d9195a08b0 04:35:32 ---> 95a5b8a42b23 04:35:32 Step 4/24 : WORKDIR /device-sdk-go 04:35:32 ---> Running in c78a42891101 04:35:33 Removing intermediate container c78a42891101 04:35:33 ---> 7390b25d7cba 04:35:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:35:33 ---> Running in d30ec93b92a1 04:35:33 Removing intermediate container d30ec93b92a1 04:35:33 ---> 35562576953e 04:35:33 Step 6/24 : RUN apk add --update --no-cache make git 04:35:33 ---> Running in 186bb2e24ecf 04:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:35:36 OK: 238 MiB in 54 packages 04:35:37 Removing intermediate container 186bb2e24ecf 04:35:37 ---> 5b51367efde6 04:35:37 Step 7/24 : COPY go.mod vendor* ./ 04:35:38 ---> 347ae420d255 04:35:38 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:38 ---> Running in ba5774ad0bf4 04:35:41 Removing intermediate container ba5774ad0bf4 04:35:41 ---> bc7805f08edd 04:35:41 Step 9/24 : COPY . . 04:35:42 ---> e647524e818b 04:35:42 Step 10/24 : RUN ${MAKE} 04:35:42 ---> Running in 4cb80adee361 04:35:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:39:35 Removing intermediate container 4cb80adee361 04:39:35 ---> 3a41641a8c93 04:39:35 Step 11/24 : FROM alpine:3.20 04:39:35 3.20: Pulling from library/alpine 04:39:35 cf04c63912e1: Already exists 04:39:35 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:39:35 Status: Downloaded newer image for alpine:3.20 04:39:35 ---> c157a85ed455 04:39:35 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:39:35 ---> Running in 87259f9b321d 04:39:35 Removing intermediate container 87259f9b321d 04:39:35 ---> 846c11bea8ec 04:39:35 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:39:35 ---> Running in cf43419ff864 04:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:39:35 (1/1) Installing dumb-init (1.2.5-r3) 04:39:35 Executing busybox-1.36.1-r29.trigger 04:39:35 OK: 9 MiB in 15 packages 04:39:35 Removing intermediate container cf43419ff864 04:39:35 ---> ef60b2fec1ae 04:39:35 Step 14/24 : RUN apk --no-cache upgrade 04:39:35 ---> Running in e072cabc4018 04:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:39:37 Upgrading critical system libraries and apk-tools: 04:39:37 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:39:37 Executing busybox-1.36.1-r29.trigger 04:39:37 Continuing the upgrade transaction with new apk-tools: 04:39:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:39:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:39:39 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:39:39 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:39:39 OK: 9 MiB in 15 packages 04:39:40 Removing intermediate container e072cabc4018 04:39:40 ---> dee63a9916a4 04:39:40 Step 15/24 : WORKDIR / 04:39:40 ---> Running in ff3491780259 04:39:40 Removing intermediate container ff3491780259 04:39:40 ---> 154df1b227d6 04:39:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:39:41 ---> 6ca780bed2a5 04:39:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:39:44 ---> 5b09ad86e968 04:39:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:39:44 ---> 22d370c178d9 04:39:44 Step 19/24 : EXPOSE 59999 04:39:44 ---> Running in dcbde826f8e8 04:39:45 Removing intermediate container dcbde826f8e8 04:39:45 ---> d80059f0f106 04:39:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:39:45 ---> Running in dacb886c9fca 04:39:45 Removing intermediate container dacb886c9fca 04:39:45 ---> b02de5d34e6d 04:39:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:39:45 ---> Running in dab7b1638b25 04:39:45 Removing intermediate container dab7b1638b25 04:39:45 ---> 5160e28c46f5 04:39:45 Step 22/24 : LABEL arch=arm64 04:39:45 ---> Running in dcbe056c99be 04:39:46 Removing intermediate container dcbe056c99be 04:39:46 ---> f0abb8792fec 04:39:46 Step 23/24 : LABEL git_sha=fac54c85002fbba0025aa9bf0937156a622a7c44 04:39:46 ---> Running in 8f1ab634de60 04:39:46 Removing intermediate container 8f1ab634de60 04:39:46 ---> a1c199925018 04:39:46 Step 24/24 : LABEL version=0.0.0 04:39:46 ---> Running in 971b4744cabb 04:39:47 Removing intermediate container 971b4744cabb 04:39:47 ---> c1cf7869e700 04:39:47 [Warning] One or more build-args [ARCH] were not consumed 04:39:47 Successfully built c1cf7869e700 04:39:47 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 04:39:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:39:48 04:39:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:39:48 arm64: Pulling from edgex-lftools-log-publisher 04:39:48 8998bd30e6a1: Pulling fs layer 04:39:48 04944245beec: Pulling fs layer 04:39:48 699f458cf7ca: Pulling fs layer 04:39:48 765212b225bb: Pulling fs layer 04:39:48 f23df028b6ca: Pulling fs layer 04:39:48 d65c8cfc05b1: Pulling fs layer 04:39:48 2437ff75d9bd: Pulling fs layer 04:39:48 f23df028b6ca: Waiting 04:39:48 765212b225bb: Waiting 04:39:48 d65c8cfc05b1: Waiting 04:39:48 2437ff75d9bd: Waiting 04:39:49 04944245beec: Verifying Checksum 04:39:49 04944245beec: Download complete 04:39:49 765212b225bb: Verifying Checksum 04:39:49 765212b225bb: Download complete 04:39:49 f23df028b6ca: Verifying Checksum 04:39:49 f23df028b6ca: Download complete 04:39:49 d65c8cfc05b1: Verifying Checksum 04:39:49 d65c8cfc05b1: Download complete 04:39:49 699f458cf7ca: Verifying Checksum 04:39:49 699f458cf7ca: Download complete 04:39:49 8998bd30e6a1: Verifying Checksum 04:39:49 8998bd30e6a1: Download complete 04:39:52 2437ff75d9bd: Verifying Checksum 04:39:52 2437ff75d9bd: Download complete 04:39:55 8998bd30e6a1: Pull complete 04:39:55 04944245beec: Pull complete 04:39:56 699f458cf7ca: Pull complete 04:39:57 765212b225bb: Pull complete 04:39:58 f23df028b6ca: Pull complete 04:39:58 d65c8cfc05b1: Pull complete 04:40:13 2437ff75d9bd: Pull complete 04:40:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:13 prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container 04:40:13 $ 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 04:40:16 $ docker top 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:17 ---> job-cost.sh 04:40:17 lf-activate-venv: SKIPPING 04:40:17 INFO: No Stack... 04:40:17 INFO: Retrieving Pricing Info for: v3-standard-4 04:40:18 INFO: Archiving Costs [Pipeline] sh 04:40:19 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:40:19 + cut -d, -f6 [Pipeline] lock 04:40:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] 04:40:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] did not exist. Created. 04:40:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:20 /w/workspace/device-sdk-go/1@tmp/durable-7d8d3d39/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:40:21 + echo total: 0.10999999940395355 [Pipeline] stash 04:40:21 Warning: overwriting stash ‘stack-cost’ 04:40:21 Stashed 1 file(s) [Pipeline] } 04:40:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:40:21 $ docker stop --time=1 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb 04:40:22 $ docker rm -f --volumes 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb [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 04:40:23 provisioning config files... 04:40:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config8126527135276338932tmp [Pipeline] { [Pipeline] sh 04:40:24 + set +x 04:40:24 + bash -s -- 04:40:24 + curl -s https://codecov.io/bash 04:40:24 04:40:24 _____ _ 04:40:24 / ____| | | 04:40:24 | | ___ __| | ___ ___ _____ __ 04:40:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:40:24 | |___| (_) | (_| | __/ (_| (_) \ V / 04:40:24 \_____\___/ \__,_|\___|\___\___/ \_/ 04:40:24 Bash-1.0.6 04:40:24 04:40:24 04:40:24 ==> git version 2.25.1 found 04:40:24 ==> 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 04:40:24 Release-Date: 2020-01-08 04:40:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:40:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:40:24 ==> Jenkins CI detected. 04:40:24 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1648 04:40:24 project root: . 04:40:24 --> token set from env 04:40:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:40:24 ==> Running gcov in . (disable via -X gcov) 04:40:24 ==> Python coveragepy not found 04:40:24 ==> Searching for coverage reports in: 04:40:24 + . 04:40:24 -> Found 1 reports 04:40:24 ==> Detecting git/mercurial file structure 04:40:24 ==> Reading reports 04:40:24 + ./coverage.out bytes=468087 04:40:24 ==> Appending adjustments 04:40:24 https://docs.codecov.io/docs/fixing-reports 04:40:24 + Found adjustments 04:40:24 ==> Gzipping contents 04:40:24 44K /tmp/codecov.3D5dO7.gz 04:40:24 ==> Uploading reports 04:40:24 url: https://codecov.io 04:40:24 query: branch=PR-1648&commit=fac54c85002fbba0025aa9bf0937156a622a7c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1648&job=&cmd_args= 04:40:24 -> Pinging Codecov 04:40:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1648&commit=fac54c85002fbba0025aa9bf0937156a622a7c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1648&job=&cmd_args= 04:40:25 -> Uploading to 04:40:25 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/fac54c85002fbba0025aa9bf0937156a622a7c44/4b058ee6-2ece-4e1c-8204-ee5ab0fcc1dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T044024Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a199722aaa2bfeb1e9eb97bc0ce0d31c118007ffe159308f5dd77dd551aeaf9f 04:40:25 % Total % Received % Xferd Average Speed Time Time Time Current 04:40:25 Dload Upload Total Spent Left Speed 04:40:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44815 0 0 100 44815 0 152k --:--:-- --:--:-- --:--:-- 152k 04:40:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] } 04:40:25 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 04:40:27 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives ] 04:40:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives 04:40:27 total 16 04:40:27 drwxr-xr-x 3 root root 4096 Nov 11 04:21 . 04:40:27 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:21 .. 04:40:27 drwxr-xr-x 2 root root 4096 Nov 11 04:21 cost 04:40:27 -rw-r--r-- 1 root root 86 Nov 11 04:21 cost.csv 04:40:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives 04:40:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives 04:40:27 total 16 04:40:27 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:21 . 04:40:27 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:21 .. 04:40:27 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:21 cost 04:40:27 -rw-r--r-- 1 jenkins jenkins 86 Nov 11 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:40:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:40:28 ---> package-listing.sh 04:40:28 ++ tr '[:upper:]' '[:lower:]' 04:40:28 ++ facter osfamily 04:40:29 + OS_FAMILY=debian 04:40:29 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1648 04:40:29 + START_PACKAGES=/tmp/packages_start.txt 04:40:29 + END_PACKAGES=/tmp/packages_end.txt 04:40:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:40:29 + PACKAGES=/tmp/packages_start.txt 04:40:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1648 ']' 04:40:29 + PACKAGES=/tmp/packages_end.txt 04:40:29 + case "${OS_FAMILY}" in 04:40:29 + dpkg -l 04:40:29 + grep '^ii' 04:40:29 + '[' -f /tmp/packages_start.txt ']' 04:40:29 + '[' -f /tmp/packages_end.txt ']' 04:40:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:40:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1648 ']' 04:40:29 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/ 04:40:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/ [Pipeline] echo 04:40:29 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-1648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:40:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:40:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:30 prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container 04:40:30 $ 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-1648/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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@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 04:40:30 $ docker top 4304ed8190abd3098f1d91f11fa51c3594ad0bbf3fd9a6c95d6369729b0f7656 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:40:31 + mkdir -p /var/log/sysstat [Pipeline] sh 04:40:31 + ls /var/log/sa-host 04:40:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:32 provisioning config files... 04:40:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config544035272514896925tmp [Pipeline] { [Pipeline] echo 04:40:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:40:32 ---> create-netrc.sh [Pipeline] } 04:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:40:33 ---> python-tools-install.sh [Pipeline] echo 04:40:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:40:33 ---> sudo-logs.sh 04:40:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:40:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:40:33 ---> job-cost.sh 04:40:33 lf-activate-venv: SKIPPING 04:40:33 DEBUG: total: 0.2199999988079071 04:40:33 INFO: Retrieving Stack Cost... 04:40:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:40:34 INFO: Archiving Costs [Pipeline] echo 04:40:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:40:34 ---> logs-deploy.sh 04:40:34 lf-activate-venv: SKIPPING 04:40:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1648/1 04:40:34 INFO: archiving workspace using pattern(s): 04:40:35 Archives upload complete. 04:40:35 INFO: archiving logs to Nexus