Pull request #1616 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3e6ea3748ded273ffde4075f5b9e91a329ef63b3+a573d62abfd76acfce2b94ed3564a5c4c2542b9a (939efb5de3899681690274dd0a40f737b5e05066) 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-ssh10081777474330119744.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-ssh1971815271937708945.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-1616/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-1616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8348250422577141303.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-1616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1552551216907511889.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-ssh8486857384176521557.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-1616/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-1616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18152664634968230216.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8726 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [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-1616 # 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 a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 > 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/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 Merge succeeded, producing 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 Checking out Revision 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 (PR-1616) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 Commit message: "feat: Publish System Events for device discovery and profile scan progress" 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 01:58:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:58:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:37 ========================================================= 01:58:37 EdgeX Global Pipelines Version Info 01:58:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:58:38 ------------------- 01:58:38 stable info: 01:58:38 ------------------- 01:58:38 Commited By: Cherry Wang cherry@iotechsys.com 01:58:38 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:58:38 Message: update stable to v1.0.263 01:58:38 ------------------- 01:58:38 experimental info: 01:58:38 ------------------- 01:58:38 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:38 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:58:38 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1616 [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1616 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1616 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e6ea37 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:41 provisioning config files... 01:58:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config6117775243981947905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:41 ---> ****-login.sh 01:58:41 nexus3.edgexfoundry.org:10001 01:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:42 Configure a credential helper to remove this warning. See 01:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:42 01:58:42 Login Succeeded 01:58:42 nexus3.edgexfoundry.org:10002 01:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:42 Configure a credential helper to remove this warning. See 01:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:42 01:58:42 Login Succeeded 01:58:42 nexus3.edgexfoundry.org:10003 01:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:42 Configure a credential helper to remove this warning. See 01:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:42 01:58:42 Login Succeeded 01:58:42 nexus3.edgexfoundry.org:10004 01:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:42 Configure a credential helper to remove this warning. See 01:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:42 01:58:42 Login Succeeded 01:58:42 ****.io 01:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:58:42 Configure a credential helper to remove this warning. See 01:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:58:42 01:58:42 Login Succeeded 01:58:42 ---> ****-login.sh ends [Pipeline] } 01:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:43 + git rev-list -1 --merges 3e6ea3748ded273ffde4075f5b9e91a329ef63b3~1..3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo 01:58:43 -----------> git rev-list -1 --merges 3e6ea3748ded273ffde4075f5b9e91a329ef63b3~1..3e6ea3748ded273ffde4075f5b9e91a329ef63b3 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [false] [Pipeline] sh 01:58:44 + git log --format=format:%s -1 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo 01:58:44 ========================================================= 01:58:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:44 + git log --format=format:%s -1 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo 01:58:44 [semverPrep] GIT_COMMIT: 3e6ea3748ded273ffde4075f5b9e91a329ef63b3, Commit Message: feat: Publish System Events for device discovery and profile scan progress [Pipeline] echo 01:58:44 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:45 + grep -v github /etc/ssh/ssh_known_hosts 01:58:45 + [ -e /tmp/ssh_known_hosts ] 01:58:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:45 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:45 01:58:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:46 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:46 b85a868b505f: Pulling fs layer 01:58:46 e2be974225ed: Pulling fs layer 01:58:46 339a4e72a1f5: Pulling fs layer 01:58:46 988bab9f4d93: Pulling fs layer 01:58:46 1469e6f7b9e6: Pulling fs layer 01:58:46 eaf3925da568: Pulling fs layer 01:58:46 bab4dde63d76: Pulling fs layer 01:58:46 bde34c3a00c8: Pulling fs layer 01:58:46 b352a97aabf1: Pulling fs layer 01:58:46 4872d77fe225: Pulling fs layer 01:58:46 5851b861e8e6: Pulling fs layer 01:58:46 bab4dde63d76: Waiting 01:58:46 1469e6f7b9e6: Waiting 01:58:46 bde34c3a00c8: Waiting 01:58:46 eaf3925da568: Waiting 01:58:46 4872d77fe225: Waiting 01:58:46 b352a97aabf1: Waiting 01:58:46 988bab9f4d93: Waiting 01:58:46 5851b861e8e6: Waiting 01:58:46 e2be974225ed: Verifying Checksum 01:58:46 e2be974225ed: Download complete 01:58:46 988bab9f4d93: Verifying Checksum 01:58:46 988bab9f4d93: Download complete 01:58:46 339a4e72a1f5: Verifying Checksum 01:58:46 339a4e72a1f5: Download complete 01:58:46 eaf3925da568: Verifying Checksum 01:58:46 eaf3925da568: Download complete 01:58:46 1469e6f7b9e6: Verifying Checksum 01:58:46 1469e6f7b9e6: Download complete 01:58:46 bde34c3a00c8: Verifying Checksum 01:58:46 bde34c3a00c8: Download complete 01:58:46 b352a97aabf1: Verifying Checksum 01:58:46 b352a97aabf1: Download complete 01:58:46 4872d77fe225: Download complete 01:58:46 5851b861e8e6: Verifying Checksum 01:58:46 5851b861e8e6: Download complete 01:58:46 b85a868b505f: Verifying Checksum 01:58:46 b85a868b505f: Download complete 01:58:46 bab4dde63d76: Verifying Checksum 01:58:46 bab4dde63d76: Download complete 01:58:47 b85a868b505f: Pull complete 01:58:47 e2be974225ed: Pull complete 01:58:48 339a4e72a1f5: Pull complete 01:58:48 988bab9f4d93: Pull complete 01:58:48 1469e6f7b9e6: Pull complete 01:58:48 eaf3925da568: Pull complete 01:58:50 bab4dde63d76: Pull complete 01:58:50 bde34c3a00c8: Pull complete 01:58:50 b352a97aabf1: Pull complete 01:58:50 4872d77fe225: Pull complete 01:58:50 5851b861e8e6: Pull complete 01:58:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:51 prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container 01:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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-devops/py-git-semver:0.1.4 cat 01:58:54 $ docker top 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 -eo pid,comm 01:58:54 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). 01:58:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:54 [ssh-agent] Looking for ssh-agent implementation... 01:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:54 $ docker exec 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent 01:58:54 SSH_AUTH_SOCK=/tmp/ssh-tGcxzIwyIEBJ/agent.31 01:58:54 SSH_AGENT_PID=36 01:58:54 Running ssh-add (command line suppressed) 01:58:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_17946681114642043940.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_17946681114642043940.key) 01:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:55 + git tag --points-at HEAD [Pipeline] } 01:58:55 $ docker exec --env ******** --env ******** 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent -k 01:58:55 unset SSH_AUTH_SOCK; 01:58:55 unset SSH_AGENT_PID; 01:58:55 echo Agent pid 36 killed; 01:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:55 [ssh-agent] Looking for ssh-agent implementation... 01:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:55 $ docker exec 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent 01:58:55 SSH_AUTH_SOCK=/tmp/ssh-2tqs65ls5uzA/agent.69 01:58:55 SSH_AGENT_PID=75 01:58:55 Running ssh-add (command line suppressed) 01:58:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_7601906104141905916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_7601906104141905916.key) 01:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:55 + git semver init 01:58:56 2024-08-27 01:58:56,116 [run_init] DEBUG init version:0.0.0 force:False 01:58:56 2024-08-27 01:58:56,116 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver 01:58:56 2024-08-27 01:58:56,117 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver 01:58:56 2024-08-27 01:58:56,117 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616, universal_newlines=False, shell=None, istream=None) 01:58:58 2024-08-27 01:58:58,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.git/info/exclude 01:58:58 2024-08-27 01:58:58,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 with force:False 01:58:58 2024-08-27 01:58:58,136 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 01:58:58 2024-08-27 01:58:58,140 [execute] INFO git cat-file --batch-check 01:58:58 2024-08-27 01:58:58,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) 01:58:58 2024-08-27 01:58:58,145 [execute] INFO git cat-file --batch 01:58:58 2024-08-27 01:58:58,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) 01:58:58 2024-08-27 01:58:58,150 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 01:58:58 0.0.0 [Pipeline] } 01:58:58 $ docker exec --env ******** --env ******** 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent -k 01:58:58 unset SSH_AUTH_SOCK; 01:58:58 unset SSH_AGENT_PID; 01:58:58 echo Agent pid 75 killed; 01:58:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:59 + git semver [Pipeline] } 01:58:59 $ docker stop --time=1 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 01:59:00 $ docker rm -f --volumes 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:01 Stashed 1 file(s) [Pipeline] echo 01:59:01 [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 01:59:02 provisioning config files... 01:59:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config1318920042841782441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:02 ---> ****-login.sh 01:59:02 nexus3.edgexfoundry.org:10001 01:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:02 Configure a credential helper to remove this warning. See 01:59:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:02 01:59:02 Login Succeeded 01:59:02 nexus3.edgexfoundry.org:10002 01:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:02 Configure a credential helper to remove this warning. See 01:59:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:02 01:59:02 Login Succeeded 01:59:02 nexus3.edgexfoundry.org:10003 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 nexus3.edgexfoundry.org:10004 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 ****.io 01:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:59:03 Configure a credential helper to remove this warning. See 01:59:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:59:03 01:59:03 Login Succeeded 01:59:03 ---> ****-login.sh ends [Pipeline] } 01:59:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:59:03 ========================================================= 01:59:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:59:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:04 + 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 . 01:59:04 Sending build context to Docker daemon 25.21MB 01:59:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:59:04 Step 2/10 : FROM ${BASE} AS builder 01:59:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:04 619be1103602: Pulling fs layer 01:59:04 7862e08f4a3e: Pulling fs layer 01:59:04 5df492c9dc93: Pulling fs layer 01:59:04 7629e6793208: Pulling fs layer 01:59:04 4f4fb700ef54: Pulling fs layer 01:59:04 fb5054dd5b73: Pulling fs layer 01:59:04 eeca6798cff9: Pulling fs layer 01:59:04 aa269ceb94a6: Pulling fs layer 01:59:04 ada007ff1a6a: Pulling fs layer 01:59:04 7629e6793208: Waiting 01:59:04 aa269ceb94a6: Waiting 01:59:04 4f4fb700ef54: Waiting 01:59:04 ada007ff1a6a: Waiting 01:59:04 fb5054dd5b73: Waiting 01:59:04 eeca6798cff9: Waiting 01:59:04 7862e08f4a3e: Download complete 01:59:04 7629e6793208: Download complete 01:59:04 4f4fb700ef54: Download complete 01:59:04 619be1103602: Verifying Checksum 01:59:04 619be1103602: Download complete 01:59:04 fb5054dd5b73: Verifying Checksum 01:59:04 fb5054dd5b73: Download complete 01:59:04 eeca6798cff9: Verifying Checksum 01:59:04 eeca6798cff9: Download complete 01:59:04 619be1103602: Pull complete 01:59:04 7862e08f4a3e: Pull complete 01:59:04 ada007ff1a6a: Verifying Checksum 01:59:04 ada007ff1a6a: Download complete 01:59:05 5df492c9dc93: Verifying Checksum 01:59:05 5df492c9dc93: Download complete 01:59:05 aa269ceb94a6: Verifying Checksum 01:59:05 aa269ceb94a6: Download complete 01:59:08 5df492c9dc93: Pull complete 01:59:08 7629e6793208: Pull complete 01:59:08 4f4fb700ef54: Pull complete 01:59:08 fb5054dd5b73: Pull complete 01:59:08 eeca6798cff9: Pull complete 01:59:11 aa269ceb94a6: Pull complete 01:59:11 ada007ff1a6a: Pull complete 01:59:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:59:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:59:11 ---> f489d0715acc 01:59:11 Step 3/10 : ARG MAKE=make build 01:59:15 ---> Running in 6b1a7d0afda1 01:59:15 Removing intermediate container 6b1a7d0afda1 01:59:15 ---> a5f2eeb86f25 01:59:15 Step 4/10 : WORKDIR /device-sdk-go 01:59:15 ---> Running in 95512e2f6a37 01:59:15 Removing intermediate container 95512e2f6a37 01:59:15 ---> d6c87fc5bc5c 01:59:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:59:15 ---> Running in 32b49b620923 01:59:15 Removing intermediate container 32b49b620923 01:59:15 ---> 79eedb104e74 01:59:15 Step 6/10 : RUN apk add --update --no-cache make git 01:59:15 ---> Running in f79f3d942726 01:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:59:15 OK: 264 MiB in 52 packages 01:59:16 Removing intermediate container f79f3d942726 01:59:16 ---> 0bad490aa2df 01:59:16 Step 7/10 : COPY go.mod vendor* ./ 01:59:16 ---> eddd76fdd0ca 01:59:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:16 ---> Running in 90ba5ac45562 01:59:17 Still waiting to schedule task 01:59:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:03 Removing intermediate container 90ba5ac45562 02:00:03 ---> bd7bf9c3d761 02:00:03 Step 9/10 : COPY . . 02:00:03 ---> 7bfef652d721 02:00:03 Step 10/10 : RUN ${MAKE} 02:00:03 ---> Running in eeaa763f0189 02:00:03 noop 02:00:03 Removing intermediate container eeaa763f0189 02:00:03 ---> 5c2aad4cb9b8 02:00:03 Successfully built 5c2aad4cb9b8 02:00:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker inspect -f . ci-base-image-x86_64 02:00:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:04 prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container 02:00:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:00:04 $ docker top 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:05 + go version 02:00:05 go version go1.21.9 linux/amd64 [Pipeline] } 02:00:05 $ docker stop --time=1 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a 02:00:06 $ docker rm -f --volumes 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:07 + docker inspect -f . ci-base-image-x86_64 02:00:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:07 prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container 02:00:07 $ 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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:00:07 $ docker top ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] fileExists [Pipeline] sh 02:00:08 + make test 02:00:08 go test -race -coverprofile=coverage.out ./... 02:00:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements 02:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 79.4% of statements 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.037s coverage: 86.0% of statements 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 51.6% of statements 02:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:00:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.037s coverage: 14.4% of statements 02:00:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.827s coverage: 44.6% of statements 02:00:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.052s coverage: 68.5% of statements 02:00:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 89.2% of statements 02:00:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements 02:01:37 GO111MODULE=on go vet ./... 02:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 02:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:01:41 $ docker stop --time=1 ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 02:01:45 $ docker rm -f --volumes ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:47 + ls -al . 02:01:47 total 380 02:01:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 02:00 . 02:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 01:58 .. 02:01:47 -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 01:58 .dockerignore 02:01:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 02:01 .git 02:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 01:58 .github 02:01:47 -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 01:58 .gitignore 02:01:47 -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 01:58 .golangci.yml 02:01:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 01:58 .semver 02:01:47 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 01:58 CHANGELOG.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 01:58 GOVERNANCE.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 01:58 Jenkinsfile 02:01:47 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 01:58 LICENSE 02:01:47 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 01:58 Makefile 02:01:47 -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 01:58 OWNERS.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 01:58 README.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 01:59 VERSION 02:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 01:58 bin 02:01:47 -rw-r--r-- 1 jenkins jenkins 126494 Aug 27 02:00 coverage.out 02:01:47 drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 01:58 example 02:01:47 -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 01:58 go.mod 02:01:47 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 01:58 go.sum 02:01:47 drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 01:58 internal 02:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 01:58 openapi 02:01:47 drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 01:58 pkg 02:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 01:58 snap 02:01:47 -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:47 + 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=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 --label arch=amd64 --label version=0.0.0 . 02:01:47 Sending build context to Docker daemon 25.34MB 02:01:47 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:01:47 Step 2/24 : FROM ${BASE} AS builder 02:01:47 ---> 5c2aad4cb9b8 02:01:47 Step 3/24 : ARG MAKE=make build 02:01:48 ---> Running in 0875e57ef02f 02:01:48 Removing intermediate container 0875e57ef02f 02:01:48 ---> a9460e0de748 02:01:48 Step 4/24 : WORKDIR /device-sdk-go 02:01:48 ---> Running in 655fdfb40546 02:01:48 Removing intermediate container 655fdfb40546 02:01:48 ---> fce1893c3c9a 02:01:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:01:48 ---> Running in 2cfa5e94ea6e 02:01:48 Removing intermediate container 2cfa5e94ea6e 02:01:48 ---> fb3f9e7297c7 02:01:48 Step 6/24 : RUN apk add --update --no-cache make git 02:01:48 ---> Running in 011da8d1fe35 02:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:01:49 OK: 264 MiB in 52 packages 02:01:49 Removing intermediate container 011da8d1fe35 02:01:49 ---> 974438dd6abe 02:01:49 Step 7/24 : COPY go.mod vendor* ./ 02:01:49 ---> eac899fc6e90 02:01:49 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:49 ---> Running in fd6f83932999 02:01:50 Removing intermediate container fd6f83932999 02:01:50 ---> 60d1db48af0f 02:01:50 Step 9/24 : COPY . . 02:01:51 ---> b19ba39f75db 02:01:51 Step 10/24 : RUN ${MAKE} 02:01:51 ---> Running in 3c363a05819e 02:01:51 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 02:02:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8728 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] { [Pipeline] ws 02:02:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:02:19 The recommended git tool is: git 02:02:29 using credential edgex-jenkins-ssh 02:02:29 Cloning the remote Git repository 02:02:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:02:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:02:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:02:29 > git --version # timeout=10 02:02:29 > git --version # 'git version 2.25.1' 02:02:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:30 Removing intermediate container 3c363a05819e 02:02:30 ---> 6c2f75ae4c6c 02:02:30 Step 11/24 : FROM alpine:3.18 02:02:30 3.18: Pulling from library/alpine 02:02:30 930bdd4d222e: Pulling fs layer 02:02:30 930bdd4d222e: Verifying Checksum 02:02:30 930bdd4d222e: Download complete 02:02:30 930bdd4d222e: Pull complete 02:02:30 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:02:30 Status: Downloaded newer image for alpine:3.18 02:02:30 ---> 18f865063206 02:02:30 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:02:30 ---> Running in 08caabb9f3cd 02:02:30 Removing intermediate container 08caabb9f3cd 02:02:30 ---> 83c3f2b36202 02:02:30 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:02:30 ---> Running in 45a6efbaf38e 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:02:30 (1/1) Installing dumb-init (1.2.5-r2) 02:02:30 Executing busybox-1.36.1-r7.trigger 02:02:30 OK: 7 MiB in 16 packages 02:02:30 Removing intermediate container 45a6efbaf38e 02:02:30 ---> c66d3efb5ef9 02:02:30 Step 14/24 : RUN apk --no-cache upgrade 02:02:30 ---> Running in 0eda751281a9 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:02:30 OK: 7 MiB in 16 packages 02:02:30 Removing intermediate container 0eda751281a9 02:02:30 ---> 7438471dfe6f 02:02:30 Step 15/24 : WORKDIR / 02:02:30 ---> Running in b2a4c5ef7f19 02:02:30 Removing intermediate container b2a4c5ef7f19 02:02:30 ---> afa54883a269 02:02:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:02:30 ---> ceef07aac848 02:02:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:02:30 ---> bde96981e8cd 02:02:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:02:30 ---> 8e04670e9010 02:02:30 Step 19/24 : EXPOSE 59999 02:02:30 ---> Running in 04316c52fec3 02:02:30 Removing intermediate container 04316c52fec3 02:02:30 ---> 050794508048 02:02:30 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:02:30 ---> Running in 15872d2b66e6 02:02:30 Removing intermediate container 15872d2b66e6 02:02:30 ---> bb87b399162d 02:02:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:02:30 ---> Running in 2f33e4a8c374 02:02:30 Removing intermediate container 2f33e4a8c374 02:02:30 ---> 29fd3cf1a916 02:02:30 Step 22/24 : LABEL arch=amd64 02:02:30 ---> Running in 16dd89ccb973 02:02:30 Removing intermediate container 16dd89ccb973 02:02:30 ---> e3dcd15c7873 02:02:30 Step 23/24 : LABEL git_sha=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 02:02:31 ---> Running in 9c86d524194c 02:02:31 Removing intermediate container 9c86d524194c 02:02:31 ---> 0f47e046ad9a 02:02:31 Step 24/24 : LABEL version=0.0.0 02:02:31 ---> Running in 0619c1d718eb 02:02:31 Removing intermediate container 0619c1d718eb 02:02:31 ---> 6cc98edaeceb 02:02:31 [Warning] One or more build-args [ARCH] were not consumed 02:02:31 Successfully built 6cc98edaeceb 02:02:31 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 02:02:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [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 02:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:32 02:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:32 latest: Pulling from edgex-lftools-log-publisher 02:02:32 5eb5b503b376: Pulling fs layer 02:02:32 5c69ac0246d0: Pulling fs layer 02:02:32 ec43610c2a17: Pulling fs layer 02:02:32 3a2ae6a8a46f: Pulling fs layer 02:02:32 33b1e0a273af: Pulling fs layer 02:02:32 5d3b04190fa2: Pulling fs layer 02:02:32 2f39f015ded8: Pulling fs layer 02:02:32 3a2ae6a8a46f: Waiting 02:02:32 33b1e0a273af: Waiting 02:02:32 5d3b04190fa2: Waiting 02:02:32 2f39f015ded8: Waiting 02:02:32 5c69ac0246d0: Verifying Checksum 02:02:32 5c69ac0246d0: Download complete 02:02:32 3a2ae6a8a46f: Verifying Checksum 02:02:32 3a2ae6a8a46f: Download complete 02:02:32 ec43610c2a17: Verifying Checksum 02:02:32 ec43610c2a17: Download complete 02:02:32 33b1e0a273af: Verifying Checksum 02:02:32 33b1e0a273af: Download complete 02:02:32 5d3b04190fa2: Download complete 02:02:32 5eb5b503b376: Download complete 02:02:33 2f39f015ded8: Download complete 02:02:33 5eb5b503b376: Pull complete 02:02:34 5c69ac0246d0: Pull complete 02:02:34 ec43610c2a17: Pull complete 02:02:34 3a2ae6a8a46f: Pull complete 02:02:34 33b1e0a273af: Pull complete 02:02:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:02:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:34 5d3b04190fa2: Pull complete 02:02:36 Merging remotes/origin/main commit a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 02:02:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:02:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:02:36 > git config core.sparsecheckout # timeout=10 02:02:36 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 02:02:36 Merge succeeded, producing 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 02:02:36 Checking out Revision 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 (PR-1616) 02:02:36 > git remote # timeout=10 02:02:36 > git config --get remote.origin.url # timeout=10 02:02:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:36 > git merge a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 02:02:36 > git rev-parse HEAD^{commit} # timeout=10 02:02:36 > git config core.sparsecheckout # timeout=10 02:02:36 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 02:02:39 2f39f015ded8: Pull complete 02:02:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:39 prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container 02:02:39 $ 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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:02:40 Commit message: "feat: Publish System Events for device discovery and profile scan progress" 02:02:40 > git --version # timeout=10 02:02:40 > git --version # 'git version 2.25.1' 02:02:40 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 02:02:41 02:02:41 GitHub has been notified of this commit’s build result 02:02:41 02:02:42 $ docker top 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 02:02:43 ---> job-cost.sh 02:02:43 lf-activate-venv: SKIPPING 02:02:43 INFO: No Stack... [Pipeline] { [Pipeline] sh 02:02:43 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:43 INFO: Archiving Costs [Pipeline] sh 02:02:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:02:44 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:44 Dload Upload Total Spent Left Speed 02:02:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 02:02:44 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/cost.csv 02:02:44 + cut -d, -f6 [Pipeline] lock 02:02:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] 02:02:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] did not exist. Created. 02:02:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] { [Pipeline] unstash 02:02:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 02:02:44 + echo total: 0.2199999988079071 [Pipeline] stash 02:02:44 Stashed 1 file(s) [Pipeline] } 02:02:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] 02:02:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:02:44 + sudo tee /etc/docker/daemon.new 02:02:44 { 02:02:44 "registry-mirrors": [ 02:02:44 "https://nexus3.edgexfoundry.org:10001" 02:02:44 ], 02:02:44 "bip": "10.250.0.254/24", 02:02:44 "hosts": [ 02:02:44 "tcp://0.0.0.0:5555", 02:02:44 "unix:///var/run/docker.sock" 02:02:44 ], 02:02:44 "mtu": 1458, 02:02:44 "selinux-enabled": true, 02:02:44 "seccomp-profile": "/etc/docker/seccomp.json" 02:02:44 } [Pipeline] // lock [Pipeline] } 02:02:44 $ docker stop --time=1 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 02:02:46 $ docker rm -f --volumes 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:02:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh 02:02:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:05 provisioning config files... 02:03:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14873305550710538801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:05 ---> ****-login.sh 02:03:05 nexus3.edgexfoundry.org:10001 02:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:06 Configure a credential helper to remove this warning. See 02:03:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:06 02:03:06 Login Succeeded 02:03:06 nexus3.edgexfoundry.org:10002 02:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:07 Configure a credential helper to remove this warning. See 02:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:07 02:03:07 Login Succeeded 02:03:07 nexus3.edgexfoundry.org:10003 02:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:07 Configure a credential helper to remove this warning. See 02:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:07 02:03:07 Login Succeeded 02:03:07 nexus3.edgexfoundry.org:10004 02:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:07 Configure a credential helper to remove this warning. See 02:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:07 02:03:07 Login Succeeded 02:03:07 ****.io 02:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:08 Configure a credential helper to remove this warning. See 02:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:08 02:03:08 Login Succeeded 02:03:08 ---> ****-login.sh ends [Pipeline] } 02:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:03:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:03:09 ========================================================= 02:03:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:03:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:09 + 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 . 02:03:10 Sending build context to Docker daemon 13.08MB 02:03:10 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:03:10 Step 2/10 : FROM ${BASE} AS builder 02:03:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:10 c6b39de5b339: Pulling fs layer 02:03:10 a69c41024577: Pulling fs layer 02:03:10 d6de4b400683: Pulling fs layer 02:03:10 35cb2a7552d0: Pulling fs layer 02:03:10 4f4fb700ef54: Pulling fs layer 02:03:10 464afbd9ba4c: Pulling fs layer 02:03:10 00f215d4a9da: Pulling fs layer 02:03:10 d496ad576159: Pulling fs layer 02:03:10 4f4fb700ef54: Waiting 02:03:10 464afbd9ba4c: Waiting 02:03:10 00f215d4a9da: Waiting 02:03:10 35cb2a7552d0: Waiting 02:03:10 d496ad576159: Waiting 02:03:10 a69c41024577: Verifying Checksum 02:03:10 a69c41024577: Download complete 02:03:10 35cb2a7552d0: Verifying Checksum 02:03:10 35cb2a7552d0: Download complete 02:03:10 4f4fb700ef54: Verifying Checksum 02:03:10 4f4fb700ef54: Download complete 02:03:10 464afbd9ba4c: Verifying Checksum 02:03:10 464afbd9ba4c: Download complete 02:03:10 c6b39de5b339: Verifying Checksum 02:03:10 c6b39de5b339: Download complete 02:03:11 d496ad576159: Verifying Checksum 02:03:11 d496ad576159: Download complete 02:03:11 c6b39de5b339: Pull complete 02:03:12 a69c41024577: Pull complete 02:03:12 d6de4b400683: Verifying Checksum 02:03:12 d6de4b400683: Download complete 02:03:14 00f215d4a9da: Verifying Checksum 02:03:14 00f215d4a9da: Download complete 02:03:26 d6de4b400683: Pull complete 02:03:26 35cb2a7552d0: Pull complete 02:03:26 4f4fb700ef54: Pull complete 02:03:27 464afbd9ba4c: Pull complete 02:03:37 00f215d4a9da: Pull complete 02:03:38 d496ad576159: Pull complete 02:03:38 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:03:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:03:38 ---> f246e2811388 02:03:38 Step 3/10 : ARG MAKE=make build 02:03:40 ---> Running in 5c420b0c78f2 02:03:40 Removing intermediate container 5c420b0c78f2 02:03:40 ---> 9322989a299d 02:03:40 Step 4/10 : WORKDIR /device-sdk-go 02:03:40 ---> Running in 2ca23c173af5 02:03:41 Removing intermediate container 2ca23c173af5 02:03:41 ---> 6ecb83c557f2 02:03:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:03:41 ---> Running in 22e593393d74 02:03:41 Removing intermediate container 22e593393d74 02:03:41 ---> fa29e2008c96 02:03:41 Step 6/10 : RUN apk add --update --no-cache make git 02:03:41 ---> Running in 0079ba372f10 02:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:03:44 OK: 266 MiB in 52 packages 02:03:45 Removing intermediate container 0079ba372f10 02:03:45 ---> e681a0e0b7f6 02:03:45 Step 7/10 : COPY go.mod vendor* ./ 02:03:45 ---> a08e1e428c25 02:03:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:46 ---> Running in dfc68968df45 02:05:52 Removing intermediate container dfc68968df45 02:05:52 ---> 4515d35dcece 02:05:52 Step 9/10 : COPY . . 02:05:52 ---> dc7627730268 02:05:52 Step 10/10 : RUN ${MAKE} 02:05:53 ---> Running in 62fd1a99a3b8 02:05:54 noop 02:05:54 Removing intermediate container 62fd1a99a3b8 02:05:54 ---> 25be9cb55b03 02:05:55 Successfully built 25be9cb55b03 02:05:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:55 + docker inspect -f . ci-base-image-arm64 02:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:55 prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container 02:05:55 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:05:57 $ docker top d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:58 + go version 02:05:58 go version go1.21.9 linux/arm64 [Pipeline] } 02:05:58 $ docker stop --time=1 d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a 02:06:00 $ docker rm -f --volumes d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:01 + docker inspect -f . ci-base-image-arm64 02:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:01 prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container 02:06:01 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:03 $ docker top a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:03 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 02:06:04 + make test 02:06:04 go test -race -coverprofile=coverage.out ./... 02:07:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:10:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:10:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:10:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:10:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:10:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:10:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 26.0% of statements 02:10:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.217s coverage: 79.4% of statements 02:10:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:10:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:10:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.296s coverage: 86.0% of statements 02:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:11:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.471s coverage: 51.6% of statements 02:11:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.148s coverage: 14.4% of statements 02:11:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.116s coverage: 44.6% of statements 02:11:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:11:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:11:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:11:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.315s coverage: 68.5% of statements 02:11:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements 02:11:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:11:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.248s coverage: 5.3% of statements 02:11:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:11:18 GO111MODULE=on go vet ./... 02:15:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:15:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:15:25 ./bin/test-attribution-txt.sh [Pipeline] echo 02:15:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:15:25 $ docker stop --time=1 a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf 02:15:27 $ docker rm -f --volumes a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf [Pipeline] // withDockerContainer [Pipeline] sh 02:15:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:15:29 Warning: overwriting stash ‘coverage-report’ 02:15:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:15:31 + ls -al . 02:15:31 total 376 02:15:31 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 02:06 . 02:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 02:02 .. 02:15:31 -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 02:02 .dockerignore 02:15:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 02:02 .git 02:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 02:02 .github 02:15:31 -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 02:02 .gitignore 02:15:31 -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 02:02 .golangci.yml 02:15:31 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 02:02 CHANGELOG.md 02:15:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 02:02 GOVERNANCE.md 02:15:31 -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 02:02 Jenkinsfile 02:15:31 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 02:02 LICENSE 02:15:31 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 02:02 Makefile 02:15:31 -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 02:02 OWNERS.md 02:15:31 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 02:02 README.md 02:15:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 01:59 VERSION 02:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 02:02 bin 02:15:31 -rw-r--r-- 1 jenkins jenkins 126492 Aug 27 02:11 coverage.out 02:15:31 drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 02:02 example 02:15:31 -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 02:02 go.mod 02:15:31 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 02:02 go.sum 02:15:31 drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 02:02 internal 02:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 02:02 openapi 02:15:31 drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 02:02 pkg 02:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 02:02 snap 02:15:31 -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:32 + 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=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 --label arch=arm64 --label version=0.0.0 . 02:15:33 Sending build context to Docker daemon 13.21MB 02:15:33 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:15:33 Step 2/24 : FROM ${BASE} AS builder 02:15:33 ---> 25be9cb55b03 02:15:33 Step 3/24 : ARG MAKE=make build 02:15:33 ---> Running in f49226861d50 02:15:33 Removing intermediate container f49226861d50 02:15:33 ---> 2e3ff5f8c53d 02:15:33 Step 4/24 : WORKDIR /device-sdk-go 02:15:33 ---> Running in a7d145a6b905 02:15:34 Removing intermediate container a7d145a6b905 02:15:34 ---> dbd4e09200c9 02:15:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:15:34 ---> Running in 657bdf275d56 02:15:34 Removing intermediate container 657bdf275d56 02:15:34 ---> 6c996c1527a0 02:15:34 Step 6/24 : RUN apk add --update --no-cache make git 02:15:34 ---> Running in ec6110eb9b46 02:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:15:37 OK: 266 MiB in 52 packages 02:15:38 Removing intermediate container ec6110eb9b46 02:15:38 ---> efb87e54b19a 02:15:38 Step 7/24 : COPY go.mod vendor* ./ 02:15:38 ---> 967db1eaa9e0 02:15:38 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:39 ---> Running in b6825af73ff8 02:15:41 Removing intermediate container b6825af73ff8 02:15:41 ---> c89e6005c932 02:15:41 Step 9/24 : COPY . . 02:15:43 ---> d6f19ba3f859 02:15:43 Step 10/24 : RUN ${MAKE} 02:15:43 ---> Running in c07d8c2dd7bf 02:15:44 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 02:19:36 Removing intermediate container c07d8c2dd7bf 02:19:36 ---> 3d5f0435d2ca 02:19:36 Step 11/24 : FROM alpine:3.18 02:19:36 3.18: Pulling from library/alpine 02:19:36 4983c3fe2029: Pulling fs layer 02:19:36 4983c3fe2029: Download complete 02:19:36 4983c3fe2029: Pull complete 02:19:36 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:19:36 Status: Downloaded newer image for alpine:3.18 02:19:36 ---> a0237000ae83 02:19:36 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:19:36 ---> Running in 22ec4d2253ad 02:19:36 Removing intermediate container 22ec4d2253ad 02:19:36 ---> 1924953515d3 02:19:36 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:19:36 ---> Running in dcc3a62787c6 02:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:19:37 (1/1) Installing dumb-init (1.2.5-r2) 02:19:37 Executing busybox-1.36.1-r7.trigger 02:19:37 OK: 8 MiB in 16 packages 02:19:38 Removing intermediate container dcc3a62787c6 02:19:38 ---> b3804a8350dd 02:19:38 Step 14/24 : RUN apk --no-cache upgrade 02:19:38 ---> Running in 68cefd5433ea 02:19:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:19:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:19:40 OK: 8 MiB in 16 packages 02:19:41 Removing intermediate container 68cefd5433ea 02:19:41 ---> c286dccabe65 02:19:41 Step 15/24 : WORKDIR / 02:19:41 ---> Running in 1a5b44e50acc 02:19:41 Removing intermediate container 1a5b44e50acc 02:19:41 ---> e5d02b868c37 02:19:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:19:42 ---> 1f1dbb2f4a26 02:19:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:19:44 ---> 2727f9e1b191 02:19:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:19:44 ---> 57ea9a634d64 02:19:44 Step 19/24 : EXPOSE 59999 02:19:45 ---> Running in 7a7c61d1b2bd 02:19:45 Removing intermediate container 7a7c61d1b2bd 02:19:45 ---> 831727fcb4bf 02:19:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:19:45 ---> Running in acc3e2937599 02:19:45 Removing intermediate container acc3e2937599 02:19:45 ---> 2ef5e4cf27e5 02:19:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:19:45 ---> Running in 158bfda1ed47 02:19:45 Removing intermediate container 158bfda1ed47 02:19:45 ---> 48ff5378e1ab 02:19:45 Step 22/24 : LABEL arch=arm64 02:19:46 ---> Running in ecca420d9b81 02:19:46 Removing intermediate container ecca420d9b81 02:19:46 ---> 40c0e1020060 02:19:46 Step 23/24 : LABEL git_sha=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 02:19:46 ---> Running in 89fa7827fee7 02:19:46 Removing intermediate container 89fa7827fee7 02:19:46 ---> 785dea43e173 02:19:46 Step 24/24 : LABEL version=0.0.0 02:19:46 ---> Running in 9c64395e2654 02:19:47 Removing intermediate container 9c64395e2654 02:19:47 ---> 01644dca74a9 02:19:47 [Warning] One or more build-args [ARCH] were not consumed 02:19:47 Successfully built 01644dca74a9 02:19:47 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 02:19:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:48 02:19:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:48 arm64: Pulling from edgex-lftools-log-publisher 02:19:48 8998bd30e6a1: Pulling fs layer 02:19:48 04944245beec: Pulling fs layer 02:19:48 699f458cf7ca: Pulling fs layer 02:19:48 765212b225bb: Pulling fs layer 02:19:48 f23df028b6ca: Pulling fs layer 02:19:48 d65c8cfc05b1: Pulling fs layer 02:19:48 2437ff75d9bd: Pulling fs layer 02:19:48 f23df028b6ca: Waiting 02:19:48 d65c8cfc05b1: Waiting 02:19:48 2437ff75d9bd: Waiting 02:19:48 765212b225bb: Waiting 02:19:48 04944245beec: Verifying Checksum 02:19:48 04944245beec: Download complete 02:19:48 765212b225bb: Verifying Checksum 02:19:48 765212b225bb: Download complete 02:19:48 f23df028b6ca: Download complete 02:19:48 d65c8cfc05b1: Verifying Checksum 02:19:48 d65c8cfc05b1: Download complete 02:19:48 699f458cf7ca: Verifying Checksum 02:19:48 699f458cf7ca: Download complete 02:19:49 8998bd30e6a1: Verifying Checksum 02:19:49 8998bd30e6a1: Download complete 02:19:52 2437ff75d9bd: Verifying Checksum 02:19:52 2437ff75d9bd: Download complete 02:19:54 8998bd30e6a1: Pull complete 02:19:54 04944245beec: Pull complete 02:19:56 699f458cf7ca: Pull complete 02:19:56 765212b225bb: Pull complete 02:19:57 f23df028b6ca: Pull complete 02:19:57 d65c8cfc05b1: Pull complete 02:20:16 2437ff75d9bd: Pull complete 02:20:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:20:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:16 prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container 02:20: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:20:19 $ docker top dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:20:20 ---> job-cost.sh 02:20:20 lf-activate-venv: SKIPPING 02:20:20 INFO: No Stack... 02:20:21 INFO: Retrieving Pricing Info for: v3-standard-4 02:20:21 INFO: Archiving Costs [Pipeline] sh 02:20:22 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 02:20:22 + cut -d, -f6 [Pipeline] lock 02:20:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] 02:20:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] did not exist. Created. 02:20:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:20:23 /w/workspace/device-sdk-go/1@tmp/durable-d0465e0b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:20:24 + echo total: 0.10999999940395355 [Pipeline] stash 02:20:24 Warning: overwriting stash ‘stack-cost’ 02:20:24 Stashed 1 file(s) [Pipeline] } 02:20:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:20:24 $ docker stop --time=1 dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c 02:20:25 $ docker rm -f --volumes dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c [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 02:20:27 provisioning config files... 02:20:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config12910714299268676475tmp [Pipeline] { [Pipeline] sh 02:20:27 + set +x 02:20:27 + curl -s https://codecov.io/bash 02:20:27 + bash -s -- 02:20:27 02:20:27 _____ _ 02:20:27 / ____| | | 02:20:27 | | ___ __| | ___ ___ _____ __ 02:20:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:20:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:20:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:20:27 Bash-1.0.6 02:20:27 02:20:27 02:20:27 ==> git version 2.25.1 found 02:20: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 02:20:27 Release-Date: 2020-01-08 02:20: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 02:20:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:20:27 ==> Jenkins CI detected. 02:20:27 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1616 02:20:27 project root: . 02:20:27 --> token set from env 02:20:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:20:27 ==> Running gcov in . (disable via -X gcov) 02:20:27 ==> Python coveragepy not found 02:20:27 ==> Searching for coverage reports in: 02:20:27 + . 02:20:27 -> Found 1 reports 02:20:27 ==> Detecting git/mercurial file structure 02:20:27 ==> Reading reports 02:20:27 + ./coverage.out bytes=126492 02:20:27 ==> Appending adjustments 02:20:27 https://docs.codecov.io/docs/fixing-reports 02:20:27 + Found adjustments 02:20:27 ==> Gzipping contents 02:20:27 20K /tmp/codecov.NS0Giv.gz 02:20:27 ==> Uploading reports 02:20:27 url: https://codecov.io 02:20:27 query: branch=PR-1616&commit=3e6ea3748ded273ffde4075f5b9e91a329ef63b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= 02:20:27 -> Pinging Codecov 02:20:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1616&commit=3e6ea3748ded273ffde4075f5b9e91a329ef63b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= 02:20:28 -> Uploading to 02:20:28 https://storage.googleapis.com/codecov/v4/raw/2024-08-27/7E55EF52A471D76F132DFD9A03CDDE97/3e6ea3748ded273ffde4075f5b9e91a329ef63b3/6a0725b6-2e7b-490a-8466-0c52cdb34129.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T022028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8d9547d01ec84ca40803707fa46c7816d84e1034a3afcba66fedf5bc83193fc 02:20:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:20:28 Dload Upload Total Spent Left Speed 02:20:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17285 0 0 100 17285 0 62854 --:--:-- --:--:-- --:--:-- 62854 02:20:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] } 02:20: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 02:20:31 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives ] 02:20:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives 02:20:31 total 16 02:20:31 drwxr-xr-x 3 root root 4096 Aug 27 02:02 . 02:20:31 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 02:02 .. 02:20:31 drwxr-xr-x 2 root root 4096 Aug 27 02:02 cost 02:20:31 -rw-r--r-- 1 root root 86 Aug 27 02:02 cost.csv 02:20:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives 02:20:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives 02:20:31 total 16 02:20:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 02:02 . 02:20:31 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 02:02 .. 02:20:31 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 02:02 cost 02:20:31 -rw-r--r-- 1 jenkins jenkins 86 Aug 27 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:20:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:20:32 ---> package-listing.sh 02:20:32 ++ facter osfamily 02:20:32 ++ tr '[:upper:]' '[:lower:]' 02:20:32 + OS_FAMILY=debian 02:20:32 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1616 02:20:32 + START_PACKAGES=/tmp/packages_start.txt 02:20:32 + END_PACKAGES=/tmp/packages_end.txt 02:20:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:20:32 + PACKAGES=/tmp/packages_start.txt 02:20:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' 02:20:32 + PACKAGES=/tmp/packages_end.txt 02:20:32 + case "${OS_FAMILY}" in 02:20:32 + dpkg -l 02:20:32 + grep '^ii' 02:20:32 + '[' -f /tmp/packages_start.txt ']' 02:20:32 + '[' -f /tmp/packages_end.txt ']' 02:20:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:20:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' 02:20:32 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ 02:20:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ [Pipeline] echo 02:20: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-1616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:20:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:20:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:20:33 prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container 02:20: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-1616/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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:20:34 $ docker top d5005de82037be89085d3004175e7f150df84dd55d97144dda246bca9ac7d234 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:34 + touch /tmp/pre-build-complete [Pipeline] sh 02:20:34 + mkdir -p /var/log/sysstat [Pipeline] sh 02:20:35 + ls /var/log/sa-host 02:20:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:20:35 provisioning config files... 02:20:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config6299147424865822374tmp [Pipeline] { [Pipeline] echo 02:20:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:20:35 ---> create-netrc.sh [Pipeline] } 02:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:20:36 ---> python-tools-install.sh [Pipeline] echo 02:20:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:20:36 ---> sudo-logs.sh 02:20:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:20:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:20:37 ---> job-cost.sh 02:20:37 lf-activate-venv: SKIPPING 02:20:37 DEBUG: total: 0.2199999988079071 02:20:37 INFO: Retrieving Stack Cost... 02:20:37 INFO: Retrieving Pricing Info for: v3-standard-8 02:20:37 INFO: Archiving Costs [Pipeline] echo 02:20:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:20:38 ---> logs-deploy.sh 02:20:38 lf-activate-venv: SKIPPING 02:20:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1616/1 02:20:38 INFO: archiving workspace using pattern(s): 02:20:39 Archives upload complete. 02:20:39 INFO: archiving logs to Nexus