Pull request #1224 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca1effda2e49e13bc8030218052c86e178bc40c3+238ac69fab1befba96aeb5fe41e06f86e376d8a9 (8a0ced4cc5587d8d75dcd832aefda620c8d7eaa2) 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-ssh7884258400851290163.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-ssh14470159091914531393.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-1224/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-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh358840962987685043.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-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3928271130961917756.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-ssh13169019564469101647.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-1224/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-1224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7338002055898825535.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-5971 in /w/workspace/gexfoundry_device-sdk-go_PR-1224 [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-1224 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1224/head:refs/remotes/origin/PR-1224 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit ca1effda2e49e13bc8030218052c86e178bc40c3 Merge succeeded, producing ca1effda2e49e13bc8030218052c86e178bc40c3 Checking out Revision ca1effda2e49e13bc8030218052c86e178bc40c3 (PR-1224) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:52 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # 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 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:52 ========================================================= 04:19:52 EdgeX Global Pipelines Version Info 04:19:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:53 ------------------- 04:19:53 stable info: 04:19:53 ------------------- 04:19:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:19:53 Message: update stable to v1.0.239 04:19:53 ------------------- 04:19:53 experimental info: 04:19:53 ------------------- 04:19:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:19:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1224 [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1224 [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1224 [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca1effd [Pipeline] echo 04:19:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:55 provisioning config files... 04:19:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config10609179599076777987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:56 ---> docker-login.sh 04:19:56 nexus3.edgexfoundry.org:10001 04:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:56 Configure a credential helper to remove this warning. See 04:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:56 04:19:56 Login Succeeded 04:19:56 nexus3.edgexfoundry.org:10002 04:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:56 Configure a credential helper to remove this warning. See 04:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:56 04:19:56 Login Succeeded 04:19:56 nexus3.edgexfoundry.org:10003 04:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:56 Configure a credential helper to remove this warning. See 04:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:56 04:19:56 Login Succeeded 04:19:56 nexus3.edgexfoundry.org:10004 04:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:56 Configure a credential helper to remove this warning. See 04:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:56 04:19:56 Login Succeeded 04:19:56 docker.io 04:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:57 Configure a credential helper to remove this warning. See 04:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:57 04:19:57 Login Succeeded 04:19:57 ---> docker-login.sh ends [Pipeline] } 04:19:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:58 + git rev-list -1 --merges ca1effda2e49e13bc8030218052c86e178bc40c3~1..ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo 04:19:58 -----------> git rev-list -1 --merges ca1effda2e49e13bc8030218052c86e178bc40c3~1..ca1effda2e49e13bc8030218052c86e178bc40c3 ca1effda2e49e13bc8030218052c86e178bc40c3 [false] [Pipeline] sh 04:19:58 + git log --format=format:%s -1 ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo 04:19:58 ========================================================= 04:19:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:58 + git log --format=format:%s -1 ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo 04:19:58 [semverPrep] GIT_COMMIT: ca1effda2e49e13bc8030218052c86e178bc40c3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:19:58 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:59 + grep -v github /etc/ssh/ssh_known_hosts 04:19:59 + [ -e /tmp/ssh_known_hosts ] 04:19:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:59 + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:59 04:19:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:00 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:00 b85a868b505f: Pulling fs layer 04:20:00 e2be974225ed: Pulling fs layer 04:20:00 339a4e72a1f5: Pulling fs layer 04:20:00 988bab9f4d93: Pulling fs layer 04:20:00 1469e6f7b9e6: Pulling fs layer 04:20:00 eaf3925da568: Pulling fs layer 04:20:00 bab4dde63d76: Pulling fs layer 04:20:00 bde34c3a00c8: Pulling fs layer 04:20:00 b352a97aabf1: Pulling fs layer 04:20:00 eaf3925da568: Waiting 04:20:00 988bab9f4d93: Waiting 04:20:00 bab4dde63d76: Waiting 04:20:00 1469e6f7b9e6: Waiting 04:20:00 bde34c3a00c8: Waiting 04:20:00 4872d77fe225: Pulling fs layer 04:20:00 b352a97aabf1: Waiting 04:20:00 5851b861e8e6: Pulling fs layer 04:20:00 4872d77fe225: Waiting 04:20:00 5851b861e8e6: Waiting 04:20:00 e2be974225ed: Verifying Checksum 04:20:00 e2be974225ed: Download complete 04:20:00 988bab9f4d93: Download complete 04:20:00 339a4e72a1f5: Download complete 04:20:00 1469e6f7b9e6: Verifying Checksum 04:20:00 1469e6f7b9e6: Download complete 04:20:00 eaf3925da568: Verifying Checksum 04:20:00 eaf3925da568: Download complete 04:20:00 bde34c3a00c8: Verifying Checksum 04:20:00 bde34c3a00c8: Download complete 04:20:00 b352a97aabf1: Download complete 04:20:00 4872d77fe225: Download complete 04:20:00 5851b861e8e6: Download complete 04:20:00 b85a868b505f: Verifying Checksum 04:20:00 b85a868b505f: Download complete 04:20:00 bab4dde63d76: Verifying Checksum 04:20:00 bab4dde63d76: Download complete 04:20:01 b85a868b505f: Pull complete 04:20:01 e2be974225ed: Pull complete 04:20:02 339a4e72a1f5: Pull complete 04:20:02 988bab9f4d93: Pull complete 04:20:02 1469e6f7b9e6: Pull complete 04:20:02 eaf3925da568: Pull complete 04:20:04 bab4dde63d76: Pull complete 04:20:04 bde34c3a00c8: Pull complete 04:20:04 b352a97aabf1: Pull complete 04:20:04 4872d77fe225: Pull complete 04:20:04 5851b861e8e6: Pull complete 04:20:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:04 prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container 04:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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:20:07 $ docker top 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 -eo pid,comm 04:20:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:20:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:07 [ssh-agent] Looking for ssh-agent implementation... 04:20:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:07 $ docker exec 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent 04:20:07 SSH_AUTH_SOCK=/tmp/ssh-QEgaLcEzeWdm/agent.34 04:20:07 SSH_AGENT_PID=40 04:20:07 Running ssh-add (command line suppressed) 04:20:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_14588591895070730955.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_14588591895070730955.key) 04:20:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:08 + git tag --points-at HEAD [Pipeline] } 04:20:08 $ docker exec --env ******** --env ******** 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent -k 04:20:08 unset SSH_AUTH_SOCK; 04:20:08 unset SSH_AGENT_PID; 04:20:08 echo Agent pid 40 killed; 04:20:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:08 [ssh-agent] Looking for ssh-agent implementation... 04:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:08 $ docker exec 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent 04:20:08 SSH_AUTH_SOCK=/tmp/ssh-BOkHMS7qfX0Z/agent.72 04:20:08 SSH_AGENT_PID=78 04:20:08 Running ssh-add (command line suppressed) 04:20:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_11361543722710312334.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_11361543722710312334.key) 04:20:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:09 + git semver init 04:20:09 2022-09-30 04:20:09,277 [run_init] DEBUG init version:0.0.0 force:False 04:20:09 2022-09-30 04:20:09,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver 04:20:09 2022-09-30 04:20:09,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver 04:20:09 2022-09-30 04:20:09,278 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224, universal_newlines=False, shell=None, istream=None) 04:20:10 2022-09-30 04:20:10,311 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.git/info/exclude 04:20:10 2022-09-30 04:20:10,311 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 with force:False 04:20:10 2022-09-30 04:20:10,311 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 04:20:10 2022-09-30 04:20:10,315 [execute] INFO git cat-file --batch-check 04:20:10 2022-09-30 04:20:10,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver, universal_newlines=False, shell=None, istream=) 04:20:10 2022-09-30 04:20:10,321 [execute] INFO git cat-file --batch 04:20:10 2022-09-30 04:20:10,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver, universal_newlines=False, shell=None, istream=) 04:20:10 2022-09-30 04:20:10,326 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 04:20:10 0.0.0 [Pipeline] } 04:20:10 $ docker exec --env ******** --env ******** 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent -k 04:20:10 unset SSH_AUTH_SOCK; 04:20:10 unset SSH_AGENT_PID; 04:20:10 echo Agent pid 78 killed; 04:20:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:11 + git semver [Pipeline] } 04:20:11 $ docker stop --time=1 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 04:20:12 $ docker rm -f 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:13 Stashed 1 file(s) [Pipeline] echo 04:20:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:14 provisioning config files... 04:20:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config15625013028354192639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:14 ---> docker-login.sh 04:20:14 nexus3.edgexfoundry.org:10001 04:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:14 Configure a credential helper to remove this warning. See 04:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:14 04:20:14 Login Succeeded 04:20:14 nexus3.edgexfoundry.org:10002 04:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:14 Configure a credential helper to remove this warning. See 04:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:14 04:20:14 Login Succeeded 04:20:14 nexus3.edgexfoundry.org:10003 04:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:14 Configure a credential helper to remove this warning. See 04:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:14 04:20:14 Login Succeeded 04:20:14 nexus3.edgexfoundry.org:10004 04:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:14 Configure a credential helper to remove this warning. See 04:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:14 04:20:14 Login Succeeded 04:20:14 docker.io 04:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:15 Configure a credential helper to remove this warning. See 04:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:15 04:20:15 Login Succeeded 04:20:15 ---> docker-login.sh ends [Pipeline] } 04:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:15 ========================================================= 04:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:16 + 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:20:16 Sending build context to Docker daemon 9.935MB 04:20:16 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:20:16 Step 2/11 : FROM ${BASE} AS builder 04:20:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:16 2408cc74d12b: Pulling fs layer 04:20:16 ea60b727a1ce: Pulling fs layer 04:20:16 30c4a7721957: Pulling fs layer 04:20:16 370296b7ddb6: Pulling fs layer 04:20:16 7c6cee850709: Pulling fs layer 04:20:16 aa9baa53a306: Pulling fs layer 04:20:16 8b309c321861: Pulling fs layer 04:20:16 d8d76fd02f46: Pulling fs layer 04:20:16 fa31f396de31: Pulling fs layer 04:20:16 370296b7ddb6: Waiting 04:20:16 7c6cee850709: Waiting 04:20:16 aa9baa53a306: Waiting 04:20:16 8b309c321861: Waiting 04:20:16 fa31f396de31: Waiting 04:20:16 30c4a7721957: Verifying Checksum 04:20:16 30c4a7721957: Download complete 04:20:16 ea60b727a1ce: Verifying Checksum 04:20:16 ea60b727a1ce: Download complete 04:20:16 7c6cee850709: Verifying Checksum 04:20:16 7c6cee850709: Download complete 04:20:16 aa9baa53a306: Verifying Checksum 04:20:16 aa9baa53a306: Download complete 04:20:16 2408cc74d12b: Download complete 04:20:16 8b309c321861: Download complete 04:20:16 2408cc74d12b: Pull complete 04:20:16 ea60b727a1ce: Pull complete 04:20:16 30c4a7721957: Pull complete 04:20:16 fa31f396de31: Verifying Checksum 04:20:16 fa31f396de31: Download complete 04:20:17 370296b7ddb6: Verifying Checksum 04:20:17 370296b7ddb6: Download complete 04:20:17 d8d76fd02f46: Download complete 04:20:21 370296b7ddb6: Pull complete 04:20:21 7c6cee850709: Pull complete 04:20:21 aa9baa53a306: Pull complete 04:20:21 8b309c321861: Pull complete 04:20:22 d8d76fd02f46: Pull complete 04:20:23 fa31f396de31: Pull complete 04:20:23 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:20:23 ---> cef68f9685f8 04:20:23 Step 3/11 : ARG MAKE=make build 04:20:26 ---> Running in 34e4911bb139 04:20:26 Removing intermediate container 34e4911bb139 04:20:26 ---> 2a5089b9d2ea 04:20:26 Step 4/11 : WORKDIR /device-sdk-go 04:20:26 ---> Running in 0cb51e287c11 04:20:26 Removing intermediate container 0cb51e287c11 04:20:26 ---> 3f83d076c4f5 04:20:26 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:26 ---> Running in d5cf2e92c3ff 04:20:26 Removing intermediate container d5cf2e92c3ff 04:20:26 ---> caf88b229807 04:20:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:26 ---> Running in 35c3b3a5f027 04:20:27 Removing intermediate container 35c3b3a5f027 04:20:27 ---> 3f7a14aa6cdc 04:20:27 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:20:27 ---> Running in 87d96f15ad83 04:20:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:20:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:20:28 Still waiting to schedule task 04:20:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:20:29 OK: 211 MiB in 51 packages 04:20:29 Removing intermediate container 87d96f15ad83 04:20:29 ---> 4724b541e9d3 04:20:29 Step 8/11 : COPY go.mod vendor* ./ 04:20:29 ---> 2a54016f1c26 04:20:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:29 ---> Running in 7c556f15a5d6 04:20:51 Removing intermediate container 7c556f15a5d6 04:20:51 ---> 14b53ee96daf 04:20:51 Step 10/11 : COPY . . 04:20:51 ---> f362a4b4c93b 04:20:51 Step 11/11 : RUN ${MAKE} 04:20:51 ---> Running in 515534ab4839 04:20:51 noop 04:20:51 Removing intermediate container 515534ab4839 04:20:51 ---> 40e92eafef65 04:20:51 Successfully built 40e92eafef65 04:20:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:51 + docker inspect -f . ci-base-image-x86_64 04:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:51 prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container 04:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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:20:52 $ docker top 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:52 + go version 04:20:52 go version go1.18.3 linux/amd64 [Pipeline] } 04:20:52 $ docker stop --time=1 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f 04:20:53 $ docker rm -f 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:54 + docker inspect -f . ci-base-image-x86_64 04:20:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:54 prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container 04:20:54 $ 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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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:20:55 $ docker top b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] fileExists [Pipeline] sh 04:20:55 + make test 04:20:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:21:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:21:35 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:21:35 GO111MODULE=on go vet ./... 04:21:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:35 ./bin/test-attribution-txt.sh 04:21:35 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:21:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:21:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:21:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:21:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:36 $ docker stop --time=1 b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 04:21:39 $ docker rm -f b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:41 + ls -al . 04:21:41 total 276 04:21:41 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 04:20 . 04:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:19 .. 04:21:41 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:19 .dockerignore 04:21:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:21 .git 04:21:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:19 .github 04:21:41 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:19 .gitignore 04:21:41 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:19 .golangci.yml 04:21:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:20 .semver 04:21:41 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:19 CHANGELOG.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:19 GOVERNANCE.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:19 Jenkinsfile 04:21:41 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:19 LICENSE 04:21:41 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:19 Makefile 04:21:41 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:19 OWNERS.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:19 README.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:20 VERSION 04:21:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:19 bin 04:21:41 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:21 coverage.out 04:21:41 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:19 example 04:21:41 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:19 go.mod 04:21:41 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:19 go.sum 04:21:41 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:19 internal 04:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:19 openapi 04:21:41 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:19 pkg 04:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:19 snap 04:21:41 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:41 + 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=ca1effda2e49e13bc8030218052c86e178bc40c3 --label arch=amd64 --label version=0.0.0 . 04:21:41 Sending build context to Docker daemon 10.04MB 04:21:41 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:21:41 Step 2/25 : FROM ${BASE} AS builder 04:21:41 ---> 40e92eafef65 04:21:41 Step 3/25 : ARG MAKE=make build 04:21:41 ---> Running in 3cb2f752d12b 04:21:41 Removing intermediate container 3cb2f752d12b 04:21:41 ---> 830b2c8cb8cf 04:21:41 Step 4/25 : WORKDIR /device-sdk-go 04:21:41 ---> Running in 05e37f772b37 04:21:41 Removing intermediate container 05e37f772b37 04:21:41 ---> 3fd1ff903594 04:21:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:42 ---> Running in 0721837f5e56 04:21:42 Removing intermediate container 0721837f5e56 04:21:42 ---> 0e18334c980c 04:21:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:42 ---> Running in 6f38827094d8 04:21:42 Removing intermediate container 6f38827094d8 04:21:42 ---> 1462fc0e08fb 04:21:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:42 ---> Running in 51262f0850d4 04:21:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:21:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:21:44 OK: 211 MiB in 51 packages 04:21:44 Removing intermediate container 51262f0850d4 04:21:44 ---> f73d5b081c7a 04:21:44 Step 8/25 : COPY go.mod vendor* ./ 04:21:44 ---> f7cb5bfee830 04:21:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:44 ---> Running in a9cd7d0b2778 04:21:45 Removing intermediate container a9cd7d0b2778 04:21:45 ---> 5fe193d32b6e 04:21:45 Step 10/25 : COPY . . 04:21:45 ---> 9724a8a69f39 04:21:45 Step 11/25 : RUN ${MAKE} 04:21:45 ---> Running in c622b0732cb0 04:21:46 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:22:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:06 Removing intermediate container c622b0732cb0 04:22:06 ---> 0705f66e30b0 04:22:06 Step 12/25 : FROM alpine:3.16 04:22:07 3.16: Pulling from library/alpine 04:22:07 213ec9aee27d: Pulling fs layer 04:22:07 213ec9aee27d: Verifying Checksum 04:22:07 213ec9aee27d: Download complete 04:22:07 213ec9aee27d: Pull complete 04:22:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:22:07 Status: Downloaded newer image for alpine:3.16 04:22:07 ---> 9c6f07244728 04:22:07 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:22:08 ---> Running in 52a09923998f 04:22:08 Removing intermediate container 52a09923998f 04:22:08 ---> 97f91cb90014 04:22:08 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:08 ---> Running in 6e5c7fb95c5f 04:22:08 Removing intermediate container 6e5c7fb95c5f 04:22:08 ---> 37dbf8edda22 04:22:08 Step 15/25 : RUN apk add --update --no-cache zeromq 04:22:08 ---> Running in b5e99a224b81 04:22:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:22:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:22:10 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:22:10 (2/5) Installing libsodium (1.0.18-r0) 04:22:10 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:22:10 (4/5) Installing libzmq (4.3.4-r0) 04:22:10 (5/5) Installing zeromq (4.3.4-r0) 04:22:10 Executing busybox-1.35.0-r17.trigger 04:22:10 OK: 8 MiB in 19 packages 04:22:10 Removing intermediate container b5e99a224b81 04:22:10 ---> d4dc0113daf6 04:22:10 Step 16/25 : WORKDIR / 04:22:10 ---> Running in bbb698b8e897 04:22:10 Removing intermediate container bbb698b8e897 04:22:10 ---> 88ee374ff654 04:22:10 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:11 ---> 2741c0607f4c 04:22:11 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:11 ---> 9f33cc4a3ff4 04:22:11 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:12 ---> 2f456ec66555 04:22:12 Step 20/25 : EXPOSE 59999 04:22:12 ---> Running in e9e3a6ebfab6 04:22:12 Removing intermediate container e9e3a6ebfab6 04:22:12 ---> 788df3c0360b 04:22:12 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:22:12 ---> Running in 71315d0a1b2a 04:22:12 Removing intermediate container 71315d0a1b2a 04:22:12 ---> efdf5b6973f8 04:22:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:12 ---> Running in d8832f25b08e 04:22:12 Removing intermediate container d8832f25b08e 04:22:12 ---> d28904a9673a 04:22:12 Step 23/25 : LABEL arch=amd64 04:22:12 ---> Running in 495afebc337f 04:22:12 Removing intermediate container 495afebc337f 04:22:12 ---> ead0246cf954 04:22:12 Step 24/25 : LABEL git_sha=ca1effda2e49e13bc8030218052c86e178bc40c3 04:22:12 ---> Running in fa8098412922 04:22:12 Removing intermediate container fa8098412922 04:22:12 ---> 975a9d6d3fbb 04:22:12 Step 25/25 : LABEL version=0.0.0 04:22:12 ---> Running in ce94a3290fd8 04:22:12 Removing intermediate container ce94a3290fd8 04:22:12 ---> d3e42445b460 04:22:12 [Warning] One or more build-args [ARCH] were not consumed 04:22:12 Successfully built d3e42445b460 04:22:12 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:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:13 04:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:13 latest: Pulling from edgex-lftools-log-publisher 04:22:13 5eb5b503b376: Pulling fs layer 04:22:13 5c69ac0246d0: Pulling fs layer 04:22:13 ec43610c2a17: Pulling fs layer 04:22:13 3a2ae6a8a46f: Pulling fs layer 04:22:13 33b1e0a273af: Pulling fs layer 04:22:13 5d3b04190fa2: Pulling fs layer 04:22:13 2f39f015ded8: Pulling fs layer 04:22:13 3a2ae6a8a46f: Waiting 04:22:13 33b1e0a273af: Waiting 04:22:13 5d3b04190fa2: Waiting 04:22:13 2f39f015ded8: Waiting 04:22:13 5c69ac0246d0: Download complete 04:22:13 3a2ae6a8a46f: Verifying Checksum 04:22:13 3a2ae6a8a46f: Download complete 04:22:13 33b1e0a273af: Verifying Checksum 04:22:13 33b1e0a273af: Download complete 04:22:14 5d3b04190fa2: Verifying Checksum 04:22:14 5d3b04190fa2: Download complete 04:22:14 ec43610c2a17: Verifying Checksum 04:22:14 ec43610c2a17: Download complete 04:22:14 5eb5b503b376: Verifying Checksum 04:22:14 5eb5b503b376: Download complete 04:22:14 2f39f015ded8: Download complete 04:22:15 5eb5b503b376: Pull complete 04:22:15 5c69ac0246d0: Pull complete 04:22:15 ec43610c2a17: Pull complete 04:22:15 3a2ae6a8a46f: Pull complete 04:22:15 33b1e0a273af: Pull complete 04:22:15 5d3b04190fa2: Pull complete 04:22:20 2f39f015ded8: Pull complete 04:22:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:20 prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container 04:22:20 $ 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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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:22:23 $ docker top 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:23 ---> job-cost.sh 04:22:23 lf-activate-venv: SKIPPING 04:22:23 INFO: No Stack... 04:22:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:24 INFO: Archiving Costs [Pipeline] sh 04:22:24 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/cost.csv 04:22:24 + cut -d, -f6 [Pipeline] lock 04:22:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] 04:22:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] did not exist. Created. 04:22:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:25 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:25 Stashed 1 file(s) [Pipeline] } 04:22:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:25 $ docker stop --time=1 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 04:22:26 $ docker rm -f 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:24:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5995 in /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] { [Pipeline] ws 04:24:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:24:48 The recommended git tool is: git 04:24:54 using credential edgex-jenkins-ssh 04:24:54 Cloning the remote Git repository 04:24:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:24:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:24:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:54 > git --version # timeout=10 04:24:54 > git --version # 'git version 2.25.1' 04:24:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:54 Verifying host key using known hosts file 04:24: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:24:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:24:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:57 Verifying host key using known hosts file 04:24:57 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:24:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1224/head:refs/remotes/origin/PR-1224 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:24:57 Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit ca1effda2e49e13bc8030218052c86e178bc40c3 04:24:58 Merge succeeded, producing ca1effda2e49e13bc8030218052c86e178bc40c3 04:24:58 Checking out Revision ca1effda2e49e13bc8030218052c86e178bc40c3 (PR-1224) 04:24:58 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:24:58 > git --version # timeout=10 04:24:58 > git --version # 'git version 2.25.1' 04:24:58 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 04:24:57 > git config core.sparsecheckout # timeout=10 04:24:57 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 04:24:58 > git remote # timeout=10 04:24:58 > git config --get remote.origin.url # timeout=10 04:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:58 Verifying host key using known hosts file 04:24:58 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:24:58 > git merge 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 04:24:58 > git rev-parse HEAD^{commit} # timeout=10 04:24:58 > git config core.sparsecheckout # timeout=10 04:24:58 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:24:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:59 Dload Upload Total Spent Left Speed 04:24:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 98453 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh 04:25:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:25:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:25:00 + sudo tee /etc/docker/daemon.new 04:25:00 { 04:25:00 "registry-mirrors": [ 04:25:00 "https://nexus3.edgexfoundry.org:10001" 04:25:00 ], 04:25:00 "bip": "10.250.0.254/24", 04:25:00 "hosts": [ 04:25:00 "tcp://0.0.0.0:5555", 04:25:00 "unix:///var/run/docker.sock" 04:25:00 ], 04:25:00 "mtu": 1458, 04:25:00 "selinux-enabled": true, 04:25:00 "seccomp-profile": "/etc/docker/seccomp.json" 04:25:00 } [Pipeline] sh 04:25:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:25:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:19 provisioning config files... 04:25:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7320414080571947966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:20 ---> docker-login.sh 04:25:20 nexus3.edgexfoundry.org:10001 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10002 04:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:21 Configure a credential helper to remove this warning. See 04:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:21 04:25:21 Login Succeeded 04:25:21 nexus3.edgexfoundry.org:10003 04:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:21 Configure a credential helper to remove this warning. See 04:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:21 04:25:21 Login Succeeded 04:25:21 nexus3.edgexfoundry.org:10004 04:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:22 Configure a credential helper to remove this warning. See 04:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:22 04:25:22 Login Succeeded 04:25:22 docker.io 04:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:22 Configure a credential helper to remove this warning. See 04:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:22 04:25:22 Login Succeeded 04:25:22 ---> docker-login.sh ends [Pipeline] } 04:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:25:23 ========================================================= 04:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:25:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:23 + 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:25:24 Sending build context to Docker daemon 5.339MB 04:25:24 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:25:24 Step 2/11 : FROM ${BASE} AS builder 04:25:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:25:24 b3c136eddcbf: Pulling fs layer 04:25:24 c0a3192eca97: Pulling fs layer 04:25:24 a050256f5b6f: Pulling fs layer 04:25:24 656be50a0ddc: Pulling fs layer 04:25:24 2bbca73fdf42: Pulling fs layer 04:25:24 f607e4fc86c3: Pulling fs layer 04:25:24 4d572c569a2c: Pulling fs layer 04:25:24 fcf976331f73: Pulling fs layer 04:25:24 f607e4fc86c3: Waiting 04:25:24 4d572c569a2c: Waiting 04:25:24 fcf976331f73: Waiting 04:25:24 656be50a0ddc: Waiting 04:25:24 2bbca73fdf42: Waiting 04:25:24 a050256f5b6f: Download complete 04:25:24 c0a3192eca97: Download complete 04:25:24 2bbca73fdf42: Verifying Checksum 04:25:24 2bbca73fdf42: Download complete 04:25:24 f607e4fc86c3: Verifying Checksum 04:25:24 f607e4fc86c3: Download complete 04:25:24 b3c136eddcbf: Verifying Checksum 04:25:24 b3c136eddcbf: Download complete 04:25:25 b3c136eddcbf: Pull complete 04:25:25 fcf976331f73: Verifying Checksum 04:25:25 fcf976331f73: Download complete 04:25:26 c0a3192eca97: Pull complete 04:25:26 a050256f5b6f: Pull complete 04:25:26 4d572c569a2c: Verifying Checksum 04:25:26 4d572c569a2c: Download complete 04:25:27 656be50a0ddc: Verifying Checksum 04:25:27 656be50a0ddc: Download complete 04:25:39 656be50a0ddc: Pull complete 04:25:39 2bbca73fdf42: Pull complete 04:25:39 f607e4fc86c3: Pull complete 04:25:44 4d572c569a2c: Pull complete 04:25:47 fcf976331f73: Pull complete 04:25:47 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:25:47 ---> 3970a7415f9e 04:25:47 Step 3/11 : ARG MAKE=make build 04:25:49 ---> Running in 8ecf10a79158 04:25:49 Removing intermediate container 8ecf10a79158 04:25:49 ---> 001747152e98 04:25:49 Step 4/11 : WORKDIR /device-sdk-go 04:25:49 ---> Running in 3bbb979046a2 04:25:50 Removing intermediate container 3bbb979046a2 04:25:50 ---> 9167559c6f3d 04:25:50 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:25:50 ---> Running in d756a235e6a6 04:25:50 Removing intermediate container d756a235e6a6 04:25:50 ---> 7359c1ef4afb 04:25:50 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:50 ---> Running in e0f30677f081 04:25:52 Removing intermediate container e0f30677f081 04:25:52 ---> 4e9bb25549b7 04:25:52 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:25:52 ---> Running in 41758f3b2f43 04:25:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:25:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:25:55 OK: 221 MiB in 51 packages 04:25:56 Removing intermediate container 41758f3b2f43 04:25:56 ---> 9f203877a44c 04:25:56 Step 8/11 : COPY go.mod vendor* ./ 04:25:56 ---> 01b43912b0aa 04:25:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:57 ---> Running in 00ba8bba4328 04:26:53 Removing intermediate container 00ba8bba4328 04:26:53 ---> 5fb13734c4e6 04:26:53 Step 10/11 : COPY . . 04:26:53 ---> 5fd788ffd102 04:26:53 Step 11/11 : RUN ${MAKE} 04:26:53 ---> Running in 464724efa669 04:26:53 noop 04:26:53 Removing intermediate container 464724efa669 04:26:53 ---> 77520cb730a9 04:26:53 Successfully built 77520cb730a9 04:26:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:54 + docker inspect -f . ci-base-image-arm64 04:26:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:54 prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container 04:26:54 $ 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:26:55 $ docker top d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:56 + go version 04:26:56 go version go1.18.3 linux/arm64 [Pipeline] } 04:26:56 $ docker stop --time=1 d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c 04:26:58 $ docker rm -f d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:59 + docker inspect -f . ci-base-image-arm64 04:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:59 prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container 04:26:59 $ 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:27:00 $ docker top 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:01 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:27:02 + make test 04:27:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:27:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:30:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.529s coverage: 27.6% of statements 04:30:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.556s coverage: 78.9% of statements 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:30:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.589s coverage: 60.0% of statements 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:30:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:30:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.650s coverage: 54.4% of statements 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:30:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.566s coverage: 65.1% of statements 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:30:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:30:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.672s coverage: 89.2% of statements 04:30:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:30:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements 04:30:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:30:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:30:26 GO111MODULE=on go vet ./... 04:32:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:32:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:32:17 ./bin/test-attribution-txt.sh 04:32:17 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:32:17 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:32:17 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:32:17 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:32:18 $ docker stop --time=1 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 04:32:19 $ docker rm -f 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 [Pipeline] // withDockerContainer [Pipeline] sh 04:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:21 Warning: overwriting stash ‘coverage-report’ 04:32:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:22 + ls -al . 04:32:22 total 272 04:32:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 04:27 . 04:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:24 .. 04:32:22 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:24 .dockerignore 04:32:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:24 .git 04:32:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:24 .github 04:32:22 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:24 .gitignore 04:32:22 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:24 .golangci.yml 04:32:22 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:24 CHANGELOG.md 04:32:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:24 GOVERNANCE.md 04:32:22 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:24 Jenkinsfile 04:32:22 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:24 LICENSE 04:32:22 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:24 Makefile 04:32:22 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:24 OWNERS.md 04:32:22 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:24 README.md 04:32:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:20 VERSION 04:32:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:24 bin 04:32:22 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:30 coverage.out 04:32:22 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:24 example 04:32:22 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:24 go.mod 04:32:22 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:24 go.sum 04:32:22 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:24 internal 04:32:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:24 openapi 04:32:22 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:24 pkg 04:32:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:24 snap 04:32:22 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:23 + 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=ca1effda2e49e13bc8030218052c86e178bc40c3 --label arch=arm64 --label version=0.0.0 . 04:32:23 Sending build context to Docker daemon 5.441MB 04:32:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:32:23 Step 2/25 : FROM ${BASE} AS builder 04:32:23 ---> 77520cb730a9 04:32:23 Step 3/25 : ARG MAKE=make build 04:32:23 ---> Running in 38334e8efe5c 04:32:24 Removing intermediate container 38334e8efe5c 04:32:24 ---> af402bef83a7 04:32:24 Step 4/25 : WORKDIR /device-sdk-go 04:32:24 ---> Running in 56a2dd4e8fd8 04:32:24 Removing intermediate container 56a2dd4e8fd8 04:32:24 ---> 7b3e9fa0ea9b 04:32:24 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:32:24 ---> Running in 1a8bde978ab3 04:32:24 Removing intermediate container 1a8bde978ab3 04:32:24 ---> daa97e6024ce 04:32:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:32:24 ---> Running in 0339e75b2314 04:32:26 Removing intermediate container 0339e75b2314 04:32:26 ---> 48997543ca6c 04:32:26 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:32:26 ---> Running in 726ccc1c6d03 04:32:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:32:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:32:29 OK: 221 MiB in 51 packages 04:32:30 Removing intermediate container 726ccc1c6d03 04:32:30 ---> 9cfb7ed062de 04:32:30 Step 8/25 : COPY go.mod vendor* ./ 04:32:31 ---> 5ba0a08b2b71 04:32:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:31 ---> Running in 6432e5357b18 04:32:32 Removing intermediate container 6432e5357b18 04:32:32 ---> 2218d3cd9480 04:32:32 Step 10/25 : COPY . . 04:32:34 ---> c4fb09751942 04:32:34 Step 11/25 : RUN ${MAKE} 04:32:34 ---> Running in 8471b97762f1 04:32:35 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:35:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:35:12 Removing intermediate container 8471b97762f1 04:35:12 ---> 42a09ad6b525 04:35:12 Step 12/25 : FROM alpine:3.16 04:35:12 3.16: Pulling from library/alpine 04:35:12 9b18e9b68314: Pulling fs layer 04:35:12 9b18e9b68314: Verifying Checksum 04:35:12 9b18e9b68314: Download complete 04:35:12 9b18e9b68314: Pull complete 04:35:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:35:12 Status: Downloaded newer image for alpine:3.16 04:35:12 ---> a6215f271958 04:35:12 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:35:12 ---> Running in fc94b99ad11b 04:35:12 Removing intermediate container fc94b99ad11b 04:35:12 ---> bf4c0f93992f 04:35:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:35:12 ---> Running in 741c57c0834e 04:35:12 Removing intermediate container 741c57c0834e 04:35:12 ---> 2f71eb1a752d 04:35:12 Step 15/25 : RUN apk add --update --no-cache zeromq 04:35:12 ---> Running in 99d4e0da713a 04:35:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:35:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:35:14 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:35:14 (2/5) Installing libsodium (1.0.18-r0) 04:35:14 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:35:15 (4/5) Installing libzmq (4.3.4-r0) 04:35:15 (5/5) Installing zeromq (4.3.4-r0) 04:35:15 Executing busybox-1.35.0-r17.trigger 04:35:15 OK: 8 MiB in 19 packages 04:35:16 Removing intermediate container 99d4e0da713a 04:35:16 ---> d5d77a00b504 04:35:16 Step 16/25 : WORKDIR / 04:35:16 ---> Running in 3ae360ef5bd6 04:35:16 Removing intermediate container 3ae360ef5bd6 04:35:16 ---> e8c8d8818599 04:35:16 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:35:17 ---> 7984ddeffe41 04:35:17 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:35:18 ---> ccc22845a87e 04:35:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:35:19 ---> 508c8897e64c 04:35:19 Step 20/25 : EXPOSE 59999 04:35:19 ---> Running in 00936fdfb0fb 04:35:19 Removing intermediate container 00936fdfb0fb 04:35:19 ---> ef3864d2fba7 04:35:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:35:19 ---> Running in 021bff26d800 04:35:20 Removing intermediate container 021bff26d800 04:35:20 ---> 9ad82c5d71c0 04:35:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:35:20 ---> Running in d7a729de8e68 04:35:20 Removing intermediate container d7a729de8e68 04:35:20 ---> a996f9a7f912 04:35:20 Step 23/25 : LABEL arch=arm64 04:35:20 ---> Running in dae046bbf461 04:35:20 Removing intermediate container dae046bbf461 04:35:20 ---> 9b83e6df3272 04:35:20 Step 24/25 : LABEL git_sha=ca1effda2e49e13bc8030218052c86e178bc40c3 04:35:21 ---> Running in 48234f513bec 04:35:21 Removing intermediate container 48234f513bec 04:35:21 ---> cec9f903ce9d 04:35:21 Step 25/25 : LABEL version=0.0.0 04:35:21 ---> Running in 96f1ab120f2b 04:35:21 Removing intermediate container 96f1ab120f2b 04:35:21 ---> b54304d48a9a 04:35:21 [Warning] One or more build-args [ARCH] were not consumed 04:35:21 Successfully built b54304d48a9a 04:35:21 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:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:22 04:35:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:24 arm64: Pulling from edgex-lftools-log-publisher 04:35:24 8998bd30e6a1: Pulling fs layer 04:35:24 04944245beec: Pulling fs layer 04:35:24 699f458cf7ca: Pulling fs layer 04:35:24 765212b225bb: Pulling fs layer 04:35:24 f23df028b6ca: Pulling fs layer 04:35:24 d65c8cfc05b1: Pulling fs layer 04:35:24 2437ff75d9bd: Pulling fs layer 04:35:24 765212b225bb: Waiting 04:35:24 f23df028b6ca: Waiting 04:35:24 d65c8cfc05b1: Waiting 04:35:24 2437ff75d9bd: Waiting 04:35:24 04944245beec: Verifying Checksum 04:35:24 04944245beec: Download complete 04:35:24 765212b225bb: Download complete 04:35:24 f23df028b6ca: Verifying Checksum 04:35:24 f23df028b6ca: Download complete 04:35:24 d65c8cfc05b1: Verifying Checksum 04:35:24 d65c8cfc05b1: Download complete 04:35:24 699f458cf7ca: Verifying Checksum 04:35:24 699f458cf7ca: Download complete 04:35:24 8998bd30e6a1: Verifying Checksum 04:35:24 8998bd30e6a1: Download complete 04:35:27 2437ff75d9bd: Verifying Checksum 04:35:27 2437ff75d9bd: Download complete 04:35:28 8998bd30e6a1: Pull complete 04:35:29 04944245beec: Pull complete 04:35:30 699f458cf7ca: Pull complete 04:35:31 765212b225bb: Pull complete 04:35:32 f23df028b6ca: Pull complete 04:35:32 d65c8cfc05b1: Pull complete 04:35:47 2437ff75d9bd: Pull complete 04:35:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:35:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:47 prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container 04:35:47 $ 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:35:50 $ docker top f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:51 ---> job-cost.sh 04:35:51 lf-activate-venv: SKIPPING 04:35:51 INFO: No Stack... 04:35:51 INFO: Retrieving Pricing Info for: v3-standard-4 04:35:52 INFO: Archiving Costs [Pipeline] sh 04:35:53 + cut -d, -f6 04:35:53 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:35:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] 04:35:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] did not exist. Created. 04:35:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:35:54 /w/workspace/device-sdk-go/1@tmp/durable-21f9348f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:35:55 + echo total: 0.10999999940395355 [Pipeline] stash 04:35:55 Warning: overwriting stash ‘stack-cost’ 04:35:55 Stashed 1 file(s) [Pipeline] } 04:35:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:35:55 $ docker stop --time=1 f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd 04:35:56 $ docker rm -f f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd [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:35:57 provisioning config files... 04:35:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config7976807964505679025tmp [Pipeline] { [Pipeline] sh 04:35:58 + set +x 04:35:58 + curl -s https://codecov.io/bash 04:35:58 + bash -s -- 04:35:58 04:35:58 _____ _ 04:35:58 / ____| | | 04:35:58 | | ___ __| | ___ ___ _____ __ 04:35:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:35:58 | |___| (_) | (_| | __/ (_| (_) \ V / 04:35:58 \_____\___/ \__,_|\___|\___\___/ \_/ 04:35:58 Bash-1.0.6 04:35:58 04:35:58 04:35:58 ==> git version 2.25.1 found 04:35:58 ==> 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:35:58 Release-Date: 2020-01-08 04:35:58 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:35:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:35:58 ==> Jenkins CI detected. 04:35:58 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1224 04:35:58 project root: . 04:35:58 --> token set from env 04:35:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:35:58 ==> Running gcov in . (disable via -X gcov) 04:35:58 ==> Python coveragepy not found 04:35:58 ==> Searching for coverage reports in: 04:35:58 + . 04:35:58 -> Found 1 reports 04:35:58 ==> Detecting git/mercurial file structure 04:35:58 ==> Reading reports 04:35:58 + ./coverage.out bytes=100927 04:35:58 ==> Appending adjustments 04:35:58 https://docs.codecov.io/docs/fixing-reports 04:35:58 + Found adjustments 04:35:58 ==> Gzipping contents 04:35:58 16K /tmp/codecov.BzSPHU.gz 04:35:58 ==> Uploading reports 04:35:58 url: https://codecov.io 04:35:58 query: branch=PR-1224&commit=ca1effda2e49e13bc8030218052c86e178bc40c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= 04:35:58 -> Pinging Codecov 04:35:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1224&commit=ca1effda2e49e13bc8030218052c86e178bc40c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= 04:35:59 -> Uploading to 04:35:59 https://storage.googleapis.com/codecov/v4/raw/2022-09-30/7E55EF52A471D76F132DFD9A03CDDE97/ca1effda2e49e13bc8030218052c86e178bc40c3/86b9261b-e21f-4b1a-849b-50cf7c8b6635.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220930T043558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93e7b9d6275742edbf5edc4715976e1c2362d10bcb8cfba10b849cece40f865c 04:35:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:35:59 Dload Upload Total Spent Left Speed 04:35:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14603 0 0 100 14603 0 71583 --:--:-- --:--:-- --:--:-- 71234 100 14603 0 0 100 14603 0 67606 --:--:-- --:--:-- --:--:-- 67294 04:35:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] } 04:35:59 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:36:01 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives ] 04:36:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives 04:36:01 total 16 04:36:01 drwxr-xr-x 3 root root 4096 Sep 30 04:22 . 04:36:01 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. 04:36:01 drwxr-xr-x 2 root root 4096 Sep 30 04:22 cost 04:36:01 -rw-r--r-- 1 root root 86 Sep 30 04:22 cost.csv 04:36:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives 04:36:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives 04:36:01 total 16 04:36:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:22 . 04:36:01 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. 04:36:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 04:22 cost 04:36:01 -rw-r--r-- 1 jenkins jenkins 86 Sep 30 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:36:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:36:02 ---> package-listing.sh 04:36:02 ++ facter osfamily 04:36:02 ++ tr '[:upper:]' '[:lower:]' 04:36:02 + OS_FAMILY=debian 04:36:02 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1224 04:36:02 + START_PACKAGES=/tmp/packages_start.txt 04:36:02 + END_PACKAGES=/tmp/packages_end.txt 04:36:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:36:02 + PACKAGES=/tmp/packages_start.txt 04:36:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' 04:36:02 + PACKAGES=/tmp/packages_end.txt 04:36:02 + case "${OS_FAMILY}" in 04:36:02 + dpkg -l 04:36:02 + grep '^ii' 04:36:02 + '[' -f /tmp/packages_start.txt ']' 04:36:02 + '[' -f /tmp/packages_end.txt ']' 04:36:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:36:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' 04:36:02 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/ 04:36:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/ [Pipeline] echo 04:36:02 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-1224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:36:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:03 prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container 04:36:03 $ 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-1224/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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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:36:03 $ docker top 873ed617bfb26709b563c28cf4eff6e3fe98d2a05d05b4a7fbe42d99bdf82402 -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:04 + touch /tmp/pre-build-complete [Pipeline] sh 04:36:04 + mkdir -p /var/log/sysstat [Pipeline] sh 04:36:04 + ls /var/log/sa-host 04:36:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:05 provisioning config files... 04:36:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config6856896368863294958tmp [Pipeline] { [Pipeline] echo 04:36:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:36:05 ---> create-netrc.sh [Pipeline] } 04:36:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:36:05 ---> python-tools-install.sh [Pipeline] echo 04:36:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:36:06 ---> sudo-logs.sh 04:36:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:36:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:36:06 ---> job-cost.sh 04:36:06 lf-activate-venv: SKIPPING 04:36:06 DEBUG: total: 0.2199999988079071 04:36:06 INFO: Retrieving Stack Cost... 04:36:06 INFO: Retrieving Pricing Info for: v3-standard-8 04:36:07 INFO: Archiving Costs [Pipeline] echo 04:36:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:36:07 ---> logs-deploy.sh 04:36:07 lf-activate-venv: SKIPPING 04:36:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1224/1 04:36:07 INFO: archiving workspace using pattern(s): 04:36:08 Archives upload complete. 04:36:08 INFO: archiving logs to Nexus