Pull request #1265 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d91c062294c7ee7a23c53d2a319ebf33624ccb03+bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb (8d8ac093f676b4be42f11609dea3cef0bf38f70b) 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-ssh13841514867140164371.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6596647482091595788.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17099350316785808991.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12517473021443938301.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1173924165929677317.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-120885’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-121036’ is offline ‘prd-ubuntu20.04-docker-8c-8g-121037’ is offline Running on prd-ubuntu20.04-docker-8c-8g-121037 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [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-1265 # 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/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb into PR head commit d91c062294c7ee7a23c53d2a319ebf33624ccb03 Merge succeeded, producing d91c062294c7ee7a23c53d2a319ebf33624ccb03 Checking out Revision d91c062294c7ee7a23c53d2a319ebf33624ccb03 (PR-1265) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:23:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:23:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:23:33 ========================================================= 04:23:33 EdgeX Global Pipelines Version Info 04:23:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d91c062294c7ee7a23c53d2a319ebf33624ccb03 # 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 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d91c062294c7ee7a23c53d2a319ebf33624ccb03 # timeout=10 > git rev-list --no-walk 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 04:23:33 ------------------- 04:23:33 stable info: 04:23:33 ------------------- 04:23:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:23:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:23:33 Message: update stable to v1.0.244 04:23:34 ------------------- 04:23:34 experimental info: 04:23:34 ------------------- 04:23:34 Commited By: **** collab-it+edgex@linuxfoundation.org 04:23:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:23:34 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1265 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1265 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1265 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d91c062294c7ee7a23c53d2a319ebf33624ccb03 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d91c062 [Pipeline] echo 04:23:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:34 provisioning config files... 04:23:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config861632624124649889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:35 ---> docker-login.sh 04:23:35 nexus3.edgexfoundry.org:10001 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10002 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10003 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 nexus3.edgexfoundry.org:10004 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 docker.io 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 ---> docker-login.sh ends [Pipeline] } 04:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:23:37 + git rev-list -1 --merges d91c062294c7ee7a23c53d2a319ebf33624ccb03~1..d91c062294c7ee7a23c53d2a319ebf33624ccb03 [Pipeline] echo 04:23:37 -----------> git rev-list -1 --merges d91c062294c7ee7a23c53d2a319ebf33624ccb03~1..d91c062294c7ee7a23c53d2a319ebf33624ccb03 d91c062294c7ee7a23c53d2a319ebf33624ccb03 [false] [Pipeline] sh 04:23:37 + git log --format=format:%s -1 d91c062294c7ee7a23c53d2a319ebf33624ccb03 [Pipeline] echo 04:23:37 ========================================================= 04:23:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:23:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:37 + git log --format=format:%s -1 d91c062294c7ee7a23c53d2a319ebf33624ccb03 [Pipeline] echo 04:23:37 [semverPrep] GIT_COMMIT: d91c062294c7ee7a23c53d2a319ebf33624ccb03, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 04:23:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:23:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:23:38 + grep -v github /etc/ssh/ssh_known_hosts 04:23:38 + [ -e /tmp/ssh_known_hosts ] 04:23:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:23:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:23:38 + sudo tee -a /etc/ssh/ssh_known_hosts 04:23:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:38 04:23:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:23:38 b85a868b505f: Pulling fs layer 04:23:38 e2be974225ed: Pulling fs layer 04:23:38 339a4e72a1f5: Pulling fs layer 04:23:38 988bab9f4d93: Pulling fs layer 04:23:38 1469e6f7b9e6: Pulling fs layer 04:23:38 eaf3925da568: Pulling fs layer 04:23:38 bab4dde63d76: Pulling fs layer 04:23:38 bde34c3a00c8: Pulling fs layer 04:23:38 b352a97aabf1: Pulling fs layer 04:23:38 4872d77fe225: Pulling fs layer 04:23:38 5851b861e8e6: Pulling fs layer 04:23:38 eaf3925da568: Waiting 04:23:38 bab4dde63d76: Waiting 04:23:38 1469e6f7b9e6: Waiting 04:23:38 4872d77fe225: Waiting 04:23:38 5851b861e8e6: Waiting 04:23:38 bde34c3a00c8: Waiting 04:23:38 988bab9f4d93: Waiting 04:23:38 b352a97aabf1: Waiting 04:23:38 e2be974225ed: Verifying Checksum 04:23:38 e2be974225ed: Download complete 04:23:38 988bab9f4d93: Verifying Checksum 04:23:38 988bab9f4d93: Download complete 04:23:38 1469e6f7b9e6: Verifying Checksum 04:23:38 1469e6f7b9e6: Download complete 04:23:38 339a4e72a1f5: Verifying Checksum 04:23:38 339a4e72a1f5: Download complete 04:23:38 eaf3925da568: Download complete 04:23:38 bde34c3a00c8: Verifying Checksum 04:23:38 bde34c3a00c8: Download complete 04:23:38 b352a97aabf1: Download complete 04:23:38 4872d77fe225: Verifying Checksum 04:23:38 4872d77fe225: Download complete 04:23:38 5851b861e8e6: Download complete 04:23:38 b85a868b505f: Download complete 04:23:39 bab4dde63d76: Verifying Checksum 04:23:39 bab4dde63d76: Download complete 04:23:40 b85a868b505f: Pull complete 04:23:40 e2be974225ed: Pull complete 04:23:40 339a4e72a1f5: Pull complete 04:23:40 988bab9f4d93: Pull complete 04:23:41 1469e6f7b9e6: Pull complete 04:23:41 eaf3925da568: Pull complete 04:23:42 bab4dde63d76: Pull complete 04:23:42 bde34c3a00c8: Pull complete 04:23:43 b352a97aabf1: Pull complete 04:23:43 4872d77fe225: Pull complete 04:23:43 5851b861e8e6: Pull complete 04:23:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:43 prd-ubuntu20.04-docker-8c-8g-121037 does not seem to be running inside a container 04:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@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-devops/py-git-semver:0.1.4 cat 04:23:44 $ docker top 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c -eo pid,comm 04:23:44 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:23:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:44 [ssh-agent] Looking for ssh-agent implementation... 04:23:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:45 $ docker exec 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c ssh-agent 04:23:45 SSH_AUTH_SOCK=/tmp/ssh-AcMhpi7KfymT/agent.31 04:23:45 SSH_AGENT_PID=37 04:23:45 Running ssh-add (command line suppressed) 04:23:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_3838268262332349401.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_3838268262332349401.key) 04:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:45 + git tag --points-at HEAD [Pipeline] } 04:23:45 $ docker exec --env ******** --env ******** 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c ssh-agent -k 04:23:45 unset SSH_AUTH_SOCK; 04:23:45 unset SSH_AGENT_PID; 04:23:45 echo Agent pid 37 killed; 04:23:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:23:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:45 [ssh-agent] Looking for ssh-agent implementation... 04:23:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:45 $ docker exec 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c ssh-agent 04:23:46 SSH_AUTH_SOCK=/tmp/ssh-BTHhPsGw7lp0/agent.69 04:23:46 SSH_AGENT_PID=75 04:23:46 Running ssh-add (command line suppressed) 04:23:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_13259142998575490541.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_13259142998575490541.key) 04:23:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:46 + git semver init 04:23:46 2022-12-13 04:23:46,658 [run_init] DEBUG init version:0.0.0 force:False 04:23:46 2022-12-13 04:23:46,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver 04:23:46 2022-12-13 04:23:46,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver 04:23:46 2022-12-13 04:23:46,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265, universal_newlines=False, shell=None, istream=None) 04:23:48 2022-12-13 04:23:47,709 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.git/info/exclude 04:23:48 2022-12-13 04:23:47,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 with force:False 04:23:48 2022-12-13 04:23:47,710 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 04:23:48 2022-12-13 04:23:47,716 [execute] INFO git cat-file --batch-check 04:23:48 2022-12-13 04:23:47,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) 04:23:48 2022-12-13 04:23:47,724 [execute] INFO git cat-file --batch 04:23:48 2022-12-13 04:23:47,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) 04:23:48 2022-12-13 04:23:47,730 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 04:23:48 0.0.0 [Pipeline] } 04:23:48 $ docker exec --env ******** --env ******** 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c ssh-agent -k 04:23:48 unset SSH_AUTH_SOCK; 04:23:48 unset SSH_AGENT_PID; 04:23:48 echo Agent pid 75 killed; 04:23:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:48 + git semver [Pipeline] } 04:23:48 $ docker stop --time=1 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c 04:23:50 $ docker rm -f 4fc47f365e75e995b80b50b6ce19589fcd5e548379c4b0178a05e0c403863f9c [Pipeline] // withDockerContainer [Pipeline] sh 04:23:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:23:50 Stashed 1 file(s) [Pipeline] echo 04:23:50 [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:23:50 provisioning config files... 04:23:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config11964934328107390901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:51 ---> docker-login.sh 04:23:51 nexus3.edgexfoundry.org:10001 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 nexus3.edgexfoundry.org:10002 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 nexus3.edgexfoundry.org:10003 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 nexus3.edgexfoundry.org:10004 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 docker.io 04:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:51 Configure a credential helper to remove this warning. See 04:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:51 04:23:51 Login Succeeded 04:23:51 ---> docker-login.sh ends [Pipeline] } 04:23:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:51 ========================================================= 04:23:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:23:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:52 + 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:23:52 Sending build context to Docker daemon 10.42MB 04:23:52 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:23:52 Step 2/10 : FROM ${BASE} AS builder 04:23:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:52 213ec9aee27d: Pulling fs layer 04:23:52 4583459ba037: Pulling fs layer 04:23:52 93c1e223e6f2: Pulling fs layer 04:23:52 53926ce57604: Pulling fs layer 04:23:52 21b2b0c7a3f4: Pulling fs layer 04:23:52 22ff95d597cd: Pulling fs layer 04:23:52 12d6caf4c0d1: Pulling fs layer 04:23:52 96b7cbca73a9: Pulling fs layer 04:23:52 a7acece74701: Pulling fs layer 04:23:52 21b2b0c7a3f4: Waiting 04:23:52 12d6caf4c0d1: Waiting 04:23:52 22ff95d597cd: Waiting 04:23:52 a7acece74701: Waiting 04:23:52 96b7cbca73a9: Waiting 04:23:52 53926ce57604: Waiting 04:23:52 93c1e223e6f2: Verifying Checksum 04:23:52 93c1e223e6f2: Download complete 04:23:52 4583459ba037: Verifying Checksum 04:23:52 4583459ba037: Download complete 04:23:52 21b2b0c7a3f4: Download complete 04:23:52 22ff95d597cd: Verifying Checksum 04:23:52 22ff95d597cd: Download complete 04:23:52 213ec9aee27d: Verifying Checksum 04:23:52 213ec9aee27d: Download complete 04:23:52 12d6caf4c0d1: Verifying Checksum 04:23:52 12d6caf4c0d1: Download complete 04:23:52 213ec9aee27d: Pull complete 04:23:52 4583459ba037: Pull complete 04:23:52 93c1e223e6f2: Pull complete 04:23:52 a7acece74701: Verifying Checksum 04:23:52 a7acece74701: Download complete 04:23:53 96b7cbca73a9: Verifying Checksum 04:23:53 96b7cbca73a9: Download complete 04:23:53 53926ce57604: Verifying Checksum 04:23:53 53926ce57604: Download complete 04:23:57 53926ce57604: Pull complete 04:23:57 21b2b0c7a3f4: Pull complete 04:23:57 22ff95d597cd: Pull complete 04:23:57 12d6caf4c0d1: Pull complete 04:23:59 96b7cbca73a9: Pull complete 04:24:00 a7acece74701: Pull complete 04:24:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:24:00 ---> db6d94c90886 04:24:00 Step 3/10 : ARG MAKE=make build 04:24:02 ---> Running in 5cf6c55b1f39 04:24:02 Removing intermediate container 5cf6c55b1f39 04:24:02 ---> 871946161330 04:24:02 Step 4/10 : WORKDIR /device-sdk-go 04:24:02 ---> Running in d0d1eec57808 04:24:02 Removing intermediate container d0d1eec57808 04:24:02 ---> 773bb7e306bb 04:24:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:24:02 ---> Running in 1cd89408e068 04:24:02 Removing intermediate container 1cd89408e068 04:24:02 ---> 32319ca0b866 04:24:02 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:24:02 ---> Running in 40f9692bba10 04:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:24:03 OK: 211 MiB in 51 packages 04:24:03 Removing intermediate container 40f9692bba10 04:24:03 ---> f0dcfca02173 04:24:03 Step 7/10 : COPY go.mod vendor* ./ 04:24:04 ---> 6e976098e219 04:24:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:04 ---> Running in 16c469a59495 04:24:05 Still waiting to schedule task 04:24:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121035’ 04:24:26 Removing intermediate container 16c469a59495 04:24:26 ---> c518277ee7a2 04:24:26 Step 9/10 : COPY . . 04:24:26 ---> ff39c76cc7c3 04:24:26 Step 10/10 : RUN ${MAKE} 04:24:26 ---> Running in 21d9cdf3054c 04:24:26 noop 04:24:26 Removing intermediate container 21d9cdf3054c 04:24:26 ---> 71d261e3c72b 04:24:26 Successfully built 71d261e3c72b 04:24:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:26 + docker inspect -f . ci-base-image-x86_64 04:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:26 prd-ubuntu20.04-docker-8c-8g-121037 does not seem to be running inside a container 04:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:26 $ docker top bd0843402b666a6e5a302e9a935dfb073e028f706b924f7b9c83fd8b41744cd1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:27 + go version 04:24:27 go version go1.18.7 linux/amd64 [Pipeline] } 04:24:27 $ docker stop --time=1 bd0843402b666a6e5a302e9a935dfb073e028f706b924f7b9c83fd8b41744cd1 04:24:28 $ docker rm -f bd0843402b666a6e5a302e9a935dfb073e028f706b924f7b9c83fd8b41744cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:29 + docker inspect -f . ci-base-image-x86_64 04:24:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:29 prd-ubuntu20.04-docker-8c-8g-121037 does not seem to be running inside a container 04:24:29 $ 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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:29 $ docker top 3cf7d8a1ff492a55f458f5900871a1de52c52ff897f3c9fef622a2ca907cc750 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] fileExists [Pipeline] sh 04:24:30 + make test 04:24:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:24:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 73.1% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 54.4% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 65.1% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.7% of statements 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:25:06 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:25:06 GO111MODULE=on go vet ./... 04:25:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:25:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:25:07 ./bin/test-attribution-txt.sh 04:25:07 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:25:07 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:25:07 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:25:07 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:25:07 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:25:07 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:25:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:25:07 $ docker stop --time=1 3cf7d8a1ff492a55f458f5900871a1de52c52ff897f3c9fef622a2ca907cc750 04:25:10 $ docker rm -f 3cf7d8a1ff492a55f458f5900871a1de52c52ff897f3c9fef622a2ca907cc750 [Pipeline] // withDockerContainer [Pipeline] sh 04:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:12 + ls -al . 04:25:12 total 280 04:25:12 drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 04:24 . 04:25:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:23 .. 04:25:12 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:23 .dockerignore 04:25:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:24 .git 04:25:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:23 .github 04:25:12 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:23 .gitignore 04:25:12 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:23 .golangci.yml 04:25:12 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:23 .semver 04:25:12 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:23 CHANGELOG.md 04:25:12 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:23 GOVERNANCE.md 04:25:12 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:23 Jenkinsfile 04:25:12 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:23 LICENSE 04:25:12 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:23 Makefile 04:25:12 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:23 OWNERS.md 04:25:12 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:23 README.md 04:25:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:23 VERSION 04:25:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:23 bin 04:25:12 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:24 coverage.out 04:25:12 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:23 example 04:25:12 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:23 go.mod 04:25:12 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:23 go.sum 04:25:12 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:23 internal 04:25:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:23 openapi 04:25:12 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:23 pkg 04:25:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:23 snap 04:25:12 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:12 + 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=d91c062294c7ee7a23c53d2a319ebf33624ccb03 --label arch=amd64 --label version=0.0.0 . 04:25:12 Sending build context to Docker daemon 10.52MB 04:25:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:25:12 Step 2/23 : FROM ${BASE} AS builder 04:25:12 ---> 71d261e3c72b 04:25:12 Step 3/23 : ARG MAKE=make build 04:25:12 ---> Running in 5b1beb82e9b9 04:25:12 Removing intermediate container 5b1beb82e9b9 04:25:12 ---> 942fc06dd3da 04:25:12 Step 4/23 : WORKDIR /device-sdk-go 04:25:12 ---> Running in 223f13b6b841 04:25:12 Removing intermediate container 223f13b6b841 04:25:12 ---> a0554b77816b 04:25:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:25:12 ---> Running in f6494c17bb88 04:25:12 Removing intermediate container f6494c17bb88 04:25:12 ---> e1ab814d5f37 04:25:12 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:25:12 ---> Running in db5ef3ad3029 04:25:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:25:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:25:13 OK: 211 MiB in 51 packages 04:25:14 Removing intermediate container db5ef3ad3029 04:25:14 ---> cb92a750ff5a 04:25:14 Step 7/23 : COPY go.mod vendor* ./ 04:25:14 ---> a880f4b664d6 04:25:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:14 ---> Running in e3d11f91291a 04:25:14 Removing intermediate container e3d11f91291a 04:25:14 ---> 9f82acefc28f 04:25:14 Step 9/23 : COPY . . 04:25:15 ---> 9799f96acab8 04:25:15 Step 10/23 : RUN ${MAKE} 04:25:15 ---> Running in b2da99ee59e7 04:25:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:25:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:25:33 Removing intermediate container b2da99ee59e7 04:25:33 ---> 7a0ec45c4489 04:25:33 Step 11/23 : FROM alpine:3.16 04:25:33 3.16: Pulling from library/alpine 04:25:33 ca7dd9ec2225: Pulling fs layer 04:25:33 ca7dd9ec2225: Verifying Checksum 04:25:33 ca7dd9ec2225: Download complete 04:25:34 ca7dd9ec2225: Pull complete 04:25:34 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:25:34 Status: Downloaded newer image for alpine:3.16 04:25:34 ---> bfe296a52501 04:25:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:25:34 ---> Running in 3d83ad4cc326 04:25:34 Removing intermediate container 3d83ad4cc326 04:25:34 ---> e181c3e6e1c1 04:25:34 Step 13/23 : RUN apk add --update --no-cache zeromq 04:25:34 ---> Running in 0934c68c6380 04:25:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:25:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:25:34 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:25:34 (2/5) Installing libsodium (1.0.18-r0) 04:25:34 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:25:34 (4/5) Installing libzmq (4.3.4-r0) 04:25:35 (5/5) Installing zeromq (4.3.4-r0) 04:25:35 Executing busybox-1.35.0-r17.trigger 04:25:35 OK: 8 MiB in 19 packages 04:25:35 Removing intermediate container 0934c68c6380 04:25:35 ---> 7349e05d4145 04:25:35 Step 14/23 : WORKDIR / 04:25:35 ---> Running in e2d07fae33e5 04:25:35 Removing intermediate container e2d07fae33e5 04:25:35 ---> 07dd8bedd8aa 04:25:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:25:35 ---> 854c01366dad 04:25:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:25:36 ---> bf515bcc010f 04:25:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:25:36 ---> 0b2f03b3c468 04:25:36 Step 18/23 : EXPOSE 59999 04:25:36 ---> Running in 163cd78eef09 04:25:36 Removing intermediate container 163cd78eef09 04:25:36 ---> a502253e27fa 04:25:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:25:36 ---> Running in 19e71534a5cf 04:25:36 Removing intermediate container 19e71534a5cf 04:25:36 ---> 7dd830aa3796 04:25:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:25:36 ---> Running in bf3a31434210 04:25:36 Removing intermediate container bf3a31434210 04:25:36 ---> f25d6a646238 04:25:36 Step 21/23 : LABEL arch=amd64 04:25:36 ---> Running in 38e5a5c82bb5 04:25:36 Removing intermediate container 38e5a5c82bb5 04:25:36 ---> ddf1fff624b1 04:25:36 Step 22/23 : LABEL git_sha=d91c062294c7ee7a23c53d2a319ebf33624ccb03 04:25:36 ---> Running in 4b2cca6642a1 04:25:36 Removing intermediate container 4b2cca6642a1 04:25:36 ---> dcfce46165be 04:25:36 Step 23/23 : LABEL version=0.0.0 04:25:37 ---> Running in ac755f62ad32 04:25:37 Removing intermediate container ac755f62ad32 04:25:37 ---> 8002bc5d364a 04:25:37 [Warning] One or more build-args [ARCH] were not consumed 04:25:37 Successfully built 8002bc5d364a 04:25:37 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:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:37 04:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:37 latest: Pulling from edgex-lftools-log-publisher 04:25:37 5eb5b503b376: Pulling fs layer 04:25:37 5c69ac0246d0: Pulling fs layer 04:25:37 ec43610c2a17: Pulling fs layer 04:25:37 3a2ae6a8a46f: Pulling fs layer 04:25:37 33b1e0a273af: Pulling fs layer 04:25:37 5d3b04190fa2: Pulling fs layer 04:25:37 2f39f015ded8: Pulling fs layer 04:25:37 33b1e0a273af: Waiting 04:25:37 3a2ae6a8a46f: Waiting 04:25:37 5d3b04190fa2: Waiting 04:25:37 5c69ac0246d0: Verifying Checksum 04:25:37 5c69ac0246d0: Download complete 04:25:37 33b1e0a273af: Verifying Checksum 04:25:37 33b1e0a273af: Download complete 04:25:38 5d3b04190fa2: Verifying Checksum 04:25:38 5d3b04190fa2: Download complete 04:25:38 ec43610c2a17: Verifying Checksum 04:25:38 ec43610c2a17: Download complete 04:25:38 5eb5b503b376: Verifying Checksum 04:25:38 5eb5b503b376: Download complete 04:25:38 2f39f015ded8: Download complete 04:25:39 5eb5b503b376: Pull complete 04:25:39 5c69ac0246d0: Pull complete 04:25:39 ec43610c2a17: Pull complete 04:25:39 3a2ae6a8a46f: Pull complete 04:25:39 33b1e0a273af: Pull complete 04:25:40 5d3b04190fa2: Pull complete 04:25:44 2f39f015ded8: Pull complete 04:25:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:44 prd-ubuntu20.04-docker-8c-8g-121037 does not seem to be running inside a container 04:25:44 $ 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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:25:46 $ docker top e353afa329c62bc58c614801a85afe637eb774216ea4831c714357b3ea151a0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:46 ---> job-cost.sh 04:25:46 lf-activate-venv: SKIPPING 04:25:46 INFO: No Stack... 04:25:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:47 INFO: Archiving Costs [Pipeline] sh 04:25:47 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/cost.csv 04:25:47 + cut -d, -f6 [Pipeline] lock 04:25:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] 04:25:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] did not exist. Created. 04:25:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:25:48 + echo total: 0.2199999988079071 [Pipeline] stash 04:25:48 Stashed 1 file(s) [Pipeline] } 04:25:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:25:48 $ docker stop --time=1 e353afa329c62bc58c614801a85afe637eb774216ea4831c714357b3ea151a0b 04:25:49 $ docker rm -f e353afa329c62bc58c614801a85afe637eb774216ea4831c714357b3ea151a0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:27:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121038 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] { [Pipeline] ws 04:27:29 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:27:29 The recommended git tool is: git 04:27:34 using credential edgex-jenkins-ssh 04:27:34 Cloning the remote Git repository 04:27:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:27:34 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:27:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:27:34 > git --version # timeout=10 04:27:35 > git --version # 'git version 2.25.1' 04:27:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:35 Verifying host key using known hosts file 04:27:35 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:27:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:27:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:27:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:27:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:37 Verifying host key using known hosts file 04:27:37 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:27:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:27:38 Merging remotes/origin/main commit bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb into PR head commit d91c062294c7ee7a23c53d2a319ebf33624ccb03 04:27:38 Merge succeeded, producing d91c062294c7ee7a23c53d2a319ebf33624ccb03 04:27:38 Checking out Revision d91c062294c7ee7a23c53d2a319ebf33624ccb03 (PR-1265) 04:27:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:38 > git config core.sparsecheckout # timeout=10 04:27:38 > git checkout -f d91c062294c7ee7a23c53d2a319ebf33624ccb03 # timeout=10 04:27:38 > git remote # timeout=10 04:27:38 > git config --get remote.origin.url # timeout=10 04:27:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:38 Verifying host key using known hosts file 04:27:38 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:27:38 > git merge bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb # timeout=10 04:27:38 > git rev-parse HEAD^{commit} # timeout=10 04:27:38 > git config core.sparsecheckout # timeout=10 04:27:38 > git checkout -f d91c062294c7ee7a23c53d2a319ebf33624ccb03 # timeout=10 04:27:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:27:39 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:39 Dload Upload Total Spent Left Speed 04:27:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 61 12751 61 7748 0 0 59600 0 --:--:-- --:--:-- --:--:-- 59145 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 04:27:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:27:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:27:40 + sudo tee /etc/docker/daemon.new 04:27:40 { 04:27:40 "registry-mirrors": [ 04:27:40 "https://nexus3.edgexfoundry.org:10001" 04:27:40 ], 04:27:40 "bip": "10.250.0.254/24", 04:27:40 "hosts": [ 04:27:40 "tcp://0.0.0.0:5555", 04:27:40 "unix:///var/run/docker.sock" 04:27:40 ], 04:27:40 "mtu": 1458, 04:27:40 "selinux-enabled": true, 04:27:40 "seccomp-profile": "/etc/docker/seccomp.json" 04:27:40 } [Pipeline] sh 04:27:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:27:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:59 provisioning config files... 04:27:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8777355011597293381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:00 ---> docker-login.sh 04:28:00 nexus3.edgexfoundry.org:10001 04:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:00 Configure a credential helper to remove this warning. See 04:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:00 04:28:00 Login Succeeded 04:28:00 nexus3.edgexfoundry.org:10002 04:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:01 Configure a credential helper to remove this warning. See 04:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:01 04:28:01 Login Succeeded 04:28:01 nexus3.edgexfoundry.org:10003 04:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:01 Configure a credential helper to remove this warning. See 04:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:01 04:28:01 Login Succeeded 04:28:01 nexus3.edgexfoundry.org:10004 04:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:01 Configure a credential helper to remove this warning. See 04:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:01 04:28:01 Login Succeeded 04:28:01 docker.io 04:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:02 Configure a credential helper to remove this warning. See 04:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:02 04:28:02 Login Succeeded 04:28:02 ---> docker-login.sh ends [Pipeline] } 04:28:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:02 ========================================================= 04:28:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:28:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:02 + 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:28:03 Sending build context to Docker daemon 5.594MB 04:28:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:28:03 Step 2/10 : FROM ${BASE} AS builder 04:28:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:28:03 9b18e9b68314: Pulling fs layer 04:28:03 35d82f9e3411: Pulling fs layer 04:28:03 e16973657156: Pulling fs layer 04:28:03 fc693d55d65f: Pulling fs layer 04:28:03 7e9fc2657dce: Pulling fs layer 04:28:03 dda99020689f: Pulling fs layer 04:28:03 db1c61fa0a46: Pulling fs layer 04:28:03 891c053d2c06: Pulling fs layer 04:28:03 fc693d55d65f: Waiting 04:28:03 db1c61fa0a46: Waiting 04:28:03 7e9fc2657dce: Waiting 04:28:03 dda99020689f: Waiting 04:28:03 891c053d2c06: Waiting 04:28:03 e16973657156: Verifying Checksum 04:28:03 e16973657156: Download complete 04:28:03 35d82f9e3411: Download complete 04:28:03 7e9fc2657dce: Verifying Checksum 04:28:03 7e9fc2657dce: Download complete 04:28:03 dda99020689f: Verifying Checksum 04:28:03 dda99020689f: Download complete 04:28:03 9b18e9b68314: Verifying Checksum 04:28:03 9b18e9b68314: Download complete 04:28:04 9b18e9b68314: Pull complete 04:28:04 891c053d2c06: Verifying Checksum 04:28:04 891c053d2c06: Download complete 04:28:05 35d82f9e3411: Pull complete 04:28:05 e16973657156: Pull complete 04:28:05 db1c61fa0a46: Verifying Checksum 04:28:05 db1c61fa0a46: Download complete 04:28:06 fc693d55d65f: Verifying Checksum 04:28:06 fc693d55d65f: Download complete 04:28:18 fc693d55d65f: Pull complete 04:28:18 7e9fc2657dce: Pull complete 04:28:18 dda99020689f: Pull complete 04:28:24 db1c61fa0a46: Pull complete 04:28:26 891c053d2c06: Pull complete 04:28:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:28:26 ---> f96f9c87975a 04:28:26 Step 3/10 : ARG MAKE=make build 04:28:28 ---> Running in 0e0e7fe47a00 04:28:28 Removing intermediate container 0e0e7fe47a00 04:28:28 ---> 3cc68ef42319 04:28:28 Step 4/10 : WORKDIR /device-sdk-go 04:28:28 ---> Running in e9e236d616ad 04:28:28 Removing intermediate container e9e236d616ad 04:28:28 ---> 4e9e0ee5defc 04:28:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:28:28 ---> Running in 8baa0e33ceea 04:28:28 Removing intermediate container 8baa0e33ceea 04:28:28 ---> 2112157480be 04:28:28 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:28:28 ---> Running in 83a455297140 04:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:28:31 OK: 221 MiB in 51 packages 04:28:32 Removing intermediate container 83a455297140 04:28:32 ---> 248f5f9228e1 04:28:32 Step 7/10 : COPY go.mod vendor* ./ 04:28:33 ---> 61d520a69759 04:28:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:33 ---> Running in 7626ab4c169c 04:29:29 Removing intermediate container 7626ab4c169c 04:29:29 ---> de47e9b65b8a 04:29:29 Step 9/10 : COPY . . 04:29:29 ---> 80a4e37876b8 04:29:29 Step 10/10 : RUN ${MAKE} 04:29:29 ---> Running in 484a24ef585f 04:29:29 noop 04:29:29 Removing intermediate container 484a24ef585f 04:29:29 ---> 8e605b732a16 04:29:29 Successfully built 8e605b732a16 04:29:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:29 + docker inspect -f . ci-base-image-arm64 04:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:30 prd-ubuntu20.04-docker-arm64-4c-16g-121038 does not seem to be running inside a container 04:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:29:31 $ docker top 5eef571f9889f59935afa7777bb757d7f0734440031411aadf179ef46afcd0bb -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:32 + go version 04:29:32 go version go1.18.7 linux/arm64 [Pipeline] } 04:29:32 $ docker stop --time=1 5eef571f9889f59935afa7777bb757d7f0734440031411aadf179ef46afcd0bb 04:29:33 $ docker rm -f 5eef571f9889f59935afa7777bb757d7f0734440031411aadf179ef46afcd0bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:34 + docker inspect -f . ci-base-image-arm64 04:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:34 prd-ubuntu20.04-docker-arm64-4c-16g-121038 does not seem to be running inside a container 04:29:34 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:29:35 $ docker top c65825a43ea4d47158ca0441d253fb627f68dc3b1eabb948e0dbf1875f2bde4f -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 04:29:36 + make test 04:29:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:30:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:31:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:31:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:31:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:31:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:31:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:31:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.336s coverage: 27.6% of statements 04:31:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.532s coverage: 78.9% of statements 04:31:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:31:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.452s coverage: 73.1% of statements 04:31:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:31:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:32:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.774s coverage: 54.4% of statements 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:32:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.771s coverage: 65.1% of statements 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:32:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:32:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.341s coverage: 89.2% of statements 04:32:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:32:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 4.7% of statements 04:32:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:32:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:32:06 GO111MODULE=on go vet ./... 04:33:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:42 ./bin/test-attribution-txt.sh 04:33:42 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:33:42 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:33:42 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:33:42 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:33:42 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:33:42 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:33:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:33:42 $ docker stop --time=1 c65825a43ea4d47158ca0441d253fb627f68dc3b1eabb948e0dbf1875f2bde4f 04:33:44 $ docker rm -f c65825a43ea4d47158ca0441d253fb627f68dc3b1eabb948e0dbf1875f2bde4f [Pipeline] // withDockerContainer [Pipeline] sh 04:33:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:45 Warning: overwriting stash ‘coverage-report’ 04:33:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:46 + ls -al . 04:33:46 total 276 04:33:46 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 04:29 . 04:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:27 .. 04:33:46 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:27 .dockerignore 04:33:46 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:27 .git 04:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:27 .github 04:33:46 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:27 .gitignore 04:33:46 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:27 .golangci.yml 04:33:46 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:27 CHANGELOG.md 04:33:46 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:27 GOVERNANCE.md 04:33:46 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:27 Jenkinsfile 04:33:46 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:27 LICENSE 04:33:46 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:27 Makefile 04:33:46 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:27 OWNERS.md 04:33:46 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:27 README.md 04:33:46 -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:23 VERSION 04:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:27 bin 04:33:46 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:32 coverage.out 04:33:46 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:27 example 04:33:46 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:27 go.mod 04:33:46 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:27 go.sum 04:33:46 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:27 internal 04:33:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:27 openapi 04:33:46 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:27 pkg 04:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:27 snap 04:33:46 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:47 + 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=d91c062294c7ee7a23c53d2a319ebf33624ccb03 --label arch=arm64 --label version=0.0.0 . 04:33:47 Sending build context to Docker daemon 5.696MB 04:33:47 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:33:47 Step 2/23 : FROM ${BASE} AS builder 04:33:47 ---> 8e605b732a16 04:33:47 Step 3/23 : ARG MAKE=make build 04:33:47 ---> Running in b5eae95319ee 04:33:47 Removing intermediate container b5eae95319ee 04:33:47 ---> e66e918a608b 04:33:47 Step 4/23 : WORKDIR /device-sdk-go 04:33:47 ---> Running in 55f98f86a9ca 04:33:48 Removing intermediate container 55f98f86a9ca 04:33:48 ---> e9eb2bb1a4ba 04:33:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:33:48 ---> Running in 4cf96a13552e 04:33:48 Removing intermediate container 4cf96a13552e 04:33:48 ---> 45954acc0c26 04:33:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:33:48 ---> Running in eb4e4bc55b79 04:33:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:33:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:33:50 OK: 221 MiB in 51 packages 04:33:52 Removing intermediate container eb4e4bc55b79 04:33:52 ---> 9efe81fc29ea 04:33:52 Step 7/23 : COPY go.mod vendor* ./ 04:33:52 ---> d4b862689a10 04:33:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:52 ---> Running in d65993b7b09a 04:33:54 Removing intermediate container d65993b7b09a 04:33:54 ---> 4597fd9bee62 04:33:54 Step 9/23 : COPY . . 04:33:55 ---> 360b8914e7f2 04:33:55 Step 10/23 : RUN ${MAKE} 04:33:55 ---> Running in dab52e9729ca 04:33:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:36:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:36:02 Removing intermediate container dab52e9729ca 04:36:02 ---> 9aab7439f01f 04:36:02 Step 11/23 : FROM alpine:3.16 04:36:02 3.16: Pulling from library/alpine 04:36:02 6875df1f5354: Pulling fs layer 04:36:02 6875df1f5354: Download complete 04:36:02 6875df1f5354: Pull complete 04:36:02 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:36:02 Status: Downloaded newer image for alpine:3.16 04:36:02 ---> 2b4661558fb8 04:36:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:36:02 ---> Running in 89660a257275 04:36:02 Removing intermediate container 89660a257275 04:36:02 ---> ed4737012c9e 04:36:02 Step 13/23 : RUN apk add --update --no-cache zeromq 04:36:02 ---> Running in e9b9ccea02fe 04:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:36:02 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:36:02 (2/5) Installing libsodium (1.0.18-r0) 04:36:02 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:36:02 (4/5) Installing libzmq (4.3.4-r0) 04:36:02 (5/5) Installing zeromq (4.3.4-r0) 04:36:02 Executing busybox-1.35.0-r17.trigger 04:36:02 OK: 8 MiB in 19 packages 04:36:02 Removing intermediate container e9b9ccea02fe 04:36:02 ---> 07546df98d21 04:36:02 Step 14/23 : WORKDIR / 04:36:02 ---> Running in 4604cc295de0 04:36:02 Removing intermediate container 4604cc295de0 04:36:02 ---> 2273713989ca 04:36:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:36:02 ---> 82429b3db587 04:36:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:36:02 ---> ab5fbd396216 04:36:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:36:02 ---> 6d2f914eb797 04:36:02 Step 18/23 : EXPOSE 59999 04:36:03 ---> Running in 694e77ebe455 04:36:03 Removing intermediate container 694e77ebe455 04:36:03 ---> 0b0fc0b5fcc3 04:36:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:36:03 ---> Running in 24561f3e13e1 04:36:03 Removing intermediate container 24561f3e13e1 04:36:03 ---> 88d4a67221d3 04:36:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:36:03 ---> Running in 0d599b544ae4 04:36:03 Removing intermediate container 0d599b544ae4 04:36:03 ---> ec3e684b3e18 04:36:03 Step 21/23 : LABEL arch=arm64 04:36:03 ---> Running in c414592504e4 04:36:04 Removing intermediate container c414592504e4 04:36:04 ---> dd0b2f5d0e46 04:36:04 Step 22/23 : LABEL git_sha=d91c062294c7ee7a23c53d2a319ebf33624ccb03 04:36:04 ---> Running in fbc88a0ec4ee 04:36:04 Removing intermediate container fbc88a0ec4ee 04:36:04 ---> ace9ba1eb697 04:36:04 Step 23/23 : LABEL version=0.0.0 04:36:04 ---> Running in 3f48acff0f71 04:36:05 Removing intermediate container 3f48acff0f71 04:36:05 ---> 7408a5eeb396 04:36:05 [Warning] One or more build-args [ARCH] were not consumed 04:36:05 Successfully built 7408a5eeb396 04:36:05 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:36:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:05 04:36:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:05 arm64: Pulling from edgex-lftools-log-publisher 04:36:05 8998bd30e6a1: Pulling fs layer 04:36:05 04944245beec: Pulling fs layer 04:36:05 699f458cf7ca: Pulling fs layer 04:36:05 765212b225bb: Pulling fs layer 04:36:05 f23df028b6ca: Pulling fs layer 04:36:05 d65c8cfc05b1: Pulling fs layer 04:36:05 2437ff75d9bd: Pulling fs layer 04:36:05 f23df028b6ca: Waiting 04:36:05 d65c8cfc05b1: Waiting 04:36:05 765212b225bb: Waiting 04:36:05 2437ff75d9bd: Waiting 04:36:06 04944245beec: Verifying Checksum 04:36:06 04944245beec: Download complete 04:36:06 765212b225bb: Download complete 04:36:06 f23df028b6ca: Download complete 04:36:06 d65c8cfc05b1: Verifying Checksum 04:36:06 d65c8cfc05b1: Download complete 04:36:06 699f458cf7ca: Verifying Checksum 04:36:06 699f458cf7ca: Download complete 04:36:06 8998bd30e6a1: Verifying Checksum 04:36:06 8998bd30e6a1: Download complete 04:36:09 2437ff75d9bd: Verifying Checksum 04:36:09 2437ff75d9bd: Download complete 04:36:10 8998bd30e6a1: Pull complete 04:36:10 04944245beec: Pull complete 04:36:12 699f458cf7ca: Pull complete 04:36:12 765212b225bb: Pull complete 04:36:13 f23df028b6ca: Pull complete 04:36:13 d65c8cfc05b1: Pull complete 04:36:28 2437ff75d9bd: Pull complete 04:36:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:28 prd-ubuntu20.04-docker-arm64-4c-16g-121038 does not seem to be running inside a container 04:36:28 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:36:33 $ docker top b48c90ecdd45a9f407e373313f9b94b9ad0d5b198dce5388d75c38a73ad83251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:34 ---> job-cost.sh 04:36:34 lf-activate-venv: SKIPPING 04:36:34 INFO: No Stack... 04:36:34 INFO: Retrieving Pricing Info for: v3-standard-4 04:36:35 INFO: Archiving Costs [Pipeline] sh 04:36:36 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 04:36:36 + cut -d, -f6 [Pipeline] lock 04:36:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] 04:36:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] did not exist. Created. 04:36:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:36:36 /w/workspace/device-sdk-go/3@tmp/durable-0295cc84/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:36:36 + echo total: 0.10999999940395355 [Pipeline] stash 04:36:36 Warning: overwriting stash ‘stack-cost’ 04:36:36 Stashed 1 file(s) [Pipeline] } 04:36:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:36:36 $ docker stop --time=1 b48c90ecdd45a9f407e373313f9b94b9ad0d5b198dce5388d75c38a73ad83251 04:36:38 $ docker rm -f b48c90ecdd45a9f407e373313f9b94b9ad0d5b198dce5388d75c38a73ad83251 [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:36:38 provisioning config files... 04:36:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config13098573312144416809tmp [Pipeline] { [Pipeline] sh 04:36:39 + set +x 04:36:39 + + curl -s https://codecov.io/bash 04:36:39 bash -s -- 04:36:39 04:36:39 _____ _ 04:36:39 / ____| | | 04:36:39 | | ___ __| | ___ ___ _____ __ 04:36:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:36:39 | |___| (_) | (_| | __/ (_| (_) \ V / 04:36:39 \_____\___/ \__,_|\___|\___\___/ \_/ 04:36:39 Bash-1.0.6 04:36:39 04:36:39 04:36:39 ==> git version 2.25.1 found 04:36:39 ==> 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:36:39 Release-Date: 2020-01-08 04:36:39 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:36:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:36:39 ==> Jenkins CI detected. 04:36:39 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1265 04:36:39 project root: . 04:36:39 --> token set from env 04:36:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:36:39 ==> Running gcov in . (disable via -X gcov) 04:36:39 ==> Python coveragepy not found 04:36:39 ==> Searching for coverage reports in: 04:36:39 + . 04:36:39 -> Found 1 reports 04:36:39 ==> Detecting git/mercurial file structure 04:36:39 ==> Reading reports 04:36:39 + ./coverage.out bytes=101759 04:36:39 ==> Appending adjustments 04:36:39 https://docs.codecov.io/docs/fixing-reports 04:36:39 + Found adjustments 04:36:39 ==> Gzipping contents 04:36:39 16K /tmp/codecov.XBKK1C.gz 04:36:39 ==> Uploading reports 04:36:39 url: https://codecov.io 04:36:39 query: branch=PR-1265&commit=d91c062294c7ee7a23c53d2a319ebf33624ccb03&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= 04:36:39 -> Pinging Codecov 04:36:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1265&commit=d91c062294c7ee7a23c53d2a319ebf33624ccb03&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= 04:36:39 -> Uploading to 04:36:39 https://storage.googleapis.com/codecov/v4/raw/2022-12-13/7E55EF52A471D76F132DFD9A03CDDE97/d91c062294c7ee7a23c53d2a319ebf33624ccb03/959c8b73-3752-4d10-a3f6-4cfa8f256fe6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T043639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39428e0f70fe1027d7906f3a5dfbdd68107f98b872ff52907c661c43cb88752c 04:36:39 % Total % Received % Xferd Average Speed Time Time Time Current 04:36:39 Dload Upload Total Spent Left Speed 04:36:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14730 0 0 100 14730 0 72205 --:--:-- --:--:-- --:--:-- 71853 100 14730 0 0 100 14730 0 67568 --:--:-- --:--:-- --:--:-- 67260 04:36:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d91c062294c7ee7a23c53d2a319ebf33624ccb03 [Pipeline] } 04:36:40 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:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives ] 04:36:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:36:40 total 16 04:36:40 drwxr-xr-x 3 root root 4096 Dec 13 04:25 . 04:36:40 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:25 .. 04:36:40 drwxr-xr-x 2 root root 4096 Dec 13 04:25 cost 04:36:40 -rw-r--r-- 1 root root 86 Dec 13 04:25 cost.csv 04:36:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:36:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives 04:36:40 total 16 04:36:40 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:25 . 04:36:40 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:25 .. 04:36:40 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 04:25 cost 04:36:40 -rw-r--r-- 1 jenkins jenkins 86 Dec 13 04:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:36:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:36:42 ---> package-listing.sh 04:36:42 ++ facter osfamily 04:36:42 ++ tr '[:upper:]' '[:lower:]' 04:36:42 + OS_FAMILY=debian 04:36:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1265 04:36:42 + START_PACKAGES=/tmp/packages_start.txt 04:36:42 + END_PACKAGES=/tmp/packages_end.txt 04:36:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:36:42 + PACKAGES=/tmp/packages_start.txt 04:36:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' 04:36:42 + PACKAGES=/tmp/packages_end.txt 04:36:42 + case "${OS_FAMILY}" in 04:36:42 + dpkg -l 04:36:42 + grep '^ii' 04:36:42 + '[' -f /tmp/packages_start.txt ']' 04:36:42 + '[' -f /tmp/packages_end.txt ']' 04:36:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:36:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' 04:36:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ 04:36:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ [Pipeline] echo 04:36:42 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-1265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:36:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:43 prd-ubuntu20.04-docker-8c-8g-121037 does not seem to be running inside a container 04:36:43 $ 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-1265/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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:36:43 $ docker top b656713f26b5d561650c7c3c7b8def55fd0638dd3d2317fe92bd9d6d105159d9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:43 + touch /tmp/pre-build-complete [Pipeline] sh 04:36:44 + mkdir -p /var/log/sysstat [Pipeline] sh 04:36:44 + ls /var/log/sa-host 04:36:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:44 provisioning config files... 04:36:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config6355667616046907838tmp [Pipeline] { [Pipeline] echo 04:36:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:36:44 ---> create-netrc.sh [Pipeline] } 04:36:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:36:45 ---> python-tools-install.sh [Pipeline] echo 04:36:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:36:45 ---> sudo-logs.sh 04:36:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:36:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:36:45 ---> job-cost.sh 04:36:45 lf-activate-venv: SKIPPING 04:36:45 DEBUG: total: 0.2199999988079071 04:36:45 INFO: Retrieving Stack Cost... 04:36:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:36:46 INFO: Archiving Costs [Pipeline] echo 04:36:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:36:46 ---> logs-deploy.sh 04:36:46 lf-activate-venv: SKIPPING 04:36:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1265/3 04:36:46 INFO: archiving workspace using pattern(s): 04:36:47 Archives upload complete. 04:36:47 INFO: archiving logs to Nexus