Pull request #1626 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84bab1506d64f738ceaa35eb47361f1b8d059c85+224db1e0e192554ed613955b9810071aef8a346e (7513cee2d0079763ef0ca72915f3714a490375b8) 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-ssh13216402391082528617.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-ssh3491521892344140197.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-1626/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-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10591884447687583571.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-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4328338717403907622.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-ssh5189456178603662559.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-1626/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-1626/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3506520735251375753.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10098 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [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-1626 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 Merge succeeded, producing 84bab1506d64f738ceaa35eb47361f1b8d059c85 Checking out Revision 84bab1506d64f738ceaa35eb47361f1b8d059c85 (PR-1626) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:38:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:38:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:38:38 ========================================================= 04:38:38 EdgeX Global Pipelines Version Info 04:38:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:38:39 ------------------- 04:38:39 stable info: 04:38:39 ------------------- 04:38:39 Commited By: Cherry Wang cherry@iotechsys.com 04:38:39 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:38:39 Message: update stable to v1.0.263 04:38:40 ------------------- 04:38:40 experimental info: 04:38:40 ------------------- 04:38:40 Commited By: Cherry Wang cherry@iotechsys.com 04:38:40 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:38:40 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:38:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:38:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1626 [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1626 [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1626 [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84bab15 [Pipeline] echo 04:38:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:43 provisioning config files... 04:38:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config5536981934224727674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:44 ---> ****-login.sh 04:38:44 nexus3.edgexfoundry.org:10001 04:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:44 Configure a credential helper to remove this warning. See 04:38:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:44 04:38:44 Login Succeeded 04:38:44 nexus3.edgexfoundry.org:10002 04:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:44 Configure a credential helper to remove this warning. See 04:38:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:44 04:38:44 Login Succeeded 04:38:44 nexus3.edgexfoundry.org:10003 04:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:44 Configure a credential helper to remove this warning. See 04:38:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:44 04:38:44 Login Succeeded 04:38:44 nexus3.edgexfoundry.org:10004 04:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:44 Configure a credential helper to remove this warning. See 04:38:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:44 04:38:44 Login Succeeded 04:38:44 ****.io 04:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:44 Configure a credential helper to remove this warning. See 04:38:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:44 04:38:44 Login Succeeded 04:38:44 ---> ****-login.sh ends [Pipeline] } 04:38:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:38:45 + git rev-list -1 --merges 84bab1506d64f738ceaa35eb47361f1b8d059c85~1..84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo 04:38:45 -----------> git rev-list -1 --merges 84bab1506d64f738ceaa35eb47361f1b8d059c85~1..84bab1506d64f738ceaa35eb47361f1b8d059c85 84bab1506d64f738ceaa35eb47361f1b8d059c85 [false] [Pipeline] sh 04:38:46 + git log --format=format:%s -1 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo 04:38:46 ========================================================= 04:38:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:38:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:46 + git log --format=format:%s -1 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo 04:38:46 [semverPrep] GIT_COMMIT: 84bab1506d64f738ceaa35eb47361f1b8d059c85, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:38:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:38:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:47 + grep -v github /etc/ssh/ssh_known_hosts 04:38:47 + [ -e /tmp/ssh_known_hosts ] 04:38:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:38:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:38:47 + sudo tee -a /etc/ssh/ssh_known_hosts 04:38:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:47 04:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:48 0.1.4: Pulling from edgex-devops/py-git-semver 04:38:48 b85a868b505f: Pulling fs layer 04:38:48 e2be974225ed: Pulling fs layer 04:38:48 339a4e72a1f5: Pulling fs layer 04:38:48 988bab9f4d93: Pulling fs layer 04:38:48 1469e6f7b9e6: Pulling fs layer 04:38:48 eaf3925da568: Pulling fs layer 04:38:48 bab4dde63d76: Pulling fs layer 04:38:48 bde34c3a00c8: Pulling fs layer 04:38:48 b352a97aabf1: Pulling fs layer 04:38:48 4872d77fe225: Pulling fs layer 04:38:48 5851b861e8e6: Pulling fs layer 04:38:48 988bab9f4d93: Waiting 04:38:48 1469e6f7b9e6: Waiting 04:38:48 bde34c3a00c8: Waiting 04:38:48 b352a97aabf1: Waiting 04:38:48 eaf3925da568: Waiting 04:38:48 bab4dde63d76: Waiting 04:38:48 4872d77fe225: Waiting 04:38:48 5851b861e8e6: Waiting 04:38:48 e2be974225ed: Verifying Checksum 04:38:48 e2be974225ed: Download complete 04:38:48 988bab9f4d93: Verifying Checksum 04:38:48 988bab9f4d93: Download complete 04:38:48 1469e6f7b9e6: Verifying Checksum 04:38:48 1469e6f7b9e6: Download complete 04:38:48 339a4e72a1f5: Verifying Checksum 04:38:48 339a4e72a1f5: Download complete 04:38:48 eaf3925da568: Download complete 04:38:48 bde34c3a00c8: Verifying Checksum 04:38:48 bde34c3a00c8: Download complete 04:38:48 b352a97aabf1: Verifying Checksum 04:38:48 b352a97aabf1: Download complete 04:38:48 4872d77fe225: Verifying Checksum 04:38:48 4872d77fe225: Download complete 04:38:48 5851b861e8e6: Verifying Checksum 04:38:48 5851b861e8e6: Download complete 04:38:48 b85a868b505f: Verifying Checksum 04:38:48 b85a868b505f: Download complete 04:38:48 bab4dde63d76: Verifying Checksum 04:38:48 bab4dde63d76: Download complete 04:38:49 b85a868b505f: Pull complete 04:38:49 e2be974225ed: Pull complete 04:38:50 339a4e72a1f5: Pull complete 04:38:50 988bab9f4d93: Pull complete 04:38:50 1469e6f7b9e6: Pull complete 04:38:50 eaf3925da568: Pull complete 04:38:52 bab4dde63d76: Pull complete 04:38:52 bde34c3a00c8: Pull complete 04:38:52 b352a97aabf1: Pull complete 04:38:52 4872d77fe225: Pull complete 04:38:52 5851b861e8e6: Pull complete 04:38:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:52 prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container 04:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@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:38:56 $ docker top cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 -eo pid,comm 04:38:56 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:38:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:56 [ssh-agent] Looking for ssh-agent implementation... 04:38:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:56 $ docker exec cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent 04:38:56 SSH_AUTH_SOCK=/tmp/ssh-J7o77SlNwEon/agent.32 04:38:56 SSH_AGENT_PID=38 04:38:56 Running ssh-add (command line suppressed) 04:38:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_10229032537615305873.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_10229032537615305873.key) 04:38:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:57 + git tag --points-at HEAD [Pipeline] } 04:38:57 $ docker exec --env ******** --env ******** cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent -k 04:38:57 unset SSH_AUTH_SOCK; 04:38:57 unset SSH_AGENT_PID; 04:38:57 echo Agent pid 38 killed; 04:38:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:38:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:57 [ssh-agent] Looking for ssh-agent implementation... 04:38:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:57 $ docker exec cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent 04:38:57 SSH_AUTH_SOCK=/tmp/ssh-j2UD7upimXE1/agent.71 04:38:57 SSH_AGENT_PID=77 04:38:57 Running ssh-add (command line suppressed) 04:38:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_15306863294899463118.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_15306863294899463118.key) 04:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:58 + git semver init 04:38:58 2024-09-11 04:38:58,560 [run_init] DEBUG init version:0.0.0 force:False 04:38:58 2024-09-11 04:38:58,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver 04:38:58 2024-09-11 04:38:58,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver 04:38:58 2024-09-11 04:38:58,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626, universal_newlines=False, shell=None, istream=None) 04:39:02 2024-09-11 04:39:01,398 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.git/info/exclude 04:39:02 2024-09-11 04:39:01,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 with force:False 04:39:02 2024-09-11 04:39:01,398 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 04:39:02 2024-09-11 04:39:01,403 [execute] INFO git cat-file --batch-check 04:39:02 2024-09-11 04:39:01,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) 04:39:02 2024-09-11 04:39:01,408 [execute] INFO git cat-file --batch 04:39:02 2024-09-11 04:39:01,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) 04:39:02 2024-09-11 04:39:01,413 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 04:39:02 0.0.0 [Pipeline] } 04:39:02 $ docker exec --env ******** --env ******** cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent -k 04:39:02 unset SSH_AUTH_SOCK; 04:39:02 unset SSH_AGENT_PID; 04:39:02 echo Agent pid 77 killed; 04:39:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:02 + git semver [Pipeline] } 04:39:02 $ docker stop --time=1 cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 04:39:04 $ docker rm -f --volumes cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:39:05 Stashed 1 file(s) [Pipeline] echo 04:39:05 [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:39:05 provisioning config files... 04:39:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config16166628676422616896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:06 ---> ****-login.sh 04:39:06 nexus3.edgexfoundry.org:10001 04:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:06 Configure a credential helper to remove this warning. See 04:39:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:06 04:39:06 Login Succeeded 04:39:06 nexus3.edgexfoundry.org:10002 04:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:06 Configure a credential helper to remove this warning. See 04:39:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:06 04:39:06 Login Succeeded 04:39:06 nexus3.edgexfoundry.org:10003 04:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:06 Configure a credential helper to remove this warning. See 04:39:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:06 04:39:06 Login Succeeded 04:39:06 nexus3.edgexfoundry.org:10004 04:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:06 Configure a credential helper to remove this warning. See 04:39:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:06 04:39:06 Login Succeeded 04:39:06 ****.io 04:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:06 Configure a credential helper to remove this warning. See 04:39:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:06 04:39:06 Login Succeeded 04:39:06 ---> ****-login.sh ends [Pipeline] } 04:39:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:07 ========================================================= 04:39:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:39:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:07 + 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:39:07 Sending build context to Docker daemon 25.32MB 04:39:07 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:39:07 Step 2/10 : FROM ${BASE} AS builder 04:39:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:39:08 619be1103602: Pulling fs layer 04:39:08 7862e08f4a3e: Pulling fs layer 04:39:08 5df492c9dc93: Pulling fs layer 04:39:08 7629e6793208: Pulling fs layer 04:39:08 4f4fb700ef54: Pulling fs layer 04:39:08 fb5054dd5b73: Pulling fs layer 04:39:08 eeca6798cff9: Pulling fs layer 04:39:08 aa269ceb94a6: Pulling fs layer 04:39:08 ada007ff1a6a: Pulling fs layer 04:39:08 7629e6793208: Waiting 04:39:08 fb5054dd5b73: Waiting 04:39:08 eeca6798cff9: Waiting 04:39:08 4f4fb700ef54: Waiting 04:39:08 ada007ff1a6a: Waiting 04:39:08 aa269ceb94a6: Waiting 04:39:08 7862e08f4a3e: Download complete 04:39:08 7629e6793208: Verifying Checksum 04:39:08 7629e6793208: Download complete 04:39:08 4f4fb700ef54: Verifying Checksum 04:39:08 4f4fb700ef54: Download complete 04:39:08 fb5054dd5b73: Verifying Checksum 04:39:08 fb5054dd5b73: Download complete 04:39:08 619be1103602: Download complete 04:39:08 eeca6798cff9: Verifying Checksum 04:39:08 eeca6798cff9: Download complete 04:39:08 619be1103602: Pull complete 04:39:08 ada007ff1a6a: Verifying Checksum 04:39:08 ada007ff1a6a: Download complete 04:39:08 7862e08f4a3e: Pull complete 04:39:08 5df492c9dc93: Download complete 04:39:08 aa269ceb94a6: Verifying Checksum 04:39:08 aa269ceb94a6: Download complete 04:39:11 5df492c9dc93: Pull complete 04:39:11 7629e6793208: Pull complete 04:39:11 4f4fb700ef54: Pull complete 04:39:11 fb5054dd5b73: Pull complete 04:39:11 eeca6798cff9: Pull complete 04:39:14 aa269ceb94a6: Pull complete 04:39:14 ada007ff1a6a: Pull complete 04:39:14 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:39:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:39:14 ---> f489d0715acc 04:39:14 Step 3/10 : ARG MAKE=make build 04:39:20 Still waiting to schedule task 04:39:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10100’ is offline 04:39:22 ---> Running in c407f8d7b5c1 04:39:22 Removing intermediate container c407f8d7b5c1 04:39:22 ---> 5388e05a3c84 04:39:22 Step 4/10 : WORKDIR /device-sdk-go 04:39:22 ---> Running in a812f99863dc 04:39:22 Removing intermediate container a812f99863dc 04:39:22 ---> f50a60b7c32b 04:39:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:22 ---> Running in 22a5357efd99 04:39:22 Removing intermediate container 22a5357efd99 04:39:22 ---> 33854367d493 04:39:22 Step 6/10 : RUN apk add --update --no-cache make git 04:39:22 ---> Running in 4ab42e01c864 04:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:39:22 OK: 264 MiB in 52 packages 04:39:22 Removing intermediate container 4ab42e01c864 04:39:22 ---> 3b9a892323dc 04:39:22 Step 7/10 : COPY go.mod vendor* ./ 04:39:22 ---> 3065c5601405 04:39:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:22 ---> Running in 3f52c2b7cb54 04:40:18 Removing intermediate container 3f52c2b7cb54 04:40:18 ---> e1228c90cb14 04:40:18 Step 9/10 : COPY . . 04:40:18 ---> 44c063ec9391 04:40:18 Step 10/10 : RUN ${MAKE} 04:40:18 ---> Running in 24392e29c888 04:40:18 noop 04:40:18 Removing intermediate container 24392e29c888 04:40:18 ---> 23bf9536f404 04:40:18 Successfully built 23bf9536f404 04:40:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:19 + docker inspect -f . ci-base-image-x86_64 04:40:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:19 prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container 04:40:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@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:40:19 $ docker top 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:20 + go version 04:40:20 go version go1.21.9 linux/amd64 [Pipeline] } 04:40:20 $ docker stop --time=1 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 04:40:21 $ docker rm -f --volumes 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:22 + docker inspect -f . ci-base-image-x86_64 04:40:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:22 prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container 04:40:22 $ 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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@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:40:23 $ docker top 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] fileExists [Pipeline] sh 04:40:23 + make test 04:40:23 go test -race -coverprofile=coverage.out ./... 04:40:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements 04:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements 04:40:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements 04:40:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:40:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:40:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:40:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:40:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 45.2% of statements 04:40:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.030s coverage: 14.4% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.154s coverage: 44.6% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.037s coverage: 68.5% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 89.2% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements 04:41:33 GO111MODULE=on go vet ./... 04:41:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:35 ./bin/test-attribution-txt.sh 04:41:35 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 04:41:35 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 04:41:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:41:36 $ docker stop --time=1 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b 04:41:41 $ docker rm -f --volumes 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b [Pipeline] // withDockerContainer [Pipeline] sh 04:41:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10102 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] { [Pipeline] ws 04:41:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 04:41:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] checkout 04:41:42 Stashed 1 file(s) [Pipeline] } 04:41:42 The recommended git tool is: git [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:43 + ls -al . 04:41:43 total 384 04:41:43 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 04:40 . 04:41:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:38 .. 04:41:43 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 04:38 .dockerignore 04:41:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 04:41 .git 04:41:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:38 .github 04:41:43 -rw-rw-r-- 1 jenkins jenkins 137 Sep 11 04:38 .gitignore 04:41:43 -rw-rw-r-- 1 jenkins jenkins 42 Sep 11 04:38 .golangci.yml 04:41:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 04:39 .semver 04:41:43 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 11 04:38 CHANGELOG.md 04:41:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 04:38 GOVERNANCE.md 04:41:43 -rw-rw-r-- 1 jenkins jenkins 885 Sep 11 04:38 Jenkinsfile 04:41:43 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 11 04:38 LICENSE 04:41:43 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 11 04:38 Makefile 04:41:43 -rw-rw-r-- 1 jenkins jenkins 619 Sep 11 04:38 OWNERS.md 04:41:43 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 11 04:38 README.md 04:41:43 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 04:39 VERSION 04:41:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 04:38 bin 04:41:43 -rw-r--r-- 1 jenkins jenkins 127940 Sep 11 04:41 coverage.out 04:41:43 drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 04:38 example 04:41:43 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 11 04:38 go.mod 04:41:43 -rw-rw-r-- 1 jenkins jenkins 101627 Sep 11 04:38 go.sum 04:41:43 drwxrwxr-x 13 jenkins jenkins 4096 Sep 11 04:38 internal 04:41:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:38 openapi 04:41:43 drwxrwxr-x 6 jenkins jenkins 4096 Sep 11 04:38 pkg 04:41:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:38 snap 04:41:43 -rw-rw-r-- 1 jenkins jenkins 222 Sep 11 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:44 + 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=84bab1506d64f738ceaa35eb47361f1b8d059c85 --label arch=amd64 --label version=0.0.0 . 04:41:44 Sending build context to Docker daemon 25.44MB 04:41:44 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:41:44 Step 2/24 : FROM ${BASE} AS builder 04:41:44 ---> 23bf9536f404 04:41:44 Step 3/24 : ARG MAKE=make build 04:41:44 ---> Running in 8f610a012b61 04:41:44 Removing intermediate container 8f610a012b61 04:41:44 ---> ab6bd3025f65 04:41:44 Step 4/24 : WORKDIR /device-sdk-go 04:41:44 ---> Running in 4d50d0c77d00 04:41:44 Removing intermediate container 4d50d0c77d00 04:41:44 ---> b22c6ae408e3 04:41:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:41:45 ---> Running in 634444bb9822 04:41:45 Removing intermediate container 634444bb9822 04:41:45 ---> f2436f8e52b0 04:41:45 Step 6/24 : RUN apk add --update --no-cache make git 04:41:45 ---> Running in 99f17c3a88b0 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:41:45 OK: 264 MiB in 52 packages 04:41:46 Removing intermediate container 99f17c3a88b0 04:41:46 ---> 6f7a5c72e63b 04:41:46 Step 7/24 : COPY go.mod vendor* ./ 04:41:46 ---> 72ecb66b642d 04:41:46 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:46 ---> Running in 0084ebe7eb58 04:41:46 Removing intermediate container 0084ebe7eb58 04:41:46 ---> f2e5886d2781 04:41:46 Step 9/24 : COPY . . 04:41:47 ---> 03a84f309f7c 04:41:47 Step 10/24 : RUN ${MAKE} 04:41:47 ---> Running in e39cd0502107 04:41: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:41:52 using credential edgex-jenkins-ssh 04:41:52 Cloning the remote Git repository 04:41:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:41:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:41:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:41:53 > git --version # timeout=10 04:41:53 > git --version # 'git version 2.25.1' 04:41:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:41:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:41:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:42:00 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 04:42:00 Merge succeeded, producing 84bab1506d64f738ceaa35eb47361f1b8d059c85 04:42:00 Checking out Revision 84bab1506d64f738ceaa35eb47361f1b8d059c85 (PR-1626) 04:42:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:42:01 > git --version # timeout=10 04:42:01 > git --version # 'git version 2.25.1' 04:42:01 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 04:42:00 > git config core.sparsecheckout # timeout=10 04:42:00 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 04:42:00 > git remote # timeout=10 04:42:00 > git config --get remote.origin.url # timeout=10 04:42:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:00 > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 04:42:00 > git rev-parse HEAD^{commit} # timeout=10 04:42:00 > git config core.sparsecheckout # timeout=10 04:42:00 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:42:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:07 Dload Upload Total Spent Left Speed 04:42:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 04:42:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:42:07 + sudo tee /etc/docker/daemon.new 04:42:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:42:07 { 04:42:07 "registry-mirrors": [ 04:42:07 "https://nexus3.edgexfoundry.org:10001" 04:42:07 ], 04:42:07 "bip": "10.250.0.254/24", 04:42:07 "hosts": [ 04:42:07 "tcp://0.0.0.0:5555", 04:42:07 "unix:///var/run/docker.sock" 04:42:07 ], 04:42:07 "mtu": 1458, 04:42:07 "selinux-enabled": true, 04:42:07 "seccomp-profile": "/etc/docker/seccomp.json" 04:42:07 } [Pipeline] sh 04:42:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:42:08 + sudo service docker restart 04:42:26 Removing intermediate container e39cd0502107 04:42:26 ---> a5cff333f087 04:42:26 Step 11/24 : FROM alpine:3.18 04:42:26 3.18: Pulling from library/alpine 04:42:26 1cc3d825d8b2: Pulling fs layer 04:42:26 1cc3d825d8b2: Download complete 04:42:26 1cc3d825d8b2: Pull complete 04:42:26 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 04:42:26 Status: Downloaded newer image for alpine:3.18 04:42:26 ---> 2c64cf60f6f0 04:42:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:42:26 ---> Running in d02ce71cc4c5 04:42:26 Removing intermediate container d02ce71cc4c5 04:42:26 ---> 4b343c00afaa 04:42:26 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:42:26 ---> Running in b7eff343cc08 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:26 (1/1) Installing dumb-init (1.2.5-r2) 04:42:26 Executing busybox-1.36.1-r7.trigger 04:42:26 OK: 7 MiB in 16 packages 04:42:26 Removing intermediate container b7eff343cc08 04:42:26 ---> 81efe46a49f9 04:42:26 Step 14/24 : RUN apk --no-cache upgrade 04:42:26 ---> Running in 71765cdc1127 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:26 OK: 7 MiB in 16 packages 04:42:26 Removing intermediate container 71765cdc1127 04:42:26 ---> 4ebd2fc1f6ff 04:42:26 Step 15/24 : WORKDIR / 04:42:26 ---> Running in 8ec525bc4a90 04:42:26 Removing intermediate container 8ec525bc4a90 04:42:26 ---> f770cbe8ee19 04:42:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:42:26 ---> c49626a64f27 04:42:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:42:26 ---> aef11c448bb3 04:42:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:42:26 ---> 1eaa863de34c 04:42:26 Step 19/24 : EXPOSE 59999 04:42:26 ---> Running in 0822aa1652da 04:42:26 Removing intermediate container 0822aa1652da 04:42:26 ---> 4a8564575e8b 04:42:26 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:42:26 ---> Running in 52587f6193f9 04:42:26 Removing intermediate container 52587f6193f9 04:42:26 ---> d1ea1192ab56 04:42:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:42:26 ---> Running in eeafe96fe622 04:42:26 Removing intermediate container eeafe96fe622 04:42:26 ---> 5a42c5430194 04:42:26 Step 22/24 : LABEL arch=amd64 04:42:26 ---> Running in f0212c6cf380 04:42:26 Removing intermediate container f0212c6cf380 04:42:26 ---> b99973920d16 04:42:26 Step 23/24 : LABEL git_sha=84bab1506d64f738ceaa35eb47361f1b8d059c85 04:42:26 ---> Running in a677a5eef533 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:27 provisioning config files... 04:42:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2371979693784023055tmp [Pipeline] { 04:42:27 Removing intermediate container a677a5eef533 04:42:27 ---> 895612a20656 04:42:27 Step 24/24 : LABEL version=0.0.0 04:42:27 ---> Running in 8225e46a459c 04:42:27 Removing intermediate container 8225e46a459c 04:42:27 ---> 7fd64dc300cf 04:42:27 [Warning] One or more build-args [ARCH] were not consumed 04:42:27 Successfully built 7fd64dc300cf 04:42:27 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage 04:42:27 ---> ****-login.sh 04:42:27 nexus3.edgexfoundry.org:10001 [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 04:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:28 Configure a credential helper to remove this warning. See 04:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:28 04:42:28 Login Succeeded 04:42:28 nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:28 04:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:28 Configure a credential helper to remove this warning. See 04:42:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:28 04:42:28 Login Succeeded 04:42:28 nexus3.edgexfoundry.org:10003 04:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:29 Configure a credential helper to remove this warning. See 04:42:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:29 04:42:29 Login Succeeded 04:42:29 nexus3.edgexfoundry.org:10004 04:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:29 latest: Pulling from edgex-lftools-log-publisher 04:42:29 5eb5b503b376: Pulling fs layer 04:42:29 5c69ac0246d0: Pulling fs layer 04:42:29 ec43610c2a17: Pulling fs layer 04:42:29 3a2ae6a8a46f: Pulling fs layer 04:42:29 33b1e0a273af: Pulling fs layer 04:42:29 5d3b04190fa2: Pulling fs layer 04:42:29 2f39f015ded8: Pulling fs layer 04:42:29 2f39f015ded8: Waiting 04:42:29 33b1e0a273af: Waiting 04:42:29 5d3b04190fa2: Waiting 04:42:29 3a2ae6a8a46f: Waiting 04:42:29 5c69ac0246d0: Verifying Checksum 04:42:29 5c69ac0246d0: Download complete 04:42:29 3a2ae6a8a46f: Verifying Checksum 04:42:29 3a2ae6a8a46f: Download complete 04:42:29 33b1e0a273af: Verifying Checksum 04:42:29 33b1e0a273af: Download complete 04:42:29 ec43610c2a17: Verifying Checksum 04:42:29 ec43610c2a17: Download complete 04:42:29 5d3b04190fa2: Download complete 04:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:29 Configure a credential helper to remove this warning. See 04:42:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:29 04:42:29 Login Succeeded 04:42:29 ****.io 04:42:29 5eb5b503b376: Download complete 04:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:29 Configure a credential helper to remove this warning. See 04:42:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:29 04:42:29 Login Succeeded 04:42:29 ---> ****-login.sh ends [Pipeline] } 04:42:29 2f39f015ded8: Download complete 04:42:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 04:42:30 5eb5b503b376: Pull complete [Pipeline] echo 04:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:30 ========================================================= 04:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 04:42:30 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:31 ec43610c2a17: Pull complete 04:42:31 3a2ae6a8a46f: Pull complete 04:42:31 + 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:42:31 33b1e0a273af: Pull complete 04:42:31 5d3b04190fa2: Pull complete 04:42:31 Sending build context to Docker daemon 13.11MB 04:42:31 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:42:31 Step 2/10 : FROM ${BASE} AS builder 04:42:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:42:32 c6b39de5b339: Pulling fs layer 04:42:32 a69c41024577: Pulling fs layer 04:42:32 d6de4b400683: Pulling fs layer 04:42:32 35cb2a7552d0: Pulling fs layer 04:42:32 4f4fb700ef54: Pulling fs layer 04:42:32 35cb2a7552d0: Waiting 04:42:32 464afbd9ba4c: Pulling fs layer 04:42:32 00f215d4a9da: Pulling fs layer 04:42:32 d496ad576159: Pulling fs layer 04:42:32 4f4fb700ef54: Waiting 04:42:32 464afbd9ba4c: Waiting 04:42:32 00f215d4a9da: Waiting 04:42:32 d496ad576159: Waiting 04:42:32 a69c41024577: Download complete 04:42:32 35cb2a7552d0: Verifying Checksum 04:42:32 35cb2a7552d0: Download complete 04:42:32 4f4fb700ef54: Verifying Checksum 04:42:32 4f4fb700ef54: Download complete 04:42:32 c6b39de5b339: Download complete 04:42:32 464afbd9ba4c: Verifying Checksum 04:42:32 464afbd9ba4c: Download complete 04:42:32 d496ad576159: Verifying Checksum 04:42:32 d496ad576159: Download complete 04:42:33 c6b39de5b339: Pull complete 04:42:34 a69c41024577: Pull complete 04:42:34 d6de4b400683: Verifying Checksum 04:42:34 d6de4b400683: Download complete 04:42:35 00f215d4a9da: Verifying Checksum 04:42:35 00f215d4a9da: Download complete 04:42:39 2f39f015ded8: Pull complete 04:42:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:41 prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container 04:42:41 $ 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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@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:42:41 $ docker top 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:42 ---> job-cost.sh 04:42:42 lf-activate-venv: SKIPPING 04:42:42 INFO: No Stack... 04:42:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:42 INFO: Archiving Costs [Pipeline] sh 04:42:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/cost.csv 04:42:43 + cut -d, -f6 [Pipeline] lock 04:42:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] 04:42:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] did not exist. Created. 04:42:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:42:43 Stashed 1 file(s) [Pipeline] } 04:42:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:43 $ docker stop --time=1 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b 04:42:44 $ docker rm -f --volumes 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:42:48 d6de4b400683: Pull complete 04:42:48 35cb2a7552d0: Pull complete 04:42:48 4f4fb700ef54: Pull complete 04:42:48 464afbd9ba4c: Pull complete 04:42:58 00f215d4a9da: Pull complete 04:42:59 d496ad576159: Pull complete 04:42:59 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:42:59 ---> f246e2811388 04:42:59 Step 3/10 : ARG MAKE=make build 04:43:00 ---> Running in fac3072ca4bb 04:43:01 Removing intermediate container fac3072ca4bb 04:43:01 ---> 41a68a8505c0 04:43:01 Step 4/10 : WORKDIR /device-sdk-go 04:43:01 ---> Running in ea762aee9d55 04:43:01 Removing intermediate container ea762aee9d55 04:43:01 ---> 1929925541b1 04:43:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:43:01 ---> Running in c46719168ac2 04:43:02 Removing intermediate container c46719168ac2 04:43:02 ---> 5e3349362979 04:43:02 Step 6/10 : RUN apk add --update --no-cache make git 04:43:02 ---> Running in bcd8f7c002c8 04:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:43:05 OK: 266 MiB in 52 packages 04:43:06 Removing intermediate container bcd8f7c002c8 04:43:06 ---> cd7651d4ea72 04:43:06 Step 7/10 : COPY go.mod vendor* ./ 04:43:06 ---> 7a79df2ee252 04:43:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:06 ---> Running in d735628f1e4a 04:45:17 Removing intermediate container d735628f1e4a 04:45:17 ---> 38909c47f700 04:45:17 Step 9/10 : COPY . . 04:45:17 ---> d09f5fd086af 04:45:17 Step 10/10 : RUN ${MAKE} 04:45:17 ---> Running in 19f2f3c4e041 04:45:17 noop 04:45:17 Removing intermediate container 19f2f3c4e041 04:45:17 ---> 0b1e66dc4728 04:45:17 Successfully built 0b1e66dc4728 04:45:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:18 + docker inspect -f . ci-base-image-arm64 04:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:18 prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container 04:45:18 $ 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:45:19 $ docker top c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:20 + go version 04:45:20 go version go1.21.9 linux/arm64 [Pipeline] } 04:45:20 $ docker stop --time=1 c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c 04:45:22 $ docker rm -f --volumes c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:23 + docker inspect -f . ci-base-image-arm64 04:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:23 prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container 04:45:24 $ 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:45:25 $ docker top 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:26 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:45:27 + make test 04:45:27 go test -race -coverprofile=coverage.out ./... 04:46:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:49:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:49:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:49:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:49:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:49:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:49:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 26.0% of statements 04:50:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.179s coverage: 79.4% of statements 04:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.312s coverage: 86.0% of statements 04:50:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:50:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.488s coverage: 45.2% of statements 04:50:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.158s coverage: 14.4% of statements 04:50:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.836s coverage: 44.6% of statements 04:50:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:50:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:50:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:50:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.351s coverage: 68.5% of statements 04:50:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.406s coverage: 89.2% of statements 04:50:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:50:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.283s coverage: 5.3% of statements 04:50:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:50:40 GO111MODULE=on go vet ./... 04:55:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:01 ./bin/test-attribution-txt.sh 04:55:02 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 04:55:02 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 04:55:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:55:02 $ docker stop --time=1 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 04:55:05 $ docker rm -f --volumes 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:07 Warning: overwriting stash ‘coverage-report’ 04:55:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:09 + ls -al . 04:55:09 total 380 04:55:09 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 04:45 . 04:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:41 .. 04:55:09 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 04:42 .dockerignore 04:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 04:42 .git 04:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:42 .github 04:55:09 -rw-rw-r-- 1 jenkins jenkins 137 Sep 11 04:42 .gitignore 04:55:09 -rw-rw-r-- 1 jenkins jenkins 42 Sep 11 04:42 .golangci.yml 04:55:09 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 11 04:42 CHANGELOG.md 04:55:09 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 04:42 GOVERNANCE.md 04:55:09 -rw-rw-r-- 1 jenkins jenkins 885 Sep 11 04:42 Jenkinsfile 04:55:09 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 11 04:42 LICENSE 04:55:09 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 11 04:42 Makefile 04:55:09 -rw-rw-r-- 1 jenkins jenkins 619 Sep 11 04:42 OWNERS.md 04:55:09 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 11 04:42 README.md 04:55:09 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 04:39 VERSION 04:55:09 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 04:42 bin 04:55:09 -rw-r--r-- 1 jenkins jenkins 127940 Sep 11 04:50 coverage.out 04:55:09 drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 04:42 example 04:55:09 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 11 04:42 go.mod 04:55:09 -rw-rw-r-- 1 jenkins jenkins 101627 Sep 11 04:42 go.sum 04:55:09 drwxrwxr-x 13 jenkins jenkins 4096 Sep 11 04:42 internal 04:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:42 openapi 04:55:09 drwxrwxr-x 6 jenkins jenkins 4096 Sep 11 04:42 pkg 04:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:42 snap 04:55:09 -rw-rw-r-- 1 jenkins jenkins 222 Sep 11 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:10 + 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=84bab1506d64f738ceaa35eb47361f1b8d059c85 --label arch=arm64 --label version=0.0.0 . 04:55:10 Sending build context to Docker daemon 13.24MB 04:55:10 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:55:10 Step 2/24 : FROM ${BASE} AS builder 04:55:10 ---> 0b1e66dc4728 04:55:10 Step 3/24 : ARG MAKE=make build 04:55:10 ---> Running in b2bb613826ae 04:55:11 Removing intermediate container b2bb613826ae 04:55:11 ---> 5d02e49babe1 04:55:11 Step 4/24 : WORKDIR /device-sdk-go 04:55:11 ---> Running in 994629443e04 04:55:11 Removing intermediate container 994629443e04 04:55:11 ---> eed5cbd9c56f 04:55:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:11 ---> Running in dad776d70876 04:55:12 Removing intermediate container dad776d70876 04:55:12 ---> f2447f75c932 04:55:12 Step 6/24 : RUN apk add --update --no-cache make git 04:55:12 ---> Running in 49cbc9451758 04:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:55:14 OK: 266 MiB in 52 packages 04:55:15 Removing intermediate container 49cbc9451758 04:55:15 ---> bd19f2705c4f 04:55:15 Step 7/24 : COPY go.mod vendor* ./ 04:55:15 ---> a6ae38a13d97 04:55:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:16 ---> Running in 6e3e119bca48 04:55:18 Removing intermediate container 6e3e119bca48 04:55:18 ---> 84aef3337643 04:55:18 Step 9/24 : COPY . . 04:55:20 ---> 6c9e35180423 04:55:20 Step 10/24 : RUN ${MAKE} 04:55:20 ---> Running in ee8547a7b799 04:55:21 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:59:12 Removing intermediate container ee8547a7b799 04:59:12 ---> 7e96bd71c751 04:59:12 Step 11/24 : FROM alpine:3.18 04:59:12 3.18: Pulling from library/alpine 04:59:12 720f3032cd11: Pulling fs layer 04:59:12 720f3032cd11: Verifying Checksum 04:59:12 720f3032cd11: Download complete 04:59:12 720f3032cd11: Pull complete 04:59:12 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 04:59:12 Status: Downloaded newer image for alpine:3.18 04:59:12 ---> 3e834921e367 04:59:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:59:12 ---> Running in 2cee9ecbdd7e 04:59:12 Removing intermediate container 2cee9ecbdd7e 04:59:12 ---> 842326054570 04:59:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:59:12 ---> Running in 42552e29dcc1 04:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:59:12 (1/1) Installing dumb-init (1.2.5-r2) 04:59:12 Executing busybox-1.36.1-r7.trigger 04:59:12 OK: 8 MiB in 16 packages 04:59:12 Removing intermediate container 42552e29dcc1 04:59:12 ---> 4259ca93c67b 04:59:12 Step 14/24 : RUN apk --no-cache upgrade 04:59:12 ---> Running in 9e4ea0b042a4 04:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:59:12 OK: 8 MiB in 16 packages 04:59:12 Removing intermediate container 9e4ea0b042a4 04:59:12 ---> e79215c8571e 04:59:12 Step 15/24 : WORKDIR / 04:59:12 ---> Running in b414226d86a8 04:59:12 Removing intermediate container b414226d86a8 04:59:12 ---> fbcef3f0667a 04:59:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:59:12 ---> b203830fb925 04:59:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:59:12 ---> 06f5e9f168d9 04:59:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:59:12 ---> 5fc238df0eb7 04:59:12 Step 19/24 : EXPOSE 59999 04:59:12 ---> Running in 6b47f055b7ea 04:59:12 Removing intermediate container 6b47f055b7ea 04:59:12 ---> e71d4a0c7165 04:59:12 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:59:12 ---> Running in a32c66852036 04:59:12 Removing intermediate container a32c66852036 04:59:12 ---> eb2c41337b01 04:59:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:59:12 ---> Running in 5d896a905eb8 04:59:12 Removing intermediate container 5d896a905eb8 04:59:12 ---> 53b078f9bf4f 04:59:12 Step 22/24 : LABEL arch=arm64 04:59:12 ---> Running in 9f2bb8bba119 04:59:12 Removing intermediate container 9f2bb8bba119 04:59:12 ---> d5382475c726 04:59:12 Step 23/24 : LABEL git_sha=84bab1506d64f738ceaa35eb47361f1b8d059c85 04:59:12 ---> Running in fa42b8487298 04:59:12 Removing intermediate container fa42b8487298 04:59:12 ---> 0553847078ec 04:59:12 Step 24/24 : LABEL version=0.0.0 04:59:12 ---> Running in 3b0b0bb7f858 04:59:12 Removing intermediate container 3b0b0bb7f858 04:59:12 ---> 79dab8ba845f 04:59:12 [Warning] One or more build-args [ARCH] were not consumed 04:59:12 Successfully built 79dab8ba845f 04:59:12 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:13 04:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:14 arm64: Pulling from edgex-lftools-log-publisher 04:59:14 8998bd30e6a1: Pulling fs layer 04:59:14 04944245beec: Pulling fs layer 04:59:14 699f458cf7ca: Pulling fs layer 04:59:14 765212b225bb: Pulling fs layer 04:59:14 f23df028b6ca: Pulling fs layer 04:59:14 d65c8cfc05b1: Pulling fs layer 04:59:14 2437ff75d9bd: Pulling fs layer 04:59:14 765212b225bb: Waiting 04:59:14 f23df028b6ca: Waiting 04:59:14 d65c8cfc05b1: Waiting 04:59:14 2437ff75d9bd: Waiting 04:59:14 04944245beec: Verifying Checksum 04:59:14 04944245beec: Download complete 04:59:14 765212b225bb: Verifying Checksum 04:59:14 765212b225bb: Download complete 04:59:14 f23df028b6ca: Verifying Checksum 04:59:14 f23df028b6ca: Download complete 04:59:14 d65c8cfc05b1: Verifying Checksum 04:59:14 d65c8cfc05b1: Download complete 04:59:14 699f458cf7ca: Download complete 04:59:15 8998bd30e6a1: Verifying Checksum 04:59:15 8998bd30e6a1: Download complete 04:59:17 2437ff75d9bd: Verifying Checksum 04:59:17 2437ff75d9bd: Download complete 04:59:19 8998bd30e6a1: Pull complete 04:59:20 04944245beec: Pull complete 04:59:22 699f458cf7ca: Pull complete 04:59:22 765212b225bb: Pull complete 04:59:23 f23df028b6ca: Pull complete 04:59:23 d65c8cfc05b1: Pull complete 04:59:41 2437ff75d9bd: Pull complete 04:59:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:41 prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container 04:59:41 $ 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:59:44 $ docker top e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:45 ---> job-cost.sh 04:59:45 lf-activate-venv: SKIPPING 04:59:45 INFO: No Stack... 04:59:45 INFO: Retrieving Pricing Info for: v3-standard-4 04:59:46 INFO: Archiving Costs [Pipeline] sh 04:59:47 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:59:47 + cut -d, -f6 [Pipeline] lock 04:59:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] 04:59:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] did not exist. Created. 04:59:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:47 /w/workspace/device-sdk-go/1@tmp/durable-024d499b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:59:48 + echo total: 0.10999999940395355 [Pipeline] stash 04:59:48 Warning: overwriting stash ‘stack-cost’ 04:59:48 Stashed 1 file(s) [Pipeline] } 04:59:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:49 $ docker stop --time=1 e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d 04:59:50 $ docker rm -f --volumes e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d [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:59:51 provisioning config files... 04:59:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config3791233599486121028tmp [Pipeline] { [Pipeline] sh 04:59:52 + set +x 04:59:52 + bash -s -- 04:59:52 + curl -s https://codecov.io/bash 04:59:52 04:59:52 _____ _ 04:59:52 / ____| | | 04:59:52 | | ___ __| | ___ ___ _____ __ 04:59:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:59:52 | |___| (_) | (_| | __/ (_| (_) \ V / 04:59:52 \_____\___/ \__,_|\___|\___\___/ \_/ 04:59:52 Bash-1.0.6 04:59:52 04:59:52 04:59:52 ==> git version 2.25.1 found 04:59:52 ==> 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:59:52 Release-Date: 2020-01-08 04:59:52 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:59:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:59:52 ==> Jenkins CI detected. 04:59:52 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1626 04:59:52 project root: . 04:59:52 --> token set from env 04:59:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:59:52 ==> Running gcov in . (disable via -X gcov) 04:59:52 ==> Python coveragepy not found 04:59:52 ==> Searching for coverage reports in: 04:59:52 + . 04:59:52 -> Found 1 reports 04:59:52 ==> Detecting git/mercurial file structure 04:59:52 ==> Reading reports 04:59:52 + ./coverage.out bytes=127940 04:59:52 ==> Appending adjustments 04:59:52 https://docs.codecov.io/docs/fixing-reports 04:59:52 + Found adjustments 04:59:52 ==> Gzipping contents 04:59:52 20K /tmp/codecov.x9FzP0.gz 04:59:52 ==> Uploading reports 04:59:52 url: https://codecov.io 04:59:52 query: branch=PR-1626&commit=84bab1506d64f738ceaa35eb47361f1b8d059c85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= 04:59:52 -> Pinging Codecov 04:59:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1626&commit=84bab1506d64f738ceaa35eb47361f1b8d059c85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= 04:59:52 -> Uploading to 04:59:52 https://storage.googleapis.com/codecov/v4/raw/2024-09-11/7E55EF52A471D76F132DFD9A03CDDE97/84bab1506d64f738ceaa35eb47361f1b8d059c85/d6287727-0718-4fbe-b150-9d26d21b52a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240911%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240911T045952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3a49a9d5b53ce5126079b409027d682fb4e29a4745bafdce7e8bd5cb98b6348 04:59:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:52 Dload Upload Total Spent Left Speed 04:59:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17671 0 0 100 17671 0 76497 --:--:-- --:--:-- --:--:-- 76497 04:59:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] } 04:59:52 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:59:55 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives ] 04:59:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives 04:59:55 total 16 04:59:55 drwxr-xr-x 3 root root 4096 Sep 11 04:42 . 04:59:55 drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 04:42 .. 04:59:55 drwxr-xr-x 2 root root 4096 Sep 11 04:42 cost 04:59:55 -rw-r--r-- 1 root root 86 Sep 11 04:42 cost.csv 04:59:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives 04:59:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives 04:59:55 total 16 04:59:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 04:42 . 04:59:55 drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 04:42 .. 04:59:55 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 04:42 cost 04:59:55 -rw-r--r-- 1 jenkins jenkins 86 Sep 11 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:59:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:59:56 ---> package-listing.sh 04:59:56 ++ facter osfamily 04:59:56 ++ tr '[:upper:]' '[:lower:]' 04:59:56 + OS_FAMILY=debian 04:59:56 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1626 04:59:56 + START_PACKAGES=/tmp/packages_start.txt 04:59:56 + END_PACKAGES=/tmp/packages_end.txt 04:59:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:59:56 + PACKAGES=/tmp/packages_start.txt 04:59:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' 04:59:56 + PACKAGES=/tmp/packages_end.txt 04:59:56 + case "${OS_FAMILY}" in 04:59:56 + dpkg -l 04:59:56 + grep '^ii' 04:59:56 + '[' -f /tmp/packages_start.txt ']' 04:59:56 + '[' -f /tmp/packages_end.txt ']' 04:59:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:59:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' 04:59:56 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ 04:59:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ [Pipeline] echo 04:59:56 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-1626/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:59:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:57 prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container 04:59:57 $ 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-1626/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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@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:59:58 $ docker top 0ee834824de072b2cba6fb4b3101188e689a3903c6134339a13ea56a6082e3fb -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:58 + touch /tmp/pre-build-complete [Pipeline] sh 04:59:58 + mkdir -p /var/log/sysstat [Pipeline] sh 04:59:59 + ls /var/log/sa-host 04:59:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:59 provisioning config files... 04:59:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config13806478475767271138tmp [Pipeline] { [Pipeline] echo 04:59:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:59:59 ---> create-netrc.sh [Pipeline] } 04:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:00:00 ---> python-tools-install.sh [Pipeline] echo 05:00:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:00:00 ---> sudo-logs.sh 05:00:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:00:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:00:01 ---> job-cost.sh 05:00:01 lf-activate-venv: SKIPPING 05:00:01 DEBUG: total: 0.2199999988079071 05:00:01 INFO: Retrieving Stack Cost... 05:00:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:00:01 INFO: Archiving Costs [Pipeline] echo 05:00:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:00:02 ---> logs-deploy.sh 05:00:02 lf-activate-venv: SKIPPING 05:00:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1626/1 05:00:02 INFO: archiving workspace using pattern(s): 05:00:03 Archives upload complete. 05:00:03 INFO: archiving logs to Nexus