Branch indexing 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+c582db119472e089660f4546ea857b2fbcd79f76 (494570c41746af89f2651a893569727e0560734f) 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-ssh2620663799054330162.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2096346422901952194.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14939532993956269419.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh9096187469767162298.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17936031092687352278.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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/v2]] ========================================================= [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.18 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/v2 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-1318 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing eb02d557af5a8de536f33d4ffc2f370c412e40c0 Checking out Revision eb02d557af5a8de536f33d4ffc2f370c412e40c0 (PR-1196) > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb02d557af5a8de536f33d4ffc2f370c412e40c0 # timeout=10 Commit message: "Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3c4fa9c6120d51801d901573f3ce82a88b532ea7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:43:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:12 ========================================================= 06:43:12 EdgeX Global Pipelines Version Info 06:43:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:13 ------------------- 06:43:13 stable info: 06:43:13 ------------------- 06:43:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:43:13 Message: update stable to v1.0.239 06:43:13 ------------------- 06:43:13 experimental info: 06:43:13 ------------------- 06:43:13 Commited By: **** collab-it+edgex@linuxfoundation.org 06:43:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:43:13 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb02d55 [Pipeline] echo 06:43:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:14 provisioning config files... 06:43:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config5082988095170898960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:14 ---> docker-login.sh 06:43:14 nexus3.edgexfoundry.org:10001 06:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:15 Configure a credential helper to remove this warning. See 06:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:15 06:43:15 Login Succeeded 06:43:15 nexus3.edgexfoundry.org:10002 06:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:15 Configure a credential helper to remove this warning. See 06:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:15 06:43:15 Login Succeeded 06:43:15 nexus3.edgexfoundry.org:10003 06:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:15 Configure a credential helper to remove this warning. See 06:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:15 06:43:15 Login Succeeded 06:43:15 nexus3.edgexfoundry.org:10004 06:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:15 Configure a credential helper to remove this warning. See 06:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:15 06:43:15 Login Succeeded 06:43:15 docker.io 06:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:16 Configure a credential helper to remove this warning. See 06:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:16 06:43:16 Login Succeeded 06:43:16 ---> docker-login.sh ends [Pipeline] } 06:43:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:43:16 + git rev-list -1 --merges eb02d557af5a8de536f33d4ffc2f370c412e40c0~1..eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo 06:43:16 -----------> git rev-list -1 --merges eb02d557af5a8de536f33d4ffc2f370c412e40c0~1..eb02d557af5a8de536f33d4ffc2f370c412e40c0 eb02d557af5a8de536f33d4ffc2f370c412e40c0 06:43:16 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [false] [Pipeline] sh 06:43:16 + git log --format=format:%s -1 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo 06:43:16 ========================================================= 06:43:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:43:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:17 + git log --format=format:%s -1 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo 06:43:17 [semverPrep] GIT_COMMIT: eb02d557af5a8de536f33d4ffc2f370c412e40c0, Commit Message: Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD [Pipeline] echo 06:43:17 [semverPrep] This is not a build commit. [Pipeline] sh 06:43:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:17 + grep -v github /etc/ssh/ssh_known_hosts 06:43:17 + [ -e /tmp/ssh_known_hosts ] 06:43:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:43:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:43:17 + sudo tee -a /etc/ssh/ssh_known_hosts 06:43:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:17 06:43:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:18 0.1.4: Pulling from edgex-devops/py-git-semver 06:43:18 b85a868b505f: Pulling fs layer 06:43:18 e2be974225ed: Pulling fs layer 06:43:18 339a4e72a1f5: Pulling fs layer 06:43:18 988bab9f4d93: Pulling fs layer 06:43:18 1469e6f7b9e6: Pulling fs layer 06:43:18 eaf3925da568: Pulling fs layer 06:43:18 bab4dde63d76: Pulling fs layer 06:43:18 bde34c3a00c8: Pulling fs layer 06:43:18 b352a97aabf1: Pulling fs layer 06:43:18 4872d77fe225: Pulling fs layer 06:43:18 5851b861e8e6: Pulling fs layer 06:43:18 1469e6f7b9e6: Waiting 06:43:18 eaf3925da568: Waiting 06:43:18 5851b861e8e6: Waiting 06:43:18 bde34c3a00c8: Waiting 06:43:18 4872d77fe225: Waiting 06:43:18 988bab9f4d93: Waiting 06:43:18 bab4dde63d76: Waiting 06:43:18 b352a97aabf1: Waiting 06:43:18 e2be974225ed: Verifying Checksum 06:43:18 e2be974225ed: Download complete 06:43:18 988bab9f4d93: Verifying Checksum 06:43:18 988bab9f4d93: Download complete 06:43:18 1469e6f7b9e6: Verifying Checksum 06:43:18 1469e6f7b9e6: Download complete 06:43:18 eaf3925da568: Verifying Checksum 06:43:18 eaf3925da568: Download complete 06:43:18 339a4e72a1f5: Verifying Checksum 06:43:18 339a4e72a1f5: Download complete 06:43:18 bde34c3a00c8: Verifying Checksum 06:43:18 bde34c3a00c8: Download complete 06:43:18 b352a97aabf1: Download complete 06:43:18 4872d77fe225: Verifying Checksum 06:43:18 4872d77fe225: Download complete 06:43:18 5851b861e8e6: Verifying Checksum 06:43:18 5851b861e8e6: Download complete 06:43:18 b85a868b505f: Verifying Checksum 06:43:18 b85a868b505f: Download complete 06:43:18 bab4dde63d76: Verifying Checksum 06:43:18 bab4dde63d76: Download complete 06:43:19 b85a868b505f: Pull complete 06:43:19 e2be974225ed: Pull complete 06:43:20 339a4e72a1f5: Pull complete 06:43:20 988bab9f4d93: Pull complete 06:43:20 1469e6f7b9e6: Pull complete 06:43:20 eaf3925da568: Pull complete 06:43:22 bab4dde63d76: Pull complete 06:43:22 bde34c3a00c8: Pull complete 06:43:22 b352a97aabf1: Pull complete 06:43:22 4872d77fe225: Pull complete 06:43:22 5851b861e8e6: Pull complete 06:43:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:43:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:23 prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container 06:43:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-devops/py-git-semver:0.1.4 cat 06:43:24 $ docker top 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb -eo pid,comm 06:43:24 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). 06:43:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:24 [ssh-agent] Looking for ssh-agent implementation... 06:43:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:24 $ docker exec 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent 06:43:24 SSH_AUTH_SOCK=/tmp/ssh-IIpMWarRNwJD/agent.31 06:43:24 SSH_AGENT_PID=37 06:43:24 Running ssh-add (command line suppressed) 06:43:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3906646745106379302.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3906646745106379302.key) 06:43:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:25 + git tag --points-at HEAD [Pipeline] } 06:43:25 $ docker exec --env ******** --env ******** 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent -k 06:43:25 unset SSH_AUTH_SOCK; 06:43:25 unset SSH_AGENT_PID; 06:43:25 echo Agent pid 37 killed; 06:43:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:43:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:25 [ssh-agent] Looking for ssh-agent implementation... 06:43:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:25 $ docker exec 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent 06:43:25 SSH_AUTH_SOCK=/tmp/ssh-QTZA3z58IV1J/agent.69 06:43:25 SSH_AGENT_PID=75 06:43:25 Running ssh-add (command line suppressed) 06:43:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_13944180788110732501.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_13944180788110732501.key) 06:43:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:25 + git semver init 06:43:26 2022-09-27 06:43:26,086 [run_init] DEBUG init version:0.0.0 force:False 06:43:26 2022-09-27 06:43:26,087 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 06:43:26 2022-09-27 06:43:26,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 06:43:26 2022-09-27 06:43:26,088 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) 06:43:27 2022-09-27 06:43:27,080 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 06:43:27 2022-09-27 06:43:27,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False 06:43:27 2022-09-27 06:43:27,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 06:43:27 2022-09-27 06:43:27,085 [execute] INFO git cat-file --batch-check 06:43:27 2022-09-27 06:43:27,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 06:43:27 2022-09-27 06:43:27,091 [execute] INFO git cat-file --batch 06:43:27 2022-09-27 06:43:27,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 06:43:27 2022-09-27 06:43:27,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 06:43:27 0.0.0 [Pipeline] } 06:43:27 $ docker exec --env ******** --env ******** 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent -k 06:43:27 unset SSH_AUTH_SOCK; 06:43:27 unset SSH_AGENT_PID; 06:43:27 echo Agent pid 75 killed; 06:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:27 + git semver [Pipeline] } 06:43:28 $ docker stop --time=1 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb 06:43:29 $ docker rm -f 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb [Pipeline] // withDockerContainer [Pipeline] sh 06:43:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:43:29 Stashed 1 file(s) [Pipeline] echo 06:43:29 [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 06:43:29 provisioning config files... 06:43:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config2544864245371936764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:30 ---> docker-login.sh 06:43:30 nexus3.edgexfoundry.org:10001 06:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:30 Configure a credential helper to remove this warning. See 06:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:30 06:43:30 Login Succeeded 06:43:30 nexus3.edgexfoundry.org:10002 06:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:30 Configure a credential helper to remove this warning. See 06:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:30 06:43:30 Login Succeeded 06:43:30 nexus3.edgexfoundry.org:10003 06:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:30 Configure a credential helper to remove this warning. See 06:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:30 06:43:30 Login Succeeded 06:43:30 nexus3.edgexfoundry.org:10004 06:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:30 Configure a credential helper to remove this warning. See 06:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:30 06:43:30 Login Succeeded 06:43:30 docker.io 06:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:31 Configure a credential helper to remove this warning. See 06:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:31 06:43:31 Login Succeeded 06:43:31 ---> docker-login.sh ends [Pipeline] } 06:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:31 ========================================================= 06:43:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:43:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:31 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 06:43:31 Sending build context to Docker daemon 9.913MB 06:43:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:43:31 Step 2/11 : FROM ${BASE} AS builder 06:43:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:43:31 2408cc74d12b: Pulling fs layer 06:43:31 ea60b727a1ce: Pulling fs layer 06:43:31 30c4a7721957: Pulling fs layer 06:43:31 370296b7ddb6: Pulling fs layer 06:43:31 7c6cee850709: Pulling fs layer 06:43:31 39a5fcdaea64: Pulling fs layer 06:43:31 d94ebbe4e438: Pulling fs layer 06:43:31 bcfd1f05c69d: Pulling fs layer 06:43:31 59ccb84bbe0f: Pulling fs layer 06:43:31 370296b7ddb6: Waiting 06:43:31 7c6cee850709: Waiting 06:43:31 39a5fcdaea64: Waiting 06:43:31 d94ebbe4e438: Waiting 06:43:31 bcfd1f05c69d: Waiting 06:43:31 59ccb84bbe0f: Waiting 06:43:31 30c4a7721957: Verifying Checksum 06:43:31 30c4a7721957: Download complete 06:43:31 ea60b727a1ce: Verifying Checksum 06:43:31 ea60b727a1ce: Download complete 06:43:31 7c6cee850709: Download complete 06:43:31 39a5fcdaea64: Verifying Checksum 06:43:31 39a5fcdaea64: Download complete 06:43:31 2408cc74d12b: Verifying Checksum 06:43:31 2408cc74d12b: Download complete 06:43:31 d94ebbe4e438: Download complete 06:43:31 2408cc74d12b: Pull complete 06:43:31 ea60b727a1ce: Pull complete 06:43:31 30c4a7721957: Pull complete 06:43:32 59ccb84bbe0f: Download complete 06:43:32 bcfd1f05c69d: Verifying Checksum 06:43:32 bcfd1f05c69d: Download complete 06:43:32 370296b7ddb6: Verifying Checksum 06:43:32 370296b7ddb6: Download complete 06:43:36 370296b7ddb6: Pull complete 06:43:36 7c6cee850709: Pull complete 06:43:36 39a5fcdaea64: Pull complete 06:43:36 d94ebbe4e438: Pull complete 06:43:38 bcfd1f05c69d: Pull complete 06:43:39 59ccb84bbe0f: Pull complete 06:43:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:43:39 ---> a4fb48ad2a94 06:43:39 Step 3/11 : ARG MAKE=make build 06:43:40 ---> Running in 4fda01f40dc5 06:43:40 Removing intermediate container 4fda01f40dc5 06:43:40 ---> 4d8410bffdc6 06:43:40 Step 4/11 : WORKDIR /device-sdk-go 06:43:40 ---> Running in 0ee6b6a83509 06:43:40 Removing intermediate container 0ee6b6a83509 06:43:40 ---> 548e95f71bf3 06:43:40 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:40 ---> Running in 311ece995883 06:43:40 Removing intermediate container 311ece995883 06:43:40 ---> e7c8fa6a441c 06:43:40 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:40 ---> Running in 4c3d3f828307 06:43:41 Removing intermediate container 4c3d3f828307 06:43:41 ---> 075aa80cfcfb 06:43:41 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:43:41 ---> Running in 966b9b503f00 06:43:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:42 OK: 211 MiB in 51 packages 06:43:43 Removing intermediate container 966b9b503f00 06:43:43 ---> 952811caebd7 06:43:43 Step 8/11 : COPY go.mod vendor* ./ 06:43:43 ---> 7b6731e1977f 06:43:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:43 ---> Running in eaac71b53733 06:43:44 Still waiting to schedule task 06:43:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1316’ 06:44:01 Removing intermediate container eaac71b53733 06:44:01 ---> 063de2eb178f 06:44:01 Step 10/11 : COPY . . 06:44:01 ---> d3e29a223f1b 06:44:01 Step 11/11 : RUN ${MAKE} 06:44:01 ---> Running in 4cc1495ee51d 06:44:02 noop 06:44:02 Removing intermediate container 4cc1495ee51d 06:44:02 ---> 1c8042cf7fa3 06:44:02 Successfully built 1c8042cf7fa3 06:44:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:02 + docker inspect -f . ci-base-image-x86_64 06:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:02 prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container 06:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:03 $ docker top cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:03 + go version 06:44:03 go version go1.18.3 linux/amd64 [Pipeline] } 06:44:03 $ docker stop --time=1 cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed 06:44:04 $ docker rm -f cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:05 + docker inspect -f . ci-base-image-x86_64 06:44:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:05 prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container 06:44:05 $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:05 $ docker top 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh 06:44:06 + make test 06:44:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:44:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 60.0% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:44:42 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:44:42 GO111MODULE=on go vet ./... 06:44:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:44:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:44:45 ./bin/test-attribution-txt.sh 06:44:45 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:44:45 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:44:45 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:44:45 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:44:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:44:45 $ docker stop --time=1 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 06:44:47 $ docker rm -f 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:49 + ls -al . 06:44:49 total 276 06:44:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 06:44 . 06:44:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:43 .. 06:44:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:43 .dockerignore 06:44:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:44 .git 06:44:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:43 .github 06:44:49 -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 06:43 .gitignore 06:44:49 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:43 .golangci.yml 06:44:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:43 .semver 06:44:49 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 06:43 CHANGELOG.md 06:44:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:43 GOVERNANCE.md 06:44:49 -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 06:43 Jenkinsfile 06:44:49 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:43 LICENSE 06:44:49 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 06:43 Makefile 06:44:49 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:43 OWNERS.md 06:44:49 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 06:43 README.md 06:44:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 06:43 VERSION 06:44:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:43 bin 06:44:49 -rw-r--r-- 1 jenkins jenkins 100919 Sep 27 06:44 coverage.out 06:44:49 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:43 example 06:44:49 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 06:43 go.mod 06:44:49 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 27 06:43 go.sum 06:44:49 drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 06:43 internal 06:44:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:43 openapi 06:44:49 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:43 pkg 06:44:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:43 snap 06:44:49 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:49 + 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=eb02d557af5a8de536f33d4ffc2f370c412e40c0 --label arch=amd64 --label version=0.0.0 . 06:44:49 Sending build context to Docker daemon 10.02MB 06:44:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:44:49 Step 2/25 : FROM ${BASE} AS builder 06:44:49 ---> 1c8042cf7fa3 06:44:49 Step 3/25 : ARG MAKE=make build 06:44:49 ---> Running in 1f648b9eb5fe 06:44:49 Removing intermediate container 1f648b9eb5fe 06:44:49 ---> 340eeeb530cc 06:44:49 Step 4/25 : WORKDIR /device-sdk-go 06:44:49 ---> Running in 10a3c213a4d8 06:44:49 Removing intermediate container 10a3c213a4d8 06:44:49 ---> f14b20f4bbc3 06:44:49 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:49 ---> Running in 2881750206b3 06:44:50 Removing intermediate container 2881750206b3 06:44:50 ---> 0e543b54477a 06:44:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:50 ---> Running in 2fd80c7bd48c 06:44:50 Removing intermediate container 2fd80c7bd48c 06:44:50 ---> 68d3efafad0f 06:44:50 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:50 ---> Running in 76f801962d05 06:44:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:44:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:44:52 OK: 211 MiB in 51 packages 06:44:52 Removing intermediate container 76f801962d05 06:44:52 ---> c380a7dc4ff2 06:44:52 Step 8/25 : COPY go.mod vendor* ./ 06:44:52 ---> fc55c9f55d68 06:44:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:52 ---> Running in 7c50fea75119 06:44:52 Removing intermediate container 7c50fea75119 06:44:52 ---> 3871b6b0ff7a 06:44:52 Step 10/25 : COPY . . 06:44:53 ---> 7235f291b4c3 06:44:53 Step 11/25 : RUN ${MAKE} 06:44:53 ---> Running in 21dce814ca86 06:44:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:45:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:45:13 Removing intermediate container 21dce814ca86 06:45:13 ---> 337b27e25e0b 06:45:13 Step 12/25 : FROM alpine:3.16 06:45:14 3.16: Pulling from library/alpine 06:45:14 213ec9aee27d: Pulling fs layer 06:45:14 213ec9aee27d: Verifying Checksum 06:45:14 213ec9aee27d: Download complete 06:45:14 213ec9aee27d: Pull complete 06:45:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:45:14 Status: Downloaded newer image for alpine:3.16 06:45:14 ---> 9c6f07244728 06:45:14 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:45:14 ---> Running in 1fc71cfc10f2 06:45:14 Removing intermediate container 1fc71cfc10f2 06:45:14 ---> 9a04a4499eea 06:45:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:14 ---> Running in d484b7d271fd 06:45:15 Removing intermediate container d484b7d271fd 06:45:15 ---> 283c70a49cb3 06:45:15 Step 15/25 : RUN apk add --update --no-cache zeromq 06:45:15 ---> Running in 9dd940332b58 06:45:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:45:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:45:16 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:45:17 (2/5) Installing libsodium (1.0.18-r0) 06:45:17 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:45:17 (4/5) Installing libzmq (4.3.4-r0) 06:45:17 (5/5) Installing zeromq (4.3.4-r0) 06:45:17 Executing busybox-1.35.0-r17.trigger 06:45:17 OK: 8 MiB in 19 packages 06:45:17 Removing intermediate container 9dd940332b58 06:45:17 ---> b17d9645b800 06:45:17 Step 16/25 : WORKDIR / 06:45:17 ---> Running in 9a60d2cd46dd 06:45:17 Removing intermediate container 9a60d2cd46dd 06:45:17 ---> 9cd72b83f9d5 06:45:17 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:45:17 ---> efab3c182acc 06:45:17 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:45:18 ---> 0873692f22de 06:45:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:45:18 ---> 626456ce6712 06:45:18 Step 20/25 : EXPOSE 59999 06:45:18 ---> Running in 4fedbcfee906 06:45:18 Removing intermediate container 4fedbcfee906 06:45:18 ---> 33aefa8cf84f 06:45:18 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:45:18 ---> Running in b971d86813ed 06:45:18 Removing intermediate container b971d86813ed 06:45:18 ---> d991c85b17a1 06:45:18 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:18 ---> Running in 36c063c7d5fb 06:45:18 Removing intermediate container 36c063c7d5fb 06:45:18 ---> 4f9c27c98857 06:45:18 Step 23/25 : LABEL arch=amd64 06:45:18 ---> Running in a4c419cbf18e 06:45:18 Removing intermediate container a4c419cbf18e 06:45:18 ---> b2b356c7ab18 06:45:18 Step 24/25 : LABEL git_sha=eb02d557af5a8de536f33d4ffc2f370c412e40c0 06:45:18 ---> Running in 06964acb934d 06:45:18 Removing intermediate container 06964acb934d 06:45:18 ---> d87f65d9c008 06:45:18 Step 25/25 : LABEL version=0.0.0 06:45:18 ---> Running in af3a933de514 06:45:19 Removing intermediate container af3a933de514 06:45:19 ---> eddbcf2ef0ac 06:45:19 [Warning] One or more build-args [ARCH] were not consumed 06:45:19 Successfully built eddbcf2ef0ac 06:45:19 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:19 06:45:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:19 latest: Pulling from edgex-lftools-log-publisher 06:45:19 5eb5b503b376: Pulling fs layer 06:45:19 5c69ac0246d0: Pulling fs layer 06:45:19 ec43610c2a17: Pulling fs layer 06:45:19 3a2ae6a8a46f: Pulling fs layer 06:45:19 33b1e0a273af: Pulling fs layer 06:45:19 5d3b04190fa2: Pulling fs layer 06:45:19 2f39f015ded8: Pulling fs layer 06:45:19 3a2ae6a8a46f: Waiting 06:45:19 33b1e0a273af: Waiting 06:45:19 5d3b04190fa2: Waiting 06:45:19 2f39f015ded8: Waiting 06:45:19 5c69ac0246d0: Download complete 06:45:19 3a2ae6a8a46f: Download complete 06:45:19 33b1e0a273af: Verifying Checksum 06:45:19 33b1e0a273af: Download complete 06:45:19 5d3b04190fa2: Download complete 06:45:20 ec43610c2a17: Verifying Checksum 06:45:20 ec43610c2a17: Download complete 06:45:20 5eb5b503b376: Download complete 06:45:20 2f39f015ded8: Download complete 06:45:21 5eb5b503b376: Pull complete 06:45:21 5c69ac0246d0: Pull complete 06:45:21 ec43610c2a17: Pull complete 06:45:21 3a2ae6a8a46f: Pull complete 06:45:22 33b1e0a273af: Pull complete 06:45:22 5d3b04190fa2: Pull complete 06:45:26 2f39f015ded8: Pull complete 06:45:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:26 prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container 06:45:26 $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:45:28 $ docker top f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:28 ---> job-cost.sh 06:45:28 lf-activate-venv: SKIPPING 06:45:28 INFO: No Stack... 06:45:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:29 INFO: Archiving Costs [Pipeline] sh 06:45:29 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv 06:45:29 + cut -d, -f6 [Pipeline] lock 06:45:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] 06:45:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] did not exist. Created. 06:45:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:30 + echo total: 0.2199999988079071 [Pipeline] stash 06:45:30 Stashed 1 file(s) [Pipeline] } 06:45:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:30 $ docker stop --time=1 f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b 06:45:31 $ docker rm -f f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:47:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1319 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 06:47:05 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 06:47:05 The recommended git tool is: git 06:47:11 using credential edgex-jenkins-ssh 06:47:11 Cloning the remote Git repository 06:47:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:47:11 > git init /w/workspace/device-sdk-go/11 # timeout=10 06:47:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:47:11 > git --version # timeout=10 06:47:11 > git --version # 'git version 2.25.1' 06:47:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:47:11 Verifying host key using known hosts file 06:47:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:47:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:47:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:47:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:47:14 Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 06:47:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:47:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:47:13 Verifying host key using known hosts file 06:47:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:47:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:47:14 > git config core.sparsecheckout # timeout=10 06:47:15 Merge succeeded, producing df7d07701170be5d8b91d82dd6fc1607c178b1ff 06:47:15 Checking out Revision df7d07701170be5d8b91d82dd6fc1607c178b1ff (PR-1196) 06:47:14 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 06:47:14 > git remote # timeout=10 06:47:14 > git config --get remote.origin.url # timeout=10 06:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:47:14 Verifying host key using known hosts file 06:47:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:47:14 > git merge c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 06:47:14 > git rev-parse HEAD^{commit} # timeout=10 06:47:15 > git config core.sparsecheckout # timeout=10 06:47:15 > git checkout -f df7d07701170be5d8b91d82dd6fc1607c178b1ff # timeout=10 06:47:18 Commit message: "Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD" 06:47:18 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:47:18 > git rev-list --no-walk 3c4fa9c6120d51801d901573f3ce82a88b532ea7 # timeout=10 06:47:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:47:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:19 Dload Upload Total Spent Left Speed 06:47:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 06:47:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:47:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:47:20 + sudo tee /etc/docker/daemon.new 06:47:20 { 06:47:20 "registry-mirrors": [ 06:47:20 "https://nexus3.edgexfoundry.org:10001" 06:47:20 ], 06:47:20 "bip": "10.250.0.254/24", 06:47:20 "hosts": [ 06:47:20 "tcp://0.0.0.0:5555", 06:47:20 "unix:///var/run/docker.sock" 06:47:20 ], 06:47:20 "mtu": 1458, 06:47:20 "selinux-enabled": true, 06:47:20 "seccomp-profile": "/etc/docker/seccomp.json" 06:47:20 } [Pipeline] sh 06:47:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:47:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:39 provisioning config files... 06:47:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config12219804504436277933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:39 ---> docker-login.sh 06:47:39 nexus3.edgexfoundry.org:10001 06:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:47:40 Configure a credential helper to remove this warning. See 06:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:47:40 06:47:40 Login Succeeded 06:47:40 nexus3.edgexfoundry.org:10002 06:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:47:40 Configure a credential helper to remove this warning. See 06:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:47:40 06:47:40 Login Succeeded 06:47:40 nexus3.edgexfoundry.org:10003 06:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:47:41 Configure a credential helper to remove this warning. See 06:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:47:41 06:47:41 Login Succeeded 06:47:41 nexus3.edgexfoundry.org:10004 06:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:47:41 Configure a credential helper to remove this warning. See 06:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:47:41 06:47:41 Login Succeeded 06:47:41 docker.io 06:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:47:42 Configure a credential helper to remove this warning. See 06:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:47:42 06:47:42 Login Succeeded 06:47:42 ---> docker-login.sh ends [Pipeline] } 06:47:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:47:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:47:42 ========================================================= 06:47:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:47:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:42 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 06:47:43 Sending build context to Docker daemon 5.33MB 06:47:43 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:47:43 Step 2/11 : FROM ${BASE} AS builder 06:47:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:47:43 b3c136eddcbf: Pulling fs layer 06:47:43 c0a3192eca97: Pulling fs layer 06:47:43 a050256f5b6f: Pulling fs layer 06:47:43 656be50a0ddc: Pulling fs layer 06:47:43 2bbca73fdf42: Pulling fs layer 06:47:43 46d945488cbd: Pulling fs layer 06:47:43 8a5474983e97: Pulling fs layer 06:47:43 329c88fbcd65: Pulling fs layer 06:47:43 46d945488cbd: Waiting 06:47:43 8a5474983e97: Waiting 06:47:43 329c88fbcd65: Waiting 06:47:43 656be50a0ddc: Waiting 06:47:43 2bbca73fdf42: Waiting 06:47:43 a050256f5b6f: Verifying Checksum 06:47:43 a050256f5b6f: Download complete 06:47:43 c0a3192eca97: Download complete 06:47:43 2bbca73fdf42: Verifying Checksum 06:47:43 2bbca73fdf42: Download complete 06:47:43 46d945488cbd: Download complete 06:47:43 b3c136eddcbf: Verifying Checksum 06:47:43 b3c136eddcbf: Download complete 06:47:44 b3c136eddcbf: Pull complete 06:47:44 329c88fbcd65: Verifying Checksum 06:47:44 329c88fbcd65: Download complete 06:47:44 c0a3192eca97: Pull complete 06:47:45 a050256f5b6f: Pull complete 06:47:45 8a5474983e97: Verifying Checksum 06:47:45 8a5474983e97: Download complete 06:47:46 656be50a0ddc: Verifying Checksum 06:47:46 656be50a0ddc: Download complete 06:47:58 656be50a0ddc: Pull complete 06:47:58 2bbca73fdf42: Pull complete 06:47:58 46d945488cbd: Pull complete 06:48:04 8a5474983e97: Pull complete 06:48:06 329c88fbcd65: Pull complete 06:48:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:48:06 ---> ff4287adb874 06:48:06 Step 3/11 : ARG MAKE=make build 06:48:07 ---> Running in 26b5df1ce04d 06:48:07 Removing intermediate container 26b5df1ce04d 06:48:07 ---> f40a4e18e714 06:48:07 Step 4/11 : WORKDIR /device-sdk-go 06:48:08 ---> Running in 46d77aa3aacd 06:48:08 Removing intermediate container 46d77aa3aacd 06:48:08 ---> fb3fe64079b9 06:48:08 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:48:08 ---> Running in 6824075037c2 06:48:08 Removing intermediate container 6824075037c2 06:48:08 ---> cd3eb242980b 06:48:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:08 ---> Running in a29f38d1bf6b 06:48:10 Removing intermediate container a29f38d1bf6b 06:48:10 ---> 99847d27b33b 06:48:10 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:48:10 ---> Running in 8ecdde782f5c 06:48:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:48:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:48:13 OK: 221 MiB in 51 packages 06:48:14 Removing intermediate container 8ecdde782f5c 06:48:14 ---> 359f0fbc87a9 06:48:14 Step 8/11 : COPY go.mod vendor* ./ 06:48:15 ---> 9aabd744715d 06:48:15 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:48:15 ---> Running in 145a8b1e3648 06:49:02 Removing intermediate container 145a8b1e3648 06:49:02 ---> 1ade26a6df0d 06:49:02 Step 10/11 : COPY . . 06:49:02 ---> fc20d26cac21 06:49:02 Step 11/11 : RUN ${MAKE} 06:49:02 ---> Running in 464af448e48b 06:49:03 noop 06:49:03 Removing intermediate container 464af448e48b 06:49:03 ---> e130aa7dadb2 06:49:03 Successfully built e130aa7dadb2 06:49:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:04 + docker inspect -f . ci-base-image-arm64 06:49:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:04 prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container 06:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:05 $ docker top c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:06 + go version 06:49:06 go version go1.18.3 linux/arm64 [Pipeline] } 06:49:06 $ docker stop --time=1 c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 06:49:07 $ docker rm -f c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:08 + docker inspect -f . ci-base-image-arm64 06:49:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container 06:49:08 $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:09 $ docker top 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/11 [Pipeline] fileExists [Pipeline] sh 06:49:11 + make test 06:49:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:49:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:51:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.511s coverage: 27.6% of statements 06:51:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.824s coverage: 78.9% of statements 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:51:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.464s coverage: 60.0% of statements 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:51:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:51:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.924s coverage: 54.4% of statements 06:51:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:51:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:51:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:51:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:51:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.768s coverage: 65.1% of statements 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:51:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.306s coverage: 89.2% of statements 06:51:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:52:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements 06:52:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:52:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:52:02 GO111MODULE=on go vet ./... 06:53:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:53:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:53:54 ./bin/test-attribution-txt.sh 06:53:54 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:53:54 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:53:54 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:53:54 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:53:54 $ docker stop --time=1 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af 06:53:56 $ docker rm -f 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af [Pipeline] // withDockerContainer [Pipeline] sh 06:53:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:53:57 Warning: overwriting stash ‘coverage-report’ 06:53:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:53:58 + ls -al . 06:53:58 total 272 06:53:58 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 06:49 . 06:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:47 .. 06:53:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:47 .dockerignore 06:53:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:47 .git 06:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:47 .github 06:53:58 -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 06:47 .gitignore 06:53:58 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:47 .golangci.yml 06:53:58 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 06:47 CHANGELOG.md 06:53:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:47 GOVERNANCE.md 06:53:58 -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 06:47 Jenkinsfile 06:53:58 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:47 LICENSE 06:53:58 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 06:47 Makefile 06:53:58 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:47 OWNERS.md 06:53:58 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 06:47 README.md 06:53:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 06:43 VERSION 06:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:47 bin 06:53:58 -rw-r--r-- 1 jenkins jenkins 100920 Sep 27 06:52 coverage.out 06:53:58 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:47 example 06:53:58 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 06:47 go.mod 06:53:58 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 27 06:47 go.sum 06:53:58 drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 06:47 internal 06:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:47 openapi 06:53:58 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:47 pkg 06:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:47 snap 06:53:58 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:59 + 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=df7d07701170be5d8b91d82dd6fc1607c178b1ff --label arch=arm64 --label version=0.0.0 . 06:53:59 Sending build context to Docker daemon 5.432MB 06:53:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:53:59 Step 2/25 : FROM ${BASE} AS builder 06:53:59 ---> e130aa7dadb2 06:53:59 Step 3/25 : ARG MAKE=make build 06:53:59 ---> Running in 9228c2013611 06:54:00 Removing intermediate container 9228c2013611 06:54:00 ---> 9950a3535dd6 06:54:00 Step 4/25 : WORKDIR /device-sdk-go 06:54:00 ---> Running in c14896b7a84b 06:54:00 Removing intermediate container c14896b7a84b 06:54:00 ---> e9d522f5fe5a 06:54:00 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:54:00 ---> Running in ab31c7f8d2f4 06:54:00 Removing intermediate container ab31c7f8d2f4 06:54:00 ---> 023e173a17a2 06:54:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:00 ---> Running in c1ff5317d76b 06:54:02 Removing intermediate container c1ff5317d76b 06:54:02 ---> 016929d045a9 06:54:02 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:54:02 ---> Running in 063387d9505f 06:54:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:54:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:54:05 OK: 221 MiB in 51 packages 06:54:06 Removing intermediate container 063387d9505f 06:54:06 ---> 2c463b13cb23 06:54:06 Step 8/25 : COPY go.mod vendor* ./ 06:54:06 ---> b49a94bd37a4 06:54:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:54:06 ---> Running in 8a501a51f237 06:54:08 Removing intermediate container 8a501a51f237 06:54:08 ---> 4cc554cea48d 06:54:08 Step 10/25 : COPY . . 06:54:09 ---> 215031dfa7e7 06:54:09 Step 11/25 : RUN ${MAKE} 06:54:09 ---> Running in cfb5ea68a3fa 06:54:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:56:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:56:18 Removing intermediate container cfb5ea68a3fa 06:56:18 ---> 78baf894ab57 06:56:18 Step 12/25 : FROM alpine:3.16 06:56:19 3.16: Pulling from library/alpine 06:56:19 9b18e9b68314: Pulling fs layer 06:56:19 9b18e9b68314: Verifying Checksum 06:56:19 9b18e9b68314: Download complete 06:56:20 9b18e9b68314: Pull complete 06:56:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:56:20 Status: Downloaded newer image for alpine:3.16 06:56:20 ---> a6215f271958 06:56:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:56:20 ---> Running in c1472a4d2191 06:56:20 Removing intermediate container c1472a4d2191 06:56:20 ---> 0f1cf6deb72c 06:56:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:20 ---> Running in 533e70751097 06:56:22 Removing intermediate container 533e70751097 06:56:22 ---> 6562e2036f90 06:56:22 Step 15/25 : RUN apk add --update --no-cache zeromq 06:56:22 ---> Running in 5e3e7fcbd0f9 06:56:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:56:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:56:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:56:25 (2/5) Installing libsodium (1.0.18-r0) 06:56:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:56:25 (4/5) Installing libzmq (4.3.4-r0) 06:56:25 (5/5) Installing zeromq (4.3.4-r0) 06:56:25 Executing busybox-1.35.0-r17.trigger 06:56:25 OK: 8 MiB in 19 packages 06:56:26 Removing intermediate container 5e3e7fcbd0f9 06:56:26 ---> 512606d26aa4 06:56:26 Step 16/25 : WORKDIR / 06:56:26 ---> Running in ff2cb98fc5bf 06:56:27 Removing intermediate container ff2cb98fc5bf 06:56:27 ---> 1ee884d1be0c 06:56:27 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:56:27 ---> 4eb891786390 06:56:27 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:56:29 ---> cf6d984c814b 06:56:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:56:29 ---> fcdfa620b542 06:56:29 Step 20/25 : EXPOSE 59999 06:56:29 ---> Running in 0a1f0a385a6b 06:56:29 Removing intermediate container 0a1f0a385a6b 06:56:29 ---> b443338dadd0 06:56:29 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:56:29 ---> Running in b366a939cca7 06:56:30 Removing intermediate container b366a939cca7 06:56:30 ---> 8b4644d3c90d 06:56:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:56:30 ---> Running in a40535dc615c 06:56:30 Removing intermediate container a40535dc615c 06:56:30 ---> 104a213bb163 06:56:30 Step 23/25 : LABEL arch=arm64 06:56:30 ---> Running in 45cd65049d83 06:56:30 Removing intermediate container 45cd65049d83 06:56:30 ---> f6f847e9ef9f 06:56:30 Step 24/25 : LABEL git_sha=df7d07701170be5d8b91d82dd6fc1607c178b1ff 06:56:30 ---> Running in 46b08a90c711 06:56:31 Removing intermediate container 46b08a90c711 06:56:31 ---> 1226e7b548f6 06:56:31 Step 25/25 : LABEL version=0.0.0 06:56:31 ---> Running in a879184ebe74 06:56:31 Removing intermediate container a879184ebe74 06:56:31 ---> bd3a1a76b486 06:56:31 [Warning] One or more build-args [ARCH] were not consumed 06:56:31 Successfully built bd3a1a76b486 06:56:31 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:32 06:56:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:32 arm64: Pulling from edgex-lftools-log-publisher 06:56:32 8998bd30e6a1: Pulling fs layer 06:56:32 04944245beec: Pulling fs layer 06:56:32 699f458cf7ca: Pulling fs layer 06:56:32 765212b225bb: Pulling fs layer 06:56:32 f23df028b6ca: Pulling fs layer 06:56:32 d65c8cfc05b1: Pulling fs layer 06:56:32 2437ff75d9bd: Pulling fs layer 06:56:32 f23df028b6ca: Waiting 06:56:32 d65c8cfc05b1: Waiting 06:56:32 2437ff75d9bd: Waiting 06:56:32 765212b225bb: Waiting 06:56:32 04944245beec: Verifying Checksum 06:56:32 04944245beec: Download complete 06:56:32 765212b225bb: Download complete 06:56:32 f23df028b6ca: Verifying Checksum 06:56:32 f23df028b6ca: Download complete 06:56:32 d65c8cfc05b1: Verifying Checksum 06:56:32 d65c8cfc05b1: Download complete 06:56:32 699f458cf7ca: Verifying Checksum 06:56:32 699f458cf7ca: Download complete 06:56:33 8998bd30e6a1: Verifying Checksum 06:56:33 8998bd30e6a1: Download complete 06:56:35 2437ff75d9bd: Verifying Checksum 06:56:35 2437ff75d9bd: Download complete 06:56:36 8998bd30e6a1: Pull complete 06:56:37 04944245beec: Pull complete 06:56:38 699f458cf7ca: Pull complete 06:56:38 765212b225bb: Pull complete 06:56:39 f23df028b6ca: Pull complete 06:56:40 d65c8cfc05b1: Pull complete 06:56:55 2437ff75d9bd: Pull complete 06:56:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:56:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:55 prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container 06:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:56:58 $ docker top 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:58 ---> job-cost.sh 06:56:58 lf-activate-venv: SKIPPING 06:56:58 INFO: No Stack... 06:56:59 INFO: Retrieving Pricing Info for: v3-standard-4 06:57:00 INFO: Archiving Costs [Pipeline] sh 06:57:00 + cat /w/workspace/device-sdk-go/11/archives/cost.csv 06:57:00 + cut -d, -f6 [Pipeline] lock 06:57:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] 06:57:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] did not exist. Created. 06:57:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:57:01 /w/workspace/device-sdk-go/11@tmp/durable-452773f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:57:02 + echo total: 0.10999999940395355 [Pipeline] stash 06:57:02 Warning: overwriting stash ‘stack-cost’ 06:57:02 Stashed 1 file(s) [Pipeline] } 06:57:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] // lock [Pipeline] } 06:57:02 $ docker stop --time=1 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 06:57:03 $ docker rm -f 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 [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 06:57:04 provisioning config files... 06:57:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config16018629648246935353tmp [Pipeline] { [Pipeline] sh 06:57:04 + set +x 06:57:04 + curl -s https://codecov.io/bash 06:57:04 + bash -s -- 06:57:04 06:57:04 _____ _ 06:57:04 / ____| | | 06:57:04 | | ___ __| | ___ ___ _____ __ 06:57:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:57:04 | |___| (_) | (_| | __/ (_| (_) \ V / 06:57:04 \_____\___/ \__,_|\___|\___\___/ \_/ 06:57:04 Bash-1.0.6 06:57:04 06:57:04 06:57:04 ==> git version 2.25.1 found 06:57:04 ==> 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 06:57:04 Release-Date: 2020-01-08 06:57:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:57:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:57:04 ==> Jenkins CI detected. 06:57:04 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 06:57:04 project root: . 06:57:04 --> token set from env 06:57:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:57:04 ==> Running gcov in . (disable via -X gcov) 06:57:04 ==> Python coveragepy not found 06:57:04 ==> Searching for coverage reports in: 06:57:04 + . 06:57:04 -> Found 1 reports 06:57:04 ==> Detecting git/mercurial file structure 06:57:04 ==> Reading reports 06:57:04 + ./coverage.out bytes=100920 06:57:04 ==> Appending adjustments 06:57:04 https://docs.codecov.io/docs/fixing-reports 06:57:04 + Found adjustments 06:57:04 ==> Gzipping contents 06:57:04 16K /tmp/codecov.HjqjeQ.gz 06:57:04 ==> Uploading reports 06:57:04 url: https://codecov.io 06:57:04 query: branch=PR-1196&commit=eb02d557af5a8de536f33d4ffc2f370c412e40c0&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 06:57:04 -> Pinging Codecov 06:57:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=eb02d557af5a8de536f33d4ffc2f370c412e40c0&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 06:57:05 -> Uploading to 06:57:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/eb02d557af5a8de536f33d4ffc2f370c412e40c0/876d55dc-6bac-4230-820a-448eea945d56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T065705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=375a1080cd8b4997bb19e701edfe5f018b955fe43ef590bf836234a4ad58fd8c 06:57:05 % Total % Received % Xferd Average Speed Time Time Time Current 06:57:05 Dload Upload Total Spent Left Speed 06:57:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14510 0 0 100 14510 0 70780 --:--:-- --:--:-- --:--:-- 70436 100 14510 0 0 100 14510 0 60711 --:--:-- --:--:-- --:--:-- 60458 06:57:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] } 06:57:05 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:57:06 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 06:57:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:57:06 total 16 06:57:06 drwxr-xr-x 3 root root 4096 Sep 27 06:45 . 06:57:06 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:45 .. 06:57:06 drwxr-xr-x 2 root root 4096 Sep 27 06:45 cost 06:57:06 -rw-r--r-- 1 root root 87 Sep 27 06:45 cost.csv 06:57:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:57:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:57:06 total 16 06:57:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:45 . 06:57:06 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:45 .. 06:57:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 06:45 cost 06:57:06 -rw-r--r-- 1 jenkins jenkins 87 Sep 27 06:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:57:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:57:07 ---> package-listing.sh 06:57:07 ++ facter osfamily 06:57:07 ++ tr '[:upper:]' '[:lower:]' 06:57:07 + OS_FAMILY=debian 06:57:07 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 06:57:07 + START_PACKAGES=/tmp/packages_start.txt 06:57:07 + END_PACKAGES=/tmp/packages_end.txt 06:57:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:57:07 + PACKAGES=/tmp/packages_start.txt 06:57:07 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 06:57:07 + PACKAGES=/tmp/packages_end.txt 06:57:07 + case "${OS_FAMILY}" in 06:57:07 + dpkg -l 06:57:07 + grep '^ii' 06:57:07 + '[' -f /tmp/packages_start.txt ']' 06:57:07 + '[' -f /tmp/packages_end.txt ']' 06:57:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:57:07 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 06:57:07 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 06:57:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo 06:57:07 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:57:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:08 prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container 06:57:08 $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:57:08 $ docker top f9762c18690a12f9d6b4185993b921593613481a6e00bc884e70b616fded1161 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:57:09 + mkdir -p /var/log/sysstat [Pipeline] sh 06:57:09 + ls /var/log/sa-host 06:57:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:09 provisioning config files... 06:57:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8385428123480141698tmp [Pipeline] { [Pipeline] echo 06:57:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:57:10 ---> create-netrc.sh [Pipeline] } 06:57:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:57:10 ---> python-tools-install.sh [Pipeline] echo 06:57:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:57:10 ---> sudo-logs.sh 06:57:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:57:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:57:11 ---> job-cost.sh 06:57:11 lf-activate-venv: SKIPPING 06:57:11 DEBUG: total: 0.2199999988079071 06:57:11 INFO: Retrieving Stack Cost... 06:57:11 INFO: Retrieving Pricing Info for: v3-standard-8 06:57:11 INFO: Archiving Costs [Pipeline] echo 06:57:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:57:12 ---> logs-deploy.sh 06:57:12 lf-activate-venv: SKIPPING 06:57:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/11 06:57:12 INFO: archiving workspace using pattern(s): 06:57:13 Archives upload complete. 06:57:13 INFO: archiving logs to Nexus