Pull request #1246 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5223691eb3bb5b290cb8f149ecd205d6edbf1ada+e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (4fd401925074053d9d7c214caa027145f77a9bcf) 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-ssh10689338874956387214.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh3948975753703991059.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1246/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1246/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh752597627714353079.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1246/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6440518673683196119.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9707193301524321212.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1246/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1246/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11769761545688158032.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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-95613 in /w/workspace/gexfoundry_device-sdk-go_PR-1246 [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-1246 # 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/1246/head:refs/remotes/origin/PR-1246 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit 5223691eb3bb5b290cb8f149ecd205d6edbf1ada Merge succeeded, producing 5223691eb3bb5b290cb8f149ecd205d6edbf1ada Checking out Revision 5223691eb3bb5b290cb8f149ecd205d6edbf1ada (PR-1246) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # 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 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:50 ========================================================= 05:59:50 EdgeX Global Pipelines Version Info 05:59:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:51 ------------------- 05:59:51 stable info: 05:59:51 ------------------- 05:59:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:51 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:59:51 Message: update stable to v1.0.243 05:59:52 ------------------- 05:59:52 experimental info: 05:59:52 ------------------- 05:59:52 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:52 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:59:52 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1246 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1246 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1246 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5223691 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:53 provisioning config files... 05:59:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config17508028686093591983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:54 ---> docker-login.sh 05:59:54 nexus3.edgexfoundry.org:10001 05:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:54 Configure a credential helper to remove this warning. See 05:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:54 05:59:54 Login Succeeded 05:59:54 nexus3.edgexfoundry.org:10002 05:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:54 Configure a credential helper to remove this warning. See 05:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:54 05:59:54 Login Succeeded 05:59:54 nexus3.edgexfoundry.org:10003 05:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:54 Configure a credential helper to remove this warning. See 05:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:54 05:59:54 Login Succeeded 05:59:54 nexus3.edgexfoundry.org:10004 05:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:54 Configure a credential helper to remove this warning. See 05:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:54 05:59:54 Login Succeeded 05:59:54 docker.io 05:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 ---> docker-login.sh ends [Pipeline] } 05:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:56 + git rev-list -1 --merges 5223691eb3bb5b290cb8f149ecd205d6edbf1ada~1..5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo 05:59:56 -----------> git rev-list -1 --merges 5223691eb3bb5b290cb8f149ecd205d6edbf1ada~1..5223691eb3bb5b290cb8f149ecd205d6edbf1ada 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [false] [Pipeline] sh 05:59:56 + git log --format=format:%s -1 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo 05:59:56 ========================================================= 05:59:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:56 + git log --format=format:%s -1 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo 05:59:56 [semverPrep] GIT_COMMIT: 5223691eb3bb5b290cb8f149ecd205d6edbf1ada, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:59:57 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:57 + grep -v github /etc/ssh/ssh_known_hosts 05:59:57 + [ -e /tmp/ssh_known_hosts ] 05:59:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:57 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:57 05:59:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:58 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:58 b85a868b505f: Pulling fs layer 05:59:58 e2be974225ed: Pulling fs layer 05:59:58 339a4e72a1f5: Pulling fs layer 05:59:58 988bab9f4d93: Pulling fs layer 05:59:58 1469e6f7b9e6: Pulling fs layer 05:59:58 eaf3925da568: Pulling fs layer 05:59:58 bab4dde63d76: Pulling fs layer 05:59:58 bde34c3a00c8: Pulling fs layer 05:59:58 b352a97aabf1: Pulling fs layer 05:59:58 4872d77fe225: Pulling fs layer 05:59:58 5851b861e8e6: Pulling fs layer 05:59:58 bab4dde63d76: Waiting 05:59:58 bde34c3a00c8: Waiting 05:59:58 b352a97aabf1: Waiting 05:59:58 4872d77fe225: Waiting 05:59:58 5851b861e8e6: Waiting 05:59:58 988bab9f4d93: Waiting 05:59:58 1469e6f7b9e6: Waiting 05:59:58 e2be974225ed: Verifying Checksum 05:59:58 e2be974225ed: Download complete 05:59:58 988bab9f4d93: Verifying Checksum 05:59:58 988bab9f4d93: Download complete 05:59:58 1469e6f7b9e6: Download complete 05:59:58 339a4e72a1f5: Verifying Checksum 05:59:58 339a4e72a1f5: Download complete 05:59:58 eaf3925da568: Verifying Checksum 05:59:58 eaf3925da568: Download complete 05:59:58 bde34c3a00c8: Verifying Checksum 05:59:58 bde34c3a00c8: Download complete 05:59:58 b352a97aabf1: Download complete 05:59:58 4872d77fe225: Download complete 05:59:58 5851b861e8e6: Verifying Checksum 05:59:58 5851b861e8e6: Download complete 05:59:58 b85a868b505f: Verifying Checksum 05:59:58 b85a868b505f: Download complete 05:59:58 bab4dde63d76: Verifying Checksum 05:59:58 bab4dde63d76: Download complete 06:00:00 b85a868b505f: Pull complete 06:00:00 e2be974225ed: Pull complete 06:00:00 339a4e72a1f5: Pull complete 06:00:00 988bab9f4d93: Pull complete 06:00:01 1469e6f7b9e6: Pull complete 06:00:01 eaf3925da568: Pull complete 06:00:02 bab4dde63d76: Pull complete 06:00:02 bde34c3a00c8: Pull complete 06:00:03 b352a97aabf1: Pull complete 06:00:03 4872d77fe225: Pull complete 06:00:03 5851b861e8e6: Pull complete 06:00:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:03 prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container 06:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:06 $ docker top a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc -eo pid,comm 06:00:07 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:00:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:07 [ssh-agent] Looking for ssh-agent implementation... 06:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:07 $ docker exec a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent 06:00:07 SSH_AUTH_SOCK=/tmp/ssh-9JpS27pZLVWy/agent.32 06:00:07 SSH_AGENT_PID=38 06:00:07 Running ssh-add (command line suppressed) 06:00:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_4638601078795222040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_4638601078795222040.key) 06:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:07 + git tag --points-at HEAD [Pipeline] } 06:00:07 $ docker exec --env ******** --env ******** a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent -k 06:00:08 unset SSH_AUTH_SOCK; 06:00:08 unset SSH_AGENT_PID; 06:00:08 echo Agent pid 38 killed; 06:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:08 [ssh-agent] Looking for ssh-agent implementation... 06:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:08 $ docker exec a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent 06:00:08 SSH_AUTH_SOCK=/tmp/ssh-D6Jz1CcFbZg4/agent.71 06:00:08 SSH_AGENT_PID=77 06:00:08 Running ssh-add (command line suppressed) 06:00:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_3042316800163750737.key (/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_3042316800163750737.key) 06:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:08 + git semver init 06:00:09 2022-10-25 06:00:09,034 [run_init] DEBUG init version:0.0.0 force:False 06:00:09 2022-10-25 06:00:09,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver 06:00:09 2022-10-25 06:00:09,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver 06:00:09 2022-10-25 06:00:09,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246, universal_newlines=False, shell=None, istream=None) 06:00:10 2022-10-25 06:00:10,058 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.git/info/exclude 06:00:10 2022-10-25 06:00:10,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 with force:False 06:00:10 2022-10-25 06:00:10,059 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 06:00:10 2022-10-25 06:00:10,064 [execute] INFO git cat-file --batch-check 06:00:10 2022-10-25 06:00:10,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver, universal_newlines=False, shell=None, istream=) 06:00:10 2022-10-25 06:00:10,071 [execute] INFO git cat-file --batch 06:00:10 2022-10-25 06:00:10,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver, universal_newlines=False, shell=None, istream=) 06:00:10 2022-10-25 06:00:10,076 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 06:00:10 0.0.0 [Pipeline] } 06:00:10 $ docker exec --env ******** --env ******** a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent -k 06:00:10 unset SSH_AUTH_SOCK; 06:00:10 unset SSH_AGENT_PID; 06:00:10 echo Agent pid 77 killed; 06:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:11 + git semver [Pipeline] } 06:00:11 $ docker stop --time=1 a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc 06:00:12 $ docker rm -f a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc [Pipeline] // withDockerContainer [Pipeline] sh 06:00:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:13 Stashed 1 file(s) [Pipeline] echo 06:00:13 [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:00:13 provisioning config files... 06:00:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config3460524030137536939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:14 ---> docker-login.sh 06:00:14 nexus3.edgexfoundry.org:10001 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10002 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10003 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10004 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 docker.io 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 ---> docker-login.sh ends [Pipeline] } 06:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:15 ========================================================= 06:00:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:00:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:15 + 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:00:15 Sending build context to Docker daemon 10.06MB 06:00:15 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:00:15 Step 2/11 : FROM ${BASE} AS builder 06:00:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:16 213ec9aee27d: Pulling fs layer 06:00:16 4583459ba037: Pulling fs layer 06:00:16 93c1e223e6f2: Pulling fs layer 06:00:16 53926ce57604: Pulling fs layer 06:00:16 21b2b0c7a3f4: Pulling fs layer 06:00:16 30f14e443154: Pulling fs layer 06:00:16 801331c1e519: Pulling fs layer 06:00:16 99cc6dd402b0: Pulling fs layer 06:00:16 7d9ed39f4882: Pulling fs layer 06:00:16 53926ce57604: Waiting 06:00:16 21b2b0c7a3f4: Waiting 06:00:16 30f14e443154: Waiting 06:00:16 801331c1e519: Waiting 06:00:16 99cc6dd402b0: Waiting 06:00:16 7d9ed39f4882: Waiting 06:00:16 93c1e223e6f2: Verifying Checksum 06:00:16 93c1e223e6f2: Download complete 06:00:16 4583459ba037: Download complete 06:00:16 21b2b0c7a3f4: Verifying Checksum 06:00:16 21b2b0c7a3f4: Download complete 06:00:16 30f14e443154: Verifying Checksum 06:00:16 30f14e443154: Download complete 06:00:16 213ec9aee27d: Verifying Checksum 06:00:16 213ec9aee27d: Download complete 06:00:16 801331c1e519: Verifying Checksum 06:00:16 801331c1e519: Download complete 06:00:16 213ec9aee27d: Pull complete 06:00:16 4583459ba037: Pull complete 06:00:16 93c1e223e6f2: Pull complete 06:00:16 7d9ed39f4882: Verifying Checksum 06:00:16 7d9ed39f4882: Download complete 06:00:16 99cc6dd402b0: Verifying Checksum 06:00:16 99cc6dd402b0: Download complete 06:00:16 53926ce57604: Verifying Checksum 06:00:16 53926ce57604: Download complete 06:00:21 53926ce57604: Pull complete 06:00:21 21b2b0c7a3f4: Pull complete 06:00:21 30f14e443154: Pull complete 06:00:21 801331c1e519: Pull complete 06:00:23 99cc6dd402b0: Pull complete 06:00:24 7d9ed39f4882: Pull complete 06:00:24 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 06:00:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:00:24 ---> 1dedd983c030 06:00:24 Step 3/11 : ARG MAKE=make build 06:00:28 ---> Running in d3ab9432b8cd 06:00:28 Removing intermediate container d3ab9432b8cd 06:00:28 ---> 891b2a0a0f99 06:00:28 Step 4/11 : WORKDIR /device-sdk-go 06:00:28 ---> Running in c2343626c389 06:00:28 Removing intermediate container c2343626c389 06:00:28 ---> 0b9ff697aec3 06:00:28 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:00:28 ---> Running in 280a9937affe 06:00:28 Still waiting to schedule task 06:00:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:00:28 Removing intermediate container 280a9937affe 06:00:28 ---> ced06e35e0e8 06:00:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:28 ---> Running in e548b750836f 06:00:29 Removing intermediate container e548b750836f 06:00:29 ---> eeda3e595271 06:00:29 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:00:29 ---> Running in d2991c85e78b 06:00:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:30 OK: 211 MiB in 51 packages 06:00:31 Removing intermediate container d2991c85e78b 06:00:31 ---> efb3bc9a35d3 06:00:31 Step 8/11 : COPY go.mod vendor* ./ 06:00:31 ---> d9fa0b1e587a 06:00:31 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:31 ---> Running in 62593bb1e4a7 06:01:03 Removing intermediate container 62593bb1e4a7 06:01:03 ---> dc1b762c704d 06:01:03 Step 10/11 : COPY . . 06:01:03 ---> ad67682303eb 06:01:03 Step 11/11 : RUN ${MAKE} 06:01:03 ---> Running in 0271da006eb0 06:01:03 noop 06:01:03 Removing intermediate container 0271da006eb0 06:01:03 ---> 8c0a7ad64f6c 06:01:03 Successfully built 8c0a7ad64f6c 06:01:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:04 + docker inspect -f . ci-base-image-x86_64 06:01:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:04 prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container 06:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 ******** ci-base-image-x86_64 cat 06:01:04 $ docker top 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:05 + go version 06:01:05 go version go1.18.7 linux/amd64 [Pipeline] } 06:01:05 $ docker stop --time=1 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d 06:01:06 $ docker rm -f 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + docker inspect -f . ci-base-image-x86_64 06:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:07 prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container 06:01:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 ******** ci-base-image-x86_64 cat 06:01:07 $ docker top 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1246 [Pipeline] fileExists [Pipeline] sh 06:01:08 + make test 06:01:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements 06:01:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:01:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 73.1% of statements 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:01:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:01:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:01:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:48 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:01:48 GO111MODULE=on go vet ./... 06:01:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:51 ./bin/test-attribution-txt.sh 06:01:51 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:01:51 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:01:51 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:01:51 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:01:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:51 $ docker stop --time=1 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 06:01:55 $ docker rm -f 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:57 + ls -al . 06:01:57 total 280 06:01:57 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 06:01 . 06:01:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 05:59 .. 06:01:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 05:59 .dockerignore 06:01:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 06:01 .git 06:01:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 05:59 .github 06:01:57 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 05:59 .gitignore 06:01:57 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 05:59 .golangci.yml 06:01:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 06:00 .semver 06:01:57 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 05:59 CHANGELOG.md 06:01:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 05:59 GOVERNANCE.md 06:01:57 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 05:59 Jenkinsfile 06:01:57 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 05:59 LICENSE 06:01:57 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 05:59 Makefile 06:01:57 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 05:59 OWNERS.md 06:01:57 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 05:59 README.md 06:01:57 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 06:00 VERSION 06:01:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 05:59 bin 06:01:57 -rw-r--r-- 1 jenkins jenkins 101760 Oct 25 06:01 coverage.out 06:01:57 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 05:59 example 06:01:57 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 05:59 go.mod 06:01:57 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 05:59 go.sum 06:01:57 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 05:59 internal 06:01:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 05:59 openapi 06:01:57 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 05:59 pkg 06:01:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 05:59 snap 06:01:57 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:57 + 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=5223691eb3bb5b290cb8f149ecd205d6edbf1ada --label arch=amd64 --label version=0.0.0 . 06:01:57 Sending build context to Docker daemon 10.16MB 06:01:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:01:57 Step 2/25 : FROM ${BASE} AS builder 06:01:57 ---> 8c0a7ad64f6c 06:01:57 Step 3/25 : ARG MAKE=make build 06:01:58 ---> Running in 623b59a90635 06:01:58 Removing intermediate container 623b59a90635 06:01:58 ---> 21e3f2d8ab05 06:01:58 Step 4/25 : WORKDIR /device-sdk-go 06:01:58 ---> Running in 3167e781b6a8 06:01:58 Removing intermediate container 3167e781b6a8 06:01:58 ---> d2d7d09b971e 06:01:58 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:01:58 ---> Running in 77ed91873c04 06:01:58 Removing intermediate container 77ed91873c04 06:01:58 ---> ce8857db04fe 06:01:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:58 ---> Running in 3c9cd05d4028 06:01:59 Removing intermediate container 3c9cd05d4028 06:01:59 ---> 72e81eb584ed 06:01:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:01:59 ---> Running in af8eac702a56 06:01:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:02:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:02:00 OK: 211 MiB in 51 packages 06:02:00 Removing intermediate container af8eac702a56 06:02:00 ---> 71b8ce109541 06:02:00 Step 8/25 : COPY go.mod vendor* ./ 06:02:01 ---> 698abea2d41c 06:02:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:01 ---> Running in 9f8f7358d0bd 06:02:01 Removing intermediate container 9f8f7358d0bd 06:02:01 ---> 4eb72ced99f5 06:02:01 Step 10/25 : COPY . . 06:02:02 ---> 5a49db67936c 06:02:02 Step 11/25 : RUN ${MAKE} 06:02:02 ---> Running in 786462a2eda7 06:02:02 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:02:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:02:26 Removing intermediate container 786462a2eda7 06:02:26 ---> 0dfbfd822b6e 06:02:26 Step 12/25 : FROM alpine:3.16 06:02:26 3.16: Pulling from library/alpine 06:02:26 213ec9aee27d: Already exists 06:02:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:02:27 Status: Downloaded newer image for alpine:3.16 06:02:27 ---> 9c6f07244728 06:02:27 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:02:27 ---> Running in d35392ab3106 06:02:27 Removing intermediate container d35392ab3106 06:02:27 ---> 099537a0d294 06:02:27 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:27 ---> Running in 5ac617aaecdd 06:02:28 Removing intermediate container 5ac617aaecdd 06:02:28 ---> 65471e8b5d61 06:02:28 Step 15/25 : RUN apk add --update --no-cache zeromq 06:02:28 ---> Running in 16d9a0925801 06:02:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:02:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:02:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:02:29 (2/5) Installing libsodium (1.0.18-r0) 06:02:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:02:29 (4/5) Installing libzmq (4.3.4-r0) 06:02:29 (5/5) Installing zeromq (4.3.4-r0) 06:02:30 Executing busybox-1.35.0-r17.trigger 06:02:30 OK: 8 MiB in 19 packages 06:02:30 Removing intermediate container 16d9a0925801 06:02:30 ---> 6a1dd37d4785 06:02:30 Step 16/25 : WORKDIR / 06:02:30 ---> Running in bfe6f46ca641 06:02:30 Removing intermediate container bfe6f46ca641 06:02:30 ---> 4034f7a2a37f 06:02:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:02:30 ---> be26670393a0 06:02:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:02:31 ---> 74d059c1f93a 06:02:31 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:02:31 ---> 95128e7ac4df 06:02:31 Step 20/25 : EXPOSE 59999 06:02:31 ---> Running in 3e680f469b90 06:02:31 Removing intermediate container 3e680f469b90 06:02:31 ---> 735ce5fbecf4 06:02:31 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:02:31 ---> Running in 43cac7937e06 06:02:31 Removing intermediate container 43cac7937e06 06:02:31 ---> c4e1b2617ba5 06:02:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:02:31 ---> Running in 338840a5265a 06:02:31 Removing intermediate container 338840a5265a 06:02:31 ---> 07a495fe373a 06:02:31 Step 23/25 : LABEL arch=amd64 06:02:31 ---> Running in 4a862b46c104 06:02:31 Removing intermediate container 4a862b46c104 06:02:31 ---> 412bc3e88671 06:02:31 Step 24/25 : LABEL git_sha=5223691eb3bb5b290cb8f149ecd205d6edbf1ada 06:02:31 ---> Running in 55fbc29ad5c2 06:02:31 Removing intermediate container 55fbc29ad5c2 06:02:31 ---> 0649ed1a3c04 06:02:31 Step 25/25 : LABEL version=0.0.0 06:02:31 ---> Running in fbd3d2c468bb 06:02:31 Removing intermediate container fbd3d2c468bb 06:02:31 ---> 5b478f57777a 06:02:31 [Warning] One or more build-args [ARCH] were not consumed 06:02:31 Successfully built 5b478f57777a 06:02:31 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:32 06:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:33 latest: Pulling from edgex-lftools-log-publisher 06:02:33 5eb5b503b376: Pulling fs layer 06:02:33 5c69ac0246d0: Pulling fs layer 06:02:33 ec43610c2a17: Pulling fs layer 06:02:33 3a2ae6a8a46f: Pulling fs layer 06:02:33 33b1e0a273af: Pulling fs layer 06:02:33 5d3b04190fa2: Pulling fs layer 06:02:33 2f39f015ded8: Pulling fs layer 06:02:33 3a2ae6a8a46f: Waiting 06:02:33 33b1e0a273af: Waiting 06:02:33 5d3b04190fa2: Waiting 06:02:33 2f39f015ded8: Waiting 06:02:33 5c69ac0246d0: Verifying Checksum 06:02:33 5c69ac0246d0: Download complete 06:02:33 3a2ae6a8a46f: Verifying Checksum 06:02:33 3a2ae6a8a46f: Download complete 06:02:33 33b1e0a273af: Verifying Checksum 06:02:33 33b1e0a273af: Download complete 06:02:33 5d3b04190fa2: Verifying Checksum 06:02:33 5d3b04190fa2: Download complete 06:02:33 ec43610c2a17: Verifying Checksum 06:02:33 ec43610c2a17: Download complete 06:02:33 5eb5b503b376: Verifying Checksum 06:02:33 5eb5b503b376: Download complete 06:02:33 2f39f015ded8: Download complete 06:02:34 5eb5b503b376: Pull complete 06:02:34 5c69ac0246d0: Pull complete 06:02:35 ec43610c2a17: Pull complete 06:02:35 3a2ae6a8a46f: Pull complete 06:02:35 33b1e0a273af: Pull complete 06:02:35 5d3b04190fa2: Pull complete 06:02:39 2f39f015ded8: Pull complete 06:02:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:40 prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container 06:02:40 $ 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-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:44 $ docker top 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:44 ---> job-cost.sh 06:02:44 lf-activate-venv: SKIPPING 06:02:44 INFO: No Stack... 06:02:45 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:45 INFO: Archiving Costs [Pipeline] sh 06:02:46 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/cost.csv 06:02:46 + cut -d, -f6 [Pipeline] lock 06:02:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] 06:02:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] did not exist. Created. 06:02:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:46 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:46 Stashed 1 file(s) [Pipeline] } 06:02:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:46 $ docker stop --time=1 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 06:02:47 $ docker rm -f 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:40:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116817 in /w/workspace/gexfoundry_device-sdk-go_PR-1246 [Pipeline] { [Pipeline] ws 08:40:46 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:40:46 The recommended git tool is: git 08:40:52 using credential edgex-jenkins-ssh 08:40:52 Cloning the remote Git repository 08:40:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:40:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:40:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:40:53 > git --version # timeout=10 08:40:53 > git --version # 'git version 2.25.1' 08:40:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:53 Verifying host key using known hosts file 08:40:53 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. 08:40:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:40:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:40:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:40:56 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit 5223691eb3bb5b290cb8f149ecd205d6edbf1ada 08:40:56 Merge succeeded, producing 5223691eb3bb5b290cb8f149ecd205d6edbf1ada 08:40:56 Checking out Revision 5223691eb3bb5b290cb8f149ecd205d6edbf1ada (PR-1246) 08:40:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:40:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:40:55 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:56 Verifying host key using known hosts file 08:40:56 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. 08:40:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1246/head:refs/remotes/origin/PR-1246 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:40:56 > git config core.sparsecheckout # timeout=10 08:40:56 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 08:40:56 > git remote # timeout=10 08:40:56 > git config --get remote.origin.url # timeout=10 08:40:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:56 Verifying host key using known hosts file 08:40:56 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. 08:40:56 > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 08:40:56 > git rev-parse HEAD^{commit} # timeout=10 08:40:56 > git config core.sparsecheckout # timeout=10 08:40:56 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 08:40:57 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 08:40:57 > git --version # timeout=10 08:40:57 > git --version # 'git version 2.25.1' 08:40:57 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:40:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:40:58 % Total % Received % Xferd Average Speed Time Time Time Current 08:40:58 Dload Upload Total Spent Left Speed 08:40:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 08:40:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:40:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 08:40:59 /etc/docker/daemon.json 08:40:59 { 08:40:59 "registry-mirrors": [ 08:40:59 "https://nexus3.edgexfoundry.org:10001" 08:40:59 ], 08:40:59 "bip": "10.250.0.254/24", 08:40:59 "hosts": [ 08:40:59 "tcp://0.0.0.0:5555", 08:40:59 "unix:///var/run/docker.sock" 08:40:59 ], 08:40:59 "mtu": 1458, 08:40:59 "selinux-enabled": true, 08:40:59 "seccomp-profile": "/etc/docker/seccomp.json" 08:40:59 } [Pipeline] sh 08:40:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:41:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:41:22 provisioning config files... 08:41:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17592115028757777960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:22 ---> docker-login.sh 08:41:22 nexus3.edgexfoundry.org:10001 08:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:23 Configure a credential helper to remove this warning. See 08:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:23 08:41:23 Login Succeeded 08:41:23 nexus3.edgexfoundry.org:10002 08:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:23 Configure a credential helper to remove this warning. See 08:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:23 08:41:23 Login Succeeded 08:41:23 nexus3.edgexfoundry.org:10003 08:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:24 Configure a credential helper to remove this warning. See 08:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:24 08:41:24 Login Succeeded 08:41:24 nexus3.edgexfoundry.org:10004 08:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:24 Configure a credential helper to remove this warning. See 08:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:24 08:41:24 Login Succeeded 08:41:24 docker.io 08:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:25 Configure a credential helper to remove this warning. See 08:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:25 08:41:25 Login Succeeded 08:41:25 ---> docker-login.sh ends [Pipeline] } 08:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:41:25 ========================================================= 08:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:41:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:26 + 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 . 08:41:26 Sending build context to Docker daemon 5.412MB 08:41:26 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 08:41:26 Step 2/11 : FROM ${BASE} AS builder 08:41:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:41:26 9b18e9b68314: Pulling fs layer 08:41:26 d32db5db7311: Pulling fs layer 08:41:26 d0c4b47475fc: Pulling fs layer 08:41:26 5831b945b038: Pulling fs layer 08:41:26 86bbec2aaacd: Pulling fs layer 08:41:26 e10730c5d714: Pulling fs layer 08:41:26 5dd5c2283517: Pulling fs layer 08:41:26 d5ac0230b979: Pulling fs layer 08:41:26 5831b945b038: Waiting 08:41:26 86bbec2aaacd: Waiting 08:41:26 e10730c5d714: Waiting 08:41:26 5dd5c2283517: Waiting 08:41:26 d5ac0230b979: Waiting 08:41:26 d0c4b47475fc: Verifying Checksum 08:41:26 d0c4b47475fc: Download complete 08:41:26 d32db5db7311: Download complete 08:41:26 86bbec2aaacd: Download complete 08:41:26 e10730c5d714: Verifying Checksum 08:41:26 e10730c5d714: Download complete 08:41:26 9b18e9b68314: Verifying Checksum 08:41:26 9b18e9b68314: Download complete 08:41:28 9b18e9b68314: Pull complete 08:41:28 d5ac0230b979: Verifying Checksum 08:41:28 d5ac0230b979: Download complete 08:41:28 d32db5db7311: Pull complete 08:41:29 5dd5c2283517: Verifying Checksum 08:41:29 5dd5c2283517: Download complete 08:41:30 d0c4b47475fc: Pull complete 08:41:30 5831b945b038: Verifying Checksum 08:41:30 5831b945b038: Download complete 08:41:42 5831b945b038: Pull complete 08:41:42 86bbec2aaacd: Pull complete 08:41:42 e10730c5d714: Pull complete 08:41:49 5dd5c2283517: Pull complete 08:41:51 d5ac0230b979: Pull complete 08:41:51 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 08:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:41:51 ---> 59b3b1a385d4 08:41:51 Step 3/11 : ARG MAKE=make build 08:41:52 ---> Running in a80e5b3985ce 08:41:52 Removing intermediate container a80e5b3985ce 08:41:52 ---> 5daa330b3bcd 08:41:52 Step 4/11 : WORKDIR /device-sdk-go 08:41:52 ---> Running in 7212e2d7b41b 08:41:52 Removing intermediate container 7212e2d7b41b 08:41:52 ---> e91d3f3bb2f0 08:41:52 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:41:52 ---> Running in 660cfa459df7 08:41:53 Removing intermediate container 660cfa459df7 08:41:53 ---> e4d4b5969836 08:41:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:53 ---> Running in 29c5f79b6849 08:41:55 Removing intermediate container 29c5f79b6849 08:41:55 ---> f93fd500d1a0 08:41:55 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:41:55 ---> Running in 7ce788ac940d 08:41:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:41:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:41:58 OK: 221 MiB in 51 packages 08:41:58 Removing intermediate container 7ce788ac940d 08:41:58 ---> 7abbdcc073c0 08:41:58 Step 8/11 : COPY go.mod vendor* ./ 08:41:59 ---> 25595fe84d74 08:41:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:41:59 ---> Running in 20164491bf9c 08:42:55 Removing intermediate container 20164491bf9c 08:42:55 ---> 344c0d6a3f85 08:42:55 Step 10/11 : COPY . . 08:42:55 ---> 21eb72841334 08:42:55 Step 11/11 : RUN ${MAKE} 08:42:55 ---> Running in 424151b6ef6f 08:42:56 noop 08:42:56 Removing intermediate container 424151b6ef6f 08:42:56 ---> 3d778f945b5b 08:42:56 Successfully built 3d778f945b5b 08:42:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:57 + docker inspect -f . ci-base-image-arm64 08:42:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:57 prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container 08:42:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:42:58 $ docker top 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:59 + go version 08:42:59 go version go1.18.7 linux/arm64 [Pipeline] } 08:42:59 $ docker stop --time=1 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c 08:43:01 $ docker rm -f 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:02 + docker inspect -f . ci-base-image-arm64 08:43:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:02 prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container 08:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:43:03 $ docker top 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:04 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 08:43:05 + make test 08:43:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:43:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:46:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.523s coverage: 27.6% of statements 08:46:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.544s coverage: 78.9% of statements 08:46:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 08:46:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.402s coverage: 73.1% of statements 08:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:46:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.504s coverage: 54.4% of statements 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:46:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.416s coverage: 65.1% of statements 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 08:46:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.647s coverage: 89.2% of statements 08:46:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:46:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.238s coverage: 4.7% of statements 08:46:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:46:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:46:23 GO111MODULE=on go vet ./... 08:48:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:48:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:48:00 ./bin/test-attribution-txt.sh 08:48:00 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 08:48:00 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 08:48:00 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 08:48:00 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 08:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:48:00 $ docker stop --time=1 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 08:48:01 $ docker rm -f 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:48:03 Warning: overwriting stash ‘coverage-report’ 08:48:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:48:04 + ls -al . 08:48:04 total 276 08:48:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:43 . 08:48:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:40 .. 08:48:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 08:40 .dockerignore 08:48:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:40 .git 08:48:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:40 .github 08:48:04 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 08:40 .gitignore 08:48:04 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:40 .golangci.yml 08:48:04 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 08:40 CHANGELOG.md 08:48:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:40 GOVERNANCE.md 08:48:04 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 08:40 Jenkinsfile 08:48:04 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 08:40 LICENSE 08:48:04 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 08:40 Makefile 08:48:04 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 08:40 OWNERS.md 08:48:04 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 08:40 README.md 08:48:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 06:00 VERSION 08:48:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:40 bin 08:48:04 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 08:46 coverage.out 08:48:04 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 08:40 example 08:48:04 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 08:40 go.mod 08:48:04 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 08:40 go.sum 08:48:04 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 08:40 internal 08:48:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:40 openapi 08:48:04 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 08:40 pkg 08:48:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:40 snap 08:48:04 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 08:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:05 + 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=5223691eb3bb5b290cb8f149ecd205d6edbf1ada --label arch=arm64 --label version=0.0.0 . 08:48:05 Sending build context to Docker daemon 5.514MB 08:48:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:48:05 Step 2/25 : FROM ${BASE} AS builder 08:48:05 ---> 3d778f945b5b 08:48:05 Step 3/25 : ARG MAKE=make build 08:48:05 ---> Running in 6258c0f22ca9 08:48:05 Removing intermediate container 6258c0f22ca9 08:48:05 ---> ade652ef19b7 08:48:05 Step 4/25 : WORKDIR /device-sdk-go 08:48:05 ---> Running in 4edb211afd55 08:48:06 Removing intermediate container 4edb211afd55 08:48:06 ---> 0a55e27ca245 08:48:06 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:48:06 ---> Running in 6b5516807261 08:48:06 Removing intermediate container 6b5516807261 08:48:06 ---> 063d33f46f7a 08:48:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:06 ---> Running in a7fe2aa1286b 08:48:08 Removing intermediate container a7fe2aa1286b 08:48:08 ---> c9dd03727c2f 08:48:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:48:08 ---> Running in 0cad9b760fef 08:48:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:48:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:48:11 OK: 221 MiB in 51 packages 08:48:11 Removing intermediate container 0cad9b760fef 08:48:11 ---> 39ef9323ead2 08:48:11 Step 8/25 : COPY go.mod vendor* ./ 08:48:12 ---> 7c50899d94b6 08:48:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:48:12 ---> Running in cf5f49f9afe3 08:48:14 Removing intermediate container cf5f49f9afe3 08:48:14 ---> 55239e2b7d55 08:48:14 Step 10/25 : COPY . . 08:48:15 ---> 73af391839df 08:48:15 Step 11/25 : RUN ${MAKE} 08:48:15 ---> Running in 11ad167a7dcf 08:48:16 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 08:50:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:50:25 Removing intermediate container 11ad167a7dcf 08:50:25 ---> b007331869b2 08:50:25 Step 12/25 : FROM alpine:3.16 08:50:26 3.16: Pulling from library/alpine 08:50:26 9b18e9b68314: Already exists 08:50:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:50:26 Status: Downloaded newer image for alpine:3.16 08:50:26 ---> a6215f271958 08:50:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:50:26 ---> Running in fb7f08a4772b 08:50:26 Removing intermediate container fb7f08a4772b 08:50:26 ---> 9cb1631f2cdc 08:50:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:26 ---> Running in aab827bb37a6 08:50:28 Removing intermediate container aab827bb37a6 08:50:28 ---> 0de4e23a0043 08:50:28 Step 15/25 : RUN apk add --update --no-cache zeromq 08:50:28 ---> Running in 57c5a5432054 08:50:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:50:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:50:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 08:50:31 (2/5) Installing libsodium (1.0.18-r0) 08:50:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 08:50:31 (4/5) Installing libzmq (4.3.4-r0) 08:50:31 (5/5) Installing zeromq (4.3.4-r0) 08:50:31 Executing busybox-1.35.0-r17.trigger 08:50:31 OK: 8 MiB in 19 packages 08:50:32 Removing intermediate container 57c5a5432054 08:50:32 ---> 9cf0c0ac889c 08:50:32 Step 16/25 : WORKDIR / 08:50:32 ---> Running in 4cf0fe27c113 08:50:33 Removing intermediate container 4cf0fe27c113 08:50:33 ---> 6948bdcb7d5d 08:50:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:50:33 ---> ed7f65b2a6e8 08:50:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:50:35 ---> 1bf87d14d054 08:50:35 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:50:35 ---> daab9b177e56 08:50:35 Step 20/25 : EXPOSE 59999 08:50:35 ---> Running in bcb9ac5d7bbb 08:50:35 Removing intermediate container bcb9ac5d7bbb 08:50:35 ---> 74a126fd625a 08:50:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 08:50:35 ---> Running in dce1e27728eb 08:50:36 Removing intermediate container dce1e27728eb 08:50:36 ---> 84ea7c8c5cc6 08:50:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:36 ---> Running in 8cbcb16ce62a 08:50:36 Removing intermediate container 8cbcb16ce62a 08:50:36 ---> e5121b00eb6e 08:50:36 Step 23/25 : LABEL arch=arm64 08:50:36 ---> Running in 6941b5e6e449 08:50:36 Removing intermediate container 6941b5e6e449 08:50:36 ---> 29a249a95f0d 08:50:36 Step 24/25 : LABEL git_sha=5223691eb3bb5b290cb8f149ecd205d6edbf1ada 08:50:36 ---> Running in 9de765e781fe 08:50:37 Removing intermediate container 9de765e781fe 08:50:37 ---> f3e853f29a97 08:50:37 Step 25/25 : LABEL version=0.0.0 08:50:37 ---> Running in 85a8fc2b4b5e 08:50:37 Removing intermediate container 85a8fc2b4b5e 08:50:37 ---> da923175ecdc 08:50:37 [Warning] One or more build-args [ARCH] were not consumed 08:50:37 Successfully built da923175ecdc 08:50:37 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 08:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:50:38 08:50:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:50:38 arm64: Pulling from edgex-lftools-log-publisher 08:50:38 8998bd30e6a1: Pulling fs layer 08:50:38 04944245beec: Pulling fs layer 08:50:38 699f458cf7ca: Pulling fs layer 08:50:38 765212b225bb: Pulling fs layer 08:50:38 f23df028b6ca: Pulling fs layer 08:50:38 d65c8cfc05b1: Pulling fs layer 08:50:38 2437ff75d9bd: Pulling fs layer 08:50:38 f23df028b6ca: Waiting 08:50:38 d65c8cfc05b1: Waiting 08:50:38 765212b225bb: Waiting 08:50:38 2437ff75d9bd: Waiting 08:50:38 04944245beec: Verifying Checksum 08:50:38 04944245beec: Download complete 08:50:38 765212b225bb: Verifying Checksum 08:50:38 765212b225bb: Download complete 08:50:38 f23df028b6ca: Verifying Checksum 08:50:38 f23df028b6ca: Download complete 08:50:38 d65c8cfc05b1: Verifying Checksum 08:50:38 d65c8cfc05b1: Download complete 08:50:39 699f458cf7ca: Verifying Checksum 08:50:39 699f458cf7ca: Download complete 08:50:39 8998bd30e6a1: Download complete 08:50:41 2437ff75d9bd: Verifying Checksum 08:50:41 2437ff75d9bd: Download complete 08:50:43 8998bd30e6a1: Pull complete 08:50:43 04944245beec: Pull complete 08:50:45 699f458cf7ca: Pull complete 08:50:45 765212b225bb: Pull complete 08:50:45 f23df028b6ca: Pull complete 08:50:45 d65c8cfc05b1: Pull complete 08:51:00 2437ff75d9bd: Pull complete 08:51:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:01 prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container 08:51:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:51:03 $ docker top c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:04 ---> job-cost.sh 08:51:04 lf-activate-venv: SKIPPING 08:51:04 INFO: No Stack... 08:51:05 INFO: Retrieving Pricing Info for: v3-standard-4 08:51:06 INFO: Archiving Costs [Pipeline] sh 08:51:06 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:51:06 + cut -d, -f6 [Pipeline] lock 08:51:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] 08:51:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] did not exist. Created. 08:51:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:51:07 /w/workspace/device-sdk-go/1@tmp/durable-cbf192cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:51:07 + echo total: 0.10999999940395355 [Pipeline] stash 08:51:07 Warning: overwriting stash ‘stack-cost’ 08:51:07 Stashed 1 file(s) [Pipeline] } 08:51:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:51:07 $ docker stop --time=1 c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 08:51:09 $ docker rm -f c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 [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 08:51:10 provisioning config files... 08:51:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config13062046519199814386tmp [Pipeline] { [Pipeline] sh 08:51:10 + set +x 08:51:10 + curl -s https://codecov.io/bash 08:51:10 + bash -s -- 08:51:10 08:51:10 _____ _ 08:51:10 / ____| | | 08:51:10 | | ___ __| | ___ ___ _____ __ 08:51:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:51:10 | |___| (_) | (_| | __/ (_| (_) \ V / 08:51:10 \_____\___/ \__,_|\___|\___\___/ \_/ 08:51:10 Bash-1.0.6 08:51:10 08:51:10 08:51:10 ==> git version 2.25.1 found 08:51:10 ==> 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 08:51:10 Release-Date: 2020-01-08 08:51:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:51:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:51:10 ==> Jenkins CI detected. 08:51:10 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1246 08:51:10 project root: . 08:51:10 --> token set from env 08:51:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:51:10 ==> Running gcov in . (disable via -X gcov) 08:51:10 ==> Python coveragepy not found 08:51:10 ==> Searching for coverage reports in: 08:51:10 + . 08:51:10 -> Found 1 reports 08:51:10 ==> Detecting git/mercurial file structure 08:51:10 ==> Reading reports 08:51:10 + ./coverage.out bytes=101759 08:51:10 ==> Appending adjustments 08:51:10 https://docs.codecov.io/docs/fixing-reports 08:51:10 + Found adjustments 08:51:10 ==> Gzipping contents 08:51:11 16K /tmp/codecov.Vk3cMS.gz 08:51:11 ==> Uploading reports 08:51:11 url: https://codecov.io 08:51:11 query: branch=PR-1246&commit=5223691eb3bb5b290cb8f149ecd205d6edbf1ada&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1246%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1246&job=&cmd_args= 08:51:11 -> Pinging Codecov 08:51:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1246&commit=5223691eb3bb5b290cb8f149ecd205d6edbf1ada&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1246%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1246&job=&cmd_args= 08:51:11 -> Uploading to 08:51:11 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/7E55EF52A471D76F132DFD9A03CDDE97/5223691eb3bb5b290cb8f149ecd205d6edbf1ada/2dd48d6d-9899-4089-806e-782650d4021c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T085110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96e01d9a9761a7a3bffd1b3b2a6c98a8412ce7b626f7912ea02e7a1cdb693dca 08:51:11 % Total % Received % Xferd Average Speed Time Time Time Current 08:51:11 Dload Upload Total Spent Left Speed 08:51:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14683 0 0 100 14683 0 59445 --:--:-- --:--:-- --:--:-- 59686 08:51:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] } 08:51:11 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 08:51:13 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives ] 08:51:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives 08:51:13 total 16 08:51:13 drwxr-xr-x 3 root root 4096 Oct 25 06:02 . 08:51:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 06:02 .. 08:51:13 drwxr-xr-x 2 root root 4096 Oct 25 06:02 cost 08:51:13 -rw-r--r-- 1 root root 86 Oct 25 06:02 cost.csv 08:51:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives 08:51:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives 08:51:13 total 16 08:51:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 06:02 . 08:51:13 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 06:02 .. 08:51:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 06:02 cost 08:51:13 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:51:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:51:14 ---> package-listing.sh 08:51:14 ++ facter osfamily 08:51:14 ++ tr '[:upper:]' '[:lower:]' 08:51:14 + OS_FAMILY=debian 08:51:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1246 08:51:14 + START_PACKAGES=/tmp/packages_start.txt 08:51:14 + END_PACKAGES=/tmp/packages_end.txt 08:51:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:51:14 + PACKAGES=/tmp/packages_start.txt 08:51:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1246 ']' 08:51:14 + PACKAGES=/tmp/packages_end.txt 08:51:14 + case "${OS_FAMILY}" in 08:51:14 + dpkg -l 08:51:14 + grep '^ii' 08:51:14 + '[' -f /tmp/packages_start.txt ']' 08:51:14 + '[' -f /tmp/packages_end.txt ']' 08:51:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:51:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1246 ']' 08:51:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/ 08:51:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/ [Pipeline] echo 08:51:14 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-1246/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:51:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:51:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:15 prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container 08:51:15 $ 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-1246/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-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:51:16 $ docker top 7a051c9522d8c8d57bab2ac25039de50359a03238c93a7da5c0c2ea778a6e3b2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:16 + touch /tmp/pre-build-complete [Pipeline] sh 08:51:16 + mkdir -p /var/log/sysstat [Pipeline] sh 08:51:17 + ls /var/log/sa-host 08:51:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:17 provisioning config files... 08:51:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config2576059014434231116tmp [Pipeline] { [Pipeline] echo 08:51:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:17 ---> create-netrc.sh [Pipeline] } 08:51:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:51:18 ---> python-tools-install.sh [Pipeline] echo 08:51:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:51:18 ---> sudo-logs.sh 08:51:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:51:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:51:19 ---> job-cost.sh 08:51:19 lf-activate-venv: SKIPPING 08:51:19 DEBUG: total: 0.2199999988079071 08:51:19 INFO: Retrieving Stack Cost... 08:51:19 INFO: Retrieving Pricing Info for: v3-standard-8 08:51:19 INFO: Archiving Costs [Pipeline] echo 08:51:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:20 ---> logs-deploy.sh 08:51:20 lf-activate-venv: SKIPPING 08:51:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1246/1 08:51:20 INFO: archiving workspace using pattern(s): 08:51:21 Archives upload complete. 08:51:21 INFO: archiving logs to Nexus