Pull request #1624 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5f0eed32f87aaa18c73f1d3c21303874aaef1ba+083c381ac4cc923d13d653dabf1097f47e3433f3 (6c3405a2376f03491696b5f91387e0e453ad5525) 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-ssh1247750286044169372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh10582313067352331509.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1624/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-1624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2430531419121381499.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-1624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13336473857888574522.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh13889257600320988580.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-1624/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-1624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14279024682368383466.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 f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9560 in /w/workspace/gexfoundry_device-sdk-go_PR-1624 [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-1624 # 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 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit f5f0eed32f87aaa18c73f1d3c21303874aaef1ba Merge succeeded, producing f5f0eed32f87aaa18c73f1d3c21303874aaef1ba Checking out Revision f5f0eed32f87aaa18c73f1d3c21303874aaef1ba (PR-1624) > 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/1624/head:refs/remotes/origin/PR-1624 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:20:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:20:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:20:26 ========================================================= 04:20:26 EdgeX Global Pipelines Version Info 04:20:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:20:26 ------------------- 04:20:26 stable info: 04:20:26 ------------------- 04:20:26 Commited By: Cherry Wang cherry@iotechsys.com 04:20:26 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:20:26 Message: update stable to v1.0.263 04:20:27 ------------------- 04:20:27 experimental info: 04:20:27 ------------------- 04:20:27 Commited By: Cherry Wang cherry@iotechsys.com 04:20:27 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:20:27 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:20:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:20:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1624 [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1624 [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1624 [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f0eed [Pipeline] echo 04:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:29 provisioning config files... 04:20:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config13917196924861833884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:30 ---> ****-login.sh 04:20:30 nexus3.edgexfoundry.org:10001 04:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:30 Configure a credential helper to remove this warning. See 04:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:30 04:20:30 Login Succeeded 04:20:30 nexus3.edgexfoundry.org:10002 04:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:30 Configure a credential helper to remove this warning. See 04:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:30 04:20:30 Login Succeeded 04:20:30 nexus3.edgexfoundry.org:10003 04:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:30 Configure a credential helper to remove this warning. See 04:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:30 04:20:30 Login Succeeded 04:20:30 nexus3.edgexfoundry.org:10004 04:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:30 Configure a credential helper to remove this warning. See 04:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:30 04:20:30 Login Succeeded 04:20:30 ****.io 04:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:31 Configure a credential helper to remove this warning. See 04:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:31 04:20:31 Login Succeeded 04:20:31 ---> ****-login.sh ends [Pipeline] } 04:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:31 + git rev-list -1 --merges f5f0eed32f87aaa18c73f1d3c21303874aaef1ba~1..f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo 04:20:32 -----------> git rev-list -1 --merges f5f0eed32f87aaa18c73f1d3c21303874aaef1ba~1..f5f0eed32f87aaa18c73f1d3c21303874aaef1ba f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [false] [Pipeline] sh 04:20:32 + git log --format=format:%s -1 f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo 04:20:32 ========================================================= 04:20:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:32 + git log --format=format:%s -1 f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] echo 04:20:32 [semverPrep] GIT_COMMIT: f5f0eed32f87aaa18c73f1d3c21303874aaef1ba, Commit Message: build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0 [Pipeline] echo 04:20:32 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:33 + grep -v github /etc/ssh/ssh_known_hosts 04:20:33 + [ -e /tmp/ssh_known_hosts ] 04:20:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:33 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:33 04:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:34 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:34 b85a868b505f: Pulling fs layer 04:20:34 e2be974225ed: Pulling fs layer 04:20:34 339a4e72a1f5: Pulling fs layer 04:20:34 988bab9f4d93: Pulling fs layer 04:20:34 1469e6f7b9e6: Pulling fs layer 04:20:34 eaf3925da568: Pulling fs layer 04:20:34 bab4dde63d76: Pulling fs layer 04:20:34 bde34c3a00c8: Pulling fs layer 04:20:34 b352a97aabf1: Pulling fs layer 04:20:34 4872d77fe225: Pulling fs layer 04:20:34 5851b861e8e6: Pulling fs layer 04:20:34 1469e6f7b9e6: Waiting 04:20:34 eaf3925da568: Waiting 04:20:34 bab4dde63d76: Waiting 04:20:34 4872d77fe225: Waiting 04:20:34 988bab9f4d93: Waiting 04:20:34 5851b861e8e6: Waiting 04:20:34 b352a97aabf1: Waiting 04:20:34 e2be974225ed: Download complete 04:20:34 988bab9f4d93: Verifying Checksum 04:20:34 988bab9f4d93: Download complete 04:20:34 1469e6f7b9e6: Verifying Checksum 04:20:34 1469e6f7b9e6: Download complete 04:20:34 eaf3925da568: Verifying Checksum 04:20:34 eaf3925da568: Download complete 04:20:34 339a4e72a1f5: Verifying Checksum 04:20:34 339a4e72a1f5: Download complete 04:20:34 bde34c3a00c8: Verifying Checksum 04:20:34 bde34c3a00c8: Download complete 04:20:34 b352a97aabf1: Download complete 04:20:34 4872d77fe225: Verifying Checksum 04:20:34 4872d77fe225: Download complete 04:20:34 5851b861e8e6: Verifying Checksum 04:20:34 5851b861e8e6: Download complete 04:20:34 b85a868b505f: Verifying Checksum 04:20:34 b85a868b505f: Download complete 04:20:34 bab4dde63d76: Verifying Checksum 04:20:34 bab4dde63d76: Download complete 04:20:35 b85a868b505f: Pull complete 04:20:35 e2be974225ed: Pull complete 04:20:36 339a4e72a1f5: Pull complete 04:20:36 988bab9f4d93: Pull complete 04:20:36 1469e6f7b9e6: Pull complete 04:20:36 eaf3925da568: Pull complete 04:20:38 bab4dde63d76: Pull complete 04:20:38 bde34c3a00c8: Pull complete 04:20:38 b352a97aabf1: Pull complete 04:20:38 4872d77fe225: Pull complete 04:20:38 5851b861e8e6: Pull complete 04:20:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:38 prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container 04:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@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:20:41 $ docker top fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 -eo pid,comm 04:20:41 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:20:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:41 [ssh-agent] Looking for ssh-agent implementation... 04:20:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:41 $ docker exec fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent 04:20:41 SSH_AUTH_SOCK=/tmp/ssh-fJsCmOeAS2D5/agent.32 04:20:41 SSH_AGENT_PID=38 04:20:41 Running ssh-add (command line suppressed) 04:20:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_13873072502484891834.key (/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_13873072502484891834.key) 04:20:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:41 + git tag --points-at HEAD [Pipeline] } 04:20:41 $ docker exec --env ******** --env ******** fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent -k 04:20:41 unset SSH_AUTH_SOCK; 04:20:41 unset SSH_AGENT_PID; 04:20:41 echo Agent pid 38 killed; 04:20:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:42 [ssh-agent] Looking for ssh-agent implementation... 04:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:42 $ docker exec fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent 04:20:42 SSH_AUTH_SOCK=/tmp/ssh-qhP7Vi4mrAik/agent.71 04:20:42 SSH_AGENT_PID=77 04:20:42 Running ssh-add (command line suppressed) 04:20:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_8572193670552736594.key (/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/private_key_8572193670552736594.key) 04:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:42 + git semver init 04:20:43 2024-09-06 04:20:42,952 [run_init] DEBUG init version:0.0.0 force:False 04:20:43 2024-09-06 04:20:42,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver 04:20:43 2024-09-06 04:20:42,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver 04:20:43 2024-09-06 04:20:42,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624, universal_newlines=False, shell=None, istream=None) 04:20:44 2024-09-06 04:20:44,938 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.git/info/exclude 04:20:44 2024-09-06 04:20:44,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 with force:False 04:20:44 2024-09-06 04:20:44,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 04:20:44 2024-09-06 04:20:44,943 [execute] INFO git cat-file --batch-check 04:20:44 2024-09-06 04:20:44,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver, universal_newlines=False, shell=None, istream=) 04:20:44 2024-09-06 04:20:44,951 [execute] INFO git cat-file --batch 04:20:44 2024-09-06 04:20:44,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver, universal_newlines=False, shell=None, istream=) 04:20:44 2024-09-06 04:20:44,956 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1624/.semver/PR-1624 04:20:44 0.0.0 [Pipeline] } 04:20:45 $ docker exec --env ******** --env ******** fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 ssh-agent -k 04:20:45 unset SSH_AUTH_SOCK; 04:20:45 unset SSH_AGENT_PID; 04:20:45 echo Agent pid 77 killed; 04:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:45 + git semver [Pipeline] } 04:20:46 $ docker stop --time=1 fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 04:20:47 $ docker rm -f --volumes fc740fd89adeb6106daf8f54c69f93d67bc72460a08a9238b94560055208e105 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:48 Stashed 1 file(s) [Pipeline] echo 04:20:48 [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:20:48 provisioning config files... 04:20:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config4624813022527752481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:49 ---> ****-login.sh 04:20:49 nexus3.edgexfoundry.org:10001 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 nexus3.edgexfoundry.org:10002 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 nexus3.edgexfoundry.org:10003 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 nexus3.edgexfoundry.org:10004 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 ****.io 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 ---> ****-login.sh ends [Pipeline] } 04:20:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:50 ========================================================= 04:20:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:20:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:20:50 Sending build context to Docker daemon 25.3MB 04:20:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:20:50 Step 2/10 : FROM ${BASE} AS builder 04:20:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:50 619be1103602: Pulling fs layer 04:20:50 7862e08f4a3e: Pulling fs layer 04:20:50 5df492c9dc93: Pulling fs layer 04:20:50 7629e6793208: Pulling fs layer 04:20:50 4f4fb700ef54: Pulling fs layer 04:20:50 fb5054dd5b73: Pulling fs layer 04:20:50 eeca6798cff9: Pulling fs layer 04:20:50 aa269ceb94a6: Pulling fs layer 04:20:50 ada007ff1a6a: Pulling fs layer 04:20:50 4f4fb700ef54: Waiting 04:20:50 fb5054dd5b73: Waiting 04:20:50 eeca6798cff9: Waiting 04:20:50 aa269ceb94a6: Waiting 04:20:50 7629e6793208: Waiting 04:20:50 ada007ff1a6a: Waiting 04:20:50 7862e08f4a3e: Verifying Checksum 04:20:50 7862e08f4a3e: Download complete 04:20:50 7629e6793208: Verifying Checksum 04:20:50 7629e6793208: Download complete 04:20:50 4f4fb700ef54: Download complete 04:20:50 fb5054dd5b73: Verifying Checksum 04:20:50 fb5054dd5b73: Download complete 04:20:50 619be1103602: Verifying Checksum 04:20:50 619be1103602: Download complete 04:20:50 eeca6798cff9: Verifying Checksum 04:20:50 eeca6798cff9: Download complete 04:20:51 619be1103602: Pull complete 04:20:51 ada007ff1a6a: Verifying Checksum 04:20:51 ada007ff1a6a: Download complete 04:20:51 7862e08f4a3e: Pull complete 04:20:51 5df492c9dc93: Verifying Checksum 04:20:51 5df492c9dc93: Download complete 04:20:51 aa269ceb94a6: Download complete 04:20:54 5df492c9dc93: Pull complete 04:20:54 7629e6793208: Pull complete 04:20:54 4f4fb700ef54: Pull complete 04:20:54 fb5054dd5b73: Pull complete 04:20:54 eeca6798cff9: Pull complete 04:20:57 aa269ceb94a6: Pull complete 04:20:57 ada007ff1a6a: Pull complete 04:20:57 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:20:57 ---> f489d0715acc 04:20:57 Step 3/10 : ARG MAKE=make build 04:21:01 ---> Running in 45df01b5d122 04:21:01 Removing intermediate container 45df01b5d122 04:21:01 ---> 691238f59d78 04:21:01 Step 4/10 : WORKDIR /device-sdk-go 04:21:01 ---> Running in 4d6e5f13d58e 04:21:01 Removing intermediate container 4d6e5f13d58e 04:21:01 ---> 4b9be892c732 04:21:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:21:01 ---> Running in b1e6c8d23cf6 04:21:01 Removing intermediate container b1e6c8d23cf6 04:21:01 ---> d3752c5eb30b 04:21:01 Step 6/10 : RUN apk add --update --no-cache make git 04:21:01 ---> Running in bc3d2af5322b 04:21:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:21:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:21:01 OK: 264 MiB in 52 packages 04:21:01 Removing intermediate container bc3d2af5322b 04:21:01 ---> 42580a3c393b 04:21:01 Step 7/10 : COPY go.mod vendor* ./ 04:21:02 ---> 89d764a03683 04:21:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:02 ---> Running in 12e5d45a1539 04:21:03 Still waiting to schedule task 04:21:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9559’ 04:21:48 Removing intermediate container 12e5d45a1539 04:21:48 ---> 76d8943033f9 04:21:48 Step 9/10 : COPY . . 04:21:48 ---> 30051fe5a145 04:21:48 Step 10/10 : RUN ${MAKE} 04:21:48 ---> Running in 89ad1094dbb1 04:21:48 noop 04:21:48 Removing intermediate container 89ad1094dbb1 04:21:48 ---> fcbceb772c20 04:21:48 Successfully built fcbceb772c20 04:21:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:49 + docker inspect -f . ci-base-image-x86_64 04:21:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:49 prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container 04:21:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@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:21:49 $ docker top e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:50 + go version 04:21:50 go version go1.21.9 linux/amd64 [Pipeline] } 04:21:50 $ docker stop --time=1 e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 04:21:51 $ docker rm -f --volumes e537e47d9cd24ad1458ab6d7ddeb5543974e01f683dd22810d6729c7cd3079e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:52 + docker inspect -f . ci-base-image-x86_64 04:21:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:52 prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container 04:21:52 $ 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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@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:21:53 $ docker top 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1624 [Pipeline] fileExists [Pipeline] sh 04:21:53 + make test 04:21:53 go test -race -coverprofile=coverage.out ./... 04:22:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:22:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 26.0% of statements 04:22:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements 04:22:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:22:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements 04:22:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.798s coverage: 44.6% of statements 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.076s coverage: 89.2% of statements 04:22:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.3% of statements 04:23:03 GO111MODULE=on go vet ./... 04:23:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:23:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:23:07 ./bin/test-attribution-txt.sh [Pipeline] echo 04:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:23:07 $ docker stop --time=1 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d 04:23:11 $ docker rm -f --volumes 536bd09ab98f1d4b8920ce61530198416880394e59449d047fd48f8f4971e59d [Pipeline] // withDockerContainer [Pipeline] sh 04:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:13 + ls -al . 04:23:13 total 384 04:23:13 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 04:21 . 04:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:20 .. 04:23:13 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:20 .dockerignore 04:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:22 .git 04:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:20 .github 04:23:13 -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:20 .gitignore 04:23:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:20 .golangci.yml 04:23:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:20 .semver 04:23:13 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 6 04:20 CHANGELOG.md 04:23:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:20 GOVERNANCE.md 04:23:13 -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:20 Jenkinsfile 04:23:13 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:20 LICENSE 04:23:13 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:20 Makefile 04:23:13 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:20 OWNERS.md 04:23:13 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 6 04:20 README.md 04:23:13 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:20 VERSION 04:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:20 bin 04:23:13 -rw-r--r-- 1 jenkins jenkins 127940 Sep 6 04:22 coverage.out 04:23:13 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:20 example 04:23:13 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 6 04:20 go.mod 04:23:13 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 6 04:20 go.sum 04:23:13 drwxrwxr-x 13 jenkins jenkins 4096 Sep 6 04:20 internal 04:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:20 openapi 04:23:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:20 pkg 04:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:20 snap 04:23:13 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:13 + 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=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba --label arch=amd64 --label version=0.0.0 . 04:23:13 Sending build context to Docker daemon 25.43MB 04:23:13 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:23:13 Step 2/24 : FROM ${BASE} AS builder 04:23:13 ---> fcbceb772c20 04:23:13 Step 3/24 : ARG MAKE=make build 04:23:13 ---> Running in f9068483068b 04:23:14 Removing intermediate container f9068483068b 04:23:14 ---> c8495d88d294 04:23:14 Step 4/24 : WORKDIR /device-sdk-go 04:23:14 ---> Running in e64f171379a2 04:23:14 Removing intermediate container e64f171379a2 04:23:14 ---> 4c71a30d4890 04:23:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:23:14 ---> Running in 81216be44a70 04:23:14 Removing intermediate container 81216be44a70 04:23:14 ---> 6968d873b87d 04:23:14 Step 6/24 : RUN apk add --update --no-cache make git 04:23:14 ---> Running in 4ae679800ddd 04:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:14 OK: 264 MiB in 52 packages 04:23:15 Removing intermediate container 4ae679800ddd 04:23:15 ---> 7a12e2944b3b 04:23:15 Step 7/24 : COPY go.mod vendor* ./ 04:23:15 ---> 510487f43453 04:23:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:15 ---> Running in ce663bc646a7 04:23:16 Removing intermediate container ce663bc646a7 04:23:16 ---> 76828500e5a5 04:23:16 Step 9/24 : COPY . . 04:23:16 ---> 0234f3423ad0 04:23:16 Step 10/24 : RUN ${MAKE} 04:23:16 ---> Running in 5eaf2059a888 04:23:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:23:49 Removing intermediate container 5eaf2059a888 04:23:49 ---> 65df0645cdaa 04:23:49 Step 11/24 : FROM alpine:3.18 04:23:49 3.18: Pulling from library/alpine 04:23:49 930bdd4d222e: Pulling fs layer 04:23:49 930bdd4d222e: Verifying Checksum 04:23:49 930bdd4d222e: Download complete 04:23:49 930bdd4d222e: Pull complete 04:23:49 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:23:49 Status: Downloaded newer image for alpine:3.18 04:23:49 ---> 18f865063206 04:23:49 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:23:49 ---> Running in a52add8bd8c4 04:23:49 Removing intermediate container a52add8bd8c4 04:23:49 ---> 6b10726eb369 04:23:49 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:23:49 ---> Running in 59184d25d214 04:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:49 (1/1) Installing dumb-init (1.2.5-r2) 04:23:49 Executing busybox-1.36.1-r7.trigger 04:23:49 OK: 7 MiB in 16 packages 04:23:49 Removing intermediate container 59184d25d214 04:23:49 ---> 9365faeebe6a 04:23:49 Step 14/24 : RUN apk --no-cache upgrade 04:23:49 ---> Running in 887ead3651e8 04:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:49 (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) 04:23:49 (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) 04:23:49 OK: 7 MiB in 16 packages 04:23:49 Removing intermediate container 887ead3651e8 04:23:49 ---> ae0a4ecb238f 04:23:49 Step 15/24 : WORKDIR / 04:23:49 ---> Running in 41a9a99e2222 04:23:49 Removing intermediate container 41a9a99e2222 04:23:49 ---> 3ef6ee7e469e 04:23:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:23:49 ---> acaa0c440c3b 04:23:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:23:49 ---> 43bcc596e4f1 04:23:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:23:49 ---> a0f5a603a08b 04:23:49 Step 19/24 : EXPOSE 59999 04:23:49 ---> Running in 9c86209497f1 04:23:49 Removing intermediate container 9c86209497f1 04:23:49 ---> 1d48596755a4 04:23:49 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:23:49 ---> Running in ca6ebb4a1e6e 04:23:49 Removing intermediate container ca6ebb4a1e6e 04:23:49 ---> d7e8b15e0c61 04:23:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:23:49 ---> Running in 15e6ca8a71fd 04:23:49 Removing intermediate container 15e6ca8a71fd 04:23:49 ---> 0a988c94be13 04:23:49 Step 22/24 : LABEL arch=amd64 04:23:49 ---> Running in e862f866263b 04:23:49 Removing intermediate container e862f866263b 04:23:49 ---> b65c30dbc916 04:23:49 Step 23/24 : LABEL git_sha=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba 04:23:49 ---> Running in 0627ea90e07b 04:23:49 Removing intermediate container 0627ea90e07b 04:23:49 ---> e027a8feea03 04:23:49 Step 24/24 : LABEL version=0.0.0 04:23:49 ---> Running in cb5efad2a43e 04:23:50 Removing intermediate container cb5efad2a43e 04:23:50 ---> 53705821aef2 04:23:50 [Warning] One or more build-args [ARCH] were not consumed 04:23:50 Successfully built 53705821aef2 04:23:50 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:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:51 04:23:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:51 latest: Pulling from edgex-lftools-log-publisher 04:23:51 5eb5b503b376: Pulling fs layer 04:23:51 5c69ac0246d0: Pulling fs layer 04:23:51 ec43610c2a17: Pulling fs layer 04:23:51 3a2ae6a8a46f: Pulling fs layer 04:23:51 33b1e0a273af: Pulling fs layer 04:23:51 5d3b04190fa2: Pulling fs layer 04:23:51 2f39f015ded8: Pulling fs layer 04:23:51 33b1e0a273af: Waiting 04:23:51 3a2ae6a8a46f: Waiting 04:23:51 5d3b04190fa2: Waiting 04:23:51 5c69ac0246d0: Verifying Checksum 04:23:51 5c69ac0246d0: Download complete 04:23:51 3a2ae6a8a46f: Verifying Checksum 04:23:51 3a2ae6a8a46f: Download complete 04:23:51 33b1e0a273af: Verifying Checksum 04:23:51 33b1e0a273af: Download complete 04:23:51 5d3b04190fa2: Verifying Checksum 04:23:51 5d3b04190fa2: Download complete 04:23:51 ec43610c2a17: Verifying Checksum 04:23:51 ec43610c2a17: Download complete 04:23:51 5eb5b503b376: Verifying Checksum 04:23:51 5eb5b503b376: Download complete 04:23:52 2f39f015ded8: Download complete 04:23:53 5eb5b503b376: Pull complete 04:23:53 5c69ac0246d0: Pull complete 04:23:53 ec43610c2a17: Pull complete 04:23:53 3a2ae6a8a46f: Pull complete 04:23:53 33b1e0a273af: Pull complete 04:23:53 5d3b04190fa2: Pull complete 04:23:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9561 in /w/workspace/gexfoundry_device-sdk-go_PR-1624 [Pipeline] { [Pipeline] ws 04:23:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:23:57 2f39f015ded8: Pull complete 04:23:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:59 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:00 prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container 04:24:00 $ 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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@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:24:03 $ docker top 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:03 ---> job-cost.sh 04:24:03 lf-activate-venv: SKIPPING 04:24:03 INFO: No Stack... 04:24:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:04 INFO: Archiving Costs 04:24:04 using credential edgex-jenkins-ssh 04:24:04 Cloning the remote Git repository [Pipeline] sh 04:24:04 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/cost.csv 04:24:04 + cut -d, -f6 [Pipeline] lock 04:24:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] 04:24:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] did not exist. Created. 04:24:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] { 04:24:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:24:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:24:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:04 > git --version # timeout=10 04:24:04 > git --version # 'git version 2.25.1' 04:24:04 using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] unstash [Pipeline] sh 04:24:05 + echo total: 0.2199999988079071 [Pipeline] stash 04:24:05 Stashed 1 file(s) [Pipeline] } 04:24:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:05 $ docker stop --time=1 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 04:24:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:06 $ docker rm -f --volumes 9e4df69858836082b5206954fd9f6201dc7170cca24675496d9aeac08585d269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:24:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:09 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit f5f0eed32f87aaa18c73f1d3c21303874aaef1ba 04:24:09 Merge succeeded, producing f5f0eed32f87aaa18c73f1d3c21303874aaef1ba 04:24:09 Checking out Revision f5f0eed32f87aaa18c73f1d3c21303874aaef1ba (PR-1624) 04:24:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1624/head:refs/remotes/origin/PR-1624 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:24:09 > git config core.sparsecheckout # timeout=10 04:24:09 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 04:24:09 > git remote # timeout=10 04:24:09 > git config --get remote.origin.url # timeout=10 04:24:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:09 > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 04:24:09 > git rev-parse HEAD^{commit} # timeout=10 04:24:09 > git config core.sparsecheckout # timeout=10 04:24:09 > git checkout -f f5f0eed32f87aaa18c73f1d3c21303874aaef1ba # timeout=10 04:24:10 Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0" 04:24:10 > git --version # timeout=10 04:24:10 > git --version # 'git version 2.25.1' 04:24:10 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:24:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:15 Dload Upload Total Spent Left Speed 04:24:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 04:24:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:24:16 + sudo tee /etc/docker/daemon.new 04:24:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:24:16 { 04:24:16 "registry-mirrors": [ 04:24:16 "https://nexus3.edgexfoundry.org:10001" 04:24:16 ], 04:24:16 "bip": "10.250.0.254/24", 04:24:16 "hosts": [ 04:24:16 "tcp://0.0.0.0:5555", 04:24:16 "unix:///var/run/docker.sock" 04:24:16 ], 04:24:16 "mtu": 1458, 04:24:16 "selinux-enabled": true, 04:24:16 "seccomp-profile": "/etc/docker/seccomp.json" 04:24:16 } [Pipeline] sh 04:24:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:24:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:35 provisioning config files... 04:24:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15859285133948319549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:35 ---> ****-login.sh 04:24:35 nexus3.edgexfoundry.org:10001 04:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:36 Configure a credential helper to remove this warning. See 04:24:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:36 04:24:36 Login Succeeded 04:24:36 nexus3.edgexfoundry.org:10002 04:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:36 Configure a credential helper to remove this warning. See 04:24:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:36 04:24:36 Login Succeeded 04:24:36 nexus3.edgexfoundry.org:10003 04:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:37 Configure a credential helper to remove this warning. See 04:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:37 04:24:37 Login Succeeded 04:24:37 nexus3.edgexfoundry.org:10004 04:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:37 Configure a credential helper to remove this warning. See 04:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:37 04:24:37 Login Succeeded 04:24:37 ****.io 04:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:24:38 Configure a credential helper to remove this warning. See 04:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:24:38 04:24:38 Login Succeeded 04:24:38 ---> ****-login.sh ends [Pipeline] } 04:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:24:38 ========================================================= 04:24:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:24:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:39 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:24:39 Sending build context to Docker daemon 13.1MB 04:24:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:24:39 Step 2/10 : FROM ${BASE} AS builder 04:24:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:24:40 c6b39de5b339: Pulling fs layer 04:24:40 a69c41024577: Pulling fs layer 04:24:40 d6de4b400683: Pulling fs layer 04:24:40 35cb2a7552d0: Pulling fs layer 04:24:40 4f4fb700ef54: Pulling fs layer 04:24:40 464afbd9ba4c: Pulling fs layer 04:24:40 00f215d4a9da: Pulling fs layer 04:24:40 d496ad576159: Pulling fs layer 04:24:40 4f4fb700ef54: Waiting 04:24:40 464afbd9ba4c: Waiting 04:24:40 00f215d4a9da: Waiting 04:24:40 35cb2a7552d0: Waiting 04:24:40 a69c41024577: Verifying Checksum 04:24:40 a69c41024577: Download complete 04:24:40 35cb2a7552d0: Verifying Checksum 04:24:40 35cb2a7552d0: Download complete 04:24:40 4f4fb700ef54: Verifying Checksum 04:24:40 4f4fb700ef54: Download complete 04:24:40 464afbd9ba4c: Verifying Checksum 04:24:40 464afbd9ba4c: Download complete 04:24:40 c6b39de5b339: Verifying Checksum 04:24:40 c6b39de5b339: Download complete 04:24:40 d496ad576159: Verifying Checksum 04:24:40 d496ad576159: Download complete 04:24:41 c6b39de5b339: Pull complete 04:24:41 a69c41024577: Pull complete 04:24:41 d6de4b400683: Verifying Checksum 04:24:41 d6de4b400683: Download complete 04:24:42 00f215d4a9da: Verifying Checksum 04:24:42 00f215d4a9da: Download complete 04:24:55 d6de4b400683: Pull complete 04:24:55 35cb2a7552d0: Pull complete 04:24:55 4f4fb700ef54: Pull complete 04:24:55 464afbd9ba4c: Pull complete 04:25:03 00f215d4a9da: Pull complete 04:25:05 d496ad576159: Pull complete 04:25:05 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:25:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:25:05 ---> f246e2811388 04:25:05 Step 3/10 : ARG MAKE=make build 04:25:06 ---> Running in 51f7fa8349f1 04:25:06 Removing intermediate container 51f7fa8349f1 04:25:06 ---> da5e6bfb561b 04:25:06 Step 4/10 : WORKDIR /device-sdk-go 04:25:07 ---> Running in 26c8fbbe8340 04:25:07 Removing intermediate container 26c8fbbe8340 04:25:07 ---> 84308da2153f 04:25:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:25:07 ---> Running in 19aec508dd4b 04:25:07 Removing intermediate container 19aec508dd4b 04:25:07 ---> 543bb540fd38 04:25:07 Step 6/10 : RUN apk add --update --no-cache make git 04:25:07 ---> Running in b36e2a109436 04:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:25:10 OK: 266 MiB in 52 packages 04:25:11 Removing intermediate container b36e2a109436 04:25:11 ---> c220bc80f85e 04:25:11 Step 7/10 : COPY go.mod vendor* ./ 04:25:11 ---> f45fda64f28c 04:25:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:11 ---> Running in 6e1cb90ca15d 04:27:03 Removing intermediate container 6e1cb90ca15d 04:27:03 ---> ea430eb85d76 04:27:03 Step 9/10 : COPY . . 04:27:03 ---> 320e9f4659b1 04:27:03 Step 10/10 : RUN ${MAKE} 04:27:03 ---> Running in 8473c5aa9b22 04:27:04 noop 04:27:05 Removing intermediate container 8473c5aa9b22 04:27:05 ---> 5c0e5edc748f 04:27:05 Successfully built 5c0e5edc748f 04:27:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:06 + docker inspect -f . ci-base-image-arm64 04:27:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:06 prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container 04:27:06 $ 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:27:07 $ docker top 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:08 + go version 04:27:08 go version go1.21.9 linux/arm64 [Pipeline] } 04:27:08 $ docker stop --time=1 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a 04:27:10 $ docker rm -f --volumes 26b2db1678fc8823a2598e977b11c2a6bde3ec491413de8ab765da51b3f92c8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:11 + docker inspect -f . ci-base-image-arm64 04:27:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:11 prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container 04:27:11 $ 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:27:13 $ docker top dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:27:14 + make test 04:27:14 go test -race -coverprofile=coverage.out ./... 04:28:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:32:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.108s coverage: 26.0% of statements 04:32:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.161s coverage: 79.4% of statements 04:32:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:32:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:32:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.267s coverage: 86.0% of statements 04:32:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:32:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.484s coverage: 45.2% of statements 04:32:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.153s coverage: 14.4% of statements 04:32:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.768s coverage: 44.6% of statements 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:32:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.302s coverage: 68.5% of statements 04:32:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.369s coverage: 89.2% of statements 04:32:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:32:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.248s coverage: 5.3% of statements 04:32:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:32:36 GO111MODULE=on go vet ./... 04:36:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:28 ./bin/test-attribution-txt.sh [Pipeline] echo 04:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:36:28 $ docker stop --time=1 dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c 04:36:30 $ docker rm -f --volumes dc98c7a57abf2596d1116af8639c00ab3c5c35b7874530dd458be895a0d86e8c [Pipeline] // withDockerContainer [Pipeline] sh 04:36:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:33 Warning: overwriting stash ‘coverage-report’ 04:36:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:34 + ls -al . 04:36:34 total 380 04:36:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 04:27 . 04:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:24 .. 04:36:34 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:24 .dockerignore 04:36:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:24 .git 04:36:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:24 .github 04:36:34 -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:24 .gitignore 04:36:34 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:24 .golangci.yml 04:36:34 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 6 04:24 CHANGELOG.md 04:36:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:24 GOVERNANCE.md 04:36:34 -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:24 Jenkinsfile 04:36:34 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:24 LICENSE 04:36:34 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:24 Makefile 04:36:34 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:24 OWNERS.md 04:36:34 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 6 04:24 README.md 04:36:34 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:20 VERSION 04:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:24 bin 04:36:34 -rw-r--r-- 1 jenkins jenkins 127940 Sep 6 04:32 coverage.out 04:36:34 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:24 example 04:36:34 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 6 04:24 go.mod 04:36:34 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 6 04:24 go.sum 04:36:34 drwxrwxr-x 13 jenkins jenkins 4096 Sep 6 04:24 internal 04:36:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:24 openapi 04:36:34 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:24 pkg 04:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:24 snap 04:36:34 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:35 + 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=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba --label arch=arm64 --label version=0.0.0 . 04:36:35 Sending build context to Docker daemon 13.23MB 04:36:35 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:36:35 Step 2/24 : FROM ${BASE} AS builder 04:36:35 ---> 5c0e5edc748f 04:36:35 Step 3/24 : ARG MAKE=make build 04:36:36 ---> Running in 9b93f88faa33 04:36:36 Removing intermediate container 9b93f88faa33 04:36:36 ---> e8d9042e60fb 04:36:36 Step 4/24 : WORKDIR /device-sdk-go 04:36:36 ---> Running in 2ec765507e85 04:36:37 Removing intermediate container 2ec765507e85 04:36:37 ---> f827907cc4b4 04:36:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:36:37 ---> Running in a96e4de8c24c 04:36:38 Removing intermediate container a96e4de8c24c 04:36:38 ---> 335e164cb9f8 04:36:38 Step 6/24 : RUN apk add --update --no-cache make git 04:36:38 ---> Running in a0a32beed886 04:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:36:40 OK: 266 MiB in 52 packages 04:36:41 Removing intermediate container a0a32beed886 04:36:41 ---> ae8e0ab66575 04:36:41 Step 7/24 : COPY go.mod vendor* ./ 04:36:42 ---> 40c1279e02b1 04:36:42 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:42 ---> Running in 1106a57f0017 04:36:44 Removing intermediate container 1106a57f0017 04:36:44 ---> e3f47c540a4f 04:36:44 Step 9/24 : COPY . . 04:36:46 ---> 9200d2c9f5c4 04:36:46 Step 10/24 : RUN ${MAKE} 04:36:46 ---> Running in 5a0f42b45b33 04:36:47 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:40:23 Removing intermediate container 5a0f42b45b33 04:40:23 ---> fd75a9f9c955 04:40:23 Step 11/24 : FROM alpine:3.18 04:40:23 3.18: Pulling from library/alpine 04:40:23 4983c3fe2029: Pulling fs layer 04:40:23 4983c3fe2029: Verifying Checksum 04:40:23 4983c3fe2029: Download complete 04:40:23 4983c3fe2029: Pull complete 04:40:23 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:40:23 Status: Downloaded newer image for alpine:3.18 04:40:23 ---> a0237000ae83 04:40:23 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:40:23 ---> Running in 4268ca1153ca 04:40:23 Removing intermediate container 4268ca1153ca 04:40:23 ---> 97e3f45b832c 04:40:23 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:40:23 ---> Running in 288cd2f70249 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:23 (1/1) Installing dumb-init (1.2.5-r2) 04:40:23 Executing busybox-1.36.1-r7.trigger 04:40:23 OK: 8 MiB in 16 packages 04:40:23 Removing intermediate container 288cd2f70249 04:40:23 ---> 556d3e870cdc 04:40:23 Step 14/24 : RUN apk --no-cache upgrade 04:40:23 ---> Running in 9e965f1bc52d 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:23 (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) 04:40:23 (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) 04:40:23 OK: 8 MiB in 16 packages 04:40:23 Removing intermediate container 9e965f1bc52d 04:40:23 ---> d3841c6accaa 04:40:23 Step 15/24 : WORKDIR / 04:40:23 ---> Running in 2517ac8d47ef 04:40:23 Removing intermediate container 2517ac8d47ef 04:40:23 ---> 29cb58746d45 04:40:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:40:23 ---> 398ff0bbeecc 04:40:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:40:23 ---> 1c928e073925 04:40:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:40:23 ---> 281825569862 04:40:23 Step 19/24 : EXPOSE 59999 04:40:23 ---> Running in a3c96d163fd8 04:40:23 Removing intermediate container a3c96d163fd8 04:40:23 ---> 88e99381eb61 04:40:23 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:40:23 ---> Running in 8a49bf10cbdc 04:40:23 Removing intermediate container 8a49bf10cbdc 04:40:23 ---> 838b34c6b22c 04:40:23 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:40:23 ---> Running in 3ddfbbb21634 04:40:23 Removing intermediate container 3ddfbbb21634 04:40:23 ---> 1d0b02d0a073 04:40:23 Step 22/24 : LABEL arch=arm64 04:40:23 ---> Running in 1b1543818e50 04:40:24 Removing intermediate container 1b1543818e50 04:40:24 ---> 31d659ee2cf8 04:40:24 Step 23/24 : LABEL git_sha=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba 04:40:24 ---> Running in eb1681f15a83 04:40:24 Removing intermediate container eb1681f15a83 04:40:24 ---> 21ffd247cc29 04:40:24 Step 24/24 : LABEL version=0.0.0 04:40:24 ---> Running in ee82bb8eab26 04:40:25 Removing intermediate container ee82bb8eab26 04:40:25 ---> d72d3998e621 04:40:25 [Warning] One or more build-args [ARCH] were not consumed 04:40:25 Successfully built d72d3998e621 04:40:25 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:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:26 04:40:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:26 arm64: Pulling from edgex-lftools-log-publisher 04:40:26 8998bd30e6a1: Pulling fs layer 04:40:26 04944245beec: Pulling fs layer 04:40:26 699f458cf7ca: Pulling fs layer 04:40:26 765212b225bb: Pulling fs layer 04:40:26 f23df028b6ca: Pulling fs layer 04:40:26 d65c8cfc05b1: Pulling fs layer 04:40:26 2437ff75d9bd: Pulling fs layer 04:40:26 765212b225bb: Waiting 04:40:26 f23df028b6ca: Waiting 04:40:26 d65c8cfc05b1: Waiting 04:40:26 2437ff75d9bd: Waiting 04:40:26 04944245beec: Verifying Checksum 04:40:26 04944245beec: Download complete 04:40:26 765212b225bb: Verifying Checksum 04:40:26 765212b225bb: Download complete 04:40:26 f23df028b6ca: Verifying Checksum 04:40:26 f23df028b6ca: Download complete 04:40:26 d65c8cfc05b1: Verifying Checksum 04:40:26 d65c8cfc05b1: Download complete 04:40:26 699f458cf7ca: Verifying Checksum 04:40:26 699f458cf7ca: Download complete 04:40:27 8998bd30e6a1: Download complete 04:40:29 2437ff75d9bd: Verifying Checksum 04:40:29 2437ff75d9bd: Download complete 04:40:31 8998bd30e6a1: Pull complete 04:40:32 04944245beec: Pull complete 04:40:33 699f458cf7ca: Pull complete 04:40:34 765212b225bb: Pull complete 04:40:35 f23df028b6ca: Pull complete 04:40:35 d65c8cfc05b1: Pull complete 04:40:53 2437ff75d9bd: Pull complete 04:40:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-9561 does not seem to be running inside a container 04:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:40:56 $ docker top e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:57 ---> job-cost.sh 04:40:57 lf-activate-venv: SKIPPING 04:40:57 INFO: No Stack... 04:40:57 INFO: Retrieving Pricing Info for: v3-standard-4 04:40:58 INFO: Archiving Costs [Pipeline] sh 04:40:59 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:40:59 + cut -d, -f6 [Pipeline] lock 04:40:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] 04:40:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] did not exist. Created. 04:40:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:59 /w/workspace/device-sdk-go/1@tmp/durable-624272a8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:00 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:00 Warning: overwriting stash ‘stack-cost’ 04:41:00 Stashed 1 file(s) [Pipeline] } 04:41:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1624-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:00 $ docker stop --time=1 e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e 04:41:01 $ docker rm -f --volumes e0a015b4f2599faa0f8d1bc9f077be6ec690c6f1f3d5518b145a39af2658602e [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:03 provisioning config files... 04:41:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config13881318335086455707tmp [Pipeline] { [Pipeline] sh 04:41:03 + set +x 04:41:03 + curl -s https://codecov.io/bash 04:41:03 + bash -s -- 04:41:03 04:41:03 _____ _ 04:41:03 / ____| | | 04:41:03 | | ___ __| | ___ ___ _____ __ 04:41:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:03 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:03 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:03 Bash-1.0.6 04:41:03 04:41:03 04:41:03 ==> git version 2.25.1 found 04:41:03 ==> 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:03 Release-Date: 2020-01-08 04:41:03 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:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:03 ==> Jenkins CI detected. 04:41:03 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1624 04:41:03 project root: . 04:41:03 --> token set from env 04:41:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:03 ==> Running gcov in . (disable via -X gcov) 04:41:03 ==> Python coveragepy not found 04:41:03 ==> Searching for coverage reports in: 04:41:03 + . 04:41:03 -> Found 1 reports 04:41:03 ==> Detecting git/mercurial file structure 04:41:03 ==> Reading reports 04:41:03 + ./coverage.out bytes=127940 04:41:03 ==> Appending adjustments 04:41:03 https://docs.codecov.io/docs/fixing-reports 04:41:04 + Found adjustments 04:41:04 ==> Gzipping contents 04:41:04 20K /tmp/codecov.e2WwLy.gz 04:41:04 ==> Uploading reports 04:41:04 url: https://codecov.io 04:41:04 query: branch=PR-1624&commit=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1624&job=&cmd_args= 04:41:04 -> Pinging Codecov 04:41:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1624&commit=f5f0eed32f87aaa18c73f1d3c21303874aaef1ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1624&job=&cmd_args= 04:41:04 -> Uploading to 04:41:04 https://storage.googleapis.com/codecov/v4/raw/2024-09-06/7E55EF52A471D76F132DFD9A03CDDE97/f5f0eed32f87aaa18c73f1d3c21303874aaef1ba/1be1a839-f83a-44b6-80b7-4faa49ed6d3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240906%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240906T044103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ab677cefa5a0b0eb15bc2b1e7a78161570db2011cabd58fac7bce4dbc79f486 04:41:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:04 Dload Upload Total Spent Left Speed 04:41:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17668 0 0 100 17668 0 66924 --:--:-- --:--:-- --:--:-- 66924 04:41:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f5f0eed32f87aaa18c73f1d3c21303874aaef1ba [Pipeline] } 04:41:04 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:06 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives ] 04:41:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives 04:41:06 total 16 04:41:06 drwxr-xr-x 3 root root 4096 Sep 6 04:24 . 04:41:06 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:24 .. 04:41:06 drwxr-xr-x 2 root root 4096 Sep 6 04:24 cost 04:41:06 -rw-r--r-- 1 root root 86 Sep 6 04:24 cost.csv 04:41:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives 04:41:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives 04:41:06 total 16 04:41:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:24 . 04:41:06 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:24 .. 04:41:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 04:24 cost 04:41:06 -rw-r--r-- 1 jenkins jenkins 86 Sep 6 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:08 ---> package-listing.sh 04:41:08 ++ facter osfamily 04:41:08 ++ tr '[:upper:]' '[:lower:]' 04:41:08 + OS_FAMILY=debian 04:41:08 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1624 04:41:08 + START_PACKAGES=/tmp/packages_start.txt 04:41:08 + END_PACKAGES=/tmp/packages_end.txt 04:41:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:08 + PACKAGES=/tmp/packages_start.txt 04:41:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1624 ']' 04:41:08 + PACKAGES=/tmp/packages_end.txt 04:41:08 + case "${OS_FAMILY}" in 04:41:08 + grep '^ii' 04:41:08 + dpkg -l 04:41:08 + '[' -f /tmp/packages_start.txt ']' 04:41:08 + '[' -f /tmp/packages_end.txt ']' 04:41:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1624 ']' 04:41:08 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/ 04:41:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1624/archives/ [Pipeline] echo 04:41:08 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-1624/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:41:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:09 prd-ubuntu20.04-docker-8c-8g-9560 does not seem to be running inside a container 04:41:09 $ 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-1624/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-1624 -v /w/workspace/gexfoundry_device-sdk-go_PR-1624:/w/workspace/gexfoundry_device-sdk-go_PR-1624:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1624@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:09 $ docker top d5bae59151288afe0cfe62442bce8f0c8de410e6cbcd9fb1212f9b39abfc457b -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:10 + ls /var/log/sa-host 04:41:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:11 provisioning config files... 04:41:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1624@tmp/config16268970663067715113tmp [Pipeline] { [Pipeline] echo 04:41:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:11 ---> create-netrc.sh [Pipeline] } 04:41:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:11 ---> python-tools-install.sh [Pipeline] echo 04:41:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:12 ---> sudo-logs.sh 04:41:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:12 ---> job-cost.sh 04:41:12 lf-activate-venv: SKIPPING 04:41:12 DEBUG: total: 0.2199999988079071 04:41:12 INFO: Retrieving Stack Cost... 04:41:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:13 INFO: Archiving Costs [Pipeline] echo 04:41:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:13 ---> logs-deploy.sh 04:41:13 lf-activate-venv: SKIPPING 04:41:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1624/1 04:41:13 INFO: archiving workspace using pattern(s): 04:41:14 Archives upload complete. 04:41:14 INFO: archiving logs to Nexus