Pull request #1229 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a528ab06ee98ec1da46e4224911058fb396f8bdf+71d557e94127766e3dd7859e57e7c834f188cfad (52c5609c90661a0815a26c3fbff105221dda3c15) 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-ssh16485804085923584478.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11714610736272935753.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh 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-1229/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-1229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8646398785601748753.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-1229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17335557827072936099.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12422284707968272821.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-1229/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-1229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9451077657660417491.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7244 in /w/workspace/gexfoundry_device-sdk-go_PR-1229 [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-1229 # 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 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a528ab06ee98ec1da46e4224911058fb396f8bdf Merge succeeded, producing a528ab06ee98ec1da46e4224911058fb396f8bdf Checking out Revision a528ab06ee98ec1da46e4224911058fb396f8bdf (PR-1229) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > 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/1229/head:refs/remotes/origin/PR-1229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # 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 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:07:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:07:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:07:19 ========================================================= 04:07:19 EdgeX Global Pipelines Version Info 04:07:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:07:20 ------------------- 04:07:20 stable info: 04:07:20 ------------------- 04:07:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:07:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:07:20 Message: update stable to v1.0.239 04:07:21 ------------------- 04:07:21 experimental info: 04:07:21 ------------------- 04:07:21 Commited By: **** collab-it+edgex@linuxfoundation.org 04:07:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:07:21 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:07:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1229 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1229 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1229 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a528ab0 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:22 provisioning config files... 04:07:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config14310576919716203708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:23 ---> docker-login.sh 04:07:23 nexus3.edgexfoundry.org:10001 04:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:23 Configure a credential helper to remove this warning. See 04:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:23 04:07:23 Login Succeeded 04:07:23 nexus3.edgexfoundry.org:10002 04:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:23 Configure a credential helper to remove this warning. See 04:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:23 04:07:23 Login Succeeded 04:07:23 nexus3.edgexfoundry.org:10003 04:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:23 Configure a credential helper to remove this warning. See 04:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:23 04:07:23 Login Succeeded 04:07:23 nexus3.edgexfoundry.org:10004 04:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:23 Configure a credential helper to remove this warning. See 04:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:23 04:07:23 Login Succeeded 04:07:23 docker.io 04:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:24 Configure a credential helper to remove this warning. See 04:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:24 04:07:24 Login Succeeded 04:07:24 ---> docker-login.sh ends [Pipeline] } 04:07:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:07:24 + git rev-list -1 --merges a528ab06ee98ec1da46e4224911058fb396f8bdf~1..a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo 04:07:24 -----------> git rev-list -1 --merges a528ab06ee98ec1da46e4224911058fb396f8bdf~1..a528ab06ee98ec1da46e4224911058fb396f8bdf a528ab06ee98ec1da46e4224911058fb396f8bdf [false] [Pipeline] sh 04:07:25 + git log --format=format:%s -1 a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo 04:07:25 ========================================================= 04:07:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:25 + git log --format=format:%s -1 a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo 04:07:25 [semverPrep] GIT_COMMIT: a528ab06ee98ec1da46e4224911058fb396f8bdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:07:25 [semverPrep] This is not a build commit. [Pipeline] sh 04:07:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:26 + grep -v github /etc/ssh/ssh_known_hosts 04:07:26 + [ -e /tmp/ssh_known_hosts ] 04:07:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:07:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:07:26 + sudo tee -a /etc/ssh/ssh_known_hosts 04:07:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:26 04:07:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:07:27 b85a868b505f: Pulling fs layer 04:07:27 e2be974225ed: Pulling fs layer 04:07:27 339a4e72a1f5: Pulling fs layer 04:07:27 988bab9f4d93: Pulling fs layer 04:07:27 1469e6f7b9e6: Pulling fs layer 04:07:27 eaf3925da568: Pulling fs layer 04:07:27 988bab9f4d93: Waiting 04:07:27 bab4dde63d76: Pulling fs layer 04:07:27 bde34c3a00c8: Pulling fs layer 04:07:27 b352a97aabf1: Pulling fs layer 04:07:27 4872d77fe225: Pulling fs layer 04:07:27 eaf3925da568: Waiting 04:07:27 b352a97aabf1: Waiting 04:07:27 bde34c3a00c8: Waiting 04:07:27 bab4dde63d76: Waiting 04:07:27 4872d77fe225: Waiting 04:07:27 5851b861e8e6: Pulling fs layer 04:07:27 5851b861e8e6: Waiting 04:07:27 e2be974225ed: Verifying Checksum 04:07:27 e2be974225ed: Download complete 04:07:27 988bab9f4d93: Verifying Checksum 04:07:27 988bab9f4d93: Download complete 04:07:27 339a4e72a1f5: Verifying Checksum 04:07:27 339a4e72a1f5: Download complete 04:07:27 1469e6f7b9e6: Verifying Checksum 04:07:27 1469e6f7b9e6: Download complete 04:07:27 eaf3925da568: Verifying Checksum 04:07:27 eaf3925da568: Download complete 04:07:27 bde34c3a00c8: Download complete 04:07:27 b352a97aabf1: Download complete 04:07:27 4872d77fe225: Download complete 04:07:27 5851b861e8e6: Verifying Checksum 04:07:27 5851b861e8e6: Download complete 04:07:27 b85a868b505f: Download complete 04:07:27 bab4dde63d76: Verifying Checksum 04:07:27 bab4dde63d76: Download complete 04:07:28 b85a868b505f: Pull complete 04:07:28 e2be974225ed: Pull complete 04:07:29 339a4e72a1f5: Pull complete 04:07:29 988bab9f4d93: Pull complete 04:07:29 1469e6f7b9e6: Pull complete 04:07:29 eaf3925da568: Pull complete 04:07:31 bab4dde63d76: Pull complete 04:07:31 bde34c3a00c8: Pull complete 04:07:31 b352a97aabf1: Pull complete 04:07:31 4872d77fe225: Pull complete 04:07:32 5851b861e8e6: Pull complete 04:07:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:32 prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container 04:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:36 $ docker top e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be -eo pid,comm 04:07:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:07:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:36 [ssh-agent] Looking for ssh-agent implementation... 04:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:37 $ docker exec e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent 04:07:37 SSH_AUTH_SOCK=/tmp/ssh-hPYusmVI834u/agent.13 04:07:37 SSH_AGENT_PID=19 04:07:37 Running ssh-add (command line suppressed) 04:07:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_16106218305530759253.key (/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_16106218305530759253.key) 04:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:37 + git tag --points-at HEAD [Pipeline] } 04:07:37 $ docker exec --env ******** --env ******** e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent -k 04:07:37 unset SSH_AUTH_SOCK; 04:07:37 unset SSH_AGENT_PID; 04:07:37 echo Agent pid 19 killed; 04:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:37 [ssh-agent] Looking for ssh-agent implementation... 04:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:38 $ docker exec e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent 04:07:38 SSH_AUTH_SOCK=/tmp/ssh-l0r6Ep6diiqX/agent.69 04:07:38 SSH_AGENT_PID=75 04:07:38 Running ssh-add (command line suppressed) 04:07:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_11752178157561582970.key (/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_11752178157561582970.key) 04:07:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:38 + git semver init 04:07:38 2022-10-06 04:07:38,750 [run_init] DEBUG init version:0.0.0 force:False 04:07:38 2022-10-06 04:07:38,751 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver 04:07:38 2022-10-06 04:07:38,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver 04:07:38 2022-10-06 04:07:38,751 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229, universal_newlines=False, shell=None, istream=None) 04:07:40 2022-10-06 04:07:39,810 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.git/info/exclude 04:07:40 2022-10-06 04:07:39,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 with force:False 04:07:40 2022-10-06 04:07:39,811 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 04:07:40 2022-10-06 04:07:39,813 [execute] INFO git cat-file --batch-check 04:07:40 2022-10-06 04:07:39,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver, universal_newlines=False, shell=None, istream=) 04:07:40 2022-10-06 04:07:39,819 [execute] INFO git cat-file --batch 04:07:40 2022-10-06 04:07:39,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver, universal_newlines=False, shell=None, istream=) 04:07:40 2022-10-06 04:07:39,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 04:07:40 0.0.0 [Pipeline] } 04:07:40 $ docker exec --env ******** --env ******** e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent -k 04:07:40 unset SSH_AUTH_SOCK; 04:07:40 unset SSH_AGENT_PID; 04:07:40 echo Agent pid 75 killed; 04:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:40 + git semver [Pipeline] } 04:07:41 $ docker stop --time=1 e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be 04:07:42 $ docker rm -f e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be [Pipeline] // withDockerContainer [Pipeline] sh 04:07:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:43 Stashed 1 file(s) [Pipeline] echo 04:07:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:43 provisioning config files... 04:07:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config17692407859445999036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:44 ---> docker-login.sh 04:07:44 nexus3.edgexfoundry.org:10001 04:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:44 Configure a credential helper to remove this warning. See 04:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:44 04:07:44 Login Succeeded 04:07:44 nexus3.edgexfoundry.org:10002 04:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:44 Configure a credential helper to remove this warning. See 04:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:44 04:07:44 Login Succeeded 04:07:44 nexus3.edgexfoundry.org:10003 04:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:44 Configure a credential helper to remove this warning. See 04:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:44 04:07:44 Login Succeeded 04:07:44 nexus3.edgexfoundry.org:10004 04:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:44 Configure a credential helper to remove this warning. See 04:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:44 04:07:44 Login Succeeded 04:07:44 docker.io 04:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:44 Configure a credential helper to remove this warning. See 04:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:44 04:07:44 Login Succeeded 04:07:44 ---> docker-login.sh ends [Pipeline] } 04:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:45 ========================================================= 04:07:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:07:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:45 + 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 . 04:07:45 Sending build context to Docker daemon 9.985MB 04:07:45 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:07:45 Step 2/11 : FROM ${BASE} AS builder 04:07:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:45 2408cc74d12b: Pulling fs layer 04:07:45 ea60b727a1ce: Pulling fs layer 04:07:45 30c4a7721957: Pulling fs layer 04:07:45 370296b7ddb6: Pulling fs layer 04:07:45 7c6cee850709: Pulling fs layer 04:07:45 aa9baa53a306: Pulling fs layer 04:07:45 8b309c321861: Pulling fs layer 04:07:45 d8d76fd02f46: Pulling fs layer 04:07:45 fa31f396de31: Pulling fs layer 04:07:45 370296b7ddb6: Waiting 04:07:45 7c6cee850709: Waiting 04:07:45 aa9baa53a306: Waiting 04:07:45 8b309c321861: Waiting 04:07:45 fa31f396de31: Waiting 04:07:45 d8d76fd02f46: Waiting 04:07:45 30c4a7721957: Verifying Checksum 04:07:45 30c4a7721957: Download complete 04:07:45 ea60b727a1ce: Download complete 04:07:45 7c6cee850709: Verifying Checksum 04:07:45 7c6cee850709: Download complete 04:07:45 aa9baa53a306: Verifying Checksum 04:07:45 aa9baa53a306: Download complete 04:07:45 2408cc74d12b: Verifying Checksum 04:07:45 2408cc74d12b: Download complete 04:07:45 8b309c321861: Verifying Checksum 04:07:45 8b309c321861: Download complete 04:07:45 2408cc74d12b: Pull complete 04:07:46 ea60b727a1ce: Pull complete 04:07:46 30c4a7721957: Pull complete 04:07:46 fa31f396de31: Verifying Checksum 04:07:46 fa31f396de31: Download complete 04:07:46 370296b7ddb6: Verifying Checksum 04:07:46 370296b7ddb6: Download complete 04:07:46 d8d76fd02f46: Verifying Checksum 04:07:46 d8d76fd02f46: Download complete 04:07:49 370296b7ddb6: Pull complete 04:07:49 7c6cee850709: Pull complete 04:07:49 aa9baa53a306: Pull complete 04:07:49 8b309c321861: Pull complete 04:07:51 d8d76fd02f46: Pull complete 04:07:52 fa31f396de31: Pull complete 04:07:52 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:07:52 ---> cef68f9685f8 04:07:52 Step 3/11 : ARG MAKE=make build 04:07:58 ---> Running in a7af2b7ea312 04:07:58 Removing intermediate container a7af2b7ea312 04:07:58 ---> b0e7c68e675a 04:07:58 Step 4/11 : WORKDIR /device-sdk-go 04:07:58 ---> Running in 885e26ae2b4f 04:07:58 Removing intermediate container 885e26ae2b4f 04:07:58 ---> 58792d73c547 04:07:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:58 ---> Running in db253a49bc4e 04:07:58 Removing intermediate container db253a49bc4e 04:07:58 ---> d61b4fcef1d9 04:07:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:58 ---> Running in 6668ffcadbd8 04:07:58 Still waiting to schedule task 04:07:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:07:59 Removing intermediate container 6668ffcadbd8 04:07:59 ---> 8ec9eeec56a6 04:07:59 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:59 ---> Running in 22c6027500f3 04:07:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:01 OK: 211 MiB in 51 packages 04:08:01 Removing intermediate container 22c6027500f3 04:08:01 ---> 8860c1290cdc 04:08:01 Step 8/11 : COPY go.mod vendor* ./ 04:08:01 ---> 29a9f7291caf 04:08:01 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:02 ---> Running in 1099565c9624 04:08:24 Removing intermediate container 1099565c9624 04:08:24 ---> 3e81e0c2a5ef 04:08:24 Step 10/11 : COPY . . 04:08:24 ---> e80d4cbb77e0 04:08:24 Step 11/11 : RUN ${MAKE} 04:08:24 ---> Running in 4ae762943fce 04:08:24 noop 04:08:24 Removing intermediate container 4ae762943fce 04:08:24 ---> 75deed64ae08 04:08:24 Successfully built 75deed64ae08 04:08:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:24 + docker inspect -f . ci-base-image-x86_64 04:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:24 prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container 04:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:08:25 $ docker top f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:25 + go version 04:08:25 go version go1.18.3 linux/amd64 [Pipeline] } 04:08:25 $ docker stop --time=1 f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 04:08:26 $ docker rm -f f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:27 + docker inspect -f . ci-base-image-x86_64 04:08:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:27 prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container 04:08:27 $ 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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:08:28 $ docker top 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1229 [Pipeline] fileExists [Pipeline] sh 04:08:28 + make test 04:08:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:08:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.118s coverage: 78.9% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.072s coverage: 60.0% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.119s coverage: 54.4% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:08:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:09:05 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." 04:09:05 GO111MODULE=on go vet ./... 04:09:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:08 ./bin/test-attribution-txt.sh 04:09:08 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:09:08 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:09:08 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:09:08 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:08 $ docker stop --time=1 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 04:09:12 $ docker rm -f 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:09:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:13 + ls -al . 04:09:13 total 276 04:09:13 drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 04:08 . 04:09:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:07 .. 04:09:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 04:07 .dockerignore 04:09:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:08 .git 04:09:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:07 .github 04:09:13 -rw-rw-r-- 1 jenkins jenkins 131 Oct 6 04:07 .gitignore 04:09:13 -rw-rw-r-- 1 jenkins jenkins 42 Oct 6 04:07 .golangci.yml 04:09:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:07 .semver 04:09:13 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 6 04:07 CHANGELOG.md 04:09:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:07 GOVERNANCE.md 04:09:13 -rw-rw-r-- 1 jenkins jenkins 880 Oct 6 04:07 Jenkinsfile 04:09:13 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 04:07 LICENSE 04:09:13 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 6 04:07 Makefile 04:09:13 -rw-rw-r-- 1 jenkins jenkins 619 Oct 6 04:07 OWNERS.md 04:09:13 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 6 04:07 README.md 04:09:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:07 VERSION 04:09:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:07 bin 04:09:13 -rw-r--r-- 1 jenkins jenkins 101009 Oct 6 04:08 coverage.out 04:09:13 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 04:07 example 04:09:13 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 6 04:07 go.mod 04:09:13 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 6 04:07 go.sum 04:09:13 drwxrwxr-x 14 jenkins jenkins 4096 Oct 6 04:07 internal 04:09:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:07 openapi 04:09:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 6 04:07 pkg 04:09:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:07 snap 04:09:13 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:14 + 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=a528ab06ee98ec1da46e4224911058fb396f8bdf --label arch=amd64 --label version=0.0.0 . 04:09:14 Sending build context to Docker daemon 10.09MB 04:09:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:09:14 Step 2/25 : FROM ${BASE} AS builder 04:09:14 ---> 75deed64ae08 04:09:14 Step 3/25 : ARG MAKE=make build 04:09:14 ---> Running in 3bf6dc42665e 04:09:14 Removing intermediate container 3bf6dc42665e 04:09:14 ---> 5a85204738e3 04:09:14 Step 4/25 : WORKDIR /device-sdk-go 04:09:14 ---> Running in b39af7bb1ad9 04:09:14 Removing intermediate container b39af7bb1ad9 04:09:14 ---> ff7f856eb6ff 04:09:14 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:14 ---> Running in 8861cc9dabea 04:09:14 Removing intermediate container 8861cc9dabea 04:09:14 ---> 7c9ebe764232 04:09:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:14 ---> Running in d1b854fd0886 04:09:15 Removing intermediate container d1b854fd0886 04:09:15 ---> ee86c3368e76 04:09:15 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:15 ---> Running in e3cd7c96017e 04:09:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:16 OK: 211 MiB in 51 packages 04:09:17 Removing intermediate container e3cd7c96017e 04:09:17 ---> 6b2e655914cc 04:09:17 Step 8/25 : COPY go.mod vendor* ./ 04:09:17 ---> 5736fd5382af 04:09:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:17 ---> Running in 1231a6cc47a8 04:09:17 Removing intermediate container 1231a6cc47a8 04:09:17 ---> 31d93a025a97 04:09:17 Step 10/25 : COPY . . 04:09:18 ---> 0451b3423590 04:09:18 Step 11/25 : RUN ${MAKE} 04:09:18 ---> Running in 41b40d56d2a7 04:09:19 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 04:09:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:41 Removing intermediate container 41b40d56d2a7 04:09:41 ---> bfa9e07d8d6f 04:09:41 Step 12/25 : FROM alpine:3.16 04:09:41 3.16: Pulling from library/alpine 04:09:42 213ec9aee27d: Pulling fs layer 04:09:42 213ec9aee27d: Verifying Checksum 04:09:42 213ec9aee27d: Download complete 04:09:43 213ec9aee27d: Pull complete 04:09:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:09:43 Status: Downloaded newer image for alpine:3.16 04:09:43 ---> 9c6f07244728 04:09:43 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:44 ---> Running in d5bf174d0f29 04:09:44 Removing intermediate container d5bf174d0f29 04:09:44 ---> 1062472e5a89 04:09:44 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:45 ---> Running in 22d4cfe23316 04:09:47 Removing intermediate container 22d4cfe23316 04:09:47 ---> a278fb57f98b 04:09:47 Step 15/25 : RUN apk add --update --no-cache zeromq 04:09:47 ---> Running in 3d2a240005b8 04:09:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:09:49 (2/5) Installing libsodium (1.0.18-r0) 04:09:49 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:09:49 (4/5) Installing libzmq (4.3.4-r0) 04:09:49 (5/5) Installing zeromq (4.3.4-r0) 04:09:49 Executing busybox-1.35.0-r17.trigger 04:09:49 OK: 8 MiB in 19 packages 04:09:50 Removing intermediate container 3d2a240005b8 04:09:50 ---> 4a02833427f9 04:09:50 Step 16/25 : WORKDIR / 04:09:50 ---> Running in 119386ee54de 04:09:50 Removing intermediate container 119386ee54de 04:09:50 ---> 6b353022c1c3 04:09:50 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:50 ---> bba806daec5b 04:09:50 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:51 ---> aa02b3786120 04:09:51 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:51 ---> 46243db0b786 04:09:51 Step 20/25 : EXPOSE 59999 04:09:51 ---> Running in aaf55b225013 04:09:51 Removing intermediate container aaf55b225013 04:09:51 ---> c93a95687e99 04:09:51 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:09:51 ---> Running in 38cbef50ccbb 04:09:51 Removing intermediate container 38cbef50ccbb 04:09:51 ---> c7646a65b2d0 04:09:51 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:51 ---> Running in 901eafdc5089 04:09:51 Removing intermediate container 901eafdc5089 04:09:51 ---> 6fd4bf092201 04:09:51 Step 23/25 : LABEL arch=amd64 04:09:51 ---> Running in 764e649a43d3 04:09:51 Removing intermediate container 764e649a43d3 04:09:51 ---> 4e96b52cc7a3 04:09:51 Step 24/25 : LABEL git_sha=a528ab06ee98ec1da46e4224911058fb396f8bdf 04:09:51 ---> Running in 4e50cd328c2a 04:09:52 Removing intermediate container 4e50cd328c2a 04:09:52 ---> f9000f247722 04:09:52 Step 25/25 : LABEL version=0.0.0 04:09:52 ---> Running in 9d7869ad2cd1 04:09:52 Removing intermediate container 9d7869ad2cd1 04:09:52 ---> 30d763c386ce 04:09:52 [Warning] One or more build-args [ARCH] were not consumed 04:09:52 Successfully built 30d763c386ce 04:09:52 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 04:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:53 04:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:53 latest: Pulling from edgex-lftools-log-publisher 04:09:53 5eb5b503b376: Pulling fs layer 04:09:53 5c69ac0246d0: Pulling fs layer 04:09:53 ec43610c2a17: Pulling fs layer 04:09:53 3a2ae6a8a46f: Pulling fs layer 04:09:53 33b1e0a273af: Pulling fs layer 04:09:53 5d3b04190fa2: Pulling fs layer 04:09:53 2f39f015ded8: Pulling fs layer 04:09:53 33b1e0a273af: Waiting 04:09:53 5d3b04190fa2: Waiting 04:09:53 2f39f015ded8: Waiting 04:09:53 3a2ae6a8a46f: Waiting 04:09:53 5c69ac0246d0: Verifying Checksum 04:09:53 5c69ac0246d0: Download complete 04:09:53 3a2ae6a8a46f: Download complete 04:09:53 33b1e0a273af: Verifying Checksum 04:09:53 33b1e0a273af: Download complete 04:09:53 5d3b04190fa2: Verifying Checksum 04:09:53 5d3b04190fa2: Download complete 04:09:53 ec43610c2a17: Verifying Checksum 04:09:53 ec43610c2a17: Download complete 04:09:53 5eb5b503b376: Verifying Checksum 04:09:53 5eb5b503b376: Download complete 04:09:54 2f39f015ded8: Verifying Checksum 04:09:54 2f39f015ded8: Download complete 04:09:55 5eb5b503b376: Pull complete 04:09:55 5c69ac0246d0: Pull complete 04:09:55 ec43610c2a17: Pull complete 04:09:55 3a2ae6a8a46f: Pull complete 04:09:55 33b1e0a273af: Pull complete 04:09:55 5d3b04190fa2: Pull complete 04:09:59 2f39f015ded8: Pull complete 04:09:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:59 prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container 04:09:59 $ 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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:10:04 $ docker top 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:04 ---> job-cost.sh 04:10:04 lf-activate-venv: SKIPPING 04:10:04 INFO: No Stack... 04:10:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:10:05 INFO: Archiving Costs [Pipeline] sh 04:10:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/cost.csv 04:10:05 + cut -d, -f6 [Pipeline] lock 04:10:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] 04:10:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] did not exist. Created. 04:10:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:05 + echo total: 0.2199999988079071 [Pipeline] stash 04:10:06 Stashed 1 file(s) [Pipeline] } 04:10:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:06 $ docker stop --time=1 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 04:10:07 $ docker rm -f 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:10:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7247 in /w/workspace/gexfoundry_device-sdk-go_PR-1229 [Pipeline] { [Pipeline] ws 04:10:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:10:41 The recommended git tool is: git 04:10:50 using credential edgex-jenkins-ssh 04:10:50 Cloning the remote Git repository 04:10:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:50 > git --version # timeout=10 04:10:50 > git --version # 'git version 2.25.1' 04:10:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:50 Verifying host key using known hosts file 04:10:50 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. 04:10:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:53 Verifying host key using known hosts file 04:10: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. 04:10:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1229/head:refs/remotes/origin/PR-1229 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:54 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a528ab06ee98ec1da46e4224911058fb396f8bdf 04:10:54 Merge succeeded, producing a528ab06ee98ec1da46e4224911058fb396f8bdf 04:10:54 Checking out Revision a528ab06ee98ec1da46e4224911058fb396f8bdf (PR-1229) 04:10:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:10:55 > git --version # timeout=10 04:10:55 > git --version # 'git version 2.25.1' 04:10:55 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 04:10:54 > git config core.sparsecheckout # timeout=10 04:10:54 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 04:10:54 > git remote # timeout=10 04:10:54 > git config --get remote.origin.url # timeout=10 04:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:54 Verifying host key using known hosts file 04:10:54 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. 04:10:54 > git merge 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 04:10:54 > git rev-parse HEAD^{commit} # timeout=10 04:10:54 > git config core.sparsecheckout # timeout=10 04:10:54 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:56 Dload Upload Total Spent Left Speed 04:10:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 04:10:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:57 + sudo tee /etc/docker/daemon.new 04:10:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:57 { 04:10:57 "registry-mirrors": [ 04:10:57 "https://nexus3.edgexfoundry.org:10001" 04:10:57 ], 04:10:57 "bip": "10.250.0.254/24", 04:10:57 "hosts": [ 04:10:57 "tcp://0.0.0.0:5555", 04:10:57 "unix:///var/run/docker.sock" 04:10:57 ], 04:10:57 "mtu": 1458, 04:10:57 "selinux-enabled": true, 04:10:57 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:57 } [Pipeline] sh 04:10:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:16 provisioning config files... 04:11:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16517451808718618552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:16 ---> docker-login.sh 04:11:16 nexus3.edgexfoundry.org:10001 04:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:18 Configure a credential helper to remove this warning. See 04:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:18 04:11:18 Login Succeeded 04:11:18 nexus3.edgexfoundry.org:10002 04:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:18 Configure a credential helper to remove this warning. See 04:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:18 04:11:18 Login Succeeded 04:11:18 nexus3.edgexfoundry.org:10003 04:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:18 Configure a credential helper to remove this warning. See 04:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:18 04:11:18 Login Succeeded 04:11:18 nexus3.edgexfoundry.org:10004 04:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:19 Configure a credential helper to remove this warning. See 04:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:19 04:11:19 Login Succeeded 04:11:19 docker.io 04:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:19 Configure a credential helper to remove this warning. See 04:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:19 04:11:19 Login Succeeded 04:11:19 ---> docker-login.sh ends [Pipeline] } 04:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:20 ========================================================= 04:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:11:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:20 + 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 . 04:11:21 Sending build context to Docker daemon 5.364MB 04:11:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:11:21 Step 2/11 : FROM ${BASE} AS builder 04:11:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:21 b3c136eddcbf: Pulling fs layer 04:11:21 c0a3192eca97: Pulling fs layer 04:11:21 a050256f5b6f: Pulling fs layer 04:11:21 656be50a0ddc: Pulling fs layer 04:11:21 2bbca73fdf42: Pulling fs layer 04:11:21 f607e4fc86c3: Pulling fs layer 04:11:21 4d572c569a2c: Pulling fs layer 04:11:21 fcf976331f73: Pulling fs layer 04:11:21 656be50a0ddc: Waiting 04:11:21 2bbca73fdf42: Waiting 04:11:21 f607e4fc86c3: Waiting 04:11:21 4d572c569a2c: Waiting 04:11:21 fcf976331f73: Waiting 04:11:21 a050256f5b6f: Download complete 04:11:21 c0a3192eca97: Verifying Checksum 04:11:21 c0a3192eca97: Download complete 04:11:21 2bbca73fdf42: Verifying Checksum 04:11:21 2bbca73fdf42: Download complete 04:11:21 f607e4fc86c3: Download complete 04:11:21 b3c136eddcbf: Verifying Checksum 04:11:21 b3c136eddcbf: Download complete 04:11:22 b3c136eddcbf: Pull complete 04:11:22 fcf976331f73: Verifying Checksum 04:11:22 fcf976331f73: Download complete 04:11:22 c0a3192eca97: Pull complete 04:11:23 a050256f5b6f: Pull complete 04:11:23 4d572c569a2c: Verifying Checksum 04:11:23 4d572c569a2c: Download complete 04:11:24 656be50a0ddc: Verifying Checksum 04:11:24 656be50a0ddc: Download complete 04:11:36 656be50a0ddc: Pull complete 04:11:36 2bbca73fdf42: Pull complete 04:11:36 f607e4fc86c3: Pull complete 04:11:42 4d572c569a2c: Pull complete 04:11:43 fcf976331f73: Pull complete 04:11:43 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:11:43 ---> 3970a7415f9e 04:11:43 Step 3/11 : ARG MAKE=make build 04:11:45 ---> Running in 806677d42de3 04:11:45 Removing intermediate container 806677d42de3 04:11:45 ---> b0de64ff56c8 04:11:45 Step 4/11 : WORKDIR /device-sdk-go 04:11:45 ---> Running in 13718823535c 04:11:45 Removing intermediate container 13718823535c 04:11:45 ---> e5567de99060 04:11:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:45 ---> Running in b595b0cde69a 04:11:46 Removing intermediate container b595b0cde69a 04:11:46 ---> ff3ecd200556 04:11:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:46 ---> Running in 43e56395c22b 04:11:48 Removing intermediate container 43e56395c22b 04:11:48 ---> 018b09530c91 04:11:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:48 ---> Running in e565f5bd147c 04:11:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:11:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:11:50 OK: 221 MiB in 51 packages 04:11:52 Removing intermediate container e565f5bd147c 04:11:52 ---> 31ba26851a7d 04:11:52 Step 8/11 : COPY go.mod vendor* ./ 04:11:53 ---> 899b333e017f 04:11:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:53 ---> Running in c3ab27cdf6e8 04:12:49 Removing intermediate container c3ab27cdf6e8 04:12:49 ---> f62bfcffe1f6 04:12:49 Step 10/11 : COPY . . 04:12:49 ---> 524a947e831b 04:12:49 Step 11/11 : RUN ${MAKE} 04:12:49 ---> Running in 285fb7053b90 04:12:49 noop 04:12:49 Removing intermediate container 285fb7053b90 04:12:49 ---> f7ab801210a3 04:12:49 Successfully built f7ab801210a3 04:12:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:50 + docker inspect -f . ci-base-image-arm64 04:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:50 prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container 04:12:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:52 $ docker top 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:52 + go version 04:12:52 go version go1.18.3 linux/arm64 [Pipeline] } 04:12:52 $ docker stop --time=1 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 04:12:54 $ docker rm -f 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:55 + docker inspect -f . ci-base-image-arm64 04:12:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:55 prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container 04:12:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:57 $ docker top d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:57 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:12:58 + make test 04:12:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:15:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.263s coverage: 27.6% of statements 04:15:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.326s coverage: 78.9% of statements 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:15:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.396s coverage: 60.0% of statements 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:15:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.728s coverage: 54.4% of statements 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:15:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.482s coverage: 65.1% of statements 04:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:15:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:15:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.325s coverage: 89.2% of statements 04:15:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:15:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements 04:15:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:15:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:15:54 GO111MODULE=on go vet ./... 04:17:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:46 ./bin/test-attribution-txt.sh 04:17:46 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:17:46 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:17:46 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:17:46 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:17:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:46 $ docker stop --time=1 d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb 04:17:48 $ docker rm -f d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb [Pipeline] // withDockerContainer [Pipeline] sh 04:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:49 Warning: overwriting stash ‘coverage-report’ 04:17:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:51 + ls -al . 04:17:51 total 272 04:17:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:12 . 04:17:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:10 .. 04:17:51 -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 04:10 .dockerignore 04:17:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:10 .git 04:17:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:10 .github 04:17:51 -rw-rw-r-- 1 jenkins jenkins 131 Oct 6 04:10 .gitignore 04:17:51 -rw-rw-r-- 1 jenkins jenkins 42 Oct 6 04:10 .golangci.yml 04:17:51 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 6 04:10 CHANGELOG.md 04:17:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:10 GOVERNANCE.md 04:17:51 -rw-rw-r-- 1 jenkins jenkins 880 Oct 6 04:10 Jenkinsfile 04:17:51 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 04:10 LICENSE 04:17:51 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 6 04:10 Makefile 04:17:51 -rw-rw-r-- 1 jenkins jenkins 619 Oct 6 04:10 OWNERS.md 04:17:51 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 6 04:10 README.md 04:17:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:07 VERSION 04:17:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:10 bin 04:17:51 -rw-r--r-- 1 jenkins jenkins 101009 Oct 6 04:15 coverage.out 04:17:51 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 04:10 example 04:17:51 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 6 04:10 go.mod 04:17:51 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 6 04:10 go.sum 04:17:51 drwxrwxr-x 14 jenkins jenkins 4096 Oct 6 04:10 internal 04:17:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:10 openapi 04:17:51 drwxrwxr-x 6 jenkins jenkins 4096 Oct 6 04:10 pkg 04:17:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:10 snap 04:17:51 -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:51 + 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=a528ab06ee98ec1da46e4224911058fb396f8bdf --label arch=arm64 --label version=0.0.0 . 04:17:51 Sending build context to Docker daemon 5.466MB 04:17:52 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:17:52 Step 2/25 : FROM ${BASE} AS builder 04:17:52 ---> f7ab801210a3 04:17:52 Step 3/25 : ARG MAKE=make build 04:17:52 ---> Running in e5f6e6c6fa34 04:17:52 Removing intermediate container e5f6e6c6fa34 04:17:52 ---> 1121e1126176 04:17:52 Step 4/25 : WORKDIR /device-sdk-go 04:17:52 ---> Running in e3c5a899e3f6 04:17:53 Removing intermediate container e3c5a899e3f6 04:17:53 ---> 5774d57a3da8 04:17:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:53 ---> Running in 2b093b4139bb 04:17:53 Removing intermediate container 2b093b4139bb 04:17:53 ---> d96ac482fdff 04:17:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:53 ---> Running in c6f341878e22 04:17:55 Removing intermediate container c6f341878e22 04:17:55 ---> 59ea5253c8d1 04:17:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:17:55 ---> Running in c70fb7dd82b0 04:17:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:58 OK: 221 MiB in 51 packages 04:17:59 Removing intermediate container c70fb7dd82b0 04:17:59 ---> dd1cc5dce924 04:17:59 Step 8/25 : COPY go.mod vendor* ./ 04:18:00 ---> 4f41d0e16356 04:18:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:00 ---> Running in 0e0a7d7a5ec7 04:18:02 Removing intermediate container 0e0a7d7a5ec7 04:18:02 ---> 23d991d52aef 04:18:02 Step 10/25 : COPY . . 04:18:03 ---> 8e6b8133c56c 04:18:03 Step 11/25 : RUN ${MAKE} 04:18:03 ---> Running in 14663a929e62 04:18:04 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 04:20:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:41 Removing intermediate container 14663a929e62 04:20:41 ---> cde3320d4fbd 04:20:41 Step 12/25 : FROM alpine:3.16 04:20:41 3.16: Pulling from library/alpine 04:20:41 9b18e9b68314: Pulling fs layer 04:20:41 9b18e9b68314: Verifying Checksum 04:20:41 9b18e9b68314: Download complete 04:20:41 9b18e9b68314: Pull complete 04:20:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:20:41 Status: Downloaded newer image for alpine:3.16 04:20:41 ---> a6215f271958 04:20:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:41 ---> Running in 7ba36c98e625 04:20:42 Removing intermediate container 7ba36c98e625 04:20:42 ---> 4b8aa8e91f5c 04:20:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:42 ---> Running in 925f0bc2dc3d 04:20:44 Removing intermediate container 925f0bc2dc3d 04:20:44 ---> 96c416869cca 04:20:44 Step 15/25 : RUN apk add --update --no-cache zeromq 04:20:44 ---> Running in d0a6624334db 04:20:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:20:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:20:47 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:20:47 (2/5) Installing libsodium (1.0.18-r0) 04:20:47 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:20:47 (4/5) Installing libzmq (4.3.4-r0) 04:20:47 (5/5) Installing zeromq (4.3.4-r0) 04:20:47 Executing busybox-1.35.0-r17.trigger 04:20:47 OK: 8 MiB in 19 packages 04:20:48 Removing intermediate container d0a6624334db 04:20:48 ---> c34d3682005f 04:20:48 Step 16/25 : WORKDIR / 04:20:48 ---> Running in dae79a836aff 04:20:48 Removing intermediate container dae79a836aff 04:20:48 ---> b4304d2cffb0 04:20:48 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:49 ---> dc0d155a1dc7 04:20:49 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:51 ---> e621a08ac16f 04:20:51 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:51 ---> 682c43295e5d 04:20:51 Step 20/25 : EXPOSE 59999 04:20:51 ---> Running in c37d385f9dd8 04:20:52 Removing intermediate container c37d385f9dd8 04:20:52 ---> c852ef416fcf 04:20:52 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:20:52 ---> Running in 13016a3fd56c 04:20:52 Removing intermediate container 13016a3fd56c 04:20:52 ---> b7616c7cbb6d 04:20:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:52 ---> Running in 99158bc0b0ba 04:20:52 Removing intermediate container 99158bc0b0ba 04:20:52 ---> 33e27f4246c7 04:20:52 Step 23/25 : LABEL arch=arm64 04:20:53 ---> Running in 57dcbe8fc05b 04:20:53 Removing intermediate container 57dcbe8fc05b 04:20:53 ---> b5859c9d3729 04:20:53 Step 24/25 : LABEL git_sha=a528ab06ee98ec1da46e4224911058fb396f8bdf 04:20:53 ---> Running in d6ada5cd9784 04:20:53 Removing intermediate container d6ada5cd9784 04:20:53 ---> 9b776a3df066 04:20:53 Step 25/25 : LABEL version=0.0.0 04:20:53 ---> Running in 1668fdaaffb5 04:20:54 Removing intermediate container 1668fdaaffb5 04:20:54 ---> e8ac5199fde6 04:20:54 [Warning] One or more build-args [ARCH] were not consumed 04:20:54 Successfully built e8ac5199fde6 04:20:54 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 04:20:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:54 04:20:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:55 arm64: Pulling from edgex-lftools-log-publisher 04:20:55 8998bd30e6a1: Pulling fs layer 04:20:55 04944245beec: Pulling fs layer 04:20:55 699f458cf7ca: Pulling fs layer 04:20:55 765212b225bb: Pulling fs layer 04:20:55 f23df028b6ca: Pulling fs layer 04:20:55 d65c8cfc05b1: Pulling fs layer 04:20:55 2437ff75d9bd: Pulling fs layer 04:20:55 765212b225bb: Waiting 04:20:55 f23df028b6ca: Waiting 04:20:55 d65c8cfc05b1: Waiting 04:20:55 2437ff75d9bd: Waiting 04:20:55 04944245beec: Verifying Checksum 04:20:55 04944245beec: Download complete 04:20:55 765212b225bb: Verifying Checksum 04:20:55 765212b225bb: Download complete 04:20:55 f23df028b6ca: Verifying Checksum 04:20:55 f23df028b6ca: Download complete 04:20:55 d65c8cfc05b1: Verifying Checksum 04:20:55 d65c8cfc05b1: Download complete 04:20:55 699f458cf7ca: Verifying Checksum 04:20:56 8998bd30e6a1: Verifying Checksum 04:20:56 8998bd30e6a1: Download complete 04:20:59 2437ff75d9bd: Verifying Checksum 04:20:59 2437ff75d9bd: Download complete 04:21:00 8998bd30e6a1: Pull complete 04:21:01 04944245beec: Pull complete 04:21:03 699f458cf7ca: Pull complete 04:21:03 765212b225bb: Pull complete 04:21:03 f23df028b6ca: Pull complete 04:21:04 d65c8cfc05b1: Pull complete 04:21:19 2437ff75d9bd: Pull complete 04:21:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:19 prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container 04:21:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:22 $ docker top 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:23 ---> job-cost.sh 04:21:23 lf-activate-venv: SKIPPING 04:21:23 INFO: No Stack... 04:21:23 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:24 INFO: Archiving Costs [Pipeline] sh 04:21:25 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:21:25 + cut -d, -f6 [Pipeline] lock 04:21:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] 04:21:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] did not exist. Created. 04:21:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:26 /w/workspace/device-sdk-go/1@tmp/durable-8600850d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:26 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:26 Warning: overwriting stash ‘stack-cost’ 04:21:27 Stashed 1 file(s) [Pipeline] } 04:21:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:27 $ docker stop --time=1 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 04:21:28 $ docker rm -f 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:21:29 provisioning config files... 04:21:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config16812872951654158383tmp [Pipeline] { [Pipeline] sh 04:21:29 + set +x 04:21:29 + curl -s https://codecov.io/bash 04:21:29 + bash -s -- 04:21:29 04:21:29 _____ _ 04:21:29 / ____| | | 04:21:29 | | ___ __| | ___ ___ _____ __ 04:21:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:29 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:29 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:29 Bash-1.0.6 04:21:29 04:21:29 04:21:29 ==> git version 2.25.1 found 04:21:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:21:29 Release-Date: 2020-01-08 04:21:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:21:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:21:29 ==> Jenkins CI detected. 04:21:29 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1229 04:21:29 project root: . 04:21:29 --> token set from env 04:21:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:29 ==> Running gcov in . (disable via -X gcov) 04:21:29 ==> Python coveragepy not found 04:21:29 ==> Searching for coverage reports in: 04:21:29 + . 04:21:29 -> Found 1 reports 04:21:29 ==> Detecting git/mercurial file structure 04:21:29 ==> Reading reports 04:21:29 + ./coverage.out bytes=101009 04:21:29 ==> Appending adjustments 04:21:29 https://docs.codecov.io/docs/fixing-reports 04:21:30 + Found adjustments 04:21:30 ==> Gzipping contents 04:21:30 16K /tmp/codecov.Tvnyfb.gz 04:21:30 ==> Uploading reports 04:21:30 url: https://codecov.io 04:21:30 query: branch=PR-1229&commit=a528ab06ee98ec1da46e4224911058fb396f8bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1229&job=&cmd_args= 04:21:30 -> Pinging Codecov 04:21:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1229&commit=a528ab06ee98ec1da46e4224911058fb396f8bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1229&job=&cmd_args= 04:21:30 -> Uploading to 04:21:30 https://storage.googleapis.com/codecov/v4/raw/2022-10-06/7E55EF52A471D76F132DFD9A03CDDE97/a528ab06ee98ec1da46e4224911058fb396f8bdf/6dc80373-e3d6-4db0-9723-12bc0a85aa2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221006T042130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1356e833aefcce8e79992788f3f1f60f21223f166cbc03757a1aa18829e4ff1e 04:21:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:30 Dload Upload Total Spent Left Speed 04:21:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14601 0 0 100 14601 0 69199 --:--:-- --:--:-- --:--:-- 69199 04:21:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] } 04:21:31 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 04:21:32 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives ] 04:21:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives 04:21:32 total 16 04:21:32 drwxr-xr-x 3 root root 4096 Oct 6 04:10 . 04:21:32 drwxrwxr-x 12 jenkins jenkins 4096 Oct 6 04:10 .. 04:21:32 drwxr-xr-x 2 root root 4096 Oct 6 04:10 cost 04:21:32 -rw-r--r-- 1 root root 86 Oct 6 04:10 cost.csv 04:21:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives 04:21:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives 04:21:32 total 16 04:21:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:10 . 04:21:32 drwxrwxr-x 12 jenkins jenkins 4096 Oct 6 04:10 .. 04:21:32 drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:10 cost 04:21:32 -rw-r--r-- 1 jenkins jenkins 86 Oct 6 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> package-listing.sh 04:21:33 ++ facter osfamily 04:21:33 ++ tr '[:upper:]' '[:lower:]' 04:21:34 + OS_FAMILY=debian 04:21:34 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1229 04:21:34 + START_PACKAGES=/tmp/packages_start.txt 04:21:34 + END_PACKAGES=/tmp/packages_end.txt 04:21:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:34 + PACKAGES=/tmp/packages_start.txt 04:21:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1229 ']' 04:21:34 + PACKAGES=/tmp/packages_end.txt 04:21:34 + case "${OS_FAMILY}" in 04:21:34 + dpkg -l 04:21:34 + grep '^ii' 04:21:34 + '[' -f /tmp/packages_start.txt ']' 04:21:34 + '[' -f /tmp/packages_end.txt ']' 04:21:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1229 ']' 04:21:34 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/ 04:21:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/ [Pipeline] echo 04:21:34 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-1229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:35 prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container 04:21:35 $ 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-1229/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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:35 $ docker top e6ebd02b434d26fd6961067f907d457aa43e0a144b12dd1b13d43cb111a97853 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:35 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:36 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:36 + ls /var/log/sa-host 04:21:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:36 provisioning config files... 04:21:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config15858533608599550556tmp [Pipeline] { [Pipeline] echo 04:21:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:37 ---> create-netrc.sh [Pipeline] } 04:21:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:37 ---> python-tools-install.sh [Pipeline] echo 04:21:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:37 ---> sudo-logs.sh 04:21:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:21:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:38 ---> job-cost.sh 04:21:38 lf-activate-venv: SKIPPING 04:21:38 DEBUG: total: 0.2199999988079071 04:21:38 INFO: Retrieving Stack Cost... 04:21:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:39 INFO: Archiving Costs [Pipeline] echo 04:21:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:39 ---> logs-deploy.sh 04:21:39 lf-activate-venv: SKIPPING 04:21:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1229/1 04:21:39 INFO: archiving workspace using pattern(s): 04:21:40 Archives upload complete. 04:21:40 INFO: archiving logs to Nexus