Pull request #1649 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5d00c1dab23f4666809e705931b48d7392bf3c1+7f77e0e62202159fe6913cf9abaefab1a89f7492 (347b85f70491635b7f52fa615ef01cd7e1ec17a1) 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-ssh9041311654381585462.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-ssh6362650825223200789.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-1649/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-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16046504821704438921.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-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14638830393795177932.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-ssh4945920466602633533.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-1649/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-1649/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18045218310665868543.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-26105 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [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-1649 # 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/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit a5d00c1dab23f4666809e705931b48d7392bf3c1 Merge succeeded, producing a5d00c1dab23f4666809e705931b48d7392bf3c1 Checking out Revision a5d00c1dab23f4666809e705931b48d7392bf3c1 (PR-1649) Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" 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 a5d00c1dab23f4666809e705931b48d7392bf3c1 # 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 a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:18:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:18:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:18:41 ========================================================= 04:18:41 EdgeX Global Pipelines Version Info 04:18:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:18:42 ------------------- 04:18:42 stable info: 04:18:42 ------------------- 04:18:42 Commited By: Ginny Guan ginny@iotechsys.com 04:18:42 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:18:42 Message: update stable to v1.0.265 04:18:43 ------------------- 04:18:43 experimental info: 04:18:43 ------------------- 04:18:43 Commited By: Cherry Wang cherry@iotechsys.com 04:18:43 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:18:43 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:18:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1649 [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1649 [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1649 [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5d00c1 [Pipeline] echo 04:18:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:45 provisioning config files... 04:18:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config17983215661209702241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:46 ---> ****-login.sh 04:18:46 nexus3.edgexfoundry.org:10001 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10002 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10003 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 nexus3.edgexfoundry.org:10004 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 ****.io 04:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:46 Configure a credential helper to remove this warning. See 04:18:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:46 04:18:46 Login Succeeded 04:18:46 ---> ****-login.sh ends [Pipeline] } 04:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:18:47 + git rev-list -1 --merges a5d00c1dab23f4666809e705931b48d7392bf3c1~1..a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo 04:18:47 -----------> git rev-list -1 --merges a5d00c1dab23f4666809e705931b48d7392bf3c1~1..a5d00c1dab23f4666809e705931b48d7392bf3c1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [false] [Pipeline] sh 04:18:47 + git log --format=format:%s -1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo 04:18:47 ========================================================= 04:18:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:18:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:48 + git log --format=format:%s -1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo 04:18:48 [semverPrep] GIT_COMMIT: a5d00c1dab23f4666809e705931b48d7392bf3c1, Commit Message: build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 [Pipeline] echo 04:18:48 [semverPrep] This is not a build commit. [Pipeline] sh 04:18:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:18:48 + grep -v github /etc/ssh/ssh_known_hosts 04:18:48 + [ -e /tmp/ssh_known_hosts ] 04:18:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:18:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:18:48 + sudo tee -a /etc/ssh/ssh_known_hosts 04:18:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:49 04:18:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:49 0.1.4: Pulling from edgex-devops/py-git-semver 04:18:49 b85a868b505f: Pulling fs layer 04:18:49 e2be974225ed: Pulling fs layer 04:18:49 339a4e72a1f5: Pulling fs layer 04:18:49 988bab9f4d93: Pulling fs layer 04:18:49 1469e6f7b9e6: Pulling fs layer 04:18:49 eaf3925da568: Pulling fs layer 04:18:49 bab4dde63d76: Pulling fs layer 04:18:49 bde34c3a00c8: Pulling fs layer 04:18:49 b352a97aabf1: Pulling fs layer 04:18:49 bab4dde63d76: Waiting 04:18:49 bde34c3a00c8: Waiting 04:18:49 1469e6f7b9e6: Waiting 04:18:49 eaf3925da568: Waiting 04:18:49 b352a97aabf1: Waiting 04:18:49 4872d77fe225: Pulling fs layer 04:18:49 5851b861e8e6: Pulling fs layer 04:18:49 5851b861e8e6: Waiting 04:18:49 988bab9f4d93: Waiting 04:18:49 e2be974225ed: Verifying Checksum 04:18:49 e2be974225ed: Download complete 04:18:49 988bab9f4d93: Verifying Checksum 04:18:49 988bab9f4d93: Download complete 04:18:50 1469e6f7b9e6: Verifying Checksum 04:18:50 1469e6f7b9e6: Download complete 04:18:50 eaf3925da568: Verifying Checksum 04:18:50 eaf3925da568: Download complete 04:18:50 339a4e72a1f5: Verifying Checksum 04:18:50 339a4e72a1f5: Download complete 04:18:50 bde34c3a00c8: Download complete 04:18:50 b352a97aabf1: Download complete 04:18:50 4872d77fe225: Download complete 04:18:50 5851b861e8e6: Verifying Checksum 04:18:50 5851b861e8e6: Download complete 04:18:50 b85a868b505f: Verifying Checksum 04:18:50 b85a868b505f: Download complete 04:18:50 bab4dde63d76: Verifying Checksum 04:18:50 bab4dde63d76: Download complete 04:18:51 b85a868b505f: Pull complete 04:18:51 e2be974225ed: Pull complete 04:18:52 339a4e72a1f5: Pull complete 04:18:52 988bab9f4d93: Pull complete 04:18:52 1469e6f7b9e6: Pull complete 04:18:53 eaf3925da568: Pull complete 04:18:55 bab4dde63d76: Pull complete 04:18:55 bde34c3a00c8: Pull complete 04:18:55 b352a97aabf1: Pull complete 04:18:55 4872d77fe225: Pull complete 04:18:55 5851b861e8e6: Pull complete 04:18:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:18:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:55 prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container 04:18:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@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:18:58 $ docker top 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 -eo pid,comm 04:18:58 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:18:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:18:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:58 [ssh-agent] Looking for ssh-agent implementation... 04:18:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:59 $ docker exec 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent 04:18:59 SSH_AUTH_SOCK=/tmp/ssh-O0bqCzxWnzhQ/agent.31 04:18:59 SSH_AGENT_PID=37 04:18:59 Running ssh-add (command line suppressed) 04:18:59 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_6918222064009365949.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_6918222064009365949.key) 04:18:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:59 + git tag --points-at HEAD [Pipeline] } 04:18:59 $ docker exec --env ******** --env ******** 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent -k 04:18:59 unset SSH_AUTH_SOCK; 04:18:59 unset SSH_AGENT_PID; 04:18:59 echo Agent pid 37 killed; 04:18:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:18:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:59 [ssh-agent] Looking for ssh-agent implementation... 04:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:00 $ docker exec 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent 04:19:00 SSH_AUTH_SOCK=/tmp/ssh-vjezk2kQi5zm/agent.70 04:19:00 SSH_AGENT_PID=76 04:19:00 Running ssh-add (command line suppressed) 04:19:00 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_7104272311081540050.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_7104272311081540050.key) 04:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:00 + git semver init 04:19:00 2024-11-11 04:19:00,850 [run_init] DEBUG init version:0.0.0 force:False 04:19:00 2024-11-11 04:19:00,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver 04:19:00 2024-11-11 04:19:00,852 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver 04:19:00 2024-11-11 04:19:00,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649, universal_newlines=False, shell=None, istream=None) 04:19:02 2024-11-11 04:19:02,826 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.git/info/exclude 04:19:02 2024-11-11 04:19:02,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 with force:False 04:19:02 2024-11-11 04:19:02,827 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 04:19:02 2024-11-11 04:19:02,831 [execute] INFO git cat-file --batch-check 04:19:02 2024-11-11 04:19:02,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) 04:19:02 2024-11-11 04:19:02,838 [execute] INFO git cat-file --batch 04:19:02 2024-11-11 04:19:02,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) 04:19:03 2024-11-11 04:19:02,844 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 04:19:03 0.0.0 [Pipeline] } 04:19:03 $ docker exec --env ******** --env ******** 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent -k 04:19:03 unset SSH_AUTH_SOCK; 04:19:03 unset SSH_AGENT_PID; 04:19:03 echo Agent pid 76 killed; 04:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:03 + git semver [Pipeline] } 04:19:04 $ docker stop --time=1 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 04:19:05 $ docker rm -f --volumes 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:06 Stashed 1 file(s) [Pipeline] echo 04:19:06 [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:19:06 provisioning config files... 04:19:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config10550587595495797041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:07 ---> ****-login.sh 04:19:07 nexus3.edgexfoundry.org:10001 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 nexus3.edgexfoundry.org:10002 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 nexus3.edgexfoundry.org:10003 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 nexus3.edgexfoundry.org:10004 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 ****.io 04:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:07 Configure a credential helper to remove this warning. See 04:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:07 04:19:07 Login Succeeded 04:19:07 ---> ****-login.sh ends [Pipeline] } 04:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:08 ========================================================= 04:19:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:19:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:08 + 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:19:08 Sending build context to Docker daemon 25.61MB 04:19:08 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:19:08 Step 2/10 : FROM ${BASE} AS builder 04:19:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:08 43c4264eed91: Pulling fs layer 04:19:08 4cc291be95ef: Pulling fs layer 04:19:08 2ac1f1163629: Pulling fs layer 04:19:08 5c3c966382ef: Pulling fs layer 04:19:08 4f4fb700ef54: Pulling fs layer 04:19:08 5d5c8e513c77: Pulling fs layer 04:19:08 9f66e0745190: Pulling fs layer 04:19:08 f49a43e4bbc0: Pulling fs layer 04:19:08 561ebcabdf7f: Pulling fs layer 04:19:08 5d5c8e513c77: Waiting 04:19:08 561ebcabdf7f: Waiting 04:19:08 9f66e0745190: Waiting 04:19:08 f49a43e4bbc0: Waiting 04:19:08 5c3c966382ef: Waiting 04:19:08 4f4fb700ef54: Waiting 04:19:08 4cc291be95ef: Verifying Checksum 04:19:08 4cc291be95ef: Download complete 04:19:08 5c3c966382ef: Verifying Checksum 04:19:08 5c3c966382ef: Download complete 04:19:08 4f4fb700ef54: Download complete 04:19:08 43c4264eed91: Download complete 04:19:08 9f66e0745190: Verifying Checksum 04:19:08 9f66e0745190: Download complete 04:19:08 43c4264eed91: Pull complete 04:19:09 4cc291be95ef: Pull complete 04:19:09 561ebcabdf7f: Verifying Checksum 04:19:09 561ebcabdf7f: Download complete 04:19:09 2ac1f1163629: Verifying Checksum 04:19:09 2ac1f1163629: Download complete 04:19:09 f49a43e4bbc0: Verifying Checksum 04:19:09 f49a43e4bbc0: Download complete 04:19:13 2ac1f1163629: Pull complete 04:19:13 5c3c966382ef: Pull complete 04:19:13 4f4fb700ef54: Pull complete 04:19:13 5d5c8e513c77: Pull complete 04:19:13 9f66e0745190: Pull complete 04:19:16 f49a43e4bbc0: Pull complete 04:19:16 561ebcabdf7f: Pull complete 04:19:16 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:19:16 ---> 3a752c3f9dda 04:19:16 Step 3/10 : ARG MAKE=make build 04:19:20 ---> Running in 9bc7332cbaa9 04:19:20 Removing intermediate container 9bc7332cbaa9 04:19:20 ---> 63e36e5b4031 04:19:20 Step 4/10 : WORKDIR /device-sdk-go 04:19:20 ---> Running in 7b2e249b03ac 04:19:20 Removing intermediate container 7b2e249b03ac 04:19:20 ---> e1eaa722b903 04:19:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:19:20 ---> Running in 01e87b347386 04:19:20 Removing intermediate container 01e87b347386 04:19:20 ---> 38d7ca345ad0 04:19:20 Step 6/10 : RUN apk add --update --no-cache make git 04:19:20 ---> Running in 7b9aa41e2836 04:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:19:21 OK: 246 MiB in 54 packages 04:19:21 Still waiting to schedule task 04:19:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:19:21 Removing intermediate container 7b9aa41e2836 04:19:21 ---> e2874698cc8b 04:19:21 Step 7/10 : COPY go.mod vendor* ./ 04:19:21 ---> 03304df007b5 04:19:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:21 ---> Running in 792466d97404 04:20:08 Removing intermediate container 792466d97404 04:20:08 ---> 7f31f60c9db9 04:20:08 Step 9/10 : COPY . . 04:20:08 ---> e03c32d875fe 04:20:08 Step 10/10 : RUN ${MAKE} 04:20:08 ---> Running in f12693693631 04:20:08 noop 04:20:08 Removing intermediate container f12693693631 04:20:08 ---> 2d6689c5733d 04:20:08 Successfully built 2d6689c5733d 04:20:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:08 + docker inspect -f . ci-base-image-x86_64 04:20:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:09 prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container 04:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@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:20:09 $ docker top c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:09 + go version 04:20:09 go version go1.23.2 linux/amd64 [Pipeline] } 04:20:10 $ docker stop --time=1 c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 04:20:11 $ docker rm -f --volumes c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:12 + docker inspect -f . ci-base-image-x86_64 04:20:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:12 prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container 04:20:12 $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@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:20:12 $ docker top c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] fileExists [Pipeline] sh 04:20:13 + make test 04:20:13 go test -race -coverprofile=coverage.out ./... 04:20:21 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:21:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.036s coverage: 28.7% of statements 04:21:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.031s coverage: 79.4% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:21:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.043s coverage: 86.0% of statements 04:21:02 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:21:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.088s coverage: 45.2% of statements 04:21:02 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:21:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.047s coverage: 14.1% of statements 04:21:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 1.798s coverage: 44.6% of statements 04:21:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.056s coverage: 68.4% of statements 04:21:03 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.082s coverage: 88.3% of statements 04:21:03 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.051s coverage: 5.3% of statements 04:21:52 GO111MODULE=on go vet ./... 04:21:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:54 ./bin/test-attribution-txt.sh [Pipeline] echo 04:21:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:21:54 $ docker stop --time=1 c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 04:22:00 $ docker rm -f --volumes c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:22:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:22:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:02 + ls -al . 04:22:02 total 704 04:22:02 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 04:20 . 04:22:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:18 .. 04:22:02 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:18 .dockerignore 04:22:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:21 .git 04:22:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:18 .github 04:22:02 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:18 .gitignore 04:22:02 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:18 .golangci.yml 04:22:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:19 .semver 04:22:02 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:18 CHANGELOG.md 04:22:02 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:18 GOVERNANCE.md 04:22:02 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:18 Jenkinsfile 04:22:02 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:18 LICENSE 04:22:02 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:18 Makefile 04:22:02 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:18 OWNERS.md 04:22:02 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:18 README.md 04:22:02 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:19 VERSION 04:22:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:18 bin 04:22:02 -rw-r--r-- 1 jenkins jenkins 468089 Nov 11 04:21 coverage.out 04:22:02 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:18 example 04:22:02 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 11 04:18 go.mod 04:22:02 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 11 04:18 go.sum 04:22:02 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:18 internal 04:22:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:18 openapi 04:22:02 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:18 pkg 04:22:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:18 snap 04:22:02 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:02 + 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=a5d00c1dab23f4666809e705931b48d7392bf3c1 --label arch=amd64 --label version=0.0.0 . 04:22:02 Sending build context to Docker daemon 26.08MB 04:22:02 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:22:02 Step 2/24 : FROM ${BASE} AS builder 04:22:02 ---> 2d6689c5733d 04:22:02 Step 3/24 : ARG MAKE=make build 04:22:03 ---> Running in 28a801bebac2 04:22:03 Removing intermediate container 28a801bebac2 04:22:03 ---> 1dd2ea345dd6 04:22:03 Step 4/24 : WORKDIR /device-sdk-go 04:22:03 ---> Running in dfb04d76b7b4 04:22:03 Removing intermediate container dfb04d76b7b4 04:22:03 ---> 2345a6327af1 04:22:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:22:03 ---> Running in bc99d5bca31f 04:22:03 Removing intermediate container bc99d5bca31f 04:22:03 ---> ff3530fd8236 04:22:03 Step 6/24 : RUN apk add --update --no-cache make git 04:22:03 ---> Running in 4d65f5ec7825 04:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:22:03 OK: 246 MiB in 54 packages 04:22:04 Removing intermediate container 4d65f5ec7825 04:22:04 ---> 90cdc925e61d 04:22:04 Step 7/24 : COPY go.mod vendor* ./ 04:22:04 ---> 9121b20c7df0 04:22:04 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:04 ---> Running in 20fd3ca88222 04:22:05 Removing intermediate container 20fd3ca88222 04:22:05 ---> 81a09f6e2ab5 04:22:05 Step 9/24 : COPY . . 04:22:06 ---> 6f9711f2a7c9 04:22:06 Step 10/24 : RUN ${MAKE} 04:22:06 ---> Running in 33c4190869ed 04:22:06 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:22:38 Removing intermediate container 33c4190869ed 04:22:38 ---> 8cbce3a73984 04:22:38 Step 11/24 : FROM alpine:3.20 04:22:38 3.20: Pulling from library/alpine 04:22:39 43c4264eed91: Already exists 04:22:39 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:22:39 Status: Downloaded newer image for alpine:3.20 04:22:39 ---> 91ef0af61f39 04:22:39 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:22:39 ---> Running in 1839c56a6beb 04:22:39 Removing intermediate container 1839c56a6beb 04:22:39 ---> 02b3048927db 04:22:39 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:22:39 ---> Running in 78083bc2c130 04:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:22:39 (1/1) Installing dumb-init (1.2.5-r3) 04:22:39 Executing busybox-1.36.1-r29.trigger 04:22:39 OK: 8 MiB in 15 packages 04:22:40 Removing intermediate container 78083bc2c130 04:22:40 ---> 0ecd2b7fa37a 04:22:40 Step 14/24 : RUN apk --no-cache upgrade 04:22:40 ---> Running in 0044e2f98991 04:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:22:40 Upgrading critical system libraries and apk-tools: 04:22:40 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:22:40 Executing busybox-1.36.1-r29.trigger 04:22:40 Continuing the upgrade transaction with new apk-tools: 04:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:22:41 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:22:41 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:22:41 OK: 8 MiB in 15 packages 04:22:42 Removing intermediate container 0044e2f98991 04:22:42 ---> 649b4dfede87 04:22:42 Step 15/24 : WORKDIR / 04:22:42 ---> Running in fd703adfd0a1 04:22:42 Removing intermediate container fd703adfd0a1 04:22:42 ---> 40b5673a8831 04:22:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:42 ---> 8f30e8e090de 04:22:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:44 ---> 020214b3103e 04:22:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:44 ---> 2731288afe49 04:22:44 Step 19/24 : EXPOSE 59999 04:22:44 ---> Running in c45a013d89ca 04:22:44 Removing intermediate container c45a013d89ca 04:22:44 ---> c0d6ef2df3fa 04:22:44 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:22:44 ---> Running in f445ffe59883 04:22:44 Removing intermediate container f445ffe59883 04:22:44 ---> e4871a1a1466 04:22:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:22:44 ---> Running in 5f02cf560444 04:22:44 Removing intermediate container 5f02cf560444 04:22:44 ---> 7b9bc65fa6e2 04:22:44 Step 22/24 : LABEL arch=amd64 04:22:44 ---> Running in 2361e96e93fe 04:22:44 Removing intermediate container 2361e96e93fe 04:22:44 ---> ab5b9fd68eb0 04:22:44 Step 23/24 : LABEL git_sha=a5d00c1dab23f4666809e705931b48d7392bf3c1 04:22:44 ---> Running in ba288a857a3b 04:22:44 Removing intermediate container ba288a857a3b 04:22:44 ---> 11d3731f85ee 04:22:44 Step 24/24 : LABEL version=0.0.0 04:22:44 ---> Running in 582afa339307 04:22:44 Removing intermediate container 582afa339307 04:22:44 ---> 47bda75f6be7 04:22:44 [Warning] One or more build-args [ARCH] were not consumed 04:22:44 Successfully built 47bda75f6be7 04:22:44 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:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:45 04:22:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:46 latest: Pulling from edgex-lftools-log-publisher 04:22:46 5eb5b503b376: Pulling fs layer 04:22:46 5c69ac0246d0: Pulling fs layer 04:22:46 ec43610c2a17: Pulling fs layer 04:22:46 3a2ae6a8a46f: Pulling fs layer 04:22:46 33b1e0a273af: Pulling fs layer 04:22:46 5d3b04190fa2: Pulling fs layer 04:22:46 2f39f015ded8: Pulling fs layer 04:22:46 33b1e0a273af: Waiting 04:22:46 5d3b04190fa2: Waiting 04:22:46 2f39f015ded8: Waiting 04:22:46 3a2ae6a8a46f: Waiting 04:22:46 5c69ac0246d0: Verifying Checksum 04:22:46 5c69ac0246d0: Download complete 04:22:46 3a2ae6a8a46f: Verifying Checksum 04:22:46 3a2ae6a8a46f: Download complete 04:22:46 33b1e0a273af: Verifying Checksum 04:22:46 33b1e0a273af: Download complete 04:22:46 5d3b04190fa2: Download complete 04:22:46 ec43610c2a17: Verifying Checksum 04:22:46 ec43610c2a17: Download complete 04:22:46 5eb5b503b376: Download complete 04:22:47 2f39f015ded8: Download complete 04:22:47 5eb5b503b376: Pull complete 04:22:47 5c69ac0246d0: Pull complete 04:22:48 ec43610c2a17: Pull complete 04:22:48 3a2ae6a8a46f: Pull complete 04:22:48 33b1e0a273af: Pull complete 04:22:48 5d3b04190fa2: Pull complete 04:22:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26107 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] { [Pipeline] ws 04:22:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:22:53 2f39f015ded8: Pull complete 04:22:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:54 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:55 prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container 04:22:55 $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@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:22:59 $ docker top db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:59 ---> job-cost.sh 04:22:59 lf-activate-venv: SKIPPING 04:22:59 INFO: No Stack... 04:22:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:00 INFO: Archiving Costs [Pipeline] sh 04:23:00 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/cost.csv 04:23:00 + cut -d, -f6 [Pipeline] lock 04:23:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] 04:23:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] did not exist. Created. 04:23:00 using credential edgex-jenkins-ssh 04:23:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] { 04:23:00 Cloning the remote Git repository [Pipeline] unstash [Pipeline] sh 04:23:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:23:01 + echo total: 0.2199999988079071 [Pipeline] stash 04:23:01 Stashed 1 file(s) [Pipeline] } 04:23:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:01 $ docker stop --time=1 db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf 04:23:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:23:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:23:01 > git --version # timeout=10 04:23:01 > git --version # 'git version 2.25.1' 04:23:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:03 $ docker rm -f --volumes db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:23:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:23:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:07 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit a5d00c1dab23f4666809e705931b48d7392bf3c1 04:23:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:23:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:23:07 > git config core.sparsecheckout # timeout=10 04:23:08 > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 04:23:08 Merge succeeded, producing a5d00c1dab23f4666809e705931b48d7392bf3c1 04:23:08 Checking out Revision a5d00c1dab23f4666809e705931b48d7392bf3c1 (PR-1649) 04:23:09 Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" 04:23:09 > git --version # timeout=10 04:23:09 > git --version # 'git version 2.25.1' 04:23:09 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:23:08 > git remote # timeout=10 04:23:08 > git config --get remote.origin.url # timeout=10 04:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:08 > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 04:23:08 > git rev-parse HEAD^{commit} # timeout=10 04:23:08 > git config core.sparsecheckout # timeout=10 04:23:08 > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:23:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:14 Dload Upload Total Spent Left Speed 04:23:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 04:23:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:23:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:23:15 sudo tee /etc/docker/daemon.new 04:23:15 { 04:23:15 "registry-mirrors": [ 04:23:15 "https://nexus3.edgexfoundry.org:10001" 04:23:15 ], 04:23:15 "bip": "10.250.0.254/24", 04:23:15 "hosts": [ 04:23:15 "tcp://0.0.0.0:5555", 04:23:15 "unix:///var/run/docker.sock" 04:23:15 ], 04:23:15 "mtu": 1458, 04:23:15 "selinux-enabled": true, 04:23:15 "seccomp-profile": "/etc/docker/seccomp.json" 04:23:15 } [Pipeline] sh 04:23:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:23:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:34 provisioning config files... 04:23:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6386177850980450744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:34 ---> ****-login.sh 04:23:34 nexus3.edgexfoundry.org:10001 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10002 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 nexus3.edgexfoundry.org:10003 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 nexus3.edgexfoundry.org:10004 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 ****.io 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:37 Configure a credential helper to remove this warning. See 04:23:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:37 04:23:37 Login Succeeded 04:23:37 ---> ****-login.sh ends [Pipeline] } 04:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:37 ========================================================= 04:23:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:23:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:38 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 04:23:39 Sending build context to Docker daemon 13.27MB 04:23:39 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:23:39 Step 2/10 : FROM ${BASE} AS builder 04:23:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:23:39 cf04c63912e1: Pulling fs layer 04:23:39 55b35a11ae5e: Pulling fs layer 04:23:39 a37a00ec5f00: Pulling fs layer 04:23:39 50b3750afda1: Pulling fs layer 04:23:39 4f4fb700ef54: Pulling fs layer 04:23:39 80978eb59214: Pulling fs layer 04:23:39 c9f46d7d2bd2: Pulling fs layer 04:23:39 c5a475d317c9: Pulling fs layer 04:23:39 4f4fb700ef54: Waiting 04:23:39 50b3750afda1: Waiting 04:23:39 80978eb59214: Waiting 04:23:39 c9f46d7d2bd2: Waiting 04:23:39 c5a475d317c9: Waiting 04:23:39 55b35a11ae5e: Verifying Checksum 04:23:39 55b35a11ae5e: Download complete 04:23:39 50b3750afda1: Verifying Checksum 04:23:39 50b3750afda1: Download complete 04:23:39 4f4fb700ef54: Verifying Checksum 04:23:39 4f4fb700ef54: Download complete 04:23:39 80978eb59214: Verifying Checksum 04:23:39 80978eb59214: Download complete 04:23:39 cf04c63912e1: Verifying Checksum 04:23:39 cf04c63912e1: Download complete 04:23:39 c5a475d317c9: Verifying Checksum 04:23:39 c5a475d317c9: Download complete 04:23:40 cf04c63912e1: Pull complete 04:23:41 55b35a11ae5e: Pull complete 04:23:41 a37a00ec5f00: Download complete 04:23:42 c9f46d7d2bd2: Verifying Checksum 04:23:42 c9f46d7d2bd2: Download complete 04:23:55 a37a00ec5f00: Pull complete 04:23:55 50b3750afda1: Pull complete 04:23:55 4f4fb700ef54: Pull complete 04:23:55 80978eb59214: Pull complete 04:24:04 c9f46d7d2bd2: Pull complete 04:24:05 c5a475d317c9: Pull complete 04:24:05 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:24:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:24:05 ---> be29e6b0f0d4 04:24:05 Step 3/10 : ARG MAKE=make build 04:24:06 ---> Running in b819d6718bc0 04:24:06 Removing intermediate container b819d6718bc0 04:24:06 ---> 02d84294d653 04:24:06 Step 4/10 : WORKDIR /device-sdk-go 04:24:06 ---> Running in c647140ab140 04:24:06 Removing intermediate container c647140ab140 04:24:06 ---> be8c3ccaca51 04:24:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:24:06 ---> Running in 77cb2012c1f9 04:24:07 Removing intermediate container 77cb2012c1f9 04:24:07 ---> ff6a44cb3a95 04:24:07 Step 6/10 : RUN apk add --update --no-cache make git 04:24:07 ---> Running in 2f10a0857cc7 04:24:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:24:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:24:10 OK: 238 MiB in 54 packages 04:24:11 Removing intermediate container 2f10a0857cc7 04:24:11 ---> 7d4bda048542 04:24:11 Step 7/10 : COPY go.mod vendor* ./ 04:24:11 ---> 30ed4d1bcf99 04:24:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:11 ---> Running in 651e8b63bbac 04:26:04 Removing intermediate container 651e8b63bbac 04:26:04 ---> aec6c39af2db 04:26:04 Step 9/10 : COPY . . 04:26:04 ---> 9afe6af503fc 04:26:04 Step 10/10 : RUN ${MAKE} 04:26:04 ---> Running in 57d036d214c4 04:26:05 noop 04:26:06 Removing intermediate container 57d036d214c4 04:26:06 ---> e64b455e3e2c 04:26:06 Successfully built e64b455e3e2c 04:26:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:06 + docker inspect -f . ci-base-image-arm64 04:26:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container 04:26:07 $ 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:26:08 $ docker top 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:09 + go version 04:26:09 go version go1.23.2 linux/arm64 [Pipeline] } 04:26:09 $ docker stop --time=1 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed 04:26:11 $ docker rm -f --volumes 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:12 + docker inspect -f . ci-base-image-arm64 04:26:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:12 prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container 04:26:12 $ 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:26:13 $ docker top 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:26:15 + make test 04:26:15 go test -race -coverprofile=coverage.out ./... 04:27:12 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 04:31:19 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 04:31:19 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 04:31:19 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 04:31:19 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 04:31:19 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 04:31:25 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.182s coverage: 28.7% of statements 04:31:29 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.189s coverage: 79.4% of statements 04:31:41 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 04:31:41 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 04:31:42 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.320s coverage: 86.0% of statements 04:31:57 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 04:31:57 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.601s coverage: 45.2% of statements 04:31:59 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.290s coverage: 14.1% of statements 04:31:59 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.874s coverage: 44.6% of statements 04:32:05 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 04:32:05 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 04:32:05 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 04:32:06 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.397s coverage: 68.4% of statements 04:32:11 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.384s coverage: 88.3% of statements 04:32:18 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 04:32:19 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.300s coverage: 5.3% of statements 04:32:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:32:21 GO111MODULE=on go vet ./... 04:36:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:13 ./bin/test-attribution-txt.sh [Pipeline] echo 04:36:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:36:13 $ docker stop --time=1 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 04:36:15 $ docker rm -f --volumes 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:18 Warning: overwriting stash ‘coverage-report’ 04:36:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:19 + ls -al . 04:36:19 total 700 04:36:19 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:26 . 04:36:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:23 .. 04:36:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:23 .dockerignore 04:36:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:23 .git 04:36:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:23 .github 04:36:19 -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:23 .gitignore 04:36:19 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:23 .golangci.yml 04:36:19 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:23 CHANGELOG.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:23 GOVERNANCE.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:23 Jenkinsfile 04:36:19 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:23 LICENSE 04:36:19 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:23 Makefile 04:36:19 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:23 OWNERS.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:23 README.md 04:36:19 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:19 VERSION 04:36:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:23 bin 04:36:19 -rw-r--r-- 1 jenkins jenkins 468088 Nov 11 04:32 coverage.out 04:36:19 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:23 example 04:36:19 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 11 04:23 go.mod 04:36:19 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 11 04:23 go.sum 04:36:19 drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:23 internal 04:36:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:23 openapi 04:36:19 drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:23 pkg 04:36:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:23 snap 04:36:19 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:20 + 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=a5d00c1dab23f4666809e705931b48d7392bf3c1 --label arch=arm64 --label version=0.0.0 . 04:36:20 Sending build context to Docker daemon 13.74MB 04:36:20 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:36:20 Step 2/24 : FROM ${BASE} AS builder 04:36:20 ---> e64b455e3e2c 04:36:20 Step 3/24 : ARG MAKE=make build 04:36:21 ---> Running in 7384bbbc1881 04:36:21 Removing intermediate container 7384bbbc1881 04:36:21 ---> b511857fbb11 04:36:21 Step 4/24 : WORKDIR /device-sdk-go 04:36:21 ---> Running in bf6d7db5e1c5 04:36:21 Removing intermediate container bf6d7db5e1c5 04:36:21 ---> 18975d8c5612 04:36:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:36:21 ---> Running in 223337abe254 04:36:22 Removing intermediate container 223337abe254 04:36:22 ---> fceff5310ab3 04:36:22 Step 6/24 : RUN apk add --update --no-cache make git 04:36:22 ---> Running in 5b55431aa43b 04:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:36:25 OK: 238 MiB in 54 packages 04:36:26 Removing intermediate container 5b55431aa43b 04:36:26 ---> 0041e1232f96 04:36:26 Step 7/24 : COPY go.mod vendor* ./ 04:36:27 ---> 56285581ad2a 04:36:27 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:27 ---> Running in c91a763c22f9 04:36:29 Removing intermediate container c91a763c22f9 04:36:29 ---> d5c4ca4b5cba 04:36:29 Step 9/24 : COPY . . 04:36:31 ---> 442524e4f258 04:36:31 Step 10/24 : RUN ${MAKE} 04:36:31 ---> Running in f385faeebea3 04:36:32 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:40:23 Removing intermediate container f385faeebea3 04:40:23 ---> bf84e47343f8 04:40:23 Step 11/24 : FROM alpine:3.20 04:40:23 3.20: Pulling from library/alpine 04:40:23 cf04c63912e1: Already exists 04:40:23 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:40:23 Status: Downloaded newer image for alpine:3.20 04:40:23 ---> c157a85ed455 04:40:23 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:40:23 ---> Running in d84448865214 04:40:23 Removing intermediate container d84448865214 04:40:23 ---> e2d25a418ddb 04:40:23 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:40:23 ---> Running in d2b3768bd90e 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:40:23 (1/1) Installing dumb-init (1.2.5-r3) 04:40:23 Executing busybox-1.36.1-r29.trigger 04:40:23 OK: 9 MiB in 15 packages 04:40:23 Removing intermediate container d2b3768bd90e 04:40:23 ---> 26359c82e98a 04:40:23 Step 14/24 : RUN apk --no-cache upgrade 04:40:23 ---> Running in cff989af50d6 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:40:25 Upgrading critical system libraries and apk-tools: 04:40:25 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:40:25 Executing busybox-1.36.1-r29.trigger 04:40:25 Continuing the upgrade transaction with new apk-tools: 04:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:40:27 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:40:27 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:40:27 OK: 9 MiB in 15 packages 04:40:28 Removing intermediate container cff989af50d6 04:40:28 ---> 7fa9dd614e6d 04:40:28 Step 15/24 : WORKDIR / 04:40:28 ---> Running in d8d584954207 04:40:28 Removing intermediate container d8d584954207 04:40:28 ---> 6d0fc7fe4993 04:40:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:40:29 ---> 42e8b4eac921 04:40:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:40:31 ---> ea6c44fedd23 04:40:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:40:31 ---> 2e5b323ecc7f 04:40:31 Step 19/24 : EXPOSE 59999 04:40:31 ---> Running in ebfdd3e10311 04:40:32 Removing intermediate container ebfdd3e10311 04:40:32 ---> 75a074a417b8 04:40:32 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:40:32 ---> Running in e1f15a39486d 04:40:32 Removing intermediate container e1f15a39486d 04:40:32 ---> 29d12134e730 04:40:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:40:32 ---> Running in d72684d24d25 04:40:33 Removing intermediate container d72684d24d25 04:40:33 ---> 99444838dc3a 04:40:33 Step 22/24 : LABEL arch=arm64 04:40:33 ---> Running in 0e5f38cf25d5 04:40:33 Removing intermediate container 0e5f38cf25d5 04:40:33 ---> 51796f51ff58 04:40:33 Step 23/24 : LABEL git_sha=a5d00c1dab23f4666809e705931b48d7392bf3c1 04:40:33 ---> Running in dafc03ac16b2 04:40:33 Removing intermediate container dafc03ac16b2 04:40:33 ---> 5b8bb3882145 04:40:33 Step 24/24 : LABEL version=0.0.0 04:40:33 ---> Running in 039f9d7bf3bf 04:40:34 Removing intermediate container 039f9d7bf3bf 04:40:34 ---> 6ef4ead5f8cc 04:40:34 [Warning] One or more build-args [ARCH] were not consumed 04:40:34 Successfully built 6ef4ead5f8cc 04:40:34 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:35 04:40:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:35 arm64: Pulling from edgex-lftools-log-publisher 04:40:35 8998bd30e6a1: Pulling fs layer 04:40:35 04944245beec: Pulling fs layer 04:40:35 699f458cf7ca: Pulling fs layer 04:40:35 765212b225bb: Pulling fs layer 04:40:35 f23df028b6ca: Pulling fs layer 04:40:35 d65c8cfc05b1: Pulling fs layer 04:40:35 2437ff75d9bd: Pulling fs layer 04:40:35 f23df028b6ca: Waiting 04:40:35 765212b225bb: Waiting 04:40:35 2437ff75d9bd: Waiting 04:40:35 04944245beec: Verifying Checksum 04:40:35 04944245beec: Download complete 04:40:35 765212b225bb: Verifying Checksum 04:40:35 765212b225bb: Download complete 04:40:35 f23df028b6ca: Download complete 04:40:35 d65c8cfc05b1: Verifying Checksum 04:40:35 d65c8cfc05b1: Download complete 04:40:35 699f458cf7ca: Verifying Checksum 04:40:35 699f458cf7ca: Download complete 04:40:36 8998bd30e6a1: Verifying Checksum 04:40:36 8998bd30e6a1: Download complete 04:40:38 2437ff75d9bd: Verifying Checksum 04:40:38 2437ff75d9bd: Download complete 04:40:40 8998bd30e6a1: Pull complete 04:40:41 04944245beec: Pull complete 04:40:42 699f458cf7ca: Pull complete 04:40:42 765212b225bb: Pull complete 04:40:43 f23df028b6ca: Pull complete 04:40:43 d65c8cfc05b1: Pull complete 04:41:01 2437ff75d9bd: Pull complete 04:41:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:02 prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container 04:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:41:05 $ docker top 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:06 ---> job-cost.sh 04:41:06 lf-activate-venv: SKIPPING 04:41:06 INFO: No Stack... 04:41:07 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:07 INFO: Archiving Costs [Pipeline] sh 04:41:08 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:41:08 + cut -d, -f6 [Pipeline] lock 04:41:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] 04:41:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] did not exist. Created. 04:41:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:09 /w/workspace/device-sdk-go/1@tmp/durable-77fd2d69/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:09 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:09 Warning: overwriting stash ‘stack-cost’ 04:41:10 Stashed 1 file(s) [Pipeline] } 04:41:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:10 $ docker stop --time=1 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 04:41:11 $ docker rm -f --volumes 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:41:14 provisioning config files... 04:41:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config11361172569972449883tmp [Pipeline] { [Pipeline] sh 04:41:14 + set +x 04:41:14 + curl -s https://codecov.io/bash 04:41:14 + bash -s -- 04:41:14 04:41:14 _____ _ 04:41:14 / ____| | | 04:41:14 | | ___ __| | ___ ___ _____ __ 04:41:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:14 Bash-1.0.6 04:41:14 04:41:14 04:41:14 ==> git version 2.25.1 found 04:41:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:41:14 Release-Date: 2020-01-08 04:41:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:14 ==> Jenkins CI detected. 04:41:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1649 04:41:14 project root: . 04:41:14 --> token set from env 04:41:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:14 ==> Running gcov in . (disable via -X gcov) 04:41:14 ==> Python coveragepy not found 04:41:14 ==> Searching for coverage reports in: 04:41:14 + . 04:41:14 -> Found 1 reports 04:41:14 ==> Detecting git/mercurial file structure 04:41:14 ==> Reading reports 04:41:14 + ./coverage.out bytes=468088 04:41:14 ==> Appending adjustments 04:41:14 https://docs.codecov.io/docs/fixing-reports 04:41:15 + Found adjustments 04:41:15 ==> Gzipping contents 04:41:15 44K /tmp/codecov.qrMSLg.gz 04:41:15 ==> Uploading reports 04:41:15 url: https://codecov.io 04:41:15 query: branch=PR-1649&commit=a5d00c1dab23f4666809e705931b48d7392bf3c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= 04:41:15 -> Pinging Codecov 04:41:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1649&commit=a5d00c1dab23f4666809e705931b48d7392bf3c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= 04:41:15 -> Uploading to 04:41:15 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/a5d00c1dab23f4666809e705931b48d7392bf3c1/84de7d39-ce31-4241-bd34-2034dacc9428.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T044114Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6dec370e958f8b6b86ebed8ae729074a015c375cc57bf197712362921746c6f0 04:41:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:15 Dload Upload Total Spent Left Speed 04:41:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44775 0 0 100 44775 0 175k --:--:-- --:--:-- --:--:-- 175k 04:41:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] } 04:41:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:41:17 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives ] 04:41:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives 04:41:17 total 16 04:41:17 drwxr-xr-x 3 root root 4096 Nov 11 04:23 . 04:41:17 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:23 .. 04:41:17 drwxr-xr-x 2 root root 4096 Nov 11 04:23 cost 04:41:17 -rw-r--r-- 1 root root 86 Nov 11 04:23 cost.csv 04:41:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives 04:41:17 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives 04:41:17 total 16 04:41:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:23 . 04:41:17 drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:23 .. 04:41:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:23 cost 04:41:17 -rw-r--r-- 1 jenkins jenkins 86 Nov 11 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:18 ---> package-listing.sh 04:41:18 ++ facter osfamily 04:41:18 ++ tr '[:upper:]' '[:lower:]' 04:41:19 + OS_FAMILY=debian 04:41:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1649 04:41:19 + START_PACKAGES=/tmp/packages_start.txt 04:41:19 + END_PACKAGES=/tmp/packages_end.txt 04:41:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:19 + PACKAGES=/tmp/packages_start.txt 04:41:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' 04:41:19 + PACKAGES=/tmp/packages_end.txt 04:41:19 + case "${OS_FAMILY}" in 04:41:19 + dpkg -l 04:41:19 + grep '^ii' 04:41:19 + '[' -f /tmp/packages_start.txt ']' 04:41:19 + '[' -f /tmp/packages_end.txt ']' 04:41:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' 04:41:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ 04:41:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ [Pipeline] echo 04:41:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1649/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:41:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:20 prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container 04:41:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1649/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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:20 $ docker top 8618fafb12a27bd462c60261eaba1d54ae2221318ce06760df4f122813ea9eed -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:21 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:21 + ls /var/log/sa-host 04:41:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:21 provisioning config files... 04:41:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config17361412537723498121tmp [Pipeline] { [Pipeline] echo 04:41:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:22 ---> create-netrc.sh [Pipeline] } 04:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:22 ---> python-tools-install.sh [Pipeline] echo 04:41:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:23 ---> sudo-logs.sh 04:41:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:23 ---> job-cost.sh 04:41:23 lf-activate-venv: SKIPPING 04:41:23 DEBUG: total: 0.2199999988079071 04:41:23 INFO: Retrieving Stack Cost... 04:41:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:24 INFO: Archiving Costs [Pipeline] echo 04:41:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:24 ---> logs-deploy.sh 04:41:24 lf-activate-venv: SKIPPING 04:41:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1649/1 04:41:24 INFO: archiving workspace using pattern(s): 04:41:25 Archives upload complete. 04:41:25 INFO: archiving logs to Nexus