Pull request #1618 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32976106376497f80a51a4ba1ecd880c9a8cabe8+6fbfd523e75a65f7b52cf25b753a535ead5785c5 (fc089e32cdb96d0837c7fd46e848ccc8e2d3e18c) 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-ssh9185485225687623769.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-ssh12312653886834731645.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-1618/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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9882286408707095034.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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12004418048112272892.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-ssh9091138936186387356.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-1618/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-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13746544991238272381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8872’ Running on prd-ubuntu20.04-docker-8c-8g-8890 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [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-1618 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit 32976106376497f80a51a4ba1ecd880c9a8cabe8 Merge succeeded, producing 32976106376497f80a51a4ba1ecd880c9a8cabe8 Checking out Revision 32976106376497f80a51a4ba1ecd880c9a8cabe8 (PR-1618) > 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/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:47 ========================================================= 04:52:47 EdgeX Global Pipelines Version Info 04:52:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:47 ------------------- 04:52:47 stable info: 04:52:47 ------------------- 04:52:47 Commited By: Cherry Wang cherry@iotechsys.com 04:52:47 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:52:47 Message: update stable to v1.0.263 04:52:48 ------------------- 04:52:48 experimental info: 04:52:48 ------------------- 04:52:48 Commited By: Cherry Wang cherry@iotechsys.com 04:52:48 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:52:48 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:52:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:52:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:52:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1618 [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1618 [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1618 [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3297610 [Pipeline] echo 04:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:51 provisioning config files... 04:52:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config1472277843384526986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:51 ---> ****-login.sh 04:52:51 nexus3.edgexfoundry.org:10001 04:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:51 Configure a credential helper to remove this warning. See 04:52:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:51 04:52:51 Login Succeeded 04:52:51 nexus3.edgexfoundry.org:10002 04:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:52 Configure a credential helper to remove this warning. See 04:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:52 04:52:52 Login Succeeded 04:52:52 nexus3.edgexfoundry.org:10003 04:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:52 Configure a credential helper to remove this warning. See 04:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:52 04:52:52 Login Succeeded 04:52:52 nexus3.edgexfoundry.org:10004 04:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:52 Configure a credential helper to remove this warning. See 04:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:52 04:52:52 Login Succeeded 04:52:52 ****.io 04:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:52 Configure a credential helper to remove this warning. See 04:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:52 04:52:52 Login Succeeded 04:52:52 ---> ****-login.sh ends [Pipeline] } 04:52:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:53 + git rev-list -1 --merges 32976106376497f80a51a4ba1ecd880c9a8cabe8~1..32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo 04:52:53 -----------> git rev-list -1 --merges 32976106376497f80a51a4ba1ecd880c9a8cabe8~1..32976106376497f80a51a4ba1ecd880c9a8cabe8 32976106376497f80a51a4ba1ecd880c9a8cabe8 [false] [Pipeline] sh 04:52:53 + git log --format=format:%s -1 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo 04:52:53 ========================================================= 04:52:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:54 + git log --format=format:%s -1 32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] echo 04:52:54 [semverPrep] GIT_COMMIT: 32976106376497f80a51a4ba1ecd880c9a8cabe8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:52:54 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:54 + grep -v github /etc/ssh/ssh_known_hosts 04:52:54 + [ -e /tmp/ssh_known_hosts ] 04:52:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:54 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:55 04:52:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:55 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:55 b85a868b505f: Pulling fs layer 04:52:55 e2be974225ed: Pulling fs layer 04:52:55 339a4e72a1f5: Pulling fs layer 04:52:55 988bab9f4d93: Pulling fs layer 04:52:55 1469e6f7b9e6: Pulling fs layer 04:52:55 eaf3925da568: Pulling fs layer 04:52:55 bab4dde63d76: Pulling fs layer 04:52:55 bde34c3a00c8: Pulling fs layer 04:52:55 b352a97aabf1: Pulling fs layer 04:52:55 4872d77fe225: Pulling fs layer 04:52:55 5851b861e8e6: Pulling fs layer 04:52:55 988bab9f4d93: Waiting 04:52:55 1469e6f7b9e6: Waiting 04:52:55 eaf3925da568: Waiting 04:52:55 bab4dde63d76: Waiting 04:52:55 bde34c3a00c8: Waiting 04:52:55 b352a97aabf1: Waiting 04:52:55 4872d77fe225: Waiting 04:52:55 5851b861e8e6: Waiting 04:52:55 e2be974225ed: Download complete 04:52:55 988bab9f4d93: Verifying Checksum 04:52:55 988bab9f4d93: Download complete 04:52:56 1469e6f7b9e6: Verifying Checksum 04:52:56 1469e6f7b9e6: Download complete 04:52:56 339a4e72a1f5: Verifying Checksum 04:52:56 339a4e72a1f5: Download complete 04:52:56 eaf3925da568: Verifying Checksum 04:52:56 eaf3925da568: Download complete 04:52:56 bde34c3a00c8: Download complete 04:52:56 b352a97aabf1: Verifying Checksum 04:52:56 b352a97aabf1: Download complete 04:52:56 4872d77fe225: Verifying Checksum 04:52:56 4872d77fe225: Download complete 04:52:56 5851b861e8e6: Verifying Checksum 04:52:56 5851b861e8e6: Download complete 04:52:56 b85a868b505f: Download complete 04:52:56 bab4dde63d76: Verifying Checksum 04:52:56 bab4dde63d76: Download complete 04:52:57 b85a868b505f: Pull complete 04:52:57 e2be974225ed: Pull complete 04:52:57 339a4e72a1f5: Pull complete 04:52:57 988bab9f4d93: Pull complete 04:52:58 1469e6f7b9e6: Pull complete 04:52:58 eaf3925da568: Pull complete 04:52:59 bab4dde63d76: Pull complete 04:52:59 bde34c3a00c8: Pull complete 04:52:59 b352a97aabf1: Pull complete 04:52:59 4872d77fe225: Pull complete 04:52:59 5851b861e8e6: Pull complete 04:52:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:00 prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container 04:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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:53:03 $ docker top 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 -eo pid,comm 04:53:03 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:53:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:03 [ssh-agent] Looking for ssh-agent implementation... 04:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:03 $ docker exec 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent 04:53:04 SSH_AUTH_SOCK=/tmp/ssh-GKqbg47vRzcC/agent.32 04:53:04 SSH_AGENT_PID=38 04:53:04 Running ssh-add (command line suppressed) 04:53:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_7211596122816613272.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_7211596122816613272.key) 04:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:04 + git tag --points-at HEAD [Pipeline] } 04:53:04 $ docker exec --env ******** --env ******** 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent -k 04:53:04 unset SSH_AUTH_SOCK; 04:53:04 unset SSH_AGENT_PID; 04:53:04 echo Agent pid 38 killed; 04:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:04 [ssh-agent] Looking for ssh-agent implementation... 04:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:04 $ docker exec 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent 04:53:05 SSH_AUTH_SOCK=/tmp/ssh-B5Sf8DESPIp3/agent.71 04:53:05 SSH_AGENT_PID=77 04:53:05 Running ssh-add (command line suppressed) 04:53:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_966299958979695785.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_966299958979695785.key) 04:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:05 + git semver init 04:53:05 2024-08-28 04:53:05,721 [run_init] DEBUG init version:0.0.0 force:False 04:53:05 2024-08-28 04:53:05,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver 04:53:05 2024-08-28 04:53:05,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver 04:53:05 2024-08-28 04:53:05,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618, universal_newlines=False, shell=None, istream=None) 04:53:08 2024-08-28 04:53:07,824 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.git/info/exclude 04:53:08 2024-08-28 04:53:07,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 with force:False 04:53:08 2024-08-28 04:53:07,825 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 04:53:08 2024-08-28 04:53:07,829 [execute] INFO git cat-file --batch-check 04:53:08 2024-08-28 04:53:07,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) 04:53:08 2024-08-28 04:53:07,835 [execute] INFO git cat-file --batch 04:53:08 2024-08-28 04:53:07,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) 04:53:08 2024-08-28 04:53:07,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 04:53:08 0.0.0 [Pipeline] } 04:53:08 $ docker exec --env ******** --env ******** 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 ssh-agent -k 04:53:08 unset SSH_AUTH_SOCK; 04:53:08 unset SSH_AGENT_PID; 04:53:08 echo Agent pid 77 killed; 04:53:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:53:08 + git semver [Pipeline] } 04:53:09 $ docker stop --time=1 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 04:53:10 $ docker rm -f --volumes 8d65d6d7ce910846f60aecd23f79bdf0088e9f003f2ddfc312218b720eb95a31 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:11 Stashed 1 file(s) [Pipeline] echo 04:53:11 [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:53:12 provisioning config files... 04:53:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config4752948952319815941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:12 ---> ****-login.sh 04:53:12 nexus3.edgexfoundry.org:10001 04:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:12 Configure a credential helper to remove this warning. See 04:53:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:12 04:53:12 Login Succeeded 04:53:12 nexus3.edgexfoundry.org:10002 04:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:12 Configure a credential helper to remove this warning. See 04:53:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:12 04:53:12 Login Succeeded 04:53:12 nexus3.edgexfoundry.org:10003 04:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:12 Configure a credential helper to remove this warning. See 04:53:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:12 04:53:12 Login Succeeded 04:53:12 nexus3.edgexfoundry.org:10004 04:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:12 Configure a credential helper to remove this warning. See 04:53:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:12 04:53:12 Login Succeeded 04:53:12 ****.io 04:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:13 Configure a credential helper to remove this warning. See 04:53:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:13 04:53:13 Login Succeeded 04:53:13 ---> ****-login.sh ends [Pipeline] } 04:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:53:13 ========================================================= 04:53:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:53:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:14 + 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:53:14 Sending build context to Docker daemon 25.27MB 04:53:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:53:14 Step 2/10 : FROM ${BASE} AS builder 04:53:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:14 619be1103602: Pulling fs layer 04:53:14 7862e08f4a3e: Pulling fs layer 04:53:14 5df492c9dc93: Pulling fs layer 04:53:14 7629e6793208: Pulling fs layer 04:53:14 4f4fb700ef54: Pulling fs layer 04:53:14 fb5054dd5b73: Pulling fs layer 04:53:14 eeca6798cff9: Pulling fs layer 04:53:14 aa269ceb94a6: Pulling fs layer 04:53:14 ada007ff1a6a: Pulling fs layer 04:53:14 7629e6793208: Waiting 04:53:14 fb5054dd5b73: Waiting 04:53:14 4f4fb700ef54: Waiting 04:53:14 eeca6798cff9: Waiting 04:53:14 ada007ff1a6a: Waiting 04:53:14 aa269ceb94a6: Waiting 04:53:14 7862e08f4a3e: Download complete 04:53:14 7629e6793208: Verifying Checksum 04:53:14 7629e6793208: Download complete 04:53:14 4f4fb700ef54: Verifying Checksum 04:53:14 4f4fb700ef54: Download complete 04:53:14 fb5054dd5b73: Download complete 04:53:14 619be1103602: Verifying Checksum 04:53:14 619be1103602: Download complete 04:53:14 eeca6798cff9: Verifying Checksum 04:53:14 eeca6798cff9: Download complete 04:53:14 619be1103602: Pull complete 04:53:14 ada007ff1a6a: Verifying Checksum 04:53:14 ada007ff1a6a: Download complete 04:53:14 7862e08f4a3e: Pull complete 04:53:14 5df492c9dc93: Verifying Checksum 04:53:14 5df492c9dc93: Download complete 04:53:14 aa269ceb94a6: Verifying Checksum 04:53:14 aa269ceb94a6: Download complete 04:53:18 5df492c9dc93: Pull complete 04:53:18 7629e6793208: Pull complete 04:53:18 4f4fb700ef54: Pull complete 04:53:18 fb5054dd5b73: Pull complete 04:53:18 eeca6798cff9: Pull complete 04:53:20 aa269ceb94a6: Pull complete 04:53:21 ada007ff1a6a: Pull complete 04:53:21 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:53:21 ---> f489d0715acc 04:53:21 Step 3/10 : ARG MAKE=make build 04:53:26 ---> Running in 279ce84cda03 04:53:26 Removing intermediate container 279ce84cda03 04:53:26 ---> 7e2ef6064813 04:53:26 Step 4/10 : WORKDIR /device-sdk-go 04:53:26 ---> Running in db056de3112f 04:53:26 Removing intermediate container db056de3112f 04:53:26 ---> 78f80fb34e29 04:53:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:53:26 ---> Running in c3ca119438ee 04:53:26 Removing intermediate container c3ca119438ee 04:53:26 ---> 53f8e8925915 04:53:26 Step 6/10 : RUN apk add --update --no-cache make git 04:53:26 ---> Running in b214e25ed9c5 04:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:53:26 OK: 264 MiB in 52 packages 04:53:26 Removing intermediate container b214e25ed9c5 04:53:26 ---> 6f2430b31306 04:53:26 Step 7/10 : COPY go.mod vendor* ./ 04:53:27 Still waiting to schedule task 04:53:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8889’ 04:53:27 ---> f96c52e0f176 04:53:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:27 ---> Running in 1593e02fc1bc 04:54:34 Removing intermediate container 1593e02fc1bc 04:54:34 ---> 0bfa9bda3646 04:54:34 Step 9/10 : COPY . . 04:54:34 ---> 5e50b2ab0a54 04:54:34 Step 10/10 : RUN ${MAKE} 04:54:34 ---> Running in b57ac601830a 04:54:34 noop 04:54:34 Removing intermediate container b57ac601830a 04:54:34 ---> 7df71f29170b 04:54:34 Successfully built 7df71f29170b 04:54:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:35 + docker inspect -f . ci-base-image-x86_64 04:54:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:35 prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container 04:54:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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:54:36 $ docker top 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:36 + go version 04:54:36 go version go1.21.9 linux/amd64 [Pipeline] } 04:54:36 $ docker stop --time=1 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 04:54:37 $ docker rm -f --volumes 4db696405e6256e2231898a58a4f6e9b4243b0e73dd4b394264a5cc618a2d3b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:38 + docker inspect -f . ci-base-image-x86_64 04:54:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:38 prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container 04:54:38 $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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:54:39 $ docker top 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] fileExists [Pipeline] sh 04:54:39 + make test 04:54:39 go test -race -coverprofile=coverage.out ./... 04:54:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:55:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:55:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements 04:55:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements 04:55:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements 04:55:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:55:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:55:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:55:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:55:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 51.6% of statements 04:55:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements 04:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.839s coverage: 44.6% of statements 04:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.041s coverage: 68.5% of statements 04:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.087s coverage: 89.2% of statements 04:55:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.3% of statements 04:55:52 GO111MODULE=on go vet ./... 04:55:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:54 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:55:54 $ docker stop --time=1 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 04:55:59 $ docker rm -f --volumes 442bf2a4ae35448fd6b6e2e7a0af3b08351522b47a8c531966dc87e9d4f06f26 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:01 + ls -al . 04:56:01 total 380 04:56:01 drwxrwxr-x 11 jenkins jenkins 4096 Aug 28 04:54 . 04:56:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:52 .. 04:56:01 -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:52 .dockerignore 04:56:01 drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:55 .git 04:56:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:52 .github 04:56:01 -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:52 .gitignore 04:56:01 -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:52 .golangci.yml 04:56:01 drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:53 .semver 04:56:01 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:52 CHANGELOG.md 04:56:01 -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:52 GOVERNANCE.md 04:56:01 -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:52 Jenkinsfile 04:56:01 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:52 LICENSE 04:56:01 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:52 Makefile 04:56:01 -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:52 OWNERS.md 04:56:01 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:52 README.md 04:56:01 -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION 04:56:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:52 bin 04:56:01 -rw-r--r-- 1 jenkins jenkins 126492 Aug 28 04:55 coverage.out 04:56:01 drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:52 example 04:56:01 -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:52 go.mod 04:56:01 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:52 go.sum 04:56:01 drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:52 internal 04:56:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:52 openapi 04:56:01 drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:52 pkg 04:56:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:52 snap 04:56:01 -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:01 + 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=32976106376497f80a51a4ba1ecd880c9a8cabe8 --label arch=amd64 --label version=0.0.0 . 04:56:01 Sending build context to Docker daemon 25.4MB 04:56:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:56:01 Step 2/24 : FROM ${BASE} AS builder 04:56:01 ---> 7df71f29170b 04:56:01 Step 3/24 : ARG MAKE=make build 04:56:02 ---> Running in 92c9211395b2 04:56:02 Removing intermediate container 92c9211395b2 04:56:02 ---> 16af7e80c084 04:56:02 Step 4/24 : WORKDIR /device-sdk-go 04:56:02 ---> Running in 7f946660a870 04:56:02 Removing intermediate container 7f946660a870 04:56:02 ---> de3c08b7b159 04:56:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:02 ---> Running in c0b099c92d43 04:56:02 Removing intermediate container c0b099c92d43 04:56:02 ---> a775d32747f4 04:56:02 Step 6/24 : RUN apk add --update --no-cache make git 04:56:02 ---> Running in d2e83abfcea4 04:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:03 OK: 264 MiB in 52 packages 04:56:03 Removing intermediate container d2e83abfcea4 04:56:03 ---> 9b37f2d9fd0e 04:56:03 Step 7/24 : COPY go.mod vendor* ./ 04:56:03 ---> 57634c6770e0 04:56:03 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:03 ---> Running in 54385494b5ac 04:56:04 Removing intermediate container 54385494b5ac 04:56:04 ---> 75be5e8b7058 04:56:04 Step 9/24 : COPY . . 04:56:05 ---> 57c0df5292ba 04:56:05 Step 10/24 : RUN ${MAKE} 04:56:05 ---> Running in a3c4ce295aad 04:56:05 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:56:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8895 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] { [Pipeline] ws 04:56:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:56:13 The recommended git tool is: git 04:56:23 using credential edgex-jenkins-ssh 04:56:23 Cloning the remote Git repository 04:56:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:56:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:56:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:56:24 > git --version # timeout=10 04:56:24 > git --version # 'git version 2.25.1' 04:56:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:56:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:56:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:56:31 Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit 32976106376497f80a51a4ba1ecd880c9a8cabe8 04:56:32 Merge succeeded, producing 32976106376497f80a51a4ba1ecd880c9a8cabe8 04:56:32 Checking out Revision 32976106376497f80a51a4ba1ecd880c9a8cabe8 (PR-1618) 04:56:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:56:32 > git --version # timeout=10 04:56:32 > git --version # 'git version 2.25.1' 04:56:32 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 04:56:31 > git config core.sparsecheckout # timeout=10 04:56:31 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 04:56:31 > git remote # timeout=10 04:56:32 > git config --get remote.origin.url # timeout=10 04:56:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:32 > git merge 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 04:56:32 > git rev-parse HEAD^{commit} # timeout=10 04:56:32 > git config core.sparsecheckout # timeout=10 04:56:32 > git checkout -f 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:37 Removing intermediate container a3c4ce295aad 04:56:37 ---> 181ed4385079 04:56:37 Step 11/24 : FROM alpine:3.18 04:56:37 3.18: Pulling from library/alpine 04:56:37 930bdd4d222e: Pulling fs layer 04:56:37 930bdd4d222e: Verifying Checksum 04:56:37 930bdd4d222e: Download complete 04:56:37 930bdd4d222e: Pull complete 04:56:37 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:56:37 Status: Downloaded newer image for alpine:3.18 04:56:37 ---> 18f865063206 04:56:37 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:56:37 ---> Running in ee591cdeceb6 04:56:37 Removing intermediate container ee591cdeceb6 04:56:37 ---> 72e227e6213f 04:56:37 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:56:37 ---> Running in 30781014ec91 04:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:37 (1/1) Installing dumb-init (1.2.5-r2) 04:56:37 Executing busybox-1.36.1-r7.trigger 04:56:37 OK: 7 MiB in 16 packages 04:56:37 Removing intermediate container 30781014ec91 04:56:37 ---> c851a9bd45a1 04:56:37 Step 14/24 : RUN apk --no-cache upgrade 04:56:37 ---> Running in 469a34d59810 04:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:37 OK: 7 MiB in 16 packages 04:56:37 Removing intermediate container 469a34d59810 04:56:37 ---> 07c4ce58e55e 04:56:37 Step 15/24 : WORKDIR / 04:56:37 ---> Running in d2a16a294bb4 04:56:37 Removing intermediate container d2a16a294bb4 04:56:37 ---> 962330dd5890 04:56:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:56:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:56:37 % Total % Received % Xferd Average Speed Time Time Time Current 04:56:37 Dload Upload Total Spent Left Speed 04:56:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 04:56:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:56:38 ---> b038ece70c38 04:56:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:56:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:56:38 + sudo tee /etc/docker/daemon.new 04:56:38 { 04:56:38 "registry-mirrors": [ 04:56:38 "https://nexus3.edgexfoundry.org:10001" 04:56:38 ], 04:56:38 "bip": "10.250.0.254/24", 04:56:38 "hosts": [ 04:56:38 "tcp://0.0.0.0:5555", 04:56:38 "unix:///var/run/docker.sock" 04:56:38 ], 04:56:38 "mtu": 1458, 04:56:38 "selinux-enabled": true, 04:56:38 "seccomp-profile": "/etc/docker/seccomp.json" 04:56:38 } [Pipeline] sh 04:56:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:56:39 + sudo service docker restart 04:56:40 ---> 0a347b1b2848 04:56:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:56:40 ---> 023b0df75660 04:56:40 Step 19/24 : EXPOSE 59999 04:56:40 ---> Running in 0618743ba52e 04:56:40 Removing intermediate container 0618743ba52e 04:56:40 ---> ab1aebab374b 04:56:40 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:56:40 ---> Running in 6cdf2d79b15d 04:56:41 Removing intermediate container 6cdf2d79b15d 04:56:41 ---> b93f60f4494d 04:56:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:41 ---> Running in e84eb30f9b78 04:56:41 Removing intermediate container e84eb30f9b78 04:56:41 ---> 053a82923636 04:56:41 Step 22/24 : LABEL arch=amd64 04:56:41 ---> Running in 06c26a1ce0b3 04:56:41 Removing intermediate container 06c26a1ce0b3 04:56:41 ---> 262a53581b70 04:56:41 Step 23/24 : LABEL git_sha=32976106376497f80a51a4ba1ecd880c9a8cabe8 04:56:41 ---> Running in 6123f080b30b 04:56:41 Removing intermediate container 6123f080b30b 04:56:41 ---> 14d6722944f9 04:56:41 Step 24/24 : LABEL version=0.0.0 04:56:41 ---> Running in bf39fda95bbc 04:56:41 Removing intermediate container bf39fda95bbc 04:56:41 ---> 53fbb447bbbe 04:56:41 [Warning] One or more build-args [ARCH] were not consumed 04:56:41 Successfully built 53fbb447bbbe 04:56:41 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:42 04:56:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:42 latest: Pulling from edgex-lftools-log-publisher 04:56:42 5eb5b503b376: Pulling fs layer 04:56:42 5c69ac0246d0: Pulling fs layer 04:56:42 ec43610c2a17: Pulling fs layer 04:56:42 3a2ae6a8a46f: Pulling fs layer 04:56:42 33b1e0a273af: Pulling fs layer 04:56:42 5d3b04190fa2: Pulling fs layer 04:56:42 2f39f015ded8: Pulling fs layer 04:56:42 3a2ae6a8a46f: Waiting 04:56:42 33b1e0a273af: Waiting 04:56:42 2f39f015ded8: Waiting 04:56:42 5d3b04190fa2: Waiting 04:56:42 5c69ac0246d0: Verifying Checksum 04:56:42 5c69ac0246d0: Download complete 04:56:42 3a2ae6a8a46f: Verifying Checksum 04:56:42 3a2ae6a8a46f: Download complete 04:56:42 33b1e0a273af: Verifying Checksum 04:56:42 33b1e0a273af: Download complete 04:56:42 ec43610c2a17: Verifying Checksum 04:56:42 ec43610c2a17: Download complete 04:56:42 5d3b04190fa2: Download complete 04:56:42 5eb5b503b376: Verifying Checksum 04:56:42 5eb5b503b376: Download complete 04:56:43 2f39f015ded8: Verifying Checksum 04:56:43 2f39f015ded8: Download complete 04:56:44 5eb5b503b376: Pull complete 04:56:44 5c69ac0246d0: Pull complete 04:56:44 ec43610c2a17: Pull complete 04:56:44 3a2ae6a8a46f: Pull complete 04:56:44 33b1e0a273af: Pull complete 04:56:44 5d3b04190fa2: Pull complete 04:56:48 2f39f015ded8: Pull complete 04:56:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:49 prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container 04:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@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:56:53 $ docker top 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:53 ---> job-cost.sh 04:56:53 lf-activate-venv: SKIPPING 04:56:53 INFO: No Stack... 04:56:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:56:54 INFO: Archiving Costs [Pipeline] sh 04:56:54 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/cost.csv 04:56:54 + cut -d, -f6 [Pipeline] lock 04:56:54 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] 04:56:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] did not exist. Created. 04:56:54 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:54 + echo total: 0.2199999988079071 [Pipeline] stash 04:56:54 Stashed 1 file(s) [Pipeline] } 04:56:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:55 $ docker stop --time=1 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 04:56:56 $ docker rm -f --volumes 7c20e3c33697dec1d058b8b26caa02c2b21102fb5ba803c03e3e4d948c07c5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:57 provisioning config files... 04:56:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15827453355806735317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:58 ---> ****-login.sh 04:56:58 nexus3.edgexfoundry.org:10001 04:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:58 Configure a credential helper to remove this warning. See 04:56:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:58 04:56:58 Login Succeeded 04:56:58 nexus3.edgexfoundry.org:10002 04:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:59 Configure a credential helper to remove this warning. See 04:56:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:59 04:56:59 Login Succeeded 04:56:59 nexus3.edgexfoundry.org:10003 04:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:59 Configure a credential helper to remove this warning. See 04:56:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:59 04:56:59 Login Succeeded 04:56:59 nexus3.edgexfoundry.org:10004 04:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:00 Configure a credential helper to remove this warning. See 04:57:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:00 04:57:00 Login Succeeded 04:57:00 ****.io 04:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:57:00 Configure a credential helper to remove this warning. See 04:57:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:57:00 04:57:00 Login Succeeded 04:57:00 ---> ****-login.sh ends [Pipeline] } 04:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:01 ========================================================= 04:57:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:57:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:02 + 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:57:02 Sending build context to Docker daemon 13.08MB 04:57:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:57:02 Step 2/10 : FROM ${BASE} AS builder 04:57:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:03 c6b39de5b339: Pulling fs layer 04:57:03 a69c41024577: Pulling fs layer 04:57:03 d6de4b400683: Pulling fs layer 04:57:03 35cb2a7552d0: Pulling fs layer 04:57:03 4f4fb700ef54: Pulling fs layer 04:57:03 464afbd9ba4c: Pulling fs layer 04:57:03 00f215d4a9da: Pulling fs layer 04:57:03 d496ad576159: Pulling fs layer 04:57:03 35cb2a7552d0: Waiting 04:57:03 464afbd9ba4c: Waiting 04:57:03 4f4fb700ef54: Waiting 04:57:03 d496ad576159: Waiting 04:57:03 00f215d4a9da: Waiting 04:57:03 a69c41024577: Verifying Checksum 04:57:03 a69c41024577: Download complete 04:57:03 35cb2a7552d0: Download complete 04:57:03 4f4fb700ef54: Verifying Checksum 04:57:03 4f4fb700ef54: Download complete 04:57:03 464afbd9ba4c: Verifying Checksum 04:57:03 464afbd9ba4c: Download complete 04:57:03 c6b39de5b339: Verifying Checksum 04:57:03 c6b39de5b339: Download complete 04:57:03 d496ad576159: Verifying Checksum 04:57:03 d496ad576159: Download complete 04:57:04 c6b39de5b339: Pull complete 04:57:04 a69c41024577: Pull complete 04:57:05 d6de4b400683: Verifying Checksum 04:57:05 d6de4b400683: Download complete 04:57:06 00f215d4a9da: Verifying Checksum 04:57:06 00f215d4a9da: Download complete 04:57:18 d6de4b400683: Pull complete 04:57:18 35cb2a7552d0: Pull complete 04:57:18 4f4fb700ef54: Pull complete 04:57:19 464afbd9ba4c: Pull complete 04:57:29 00f215d4a9da: Pull complete 04:57:30 d496ad576159: Pull complete 04:57:30 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:57:30 ---> f246e2811388 04:57:30 Step 3/10 : ARG MAKE=make build 04:57:31 ---> Running in 4fc60d9f21bf 04:57:31 Removing intermediate container 4fc60d9f21bf 04:57:31 ---> a525d5bbd69e 04:57:31 Step 4/10 : WORKDIR /device-sdk-go 04:57:31 ---> Running in ed93daae66ac 04:57:31 Removing intermediate container ed93daae66ac 04:57:31 ---> 805f5f803eb8 04:57:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:57:32 ---> Running in 3c4c6e0d39d0 04:57:32 Removing intermediate container 3c4c6e0d39d0 04:57:32 ---> 15528c00bce7 04:57:32 Step 6/10 : RUN apk add --update --no-cache make git 04:57:32 ---> Running in dfb497c00087 04:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:57:35 OK: 266 MiB in 52 packages 04:57:36 Removing intermediate container dfb497c00087 04:57:36 ---> 2b6fbda5af01 04:57:36 Step 7/10 : COPY go.mod vendor* ./ 04:57:36 ---> 499f2537f394 04:57:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:37 ---> Running in 402d306fb425 04:59:43 Removing intermediate container 402d306fb425 04:59:43 ---> 07c278f7ce7a 04:59:43 Step 9/10 : COPY . . 04:59:43 ---> c1b46187946f 04:59:43 Step 10/10 : RUN ${MAKE} 04:59:43 ---> Running in 7de453abbbf7 04:59:43 noop 04:59:43 Removing intermediate container 7de453abbbf7 04:59:43 ---> 489e1c7d16ff 04:59:43 Successfully built 489e1c7d16ff 04:59:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:44 + docker inspect -f . ci-base-image-arm64 04:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:44 prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container 04:59:45 $ 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:59:46 $ docker top a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:47 + go version 04:59:47 go version go1.21.9 linux/arm64 [Pipeline] } 04:59:47 $ docker stop --time=1 a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 04:59:48 $ docker rm -f --volumes a219fa2ce56c6bd0d9edd3cdba601d128bbc8263b3522324eef3a78a43efe5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:50 + docker inspect -f . ci-base-image-arm64 04:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container 04:59:50 $ 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:59:51 $ docker top fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:52 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:59:53 + make test 04:59:53 go test -race -coverprofile=coverage.out ./... 05:00:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:04:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:04:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:04:41 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:04:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:04:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:04:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.129s coverage: 26.0% of statements 05:05:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.194s coverage: 79.4% of statements 05:05:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:05:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:05:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.320s coverage: 86.0% of statements 05:05:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:05:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.515s coverage: 51.6% of statements 05:05:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.173s coverage: 14.4% of statements 05:05:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.469s coverage: 44.6% of statements 05:05:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 05:05:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:05:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:05:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.344s coverage: 68.5% of statements 05:05:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements 05:05:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:05:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.302s coverage: 5.3% of statements 05:05:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:05:34 GO111MODULE=on go vet ./... 05:10:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:13 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:10:13 $ docker stop --time=1 fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 05:10:15 $ docker rm -f --volumes fa7a369851c0d2c8bf3179770e6b0963c6d2d5b33607a09359d31858bc25e6b1 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:18 Warning: overwriting stash ‘coverage-report’ 05:10:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:20 + ls -al . 05:10:20 total 376 05:10:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 04:59 . 05:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:56 .. 05:10:20 -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:56 .dockerignore 05:10:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:56 .git 05:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:56 .github 05:10:20 -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:56 .gitignore 05:10:20 -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:56 .golangci.yml 05:10:20 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:56 CHANGELOG.md 05:10:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:56 GOVERNANCE.md 05:10:20 -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:56 Jenkinsfile 05:10:20 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:56 LICENSE 05:10:20 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:56 Makefile 05:10:20 -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:56 OWNERS.md 05:10:20 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:56 README.md 05:10:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION 05:10:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:56 bin 05:10:20 -rw-r--r-- 1 jenkins jenkins 126492 Aug 28 05:05 coverage.out 05:10:20 drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:56 example 05:10:20 -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:56 go.mod 05:10:20 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:56 go.sum 05:10:20 drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:56 internal 05:10:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:56 openapi 05:10:20 drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:56 pkg 05:10:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:56 snap 05:10:20 -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:20 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=32976106376497f80a51a4ba1ecd880c9a8cabe8 --label arch=arm64 --label version=0.0.0 . 05:10:21 Sending build context to Docker daemon 13.21MB 05:10:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:10:21 Step 2/24 : FROM ${BASE} AS builder 05:10:21 ---> 489e1c7d16ff 05:10:21 Step 3/24 : ARG MAKE=make build 05:10:21 ---> Running in 57aa701c7dfb 05:10:21 Removing intermediate container 57aa701c7dfb 05:10:21 ---> a67976ae0c95 05:10:21 Step 4/24 : WORKDIR /device-sdk-go 05:10:22 ---> Running in b2d294d82c0e 05:10:22 Removing intermediate container b2d294d82c0e 05:10:22 ---> 3aa58bd5caa3 05:10:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:10:22 ---> Running in 60c778f936ee 05:10:22 Removing intermediate container 60c778f936ee 05:10:22 ---> 65bcbac9aa8d 05:10:22 Step 6/24 : RUN apk add --update --no-cache make git 05:10:22 ---> Running in 589585c7f65d 05:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:10:25 OK: 266 MiB in 52 packages 05:10:26 Removing intermediate container 589585c7f65d 05:10:26 ---> ef2030a6266c 05:10:26 Step 7/24 : COPY go.mod vendor* ./ 05:10:27 ---> fbbd85e0fcce 05:10:27 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:27 ---> Running in f492f103c562 05:10:29 Removing intermediate container f492f103c562 05:10:29 ---> b34c57c366cf 05:10:29 Step 9/24 : COPY . . 05:10:31 ---> 369baab8d8e9 05:10:31 Step 10/24 : RUN ${MAKE} 05:10:31 ---> Running in 1918ef6799de 05:10:32 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 05:14:39 Removing intermediate container 1918ef6799de 05:14:39 ---> 04bb5235d550 05:14:39 Step 11/24 : FROM alpine:3.18 05:14:39 3.18: Pulling from library/alpine 05:14:39 4983c3fe2029: Pulling fs layer 05:14:39 4983c3fe2029: Verifying Checksum 05:14:39 4983c3fe2029: Download complete 05:14:39 4983c3fe2029: Pull complete 05:14:39 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:14:39 Status: Downloaded newer image for alpine:3.18 05:14:39 ---> a0237000ae83 05:14:39 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:14:39 ---> Running in 5995a8c3eb0e 05:14:39 Removing intermediate container 5995a8c3eb0e 05:14:39 ---> 36c7d425eda6 05:14:39 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:14:39 ---> Running in 0b61b9097712 05:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:14:39 (1/1) Installing dumb-init (1.2.5-r2) 05:14:39 Executing busybox-1.36.1-r7.trigger 05:14:39 OK: 8 MiB in 16 packages 05:14:39 Removing intermediate container 0b61b9097712 05:14:39 ---> 04ae58445b05 05:14:39 Step 14/24 : RUN apk --no-cache upgrade 05:14:39 ---> Running in 472f1c04db04 05:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:14:39 OK: 8 MiB in 16 packages 05:14:40 Removing intermediate container 472f1c04db04 05:14:40 ---> 232020a3b464 05:14:40 Step 15/24 : WORKDIR / 05:14:40 ---> Running in f7b6ee606c6f 05:14:40 Removing intermediate container f7b6ee606c6f 05:14:40 ---> 694ea7acfaf4 05:14:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:14:41 ---> 81868338ec0e 05:14:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:14:43 ---> 7f770ed7b6fc 05:14:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:14:43 ---> 451bcd5994c7 05:14:43 Step 19/24 : EXPOSE 59999 05:14:44 ---> Running in e834a9d56394 05:14:44 Removing intermediate container e834a9d56394 05:14:44 ---> f98214910d5b 05:14:44 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:14:44 ---> Running in 0ead2b59fbf4 05:14:44 Removing intermediate container 0ead2b59fbf4 05:14:44 ---> 67550ecf611f 05:14:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:14:45 ---> Running in 4acfcb29a905 05:14:45 Removing intermediate container 4acfcb29a905 05:14:45 ---> 5ef564974778 05:14:45 Step 22/24 : LABEL arch=arm64 05:14:45 ---> Running in e8f0d3d9a5bc 05:14:45 Removing intermediate container e8f0d3d9a5bc 05:14:45 ---> 8476cba4e815 05:14:45 Step 23/24 : LABEL git_sha=32976106376497f80a51a4ba1ecd880c9a8cabe8 05:14:45 ---> Running in f86866b7c740 05:14:46 Removing intermediate container f86866b7c740 05:14:46 ---> 7d5c05972b6a 05:14:46 Step 24/24 : LABEL version=0.0.0 05:14:46 ---> Running in aaeffa9b7bef 05:14:46 Removing intermediate container aaeffa9b7bef 05:14:46 ---> 9f36ddb21875 05:14:46 [Warning] One or more build-args [ARCH] were not consumed 05:14:46 Successfully built 9f36ddb21875 05:14:46 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:47 05:14:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:48 arm64: Pulling from edgex-lftools-log-publisher 05:14:48 8998bd30e6a1: Pulling fs layer 05:14:48 04944245beec: Pulling fs layer 05:14:48 699f458cf7ca: Pulling fs layer 05:14:48 765212b225bb: Pulling fs layer 05:14:48 f23df028b6ca: Pulling fs layer 05:14:48 d65c8cfc05b1: Pulling fs layer 05:14:48 2437ff75d9bd: Pulling fs layer 05:14:48 d65c8cfc05b1: Waiting 05:14:48 765212b225bb: Waiting 05:14:48 04944245beec: Verifying Checksum 05:14:48 04944245beec: Download complete 05:14:48 765212b225bb: Verifying Checksum 05:14:48 765212b225bb: Download complete 05:14:48 f23df028b6ca: Verifying Checksum 05:14:48 f23df028b6ca: Download complete 05:14:48 d65c8cfc05b1: Verifying Checksum 05:14:48 d65c8cfc05b1: Download complete 05:14:48 699f458cf7ca: Verifying Checksum 05:14:48 699f458cf7ca: Download complete 05:14:49 8998bd30e6a1: Download complete 05:14:51 2437ff75d9bd: Verifying Checksum 05:14:51 2437ff75d9bd: Download complete 05:14:54 8998bd30e6a1: Pull complete 05:14:54 04944245beec: Pull complete 05:14:56 699f458cf7ca: Pull complete 05:14:56 765212b225bb: Pull complete 05:14:57 f23df028b6ca: Pull complete 05:14:57 d65c8cfc05b1: Pull complete 05:15:16 2437ff75d9bd: Pull complete 05:15:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:16 prd-ubuntu20.04-docker-arm64-4c-16g-8895 does not seem to be running inside a container 05:15:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:19 $ docker top 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:20 ---> job-cost.sh 05:15:20 lf-activate-venv: SKIPPING 05:15:20 INFO: No Stack... 05:15:21 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:22 INFO: Archiving Costs [Pipeline] sh 05:15:22 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:15:22 + cut -d, -f6 [Pipeline] lock 05:15:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] 05:15:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] did not exist. Created. 05:15:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:23 /w/workspace/device-sdk-go/1@tmp/durable-d1e25b08/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:24 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:24 Warning: overwriting stash ‘stack-cost’ 05:15:24 Stashed 1 file(s) [Pipeline] } 05:15:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:24 $ docker stop --time=1 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 05:15:26 $ docker rm -f --volumes 40e58e79d7d8ea9cc335f728cd5b7233600d02c2c5ee755accd649f9107e5234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:27 provisioning config files... 05:15:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config1710229230346440014tmp [Pipeline] { [Pipeline] sh 05:15:27 + set +x 05:15:27 + curl -s https://codecov.io/bash 05:15:27 + bash -s -- 05:15:27 05:15:27 _____ _ 05:15:27 / ____| | | 05:15:27 | | ___ __| | ___ ___ _____ __ 05:15:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:27 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:27 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:27 Bash-1.0.6 05:15:27 05:15:27 05:15:27 ==> git version 2.25.1 found 05:15:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:27 Release-Date: 2020-01-08 05:15:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:27 ==> Jenkins CI detected. 05:15:27 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1618 05:15:27 project root: . 05:15:27 --> token set from env 05:15:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:27 ==> Running gcov in . (disable via -X gcov) 05:15:27 ==> Python coveragepy not found 05:15:27 ==> Searching for coverage reports in: 05:15:27 + . 05:15:27 -> Found 1 reports 05:15:27 ==> Detecting git/mercurial file structure 05:15:27 ==> Reading reports 05:15:27 + ./coverage.out bytes=126492 05:15:27 ==> Appending adjustments 05:15:27 https://docs.codecov.io/docs/fixing-reports 05:15:28 + Found adjustments 05:15:28 ==> Gzipping contents 05:15:28 20K /tmp/codecov.w9bQ9a.gz 05:15:28 ==> Uploading reports 05:15:28 url: https://codecov.io 05:15:28 query: branch=PR-1618&commit=32976106376497f80a51a4ba1ecd880c9a8cabe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= 05:15:28 -> Pinging Codecov 05:15:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1618&commit=32976106376497f80a51a4ba1ecd880c9a8cabe8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= 05:15:28 -> Uploading to 05:15:28 https://storage.googleapis.com/codecov/v4/raw/2024-08-28/7E55EF52A471D76F132DFD9A03CDDE97/32976106376497f80a51a4ba1ecd880c9a8cabe8/c243c198-ba37-450f-bf80-7284689a665b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T051528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9440ddb2939847684c7a25ae6ac57ccd789d60a1245f3e049b8953845ab55e54 05:15:28 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:28 Dload Upload Total Spent Left Speed 05:15:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17460 0 0 100 17460 0 75258 --:--:-- --:--:-- --:--:-- 75258 05:15:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/32976106376497f80a51a4ba1ecd880c9a8cabe8 [Pipeline] } 05:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:30 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives ] 05:15:30 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 05:15:30 total 16 05:15:30 drwxr-xr-x 3 root root 4096 Aug 28 04:56 . 05:15:30 drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:56 .. 05:15:30 drwxr-xr-x 2 root root 4096 Aug 28 04:56 cost 05:15:30 -rw-r--r-- 1 root root 86 Aug 28 04:56 cost.csv 05:15:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 05:15:30 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 05:15:30 total 16 05:15:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:56 . 05:15:30 drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:56 .. 05:15:30 drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 04:56 cost 05:15:30 -rw-r--r-- 1 jenkins jenkins 86 Aug 28 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:31 ---> package-listing.sh 05:15:31 ++ facter osfamily 05:15:31 ++ tr '[:upper:]' '[:lower:]' 05:15:32 + OS_FAMILY=debian 05:15:32 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1618 05:15:32 + START_PACKAGES=/tmp/packages_start.txt 05:15:32 + END_PACKAGES=/tmp/packages_end.txt 05:15:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:32 + PACKAGES=/tmp/packages_start.txt 05:15:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' 05:15:32 + PACKAGES=/tmp/packages_end.txt 05:15:32 + case "${OS_FAMILY}" in 05:15:32 + dpkg -l 05:15:32 + grep '^ii' 05:15:32 + '[' -f /tmp/packages_start.txt ']' 05:15:32 + '[' -f /tmp/packages_end.txt ']' 05:15:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' 05:15:32 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ 05:15:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [Pipeline] echo 05:15:32 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-1618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:33 prd-ubuntu20.04-docker-8c-8g-8890 does not seem to be running inside a container 05:15:33 $ 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-1618/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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:33 $ docker top 5259e6769b635b4a512a71903e88566707c49ebbfdc2e95f8aafc165d2e77111 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:34 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:34 + ls /var/log/sa-host 05:15:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:34 provisioning config files... 05:15:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config8848898458797959556tmp [Pipeline] { [Pipeline] echo 05:15:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:35 ---> create-netrc.sh [Pipeline] } 05:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:35 ---> python-tools-install.sh [Pipeline] echo 05:15:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:36 ---> sudo-logs.sh 05:15:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:36 ---> job-cost.sh 05:15:36 lf-activate-venv: SKIPPING 05:15:36 DEBUG: total: 0.2199999988079071 05:15:36 INFO: Retrieving Stack Cost... 05:15:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:37 INFO: Archiving Costs [Pipeline] echo 05:15:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:37 ---> logs-deploy.sh 05:15:37 lf-activate-venv: SKIPPING 05:15:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1618/1 05:15:37 INFO: archiving workspace using pattern(s): 05:15:38 Archives upload complete. 05:15:38 INFO: archiving logs to Nexus