Pull request #1647 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e397c3164c0f326d303eef9738a37ea5cdc1d78+7f77e0e62202159fe6913cf9abaefab1a89f7492 (c2f778e9c626f72b275023b3f7723edbcc110842) 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-ssh3518782287639127356.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-ssh5419044659153868967.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-1647/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-1647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8321367190797090890.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-1647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9300881178680464460.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-ssh17011705328231499151.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-1647/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-1647/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13594747716825100310.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-25866 in /w/workspace/gexfoundry_device-sdk-go_PR-1647 [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-1647 # 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/1647/head:refs/remotes/origin/PR-1647 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit 6e397c3164c0f326d303eef9738a37ea5cdc1d78 Merge succeeded, producing 6e397c3164c0f326d303eef9738a37ea5cdc1d78 Checking out Revision 6e397c3164c0f326d303eef9738a37ea5cdc1d78 (PR-1647) 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 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # 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 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:49:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:49:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:49:57 ========================================================= 04:49:57 EdgeX Global Pipelines Version Info 04:49:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:49:58 ------------------- 04:49:58 stable info: 04:49:58 ------------------- 04:49:58 Commited By: Ginny Guan ginny@iotechsys.com 04:49:58 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:49:58 Message: update stable to v1.0.265 04:49:59 ------------------- 04:49:59 experimental info: 04:49:59 ------------------- 04:49:59 Commited By: Cherry Wang cherry@iotechsys.com 04:49:59 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:49:59 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1647 [Pipeline] echo 04:50:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1647 [Pipeline] echo 04:50:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1647 [Pipeline] echo 04:50:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo 04:50:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e397c3 [Pipeline] echo 04:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:01 provisioning config files... 04:50:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config12174358360881387066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:01 ---> ****-login.sh 04:50:01 nexus3.edgexfoundry.org:10001 04:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:02 Configure a credential helper to remove this warning. See 04:50:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:02 04:50:02 Login Succeeded 04:50:02 nexus3.edgexfoundry.org:10002 04:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:02 Configure a credential helper to remove this warning. See 04:50:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:02 04:50:02 Login Succeeded 04:50:02 nexus3.edgexfoundry.org:10003 04:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:02 Configure a credential helper to remove this warning. See 04:50:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:02 04:50:02 Login Succeeded 04:50:02 nexus3.edgexfoundry.org:10004 04:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:02 Configure a credential helper to remove this warning. See 04:50:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:02 04:50:02 Login Succeeded 04:50:02 ****.io 04:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:02 Configure a credential helper to remove this warning. See 04:50:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:02 04:50:02 Login Succeeded 04:50:02 ---> ****-login.sh ends [Pipeline] } 04:50:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:50:03 + git rev-list -1 --merges 6e397c3164c0f326d303eef9738a37ea5cdc1d78~1..6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo 04:50:03 -----------> git rev-list -1 --merges 6e397c3164c0f326d303eef9738a37ea5cdc1d78~1..6e397c3164c0f326d303eef9738a37ea5cdc1d78 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [false] [Pipeline] sh 04:50:03 + git log --format=format:%s -1 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo 04:50:03 ========================================================= 04:50:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:50:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:04 + git log --format=format:%s -1 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo 04:50:04 [semverPrep] GIT_COMMIT: 6e397c3164c0f326d303eef9738a37ea5cdc1d78, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo 04:50:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:50:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:50:04 + grep -v github /etc/ssh/ssh_known_hosts 04:50:04 + [ -e /tmp/ssh_known_hosts ] 04:50:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:50:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:50:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:50:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:05 04:50:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:50:05 b85a868b505f: Pulling fs layer 04:50:05 e2be974225ed: Pulling fs layer 04:50:05 339a4e72a1f5: Pulling fs layer 04:50:05 988bab9f4d93: Pulling fs layer 04:50:05 1469e6f7b9e6: Pulling fs layer 04:50:05 eaf3925da568: Pulling fs layer 04:50:05 bab4dde63d76: Pulling fs layer 04:50:05 bde34c3a00c8: Pulling fs layer 04:50:05 b352a97aabf1: Pulling fs layer 04:50:05 4872d77fe225: Pulling fs layer 04:50:05 5851b861e8e6: Pulling fs layer 04:50:05 eaf3925da568: Waiting 04:50:05 bab4dde63d76: Waiting 04:50:05 988bab9f4d93: Waiting 04:50:05 5851b861e8e6: Waiting 04:50:05 bde34c3a00c8: Waiting 04:50:05 4872d77fe225: Waiting 04:50:05 b352a97aabf1: Waiting 04:50:05 1469e6f7b9e6: Waiting 04:50:05 e2be974225ed: Verifying Checksum 04:50:05 e2be974225ed: Download complete 04:50:05 988bab9f4d93: Verifying Checksum 04:50:05 988bab9f4d93: Download complete 04:50:05 339a4e72a1f5: Verifying Checksum 04:50:05 339a4e72a1f5: Download complete 04:50:05 1469e6f7b9e6: Verifying Checksum 04:50:05 1469e6f7b9e6: Download complete 04:50:05 eaf3925da568: Download complete 04:50:05 bde34c3a00c8: Verifying Checksum 04:50:05 bde34c3a00c8: Download complete 04:50:05 b352a97aabf1: Verifying Checksum 04:50:05 b352a97aabf1: Download complete 04:50:05 4872d77fe225: Download complete 04:50:05 5851b861e8e6: Download complete 04:50:05 b85a868b505f: Verifying Checksum 04:50:05 b85a868b505f: Download complete 04:50:06 bab4dde63d76: Verifying Checksum 04:50:06 bab4dde63d76: Download complete 04:50:07 b85a868b505f: Pull complete 04:50:07 e2be974225ed: Pull complete 04:50:07 339a4e72a1f5: Pull complete 04:50:07 988bab9f4d93: Pull complete 04:50:08 1469e6f7b9e6: Pull complete 04:50:08 eaf3925da568: Pull complete 04:50:10 bab4dde63d76: Pull complete 04:50:10 bde34c3a00c8: Pull complete 04:50:10 b352a97aabf1: Pull complete 04:50:10 4872d77fe225: Pull complete 04:50:10 5851b861e8e6: Pull complete 04:50:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:50:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:10 prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container 04:50:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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:50:13 $ docker top e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 -eo pid,comm 04:50:14 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:50:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:50:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:14 [ssh-agent] Looking for ssh-agent implementation... 04:50:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:14 $ docker exec e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent 04:50:14 SSH_AUTH_SOCK=/tmp/ssh-dujto5hgm4Uw/agent.34 04:50:14 SSH_AGENT_PID=40 04:50:14 Running ssh-add (command line suppressed) 04:50:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_8859792100684348285.key (/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_8859792100684348285.key) 04:50:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:14 + git tag --points-at HEAD [Pipeline] } 04:50:14 $ docker exec --env ******** --env ******** e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent -k 04:50:15 unset SSH_AUTH_SOCK; 04:50:15 unset SSH_AGENT_PID; 04:50:15 echo Agent pid 40 killed; 04:50:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:50:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:15 [ssh-agent] Looking for ssh-agent implementation... 04:50:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:15 $ docker exec e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent 04:50:15 SSH_AUTH_SOCK=/tmp/ssh-eDpgnxjj3F2m/agent.73 04:50:15 SSH_AGENT_PID=79 04:50:15 Running ssh-add (command line suppressed) 04:50:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_10317909862185300063.key (/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_10317909862185300063.key) 04:50:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:15 + git semver init 04:50:16 2024-11-08 04:50:16,029 [run_init] DEBUG init version:0.0.0 force:False 04:50:16 2024-11-08 04:50:16,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver 04:50:16 2024-11-08 04:50:16,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver 04:50:16 2024-11-08 04:50:16,031 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647, universal_newlines=False, shell=None, istream=None) 04:50:18 2024-11-08 04:50:18,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.git/info/exclude 04:50:18 2024-11-08 04:50:18,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 with force:False 04:50:18 2024-11-08 04:50:18,190 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 04:50:18 2024-11-08 04:50:18,195 [execute] INFO git cat-file --batch-check 04:50:18 2024-11-08 04:50:18,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver, universal_newlines=False, shell=None, istream=) 04:50:18 2024-11-08 04:50:18,200 [execute] INFO git cat-file --batch 04:50:18 2024-11-08 04:50:18,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver, universal_newlines=False, shell=None, istream=) 04:50:18 2024-11-08 04:50:18,204 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 04:50:18 0.0.0 [Pipeline] } 04:50:18 $ docker exec --env ******** --env ******** e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent -k 04:50:18 unset SSH_AUTH_SOCK; 04:50:18 unset SSH_AGENT_PID; 04:50:18 echo Agent pid 79 killed; 04:50:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:50:19 + git semver [Pipeline] } 04:50:19 $ docker stop --time=1 e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 04:50:20 $ docker rm -f --volumes e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 [Pipeline] // withDockerContainer [Pipeline] sh 04:50:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:50:21 Stashed 1 file(s) [Pipeline] echo 04:50:21 [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:50:22 provisioning config files... 04:50:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config5376438762776459013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:22 ---> ****-login.sh 04:50:22 nexus3.edgexfoundry.org:10001 04:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:22 Configure a credential helper to remove this warning. See 04:50:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:22 04:50:22 Login Succeeded 04:50:22 nexus3.edgexfoundry.org:10002 04:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:22 Configure a credential helper to remove this warning. See 04:50:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:22 04:50:22 Login Succeeded 04:50:22 nexus3.edgexfoundry.org:10003 04:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:22 Configure a credential helper to remove this warning. See 04:50:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:22 04:50:22 Login Succeeded 04:50:22 nexus3.edgexfoundry.org:10004 04:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:22 Configure a credential helper to remove this warning. See 04:50:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:22 04:50:22 Login Succeeded 04:50:22 ****.io 04:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:23 Configure a credential helper to remove this warning. See 04:50:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:23 04:50:23 Login Succeeded 04:50:23 ---> ****-login.sh ends [Pipeline] } 04:50:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:50:23 ========================================================= 04:50:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:50:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:24 + 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:50:24 Sending build context to Docker daemon 25.6MB 04:50:24 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:50:24 Step 2/10 : FROM ${BASE} AS builder 04:50:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:50:24 43c4264eed91: Pulling fs layer 04:50:24 4cc291be95ef: Pulling fs layer 04:50:24 2ac1f1163629: Pulling fs layer 04:50:24 5c3c966382ef: Pulling fs layer 04:50:24 4f4fb700ef54: Pulling fs layer 04:50:24 5d5c8e513c77: Pulling fs layer 04:50:24 9f66e0745190: Pulling fs layer 04:50:24 f49a43e4bbc0: Pulling fs layer 04:50:24 561ebcabdf7f: Pulling fs layer 04:50:24 5c3c966382ef: Waiting 04:50:24 4f4fb700ef54: Waiting 04:50:24 5d5c8e513c77: Waiting 04:50:24 9f66e0745190: Waiting 04:50:24 f49a43e4bbc0: Waiting 04:50:24 561ebcabdf7f: Waiting 04:50:24 4cc291be95ef: Verifying Checksum 04:50:24 4cc291be95ef: Download complete 04:50:24 4f4fb700ef54: Verifying Checksum 04:50:24 4f4fb700ef54: Download complete 04:50:24 5d5c8e513c77: Verifying Checksum 04:50:24 5d5c8e513c77: Download complete 04:50:24 43c4264eed91: Verifying Checksum 04:50:24 43c4264eed91: Download complete 04:50:24 9f66e0745190: Verifying Checksum 04:50:24 9f66e0745190: Download complete 04:50:24 43c4264eed91: Pull complete 04:50:24 561ebcabdf7f: Download complete 04:50:24 4cc291be95ef: Pull complete 04:50:24 2ac1f1163629: Verifying Checksum 04:50:24 2ac1f1163629: Download complete 04:50:25 f49a43e4bbc0: Verifying Checksum 04:50:25 f49a43e4bbc0: Download complete 04:50:28 2ac1f1163629: Pull complete 04:50:28 5c3c966382ef: Pull complete 04:50:28 4f4fb700ef54: Pull complete 04:50:28 5d5c8e513c77: Pull complete 04:50:28 9f66e0745190: Pull complete 04:50:30 f49a43e4bbc0: Pull complete 04:50:31 561ebcabdf7f: Pull complete 04:50:31 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:50:31 ---> 3a752c3f9dda 04:50:31 Step 3/10 : ARG MAKE=make build 04:50:35 ---> Running in 40115aee2ec5 04:50:35 Removing intermediate container 40115aee2ec5 04:50:35 ---> f45d8a220232 04:50:35 Step 4/10 : WORKDIR /device-sdk-go 04:50:35 ---> Running in df258ddcd024 04:50:35 Removing intermediate container df258ddcd024 04:50:35 ---> 9b364fc8b371 04:50:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:50:35 ---> Running in efb31ce9ca01 04:50:35 Removing intermediate container efb31ce9ca01 04:50:35 ---> 6635733b37e0 04:50:35 Step 6/10 : RUN apk add --update --no-cache make git 04:50:35 ---> Running in b79bb1cbb5ac 04:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:50:36 OK: 246 MiB in 54 packages 04:50:36 Removing intermediate container b79bb1cbb5ac 04:50:36 ---> 449f11b88c86 04:50:36 Step 7/10 : COPY go.mod vendor* ./ 04:50:36 ---> b03be6ede9da 04:50:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:36 ---> Running in e7508ba850b6 04:50:37 Still waiting to schedule task 04:50:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:51:23 Removing intermediate container e7508ba850b6 04:51:23 ---> 11b096b49606 04:51:23 Step 9/10 : COPY . . 04:51:23 ---> 3c004c0cbe11 04:51:23 Step 10/10 : RUN ${MAKE} 04:51:23 ---> Running in 1f6fa29d70dc 04:51:23 noop 04:51:23 Removing intermediate container 1f6fa29d70dc 04:51:23 ---> 56160613c927 04:51:23 Successfully built 56160613c927 04:51:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:24 + docker inspect -f . ci-base-image-x86_64 04:51:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:24 prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container 04:51:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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:51:24 $ docker top f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:24 + go version 04:51:24 go version go1.23.2 linux/amd64 [Pipeline] } 04:51:25 $ docker stop --time=1 f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 04:51:26 $ docker rm -f --volumes f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:27 + docker inspect -f . ci-base-image-x86_64 04:51:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:27 prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container 04:51:27 $ 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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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:51:27 $ docker top 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1647 [Pipeline] fileExists [Pipeline] sh 04:51:28 + make test 04:51:28 go test -race -coverprofile=coverage.out ./... 04:51:36 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:52:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.041s coverage: 28.7% of statements 04:52:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.035s coverage: 79.4% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:52:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.048s coverage: 86.0% of statements 04:52:15 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:52:15 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:52:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.085s coverage: 45.2% of statements 04:52:16 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:52:18 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.043s coverage: 14.1% of statements 04:52:18 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.882s coverage: 44.6% of statements 04:52:18 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.054s coverage: 68.4% of statements 04:52:18 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.082s coverage: 88.3% of statements 04:52:18 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.057s coverage: 5.3% of statements 04:52:50 GO111MODULE=on go vet ./... 04:52:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:52:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:52:57 ./bin/test-attribution-txt.sh [Pipeline] echo 04:52:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:52:57 $ docker stop --time=1 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f 04:53:01 $ docker rm -f --volumes 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f [Pipeline] // withDockerContainer [Pipeline] sh 04:53:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:53:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:53:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:53:02 + ls -al . 04:53:02 total 704 04:53:02 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 04:51 . 04:53:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:49 .. 04:53:02 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:49 .dockerignore 04:53:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:52 .git 04:53:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:49 .github 04:53:02 -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:49 .gitignore 04:53:02 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 04:49 .golangci.yml 04:53:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:50 .semver 04:53:02 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:49 CHANGELOG.md 04:53:02 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:49 GOVERNANCE.md 04:53:02 -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 04:49 Jenkinsfile 04:53:02 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:49 LICENSE 04:53:02 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 04:49 Makefile 04:53:02 -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:49 OWNERS.md 04:53:02 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 04:49 README.md 04:53:02 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:50 VERSION 04:53:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:49 bin 04:53:02 -rw-r--r-- 1 jenkins jenkins 468089 Nov 8 04:52 coverage.out 04:53:02 drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:49 example 04:53:02 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 8 04:49 go.mod 04:53:02 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 8 04:49 go.sum 04:53:02 drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 04:49 internal 04:53:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:49 openapi 04:53:02 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:49 pkg 04:53:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:49 snap 04:53:02 -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:03 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 --label arch=amd64 --label version=0.0.0 . 04:53:03 Sending build context to Docker daemon 26.07MB 04:53:03 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:53:03 Step 2/24 : FROM ${BASE} AS builder 04:53:03 ---> 56160613c927 04:53:03 Step 3/24 : ARG MAKE=make build 04:53:03 ---> Running in 7092d4da1fd3 04:53:03 Removing intermediate container 7092d4da1fd3 04:53:03 ---> 9ca14323d477 04:53:03 Step 4/24 : WORKDIR /device-sdk-go 04:53:03 ---> Running in a4562820d07e 04:53:03 Removing intermediate container a4562820d07e 04:53:03 ---> b2b737e823fb 04:53:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:53:03 ---> Running in c314719243c3 04:53:04 Removing intermediate container c314719243c3 04:53:04 ---> 7927dd61550c 04:53:04 Step 6/24 : RUN apk add --update --no-cache make git 04:53:04 ---> Running in bd844f0c39ce 04:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:53:04 OK: 246 MiB in 54 packages 04:53:05 Removing intermediate container bd844f0c39ce 04:53:05 ---> d4835b1ec108 04:53:05 Step 7/24 : COPY go.mod vendor* ./ 04:53:05 ---> 9d470641852c 04:53:05 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:05 ---> Running in 38d1dfa44ac3 04:53:06 Removing intermediate container 38d1dfa44ac3 04:53:06 ---> 8bf931c6f9d2 04:53:06 Step 9/24 : COPY . . 04:53:07 ---> aa94b1e3b549 04:53:07 Step 10/24 : RUN ${MAKE} 04:53:07 ---> Running in 92093e1afc99 04:53:07 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:53:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25867 in /w/workspace/gexfoundry_device-sdk-go_PR-1647 [Pipeline] { [Pipeline] ws 04:53:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:53:12 The recommended git tool is: git 04:53:18 using credential edgex-jenkins-ssh 04:53:18 Cloning the remote Git repository 04:53:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:53:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:53:18 > git --version # timeout=10 04:53:18 > git --version # 'git version 2.25.1' 04:53:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:53:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:53:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:53:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:53:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1647/head:refs/remotes/origin/PR-1647 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:53:24 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit 6e397c3164c0f326d303eef9738a37ea5cdc1d78 04:53:25 Merge succeeded, producing 6e397c3164c0f326d303eef9738a37ea5cdc1d78 04:53:25 Checking out Revision 6e397c3164c0f326d303eef9738a37ea5cdc1d78 (PR-1647) 04:53:26 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" 04:53:26 > git --version # timeout=10 04:53:26 > git --version # 'git version 2.25.1' 04:53:26 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:53:25 > git config core.sparsecheckout # timeout=10 04:53:25 > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 04:53:25 > git remote # timeout=10 04:53:25 > git config --get remote.origin.url # timeout=10 04:53:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:25 > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 04:53:25 > git rev-parse HEAD^{commit} # timeout=10 04:53:25 > git config core.sparsecheckout # timeout=10 04:53:25 > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:53:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:53:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:53:31 Dload Upload Total Spent Left Speed 04:53:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 04:53:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:53:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:53:32 + sudo tee /etc/docker/daemon.new 04:53:32 { 04:53:32 "registry-mirrors": [ 04:53:32 "https://nexus3.edgexfoundry.org:10001" 04:53:32 ], 04:53:32 "bip": "10.250.0.254/24", 04:53:32 "hosts": [ 04:53:32 "tcp://0.0.0.0:5555", 04:53:32 "unix:///var/run/docker.sock" 04:53:32 ], 04:53:32 "mtu": 1458, 04:53:32 "selinux-enabled": true, 04:53:32 "seccomp-profile": "/etc/docker/seccomp.json" 04:53:32 } [Pipeline] sh 04:53:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:53:33 + sudo service docker restart 04:53:39 Removing intermediate container 92093e1afc99 04:53:39 ---> 72c39718a7e1 04:53:39 Step 11/24 : FROM alpine:3.20 04:53:39 3.20: Pulling from library/alpine 04:53:39 43c4264eed91: Already exists 04:53:39 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:53:39 Status: Downloaded newer image for alpine:3.20 04:53:39 ---> 91ef0af61f39 04:53:39 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:53:39 ---> Running in 32c2ac1e83ad 04:53:39 Removing intermediate container 32c2ac1e83ad 04:53:39 ---> ccae23593487 04:53:39 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:53:39 ---> Running in 901d2e6bedce 04:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:53:39 (1/1) Installing dumb-init (1.2.5-r3) 04:53:39 Executing busybox-1.36.1-r29.trigger 04:53:39 OK: 8 MiB in 15 packages 04:53:39 Removing intermediate container 901d2e6bedce 04:53:39 ---> 0dba089d7d6e 04:53:39 Step 14/24 : RUN apk --no-cache upgrade 04:53:39 ---> Running in 67926ef11d8b 04:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:53:40 Upgrading critical system libraries and apk-tools: 04:53:40 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:53:40 Executing busybox-1.36.1-r29.trigger 04:53:40 Continuing the upgrade transaction with new apk-tools: 04:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:53:40 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:53:40 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:53:40 OK: 8 MiB in 15 packages 04:53:41 Removing intermediate container 67926ef11d8b 04:53:41 ---> aa2cb60c63b4 04:53:41 Step 15/24 : WORKDIR / 04:53:41 ---> Running in db3769931808 04:53:41 Removing intermediate container db3769931808 04:53:41 ---> a27bedb13567 04:53:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:53:41 ---> dd82d9522b4c 04:53:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:53:43 ---> c0ef0434c312 04:53:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:53:43 ---> 91ddda7e350b 04:53:43 Step 19/24 : EXPOSE 59999 04:53:43 ---> Running in 2d9297b510bc 04:53:43 Removing intermediate container 2d9297b510bc 04:53:43 ---> 4e6dae38d2c7 04:53:43 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:53:43 ---> Running in 871aaa16a202 04:53:43 Removing intermediate container 871aaa16a202 04:53:43 ---> 748194534b4e 04:53:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:53:43 ---> Running in edeb15aaa01a 04:53:43 Removing intermediate container edeb15aaa01a 04:53:43 ---> 52937fe24383 04:53:43 Step 22/24 : LABEL arch=amd64 04:53:43 ---> Running in 75951fc22c28 04:53:43 Removing intermediate container 75951fc22c28 04:53:43 ---> a023832bec82 04:53:43 Step 23/24 : LABEL git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 04:53:43 ---> Running in ffb2a3acaf77 04:53:43 Removing intermediate container ffb2a3acaf77 04:53:43 ---> 4bcdc073fbe9 04:53:43 Step 24/24 : LABEL version=0.0.0 04:53:43 ---> Running in 637ff47561c1 04:53:43 Removing intermediate container 637ff47561c1 04:53:43 ---> 4f94cb7ed708 04:53:43 [Warning] One or more build-args [ARCH] were not consumed 04:53:43 Successfully built 4f94cb7ed708 04:53:43 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:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:44 04:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:45 latest: Pulling from edgex-lftools-log-publisher 04:53:45 5eb5b503b376: Pulling fs layer 04:53:45 5c69ac0246d0: Pulling fs layer 04:53:45 ec43610c2a17: Pulling fs layer 04:53:45 3a2ae6a8a46f: Pulling fs layer 04:53:45 33b1e0a273af: Pulling fs layer 04:53:45 5d3b04190fa2: Pulling fs layer 04:53:45 2f39f015ded8: Pulling fs layer 04:53:45 3a2ae6a8a46f: Waiting 04:53:45 33b1e0a273af: Waiting 04:53:45 5d3b04190fa2: Waiting 04:53:45 2f39f015ded8: Waiting 04:53:45 5c69ac0246d0: Verifying Checksum 04:53:45 5c69ac0246d0: Download complete 04:53:45 3a2ae6a8a46f: Download complete 04:53:45 33b1e0a273af: Download complete 04:53:45 5d3b04190fa2: Verifying Checksum 04:53:45 5d3b04190fa2: Download complete 04:53:45 ec43610c2a17: Verifying Checksum 04:53:45 ec43610c2a17: Download complete 04:53:45 5eb5b503b376: Download complete 04:53:46 2f39f015ded8: Download complete 04:53:46 5eb5b503b376: Pull complete 04:53:46 5c69ac0246d0: Pull complete 04:53:47 ec43610c2a17: Pull complete 04:53:47 3a2ae6a8a46f: Pull complete 04:53:47 33b1e0a273af: Pull complete 04:53:47 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:51 provisioning config files... 04:53:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10283622152107089344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:51 2f39f015ded8: Pull complete 04:53:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:52 ---> ****-login.sh 04:53:52 nexus3.edgexfoundry.org:10001 04:53:52 prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container 04:53:52 $ 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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:52 Configure a credential helper to remove this warning. See 04:53:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:52 04:53:52 Login Succeeded 04:53:52 nexus3.edgexfoundry.org:10002 04:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:53 Configure a credential helper to remove this warning. See 04:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:53 04:53:53 Login Succeeded 04:53:53 nexus3.edgexfoundry.org:10003 04:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:53 Configure a credential helper to remove this warning. See 04:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:53 04:53:53 Login Succeeded 04:53:53 nexus3.edgexfoundry.org:10004 04:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:53 Configure a credential helper to remove this warning. See 04:53:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:53 04:53:53 Login Succeeded 04:53:53 ****.io 04:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:54 Configure a credential helper to remove this warning. See 04:53:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:54 04:53:54 Login Succeeded 04:53:54 ---> ****-login.sh ends 04:53:54 $ docker top b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 -eo pid,comm [Pipeline] { [Pipeline] } 04:53:55 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:53:55 ---> job-cost.sh 04:53:55 lf-activate-venv: SKIPPING 04:53:55 INFO: No Stack... 04:53:55 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] echo 04:53:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:55 ========================================================= 04:53:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:53:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 04:53:56 INFO: Archiving Costs [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:53:56 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/cost.csv 04:53:56 + cut -d, -f6 [Pipeline] lock 04:53:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] 04:53:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] did not exist. Created. 04:53:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] { [Pipeline] unstash 04:53:56 + 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 . [Pipeline] sh 04:53:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:53:57 Stashed 1 file(s) [Pipeline] } 04:53:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:53:57 $ docker stop --time=1 b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 04:53:57 Sending build context to Docker daemon 13.26MB 04:53:57 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:53:57 Step 2/10 : FROM ${BASE} AS builder 04:53:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:53:57 cf04c63912e1: Pulling fs layer 04:53:57 55b35a11ae5e: Pulling fs layer 04:53:57 a37a00ec5f00: Pulling fs layer 04:53:57 50b3750afda1: Pulling fs layer 04:53:57 4f4fb700ef54: Pulling fs layer 04:53:57 80978eb59214: Pulling fs layer 04:53:57 c9f46d7d2bd2: Pulling fs layer 04:53:57 c5a475d317c9: Pulling fs layer 04:53:57 50b3750afda1: Waiting 04:53:57 4f4fb700ef54: Waiting 04:53:57 80978eb59214: Waiting 04:53:57 c5a475d317c9: Waiting 04:53:57 c9f46d7d2bd2: Waiting 04:53:57 55b35a11ae5e: Download complete 04:53:57 50b3750afda1: Verifying Checksum 04:53:57 50b3750afda1: Download complete 04:53:57 4f4fb700ef54: Verifying Checksum 04:53:57 4f4fb700ef54: Download complete 04:53:57 80978eb59214: Verifying Checksum 04:53:57 80978eb59214: Download complete 04:53:57 cf04c63912e1: Verifying Checksum 04:53:57 cf04c63912e1: Download complete 04:53:58 $ docker rm -f --volumes b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 04:53:58 c5a475d317c9: Verifying Checksum 04:53:58 c5a475d317c9: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:53:58 cf04c63912e1: Pull complete 04:53:59 55b35a11ae5e: Pull complete 04:54:00 a37a00ec5f00: Verifying Checksum 04:54:00 a37a00ec5f00: Download complete 04:54:01 c9f46d7d2bd2: Verifying Checksum 04:54:01 c9f46d7d2bd2: Download complete 04:54:16 a37a00ec5f00: Pull complete 04:54:16 50b3750afda1: Pull complete 04:54:16 4f4fb700ef54: Pull complete 04:54:16 80978eb59214: Pull complete 04:54:24 c9f46d7d2bd2: Pull complete 04:54:25 c5a475d317c9: Pull complete 04:54:25 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:54:25 ---> be29e6b0f0d4 04:54:25 Step 3/10 : ARG MAKE=make build 04:54:27 ---> Running in 5638e6b6abca 04:54:27 Removing intermediate container 5638e6b6abca 04:54:27 ---> 00d878085eea 04:54:27 Step 4/10 : WORKDIR /device-sdk-go 04:54:27 ---> Running in 06361b5d2418 04:54:28 Removing intermediate container 06361b5d2418 04:54:28 ---> 6d2c97853601 04:54:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:28 ---> Running in 3f8857592869 04:54:28 Removing intermediate container 3f8857592869 04:54:28 ---> 855ded5baec7 04:54:28 Step 6/10 : RUN apk add --update --no-cache make git 04:54:28 ---> Running in 2b911b33427f 04:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:54:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:54:31 OK: 238 MiB in 54 packages 04:54:32 Removing intermediate container 2b911b33427f 04:54:32 ---> 41a27e352a1c 04:54:32 Step 7/10 : COPY go.mod vendor* ./ 04:54:33 ---> 36860e3684df 04:54:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:33 ---> Running in def4df71a66f 04:56:39 Removing intermediate container def4df71a66f 04:56:39 ---> 50686ae7b2fb 04:56:39 Step 9/10 : COPY . . 04:56:39 ---> 5a8cc8ac702e 04:56:39 Step 10/10 : RUN ${MAKE} 04:56:39 ---> Running in f0a6dfe2e52d 04:56:39 noop 04:56:39 Removing intermediate container f0a6dfe2e52d 04:56:39 ---> 6ec3258ec705 04:56:39 Successfully built 6ec3258ec705 04:56:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:40 + docker inspect -f . ci-base-image-arm64 04:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container 04:56:40 $ 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:56:42 $ docker top 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:43 + go version 04:56:43 go version go1.23.2 linux/arm64 [Pipeline] } 04:56:43 $ docker stop --time=1 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 04:56:44 $ docker rm -f --volumes 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:45 + docker inspect -f . ci-base-image-arm64 04:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:46 prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container 04:56:46 $ 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:56:48 $ docker top 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:56:49 + make test 04:56:49 go test -race -coverprofile=coverage.out ./... 04:57:46 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 05:02:23 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 05:02:23 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 05:02:23 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 05:02:23 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 05:02:23 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 05:02:31 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.204s coverage: 28.7% of statements 05:02:35 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.193s coverage: 79.4% of statements 05:02:50 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 05:02:50 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 05:02:50 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.335s coverage: 86.0% of statements 05:03:00 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 05:03:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.587s coverage: 45.2% of statements 05:03:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.256s coverage: 14.1% of statements 05:03:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.023s coverage: 44.6% of statements 05:03:08 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 05:03:08 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 05:03:08 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 05:03:09 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.391s coverage: 68.4% of statements 05:03:14 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.361s coverage: 88.3% of statements 05:03:20 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 05:03:21 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.325s coverage: 5.3% of statements 05:03:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:03:22 GO111MODULE=on go vet ./... 05:07:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:07:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:07:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:07:59 $ docker stop --time=1 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 05:08:01 $ docker rm -f --volumes 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:04 Warning: overwriting stash ‘coverage-report’ 05:08:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:06 + ls -al . 05:08:06 total 700 05:08:06 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 04:56 . 05:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:53 .. 05:08:06 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:53 .dockerignore 05:08:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:53 .git 05:08:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:53 .github 05:08:06 -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:53 .gitignore 05:08:06 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 04:53 .golangci.yml 05:08:06 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:53 CHANGELOG.md 05:08:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:53 GOVERNANCE.md 05:08:06 -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 04:53 Jenkinsfile 05:08:06 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:53 LICENSE 05:08:06 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 04:53 Makefile 05:08:06 -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:53 OWNERS.md 05:08:06 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 04:53 README.md 05:08:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:50 VERSION 05:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:53 bin 05:08:06 -rw-r--r-- 1 jenkins jenkins 468087 Nov 8 05:03 coverage.out 05:08:06 drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:53 example 05:08:06 -rw-rw-r-- 1 jenkins jenkins 6229 Nov 8 04:53 go.mod 05:08:06 -rw-rw-r-- 1 jenkins jenkins 87126 Nov 8 04:53 go.sum 05:08:06 drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 04:53 internal 05:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:53 openapi 05:08:06 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:53 pkg 05:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:53 snap 05:08:06 -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:07 + 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=6e397c3164c0f326d303eef9738a37ea5cdc1d78 --label arch=arm64 --label version=0.0.0 . 05:08:07 Sending build context to Docker daemon 13.73MB 05:08:08 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:08:08 Step 2/24 : FROM ${BASE} AS builder 05:08:08 ---> 6ec3258ec705 05:08:08 Step 3/24 : ARG MAKE=make build 05:08:08 ---> Running in 682d68fe7e8f 05:08:08 Removing intermediate container 682d68fe7e8f 05:08:08 ---> 4437fe7f6708 05:08:08 Step 4/24 : WORKDIR /device-sdk-go 05:08:08 ---> Running in ada017e39d07 05:08:09 Removing intermediate container ada017e39d07 05:08:09 ---> 4aec50020a1d 05:08:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:08:09 ---> Running in 13f7f94f9129 05:08:09 Removing intermediate container 13f7f94f9129 05:08:09 ---> 3e7ec5b13ccd 05:08:09 Step 6/24 : RUN apk add --update --no-cache make git 05:08:09 ---> Running in 6442019a78da 05:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:08:13 OK: 238 MiB in 54 packages 05:08:14 Removing intermediate container 6442019a78da 05:08:14 ---> 7bb0e831ef42 05:08:14 Step 7/24 : COPY go.mod vendor* ./ 05:08:15 ---> 1b42dcafaba9 05:08:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:15 ---> Running in 355f1c75d391 05:08:17 Removing intermediate container 355f1c75d391 05:08:17 ---> 5b73cd8cd39b 05:08:17 Step 9/24 : COPY . . 05:08:19 ---> a8cbed1a6524 05:08:19 Step 10/24 : RUN ${MAKE} 05:08:19 ---> Running in 8e08b29ae73b 05:08:21 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 05:12:59 Removing intermediate container 8e08b29ae73b 05:12:59 ---> ac47355210a2 05:12:59 Step 11/24 : FROM alpine:3.20 05:12:59 3.20: Pulling from library/alpine 05:12:59 cf04c63912e1: Already exists 05:12:59 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:12:59 Status: Downloaded newer image for alpine:3.20 05:12:59 ---> c157a85ed455 05:12:59 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:12:59 ---> Running in c249e90dbbac 05:12:59 Removing intermediate container c249e90dbbac 05:12:59 ---> 3909cfdce234 05:12:59 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:12:59 ---> Running in 713ae2a3eb1b 05:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:13:03 (1/1) Installing dumb-init (1.2.5-r3) 05:13:03 Executing busybox-1.36.1-r29.trigger 05:13:03 OK: 9 MiB in 15 packages 05:13:05 Removing intermediate container 713ae2a3eb1b 05:13:05 ---> 3ffb58e1af88 05:13:05 Step 14/24 : RUN apk --no-cache upgrade 05:13:05 ---> Running in 7a4fa04ee92f 05:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:13:07 Upgrading critical system libraries and apk-tools: 05:13:07 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:13:07 Executing busybox-1.36.1-r29.trigger 05:13:08 Continuing the upgrade transaction with new apk-tools: 05:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:13:09 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:13:09 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:13:09 OK: 9 MiB in 15 packages 05:13:11 Removing intermediate container 7a4fa04ee92f 05:13:11 ---> eee8e87f94be 05:13:11 Step 15/24 : WORKDIR / 05:13:11 ---> Running in cbc2c0a8608d 05:13:11 Removing intermediate container cbc2c0a8608d 05:13:11 ---> bb0bf966267a 05:13:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:13:13 ---> 44b23396c0bf 05:13:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:13:16 ---> 1c1b8c91fddc 05:13:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:13:16 ---> f089e2ecf450 05:13:16 Step 19/24 : EXPOSE 59999 05:13:16 ---> Running in 5c91ab725890 05:13:17 Removing intermediate container 5c91ab725890 05:13:17 ---> de79f038943d 05:13:17 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:13:17 ---> Running in 390f2571710e 05:13:17 Removing intermediate container 390f2571710e 05:13:17 ---> ba7bdf7e0134 05:13:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:13:17 ---> Running in 98b49832e261 05:13:18 Removing intermediate container 98b49832e261 05:13:18 ---> 3c0cb00923a6 05:13:18 Step 22/24 : LABEL arch=arm64 05:13:18 ---> Running in 663460ac40a1 05:13:18 Removing intermediate container 663460ac40a1 05:13:18 ---> 40b9fda2590a 05:13:18 Step 23/24 : LABEL git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 05:13:18 ---> Running in 429d7d85b0a5 05:13:19 Removing intermediate container 429d7d85b0a5 05:13:19 ---> 3da270f23473 05:13:19 Step 24/24 : LABEL version=0.0.0 05:13:19 ---> Running in 81a73006202a 05:13:19 Removing intermediate container 81a73006202a 05:13:19 ---> 3ea35af2851e 05:13:19 [Warning] One or more build-args [ARCH] were not consumed 05:13:19 Successfully built 3ea35af2851e 05:13:19 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:20 05:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:21 arm64: Pulling from edgex-lftools-log-publisher 05:13:21 8998bd30e6a1: Pulling fs layer 05:13:21 04944245beec: Pulling fs layer 05:13:21 699f458cf7ca: Pulling fs layer 05:13:21 765212b225bb: Pulling fs layer 05:13:21 f23df028b6ca: Pulling fs layer 05:13:21 d65c8cfc05b1: Pulling fs layer 05:13:21 2437ff75d9bd: Pulling fs layer 05:13:21 765212b225bb: Waiting 05:13:21 f23df028b6ca: Waiting 05:13:21 d65c8cfc05b1: Waiting 05:13:21 2437ff75d9bd: Waiting 05:13:21 04944245beec: Verifying Checksum 05:13:21 04944245beec: Download complete 05:13:21 765212b225bb: Verifying Checksum 05:13:21 765212b225bb: Download complete 05:13:21 f23df028b6ca: Download complete 05:13:21 d65c8cfc05b1: Verifying Checksum 05:13:21 d65c8cfc05b1: Download complete 05:13:21 699f458cf7ca: Verifying Checksum 05:13:21 699f458cf7ca: Download complete 05:13:22 8998bd30e6a1: Verifying Checksum 05:13:22 8998bd30e6a1: Download complete 05:13:24 2437ff75d9bd: Verifying Checksum 05:13:24 2437ff75d9bd: Download complete 05:13:27 8998bd30e6a1: Pull complete 05:13:27 04944245beec: Pull complete 05:13:29 699f458cf7ca: Pull complete 05:13:29 765212b225bb: Pull complete 05:13:30 f23df028b6ca: Pull complete 05:13:30 d65c8cfc05b1: Pull complete 05:13:49 2437ff75d9bd: Pull complete 05:13:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:49 prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container 05:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:52 $ docker top 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:53 ---> job-cost.sh 05:13:53 lf-activate-venv: SKIPPING 05:13:53 INFO: No Stack... 05:13:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:55 INFO: Archiving Costs [Pipeline] sh 05:13:56 + cut -d,+ -f6 05:13:56 cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:13:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] 05:13:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] did not exist. Created. 05:13:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:56 /w/workspace/device-sdk-go/1@tmp/durable-874cf657/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:57 Warning: overwriting stash ‘stack-cost’ 05:13:57 Stashed 1 file(s) [Pipeline] } 05:13:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:57 $ docker stop --time=1 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 05:13:59 $ docker rm -f --volumes 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:14:00 provisioning config files... 05:14:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config11016039853035249958tmp [Pipeline] { [Pipeline] sh 05:14:00 + set +x 05:14:00 + bash -s -- 05:14:00 + curl -s https://codecov.io/bash 05:14:00 05:14:00 _____ _ 05:14:00 / ____| | | 05:14:00 | | ___ __| | ___ ___ _____ __ 05:14:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:00 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:00 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:00 Bash-1.0.6 05:14:00 05:14:00 05:14:00 ==> git version 2.25.1 found 05:14:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:14:00 Release-Date: 2020-01-08 05:14:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:00 ==> Jenkins CI detected. 05:14:00 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1647 05:14:00 project root: . 05:14:00 --> token set from env 05:14:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:00 ==> Running gcov in . (disable via -X gcov) 05:14:00 ==> Python coveragepy not found 05:14:00 ==> Searching for coverage reports in: 05:14:00 + . 05:14:01 -> Found 1 reports 05:14:01 ==> Detecting git/mercurial file structure 05:14:01 ==> Reading reports 05:14:01 + ./coverage.out bytes=468087 05:14:01 ==> Appending adjustments 05:14:01 https://docs.codecov.io/docs/fixing-reports 05:14:01 + Found adjustments 05:14:01 ==> Gzipping contents 05:14:01 44K /tmp/codecov.HjmrsX.gz 05:14:01 ==> Uploading reports 05:14:01 url: https://codecov.io 05:14:01 query: branch=PR-1647&commit=6e397c3164c0f326d303eef9738a37ea5cdc1d78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1647&job=&cmd_args= 05:14:01 -> Pinging Codecov 05:14:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1647&commit=6e397c3164c0f326d303eef9738a37ea5cdc1d78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1647&job=&cmd_args= 05:14:01 -> Uploading to 05:14:01 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/6e397c3164c0f326d303eef9738a37ea5cdc1d78/c6d76b05-2af5-4fd2-9241-87c73e12bc3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T051401Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b3271584b9263644ebb231991ae3733e2cb0f3aa89a6dcd3a19ba204ec585272 05:14:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:01 Dload Upload Total Spent Left Speed 05:14:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44776 0 0 100 44776 0 157k --:--:-- --:--:-- --:--:-- 157k 05:14:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] } 05:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:14:04 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives ] 05:14:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives 05:14:04 total 16 05:14:04 drwxr-xr-x 3 root root 4096 Nov 8 04:53 . 05:14:04 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:53 .. 05:14:04 drwxr-xr-x 2 root root 4096 Nov 8 04:53 cost 05:14:04 -rw-r--r-- 1 root root 86 Nov 8 04:53 cost.csv 05:14:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives 05:14:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives 05:14:04 total 16 05:14:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:53 . 05:14:04 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:53 .. 05:14:04 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 04:53 cost 05:14:04 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 04:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:05 ---> package-listing.sh 05:14:05 ++ facter osfamily 05:14:05 ++ tr '[:upper:]' '[:lower:]' 05:14:05 + OS_FAMILY=debian 05:14:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1647 05:14:05 + START_PACKAGES=/tmp/packages_start.txt 05:14:05 + END_PACKAGES=/tmp/packages_end.txt 05:14:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:05 + PACKAGES=/tmp/packages_start.txt 05:14:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1647 ']' 05:14:05 + PACKAGES=/tmp/packages_end.txt 05:14:05 + case "${OS_FAMILY}" in 05:14:05 + dpkg -l 05:14:05 + grep '^ii' 05:14:05 + '[' -f /tmp/packages_start.txt ']' 05:14:05 + '[' -f /tmp/packages_end.txt ']' 05:14:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1647 ']' 05:14:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/ 05:14:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/ [Pipeline] echo 05:14:05 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-1647/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:14:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:07 prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container 05:14:07 $ 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-1647/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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:07 $ docker top c62d20c29657a8be2ca9a8c51e9c1021d793c947f8aae702bb25f627432e787d -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:07 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:08 + ls /var/log/sa-host 05:14:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:08 provisioning config files... 05:14:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config4134793633639159079tmp [Pipeline] { [Pipeline] echo 05:14:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:09 ---> create-netrc.sh [Pipeline] } 05:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:09 ---> python-tools-install.sh [Pipeline] echo 05:14:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:09 ---> sudo-logs.sh 05:14:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:10 ---> job-cost.sh 05:14:10 lf-activate-venv: SKIPPING 05:14:10 DEBUG: total: 0.2199999988079071 05:14:10 INFO: Retrieving Stack Cost... 05:14:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:11 INFO: Archiving Costs [Pipeline] echo 05:14:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:11 ---> logs-deploy.sh 05:14:11 lf-activate-venv: SKIPPING 05:14:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1647/1 05:14:11 INFO: archiving workspace using pattern(s): 05:14:12 Archives upload complete. 05:14:12 INFO: archiving logs to Nexus