Pull request #1257 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d35a37c0c1ada843c8daba547f0427d3f0b36d09+0b0fd8621743a303648e9248d2aa1db21f4d7aab (3eee54b4c2bccea7f6ce44697cf25540f5ca2c9d) 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-ssh2530098417523441918.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-ssh3653369249075955237.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14446014315907882550.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1257/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8476768977827969329.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6001327267129656205.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1257/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1257/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12942995299482891626.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118008 in /w/workspace/gexfoundry_device-sdk-go_PR-1257 [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-1257 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit d35a37c0c1ada843c8daba547f0427d3f0b36d09 Merge succeeded, producing d35a37c0c1ada843c8daba547f0427d3f0b36d09 Checking out Revision d35a37c0c1ada843c8daba547f0427d3f0b36d09 (PR-1257) > 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/1257/head:refs/remotes/origin/PR-1257 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d35a37c0c1ada843c8daba547f0427d3f0b36d09 # 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 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d35a37c0c1ada843c8daba547f0427d3f0b36d09 # timeout=10 Commit message: "build: Released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:31:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:31:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:31:31 ========================================================= 23:31:31 EdgeX Global Pipelines Version Info 23:31:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:31:32 ------------------- 23:31:32 stable info: 23:31:32 ------------------- 23:31:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:31:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:31:32 Message: update stable to v1.0.244 23:31:33 ------------------- 23:31:33 experimental info: 23:31:33 ------------------- 23:31:33 Commited By: **** collab-it+edgex@linuxfoundation.org 23:31:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:31:33 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:31:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1257 [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1257 [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1257 [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d35a37c0c1ada843c8daba547f0427d3f0b36d09 [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d35a37c [Pipeline] echo 23:31:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:34 provisioning config files... 23:31:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/config2173041683328974368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:35 ---> docker-login.sh 23:31:35 nexus3.edgexfoundry.org:10001 23:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 nexus3.edgexfoundry.org:10002 23:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 nexus3.edgexfoundry.org:10003 23:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 nexus3.edgexfoundry.org:10004 23:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:35 Configure a credential helper to remove this warning. See 23:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:35 23:31:35 Login Succeeded 23:31:35 docker.io 23:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:36 Configure a credential helper to remove this warning. See 23:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:36 23:31:36 Login Succeeded 23:31:36 ---> docker-login.sh ends [Pipeline] } 23:31:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:31:37 + git rev-list -1 --merges d35a37c0c1ada843c8daba547f0427d3f0b36d09~1..d35a37c0c1ada843c8daba547f0427d3f0b36d09 [Pipeline] echo 23:31:37 -----------> git rev-list -1 --merges d35a37c0c1ada843c8daba547f0427d3f0b36d09~1..d35a37c0c1ada843c8daba547f0427d3f0b36d09 d35a37c0c1ada843c8daba547f0427d3f0b36d09 [false] [Pipeline] sh 23:31:37 + git log --format=format:%s -1 d35a37c0c1ada843c8daba547f0427d3f0b36d09 [Pipeline] echo 23:31:37 ========================================================= 23:31:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:31:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:37 + git log --format=format:%s -1 d35a37c0c1ada843c8daba547f0427d3f0b36d09 [Pipeline] echo 23:31:37 [semverPrep] GIT_COMMIT: d35a37c0c1ada843c8daba547f0427d3f0b36d09, Commit Message: build: Released Go Mods [Pipeline] echo 23:31:38 [semverPrep] This is not a build commit. [Pipeline] sh 23:31:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:31:38 + grep -v github /etc/ssh/ssh_known_hosts 23:31:38 + [ -e /tmp/ssh_known_hosts ] 23:31:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:31:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:31:38 + sudo tee -a /etc/ssh/ssh_known_hosts 23:31:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:31:38 23:31:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:31:39 0.1.4: Pulling from edgex-devops/py-git-semver 23:31:39 b85a868b505f: Pulling fs layer 23:31:39 e2be974225ed: Pulling fs layer 23:31:39 339a4e72a1f5: Pulling fs layer 23:31:39 988bab9f4d93: Pulling fs layer 23:31:39 1469e6f7b9e6: Pulling fs layer 23:31:39 eaf3925da568: Pulling fs layer 23:31:39 bab4dde63d76: Pulling fs layer 23:31:39 bde34c3a00c8: Pulling fs layer 23:31:39 b352a97aabf1: Pulling fs layer 23:31:39 4872d77fe225: Pulling fs layer 23:31:39 5851b861e8e6: Pulling fs layer 23:31:39 1469e6f7b9e6: Waiting 23:31:39 4872d77fe225: Waiting 23:31:39 eaf3925da568: Waiting 23:31:39 bde34c3a00c8: Waiting 23:31:39 5851b861e8e6: Waiting 23:31:39 bab4dde63d76: Waiting 23:31:39 b352a97aabf1: Waiting 23:31:39 e2be974225ed: Verifying Checksum 23:31:39 e2be974225ed: Download complete 23:31:39 988bab9f4d93: Download complete 23:31:39 1469e6f7b9e6: Verifying Checksum 23:31:39 1469e6f7b9e6: Download complete 23:31:39 339a4e72a1f5: Verifying Checksum 23:31:39 339a4e72a1f5: Download complete 23:31:39 eaf3925da568: Verifying Checksum 23:31:39 eaf3925da568: Download complete 23:31:39 bde34c3a00c8: Verifying Checksum 23:31:39 bde34c3a00c8: Download complete 23:31:39 b352a97aabf1: Verifying Checksum 23:31:39 b352a97aabf1: Download complete 23:31:39 4872d77fe225: Verifying Checksum 23:31:39 4872d77fe225: Download complete 23:31:39 5851b861e8e6: Verifying Checksum 23:31:39 5851b861e8e6: Download complete 23:31:39 b85a868b505f: Verifying Checksum 23:31:39 b85a868b505f: Download complete 23:31:39 bab4dde63d76: Verifying Checksum 23:31:39 bab4dde63d76: Download complete 23:31:40 b85a868b505f: Pull complete 23:31:41 e2be974225ed: Pull complete 23:31:41 339a4e72a1f5: Pull complete 23:31:41 988bab9f4d93: Pull complete 23:31:41 1469e6f7b9e6: Pull complete 23:31:41 eaf3925da568: Pull complete 23:31:43 bab4dde63d76: Pull complete 23:31:43 bde34c3a00c8: Pull complete 23:31:43 b352a97aabf1: Pull complete 23:31:43 4872d77fe225: Pull complete 23:31:43 5851b861e8e6: Pull complete 23:31:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:31:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:44 prd-ubuntu20.04-docker-8c-8g-118008 does not seem to be running inside a container 23:31:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1257 -v /w/workspace/gexfoundry_device-sdk-go_PR-1257:/w/workspace/gexfoundry_device-sdk-go_PR-1257:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:31:46 $ docker top 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 -eo pid,comm 23:31:46 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). 23:31:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:31:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:31:46 [ssh-agent] Looking for ssh-agent implementation... 23:31:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:31:47 $ docker exec 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 ssh-agent 23:31:47 SSH_AUTH_SOCK=/tmp/ssh-pe46nctJjwPZ/agent.33 23:31:47 SSH_AGENT_PID=39 23:31:47 Running ssh-add (command line suppressed) 23:31:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/private_key_14269549322602978725.key (/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/private_key_14269549322602978725.key) 23:31:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:31:47 + git tag --points-at HEAD [Pipeline] } 23:31:47 $ docker exec --env ******** --env ******** 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 ssh-agent -k 23:31:47 unset SSH_AUTH_SOCK; 23:31:47 unset SSH_AGENT_PID; 23:31:47 echo Agent pid 39 killed; 23:31:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:31:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:31:47 [ssh-agent] Looking for ssh-agent implementation... 23:31:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:31:48 $ docker exec 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 ssh-agent 23:31:48 SSH_AUTH_SOCK=/tmp/ssh-MUOOShfFIQad/agent.73 23:31:48 SSH_AGENT_PID=79 23:31:48 Running ssh-add (command line suppressed) 23:31:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/private_key_5478802465058295223.key (/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/private_key_5478802465058295223.key) 23:31:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:31:48 + git semver init 23:31:48 2022-11-02 23:31:48,889 [run_init] DEBUG init version:0.0.0 force:False 23:31:48 2022-11-02 23:31:48,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver 23:31:48 2022-11-02 23:31:48,891 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver 23:31:48 2022-11-02 23:31:48,891 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1257, universal_newlines=False, shell=None, istream=None) 23:31:50 2022-11-02 23:31:49,943 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257/.git/info/exclude 23:31:50 2022-11-02 23:31:49,944 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver/PR-1257 with force:False 23:31:50 2022-11-02 23:31:49,944 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver/PR-1257 23:31:50 2022-11-02 23:31:49,949 [execute] INFO git cat-file --batch-check 23:31:50 2022-11-02 23:31:49,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver, universal_newlines=False, shell=None, istream=) 23:31:50 2022-11-02 23:31:49,955 [execute] INFO git cat-file --batch 23:31:50 2022-11-02 23:31:49,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver, universal_newlines=False, shell=None, istream=) 23:31:50 2022-11-02 23:31:49,962 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1257/.semver/PR-1257 23:31:50 0.0.0 [Pipeline] } 23:31:50 $ docker exec --env ******** --env ******** 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 ssh-agent -k 23:31:50 unset SSH_AUTH_SOCK; 23:31:50 unset SSH_AGENT_PID; 23:31:50 echo Agent pid 79 killed; 23:31:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:31:50 + git semver [Pipeline] } 23:31:51 $ docker stop --time=1 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 23:31:52 $ docker rm -f 8e96ffe2076a0451d3c859031b21bc3d979884bc1298cb295b76141758a49c60 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:31:53 Stashed 1 file(s) [Pipeline] echo 23:31:53 [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 23:31:53 provisioning config files... 23:31:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/config13680835335898056982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:54 ---> docker-login.sh 23:31:54 nexus3.edgexfoundry.org:10001 23:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:54 Configure a credential helper to remove this warning. See 23:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:54 23:31:54 Login Succeeded 23:31:54 nexus3.edgexfoundry.org:10002 23:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:54 Configure a credential helper to remove this warning. See 23:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:54 23:31:54 Login Succeeded 23:31:54 nexus3.edgexfoundry.org:10003 23:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:54 Configure a credential helper to remove this warning. See 23:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:54 23:31:54 Login Succeeded 23:31:54 nexus3.edgexfoundry.org:10004 23:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:54 Configure a credential helper to remove this warning. See 23:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:54 23:31:54 Login Succeeded 23:31:54 docker.io 23:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:54 Configure a credential helper to remove this warning. See 23:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:54 23:31:54 Login Succeeded 23:31:54 ---> docker-login.sh ends [Pipeline] } 23:31:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:55 ========================================================= 23:31:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:31:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:55 + 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 . 23:31:55 Sending build context to Docker daemon 10.16MB 23:31:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 23:31:55 Step 2/10 : FROM ${BASE} AS builder 23:31:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:31:55 213ec9aee27d: Pulling fs layer 23:31:55 4583459ba037: Pulling fs layer 23:31:55 93c1e223e6f2: Pulling fs layer 23:31:55 53926ce57604: Pulling fs layer 23:31:55 21b2b0c7a3f4: Pulling fs layer 23:31:55 22ff95d597cd: Pulling fs layer 23:31:55 12d6caf4c0d1: Pulling fs layer 23:31:55 96b7cbca73a9: Pulling fs layer 23:31:55 a7acece74701: Pulling fs layer 23:31:55 53926ce57604: Waiting 23:31:55 21b2b0c7a3f4: Waiting 23:31:55 12d6caf4c0d1: Waiting 23:31:55 22ff95d597cd: Waiting 23:31:55 96b7cbca73a9: Waiting 23:31:55 a7acece74701: Waiting 23:31:56 93c1e223e6f2: Verifying Checksum 23:31:56 93c1e223e6f2: Download complete 23:31:56 4583459ba037: Verifying Checksum 23:31:56 4583459ba037: Download complete 23:31:56 21b2b0c7a3f4: Download complete 23:31:56 22ff95d597cd: Download complete 23:31:56 213ec9aee27d: Verifying Checksum 23:31:56 213ec9aee27d: Download complete 23:31:56 12d6caf4c0d1: Download complete 23:31:56 213ec9aee27d: Pull complete 23:31:56 4583459ba037: Pull complete 23:31:56 93c1e223e6f2: Pull complete 23:31:56 a7acece74701: Verifying Checksum 23:31:56 a7acece74701: Download complete 23:31:56 53926ce57604: Verifying Checksum 23:31:56 53926ce57604: Download complete 23:31:57 96b7cbca73a9: Verifying Checksum 23:31:57 96b7cbca73a9: Download complete 23:32:01 53926ce57604: Pull complete 23:32:01 21b2b0c7a3f4: Pull complete 23:32:01 22ff95d597cd: Pull complete 23:32:01 12d6caf4c0d1: Pull complete 23:32:03 96b7cbca73a9: Pull complete 23:32:04 a7acece74701: Pull complete 23:32:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:32:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:32:04 ---> db6d94c90886 23:32:04 Step 3/10 : ARG MAKE=make build 23:32:07 ---> Running in 5f4702daf7ad 23:32:07 Removing intermediate container 5f4702daf7ad 23:32:07 ---> 91d7b2b7366d 23:32:07 Step 4/10 : WORKDIR /device-sdk-go 23:32:07 ---> Running in f88822fe4e13 23:32:07 Removing intermediate container f88822fe4e13 23:32:07 ---> e1a640f59b49 23:32:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:32:07 ---> Running in d5fb59b2a1c9 23:32:07 Removing intermediate container d5fb59b2a1c9 23:32:07 ---> c643ebcc7fbd 23:32:07 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:32:07 ---> Running in 0e392c91668c 23:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:32:08 Still waiting to schedule task 23:32:08 ‘prd-centos7-blackbox-4c-2g-117564’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:32:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-118009’ is offline 23:32:08 OK: 211 MiB in 51 packages 23:32:08 Removing intermediate container 0e392c91668c 23:32:08 ---> 79e284b0c7a6 23:32:08 Step 7/10 : COPY go.mod vendor* ./ 23:32:08 ---> 6da6582496b2 23:32:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:32:08 ---> Running in 5d36dc445250 23:32:41 Removing intermediate container 5d36dc445250 23:32:41 ---> f79be74fcba5 23:32:41 Step 9/10 : COPY . . 23:32:41 ---> 3731c81fac8b 23:32:41 Step 10/10 : RUN ${MAKE} 23:32:41 ---> Running in 42efef12c46b 23:32:41 noop 23:32:41 Removing intermediate container 42efef12c46b 23:32:41 ---> 2b3cdec6caa6 23:32:41 Successfully built 2b3cdec6caa6 23:32:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:41 + docker inspect -f . ci-base-image-x86_64 23:32:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:41 prd-ubuntu20.04-docker-8c-8g-118008 does not seem to be running inside a container 23:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1257 -v /w/workspace/gexfoundry_device-sdk-go_PR-1257:/w/workspace/gexfoundry_device-sdk-go_PR-1257:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1257@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-x86_64 cat 23:32:42 $ docker top 84e0558d27632367397f27694d5bd259b292671578b786e4659aaeec524e587d -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:42 + go version 23:32:42 go version go1.18.7 linux/amd64 [Pipeline] } 23:32:42 $ docker stop --time=1 84e0558d27632367397f27694d5bd259b292671578b786e4659aaeec524e587d 23:32:43 $ docker rm -f 84e0558d27632367397f27694d5bd259b292671578b786e4659aaeec524e587d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:44 + docker inspect -f . ci-base-image-x86_64 23:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:44 prd-ubuntu20.04-docker-8c-8g-118008 does not seem to be running inside a container 23:32:44 $ 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-1257 -v /w/workspace/gexfoundry_device-sdk-go_PR-1257:/w/workspace/gexfoundry_device-sdk-go_PR-1257:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1257@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-x86_64 cat 23:32:45 $ docker top 291bc582dac272f4573cf7620fa6b6292e9927327fe014252defba03c8319f1e -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1257 [Pipeline] fileExists [Pipeline] sh 23:32:45 + make test 23:32:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:32:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.135s coverage: 73.1% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 54.4% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 65.1% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.769s coverage: 89.2% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 23:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:33:25 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." 23:33:25 GO111MODULE=on go vet ./... 23:33:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:33:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:33:28 ./bin/test-attribution-txt.sh 23:33:28 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 23:33:28 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 23:33:28 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 23:33:28 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 23:33:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:33:28 $ docker stop --time=1 291bc582dac272f4573cf7620fa6b6292e9927327fe014252defba03c8319f1e 23:33:32 $ docker rm -f 291bc582dac272f4573cf7620fa6b6292e9927327fe014252defba03c8319f1e [Pipeline] // withDockerContainer [Pipeline] sh 23:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:33:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:33:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:33:33 + ls -al . 23:33:33 total 280 23:33:33 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 23:32 . 23:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:31 .. 23:33:33 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 23:31 .dockerignore 23:33:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:33 .git 23:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:31 .github 23:33:33 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 23:31 .gitignore 23:33:33 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 23:31 .golangci.yml 23:33:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:31 .semver 23:33:33 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 23:31 CHANGELOG.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:31 GOVERNANCE.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 23:31 Jenkinsfile 23:33:33 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 23:31 LICENSE 23:33:33 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 23:31 Makefile 23:33:33 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 23:31 OWNERS.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 23:31 README.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:31 VERSION 23:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:31 bin 23:33:33 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 23:33 coverage.out 23:33:33 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 23:31 example 23:33:33 -rw-rw-r-- 1 jenkins jenkins 3347 Nov 2 23:31 go.mod 23:33:33 -rw-rw-r-- 1 jenkins jenkins 44423 Nov 2 23:31 go.sum 23:33:33 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 23:31 internal 23:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:31 openapi 23:33:33 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 23:31 pkg 23:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:31 snap 23:33:33 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 23:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:34 + 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=d35a37c0c1ada843c8daba547f0427d3f0b36d09 --label arch=amd64 --label version=0.0.0 . 23:33:34 Sending build context to Docker daemon 10.26MB 23:33:34 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 23:33:34 Step 2/23 : FROM ${BASE} AS builder 23:33:34 ---> 2b3cdec6caa6 23:33:34 Step 3/23 : ARG MAKE=make build 23:33:34 ---> Running in e36234da24d4 23:33:34 Removing intermediate container e36234da24d4 23:33:34 ---> 965f6da074ac 23:33:34 Step 4/23 : WORKDIR /device-sdk-go 23:33:34 ---> Running in f07c29cc5e1a 23:33:34 Removing intermediate container f07c29cc5e1a 23:33:34 ---> 7d72e9a2a8e8 23:33:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:33:34 ---> Running in 204cd5b5c762 23:33:34 Removing intermediate container 204cd5b5c762 23:33:34 ---> ab70a29d38b6 23:33:34 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:33:34 ---> Running in 881cace9ba80 23:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:33:35 OK: 211 MiB in 51 packages 23:33:35 Removing intermediate container 881cace9ba80 23:33:35 ---> 6d1a92b9b1fc 23:33:35 Step 7/23 : COPY go.mod vendor* ./ 23:33:35 ---> 3904467232d6 23:33:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:35 ---> Running in 305a3440d4d5 23:33:36 Removing intermediate container 305a3440d4d5 23:33:36 ---> 8feafbba162f 23:33:36 Step 9/23 : COPY . . 23:33:37 ---> 479daaea7f6a 23:33:37 Step 10/23 : RUN ${MAKE} 23:33:37 ---> Running in 094bfac67c2d 23:33:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:33:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:33:59 Removing intermediate container 094bfac67c2d 23:33:59 ---> 49e73ebfb5ba 23:33:59 Step 11/23 : FROM alpine:3.16 23:34:00 3.16: Pulling from library/alpine 23:34:00 213ec9aee27d: Already exists 23:34:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:34:01 Status: Downloaded newer image for alpine:3.16 23:34:01 ---> 9c6f07244728 23:34:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:34:01 ---> Running in 6cabee874177 23:34:01 Removing intermediate container 6cabee874177 23:34:01 ---> 7e7087142719 23:34:01 Step 13/23 : RUN apk add --update --no-cache zeromq 23:34:01 ---> Running in 77767fe00fad 23:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:34:01 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:34:01 (2/5) Installing libsodium (1.0.18-r0) 23:34:01 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:34:01 (4/5) Installing libzmq (4.3.4-r0) 23:34:01 (5/5) Installing zeromq (4.3.4-r0) 23:34:01 Executing busybox-1.35.0-r17.trigger 23:34:01 OK: 8 MiB in 19 packages 23:34:02 Removing intermediate container 77767fe00fad 23:34:02 ---> 13a21391cb4f 23:34:02 Step 14/23 : WORKDIR / 23:34:02 ---> Running in c09acc719bf6 23:34:02 Removing intermediate container c09acc719bf6 23:34:02 ---> d2d9638c5444 23:34:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:34:02 ---> d5fbb3be5c80 23:34:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:34:03 ---> 83aa0712d43e 23:34:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:34:03 ---> b4ec408b5b12 23:34:03 Step 18/23 : EXPOSE 59999 23:34:03 ---> Running in 39468858df53 23:34:03 Removing intermediate container 39468858df53 23:34:03 ---> fd42d2863253 23:34:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:34:03 ---> Running in cd39dfc86fe0 23:34:03 Removing intermediate container cd39dfc86fe0 23:34:03 ---> 2d1dac8c2996 23:34:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:34:03 ---> Running in 49830687b070 23:34:03 Removing intermediate container 49830687b070 23:34:03 ---> 40260466bf39 23:34:03 Step 21/23 : LABEL arch=amd64 23:34:03 ---> Running in 8df5c7be26fa 23:34:03 Removing intermediate container 8df5c7be26fa 23:34:03 ---> 674e8cd58fcd 23:34:03 Step 22/23 : LABEL git_sha=d35a37c0c1ada843c8daba547f0427d3f0b36d09 23:34:03 ---> Running in 14f893177628 23:34:03 Removing intermediate container 14f893177628 23:34:03 ---> 0571809811ce 23:34:03 Step 23/23 : LABEL version=0.0.0 23:34:03 ---> Running in b03201fc1146 23:34:03 Removing intermediate container b03201fc1146 23:34:03 ---> 8ca4666638da 23:34:03 [Warning] One or more build-args [ARCH] were not consumed 23:34:03 Successfully built 8ca4666638da 23:34:03 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 23:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:04 23:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:05 latest: Pulling from edgex-lftools-log-publisher 23:34:05 5eb5b503b376: Pulling fs layer 23:34:05 5c69ac0246d0: Pulling fs layer 23:34:05 ec43610c2a17: Pulling fs layer 23:34:05 3a2ae6a8a46f: Pulling fs layer 23:34:05 33b1e0a273af: Pulling fs layer 23:34:05 5d3b04190fa2: Pulling fs layer 23:34:05 2f39f015ded8: Pulling fs layer 23:34:05 33b1e0a273af: Waiting 23:34:05 5d3b04190fa2: Waiting 23:34:05 2f39f015ded8: Waiting 23:34:05 3a2ae6a8a46f: Waiting 23:34:05 5c69ac0246d0: Verifying Checksum 23:34:05 5c69ac0246d0: Download complete 23:34:05 3a2ae6a8a46f: Verifying Checksum 23:34:05 3a2ae6a8a46f: Download complete 23:34:05 33b1e0a273af: Verifying Checksum 23:34:05 33b1e0a273af: Download complete 23:34:05 5d3b04190fa2: Verifying Checksum 23:34:05 5d3b04190fa2: Download complete 23:34:05 ec43610c2a17: Verifying Checksum 23:34:05 ec43610c2a17: Download complete 23:34:05 5eb5b503b376: Verifying Checksum 23:34:05 5eb5b503b376: Download complete 23:34:06 5eb5b503b376: Pull complete 23:34:06 5c69ac0246d0: Pull complete 23:34:07 ec43610c2a17: Pull complete 23:34:07 3a2ae6a8a46f: Pull complete 23:34:07 33b1e0a273af: Pull complete 23:34:07 5d3b04190fa2: Pull complete 23:34:12 2f39f015ded8: Pull complete 23:34:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:34:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:13 prd-ubuntu20.04-docker-8c-8g-118008 does not seem to be running inside a container 23:34:13 $ 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-1257 -v /w/workspace/gexfoundry_device-sdk-go_PR-1257:/w/workspace/gexfoundry_device-sdk-go_PR-1257:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1257@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 23:34:16 $ docker top e75bcf5b82b4b4d6e7d9cf6219b13ce73ba2692c2216e30c7de48f4bfe225e56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> job-cost.sh 23:34:16 lf-activate-venv: SKIPPING 23:34:16 INFO: No Stack... 23:34:17 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:17 INFO: Archiving Costs [Pipeline] sh 23:34:18 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives/cost.csv 23:34:18 + cut -d, -f6 [Pipeline] lock 23:34:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] 23:34:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] did not exist. Created. 23:34:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:18 + echo total: 0.2199999988079071 [Pipeline] stash 23:34:18 Stashed 1 file(s) [Pipeline] } 23:34:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:18 $ docker stop --time=1 e75bcf5b82b4b4d6e7d9cf6219b13ce73ba2692c2216e30c7de48f4bfe225e56 23:34:19 $ docker rm -f e75bcf5b82b4b4d6e7d9cf6219b13ce73ba2692c2216e30c7de48f4bfe225e56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118010 in /w/workspace/gexfoundry_device-sdk-go_PR-1257 [Pipeline] { [Pipeline] ws 23:34:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:34:29 The recommended git tool is: git 23:34:35 using credential edgex-jenkins-ssh 23:34:35 Cloning the remote Git repository 23:34:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:34:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:34:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:34:35 > git --version # timeout=10 23:34:35 > git --version # 'git version 2.25.1' 23:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:34:35 Verifying host key using known hosts file 23:34:36 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. 23:34:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:34:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:34:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:34:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:34:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:34:39 Verifying host key using known hosts file 23:34:39 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. 23:34:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1257/head:refs/remotes/origin/PR-1257 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:34:40 Merging remotes/origin/main commit 0b0fd8621743a303648e9248d2aa1db21f4d7aab into PR head commit d35a37c0c1ada843c8daba547f0427d3f0b36d09 23:34:40 Merge succeeded, producing d35a37c0c1ada843c8daba547f0427d3f0b36d09 23:34:40 Checking out Revision d35a37c0c1ada843c8daba547f0427d3f0b36d09 (PR-1257) 23:34:40 > git config core.sparsecheckout # timeout=10 23:34:40 > git checkout -f d35a37c0c1ada843c8daba547f0427d3f0b36d09 # timeout=10 23:34:40 > git remote # timeout=10 23:34:40 > git config --get remote.origin.url # timeout=10 23:34:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:34:40 Verifying host key using known hosts file 23:34:40 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. 23:34:40 > git merge 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 23:34:40 > git rev-parse HEAD^{commit} # timeout=10 23:34:40 > git config core.sparsecheckout # timeout=10 23:34:40 > git checkout -f d35a37c0c1ada843c8daba547f0427d3f0b36d09 # timeout=10 23:34:44 Commit message: "build: Released Go Mods" 23:34:44 > git --version # timeout=10 23:34:44 > git --version # 'git version 2.25.1' 23:34:44 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:34:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:34:45 Dload Upload Total Spent Left Speed 23:34:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 23:34:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:34:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:34:46 + sudo tee /etc/docker/daemon.new 23:34:46 { 23:34:46 "registry-mirrors": [ 23:34:46 "https://nexus3.edgexfoundry.org:10001" 23:34:46 ], 23:34:46 "bip": "10.250.0.254/24", 23:34:46 "hosts": [ 23:34:46 "tcp://0.0.0.0:5555", 23:34:46 "unix:///var/run/docker.sock" 23:34:46 ], 23:34:46 "mtu": 1458, 23:34:46 "selinux-enabled": true, 23:34:46 "seccomp-profile": "/etc/docker/seccomp.json" 23:34:46 } [Pipeline] sh 23:34:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:34:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:05 provisioning config files... 23:35:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18177062577919000189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:06 ---> docker-login.sh 23:35:06 nexus3.edgexfoundry.org:10001 23:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:06 Configure a credential helper to remove this warning. See 23:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:06 23:35:06 Login Succeeded 23:35:06 nexus3.edgexfoundry.org:10002 23:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:07 Configure a credential helper to remove this warning. See 23:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:07 23:35:07 Login Succeeded 23:35:07 nexus3.edgexfoundry.org:10003 23:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:07 Configure a credential helper to remove this warning. See 23:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:07 23:35:07 Login Succeeded 23:35:07 nexus3.edgexfoundry.org:10004 23:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:08 Configure a credential helper to remove this warning. See 23:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:08 23:35:08 Login Succeeded 23:35:08 docker.io 23:35:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:08 Configure a credential helper to remove this warning. See 23:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:08 23:35:08 Login Succeeded 23:35:08 ---> docker-login.sh ends [Pipeline] } 23:35:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:35:09 ========================================================= 23:35:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:35:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:09 + 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 . 23:35:10 Sending build context to Docker daemon 5.476MB 23:35:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 23:35:10 Step 2/10 : FROM ${BASE} AS builder 23:35:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:35:10 9b18e9b68314: Pulling fs layer 23:35:10 35d82f9e3411: Pulling fs layer 23:35:10 e16973657156: Pulling fs layer 23:35:10 fc693d55d65f: Pulling fs layer 23:35:10 7e9fc2657dce: Pulling fs layer 23:35:10 dda99020689f: Pulling fs layer 23:35:10 db1c61fa0a46: Pulling fs layer 23:35:10 891c053d2c06: Pulling fs layer 23:35:10 dda99020689f: Waiting 23:35:10 db1c61fa0a46: Waiting 23:35:10 891c053d2c06: Waiting 23:35:10 fc693d55d65f: Waiting 23:35:10 7e9fc2657dce: Waiting 23:35:10 e16973657156: Verifying Checksum 23:35:10 e16973657156: Download complete 23:35:10 35d82f9e3411: Verifying Checksum 23:35:10 35d82f9e3411: Download complete 23:35:10 7e9fc2657dce: Download complete 23:35:10 dda99020689f: Verifying Checksum 23:35:10 dda99020689f: Download complete 23:35:10 9b18e9b68314: Download complete 23:35:11 9b18e9b68314: Pull complete 23:35:11 891c053d2c06: Verifying Checksum 23:35:11 891c053d2c06: Download complete 23:35:12 35d82f9e3411: Pull complete 23:35:12 e16973657156: Pull complete 23:35:12 db1c61fa0a46: Download complete 23:35:13 fc693d55d65f: Verifying Checksum 23:35:13 fc693d55d65f: Download complete 23:35:25 fc693d55d65f: Pull complete 23:35:25 7e9fc2657dce: Pull complete 23:35:25 dda99020689f: Pull complete 23:35:31 db1c61fa0a46: Pull complete 23:35:32 891c053d2c06: Pull complete 23:35:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:35:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:35:32 ---> f96f9c87975a 23:35:32 Step 3/10 : ARG MAKE=make build 23:35:34 ---> Running in 276fe8062b3c 23:35:34 Removing intermediate container 276fe8062b3c 23:35:34 ---> 0e3c23b0bbda 23:35:34 Step 4/10 : WORKDIR /device-sdk-go 23:35:34 ---> Running in 53ca3e358d49 23:35:35 Removing intermediate container 53ca3e358d49 23:35:35 ---> fa5ebd54d9e2 23:35:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:35:35 ---> Running in 51d332468883 23:35:35 Removing intermediate container 51d332468883 23:35:35 ---> ff7f4c22d4b3 23:35:35 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:35:35 ---> Running in fb96f718408e 23:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:35:38 OK: 221 MiB in 51 packages 23:35:39 Removing intermediate container fb96f718408e 23:35:39 ---> 1580fc2c00a2 23:35:39 Step 7/10 : COPY go.mod vendor* ./ 23:35:39 ---> 722663f5c8fd 23:35:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:39 ---> Running in 3ae91ae8e2ac 23:36:36 Removing intermediate container 3ae91ae8e2ac 23:36:36 ---> 9ba92497cf92 23:36:36 Step 9/10 : COPY . . 23:36:36 ---> 923f2deadde2 23:36:36 Step 10/10 : RUN ${MAKE} 23:36:36 ---> Running in 61c439a87675 23:36:37 noop 23:36:37 Removing intermediate container 61c439a87675 23:36:37 ---> 3627a55c0e20 23:36:37 Successfully built 3627a55c0e20 23:36:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:38 + docker inspect -f . ci-base-image-arm64 23:36:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:38 prd-ubuntu20.04-docker-arm64-4c-16g-118010 does not seem to be running inside a container 23:36:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:36:39 $ docker top 2f45a9dd367961870cc769d46eca4450e1f02a6c7032260c31f4abc6c4fc2b38 -eo pid,comm [Pipeline] { [Pipeline] sh 23:36:40 + go version 23:36:40 go version go1.18.7 linux/arm64 [Pipeline] } 23:36:40 $ docker stop --time=1 2f45a9dd367961870cc769d46eca4450e1f02a6c7032260c31f4abc6c4fc2b38 23:36:42 $ docker rm -f 2f45a9dd367961870cc769d46eca4450e1f02a6c7032260c31f4abc6c4fc2b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:43 + docker inspect -f . ci-base-image-arm64 23:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:43 prd-ubuntu20.04-docker-arm64-4c-16g-118010 does not seem to be running inside a container 23:36:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:36:44 $ docker top 780ada53d72341ba2d1fca363d2176a56d98f48c4a432dd2ee7a9c347a5fb2e2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:36:45 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 23:36:46 + make test 23:36:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:37:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:39:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:39:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:39:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:39:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 23:39:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:39:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.377s coverage: 27.6% of statements 23:39:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.523s coverage: 78.9% of statements 23:39:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 23:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.510s coverage: 73.1% of statements 23:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:40:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.579s coverage: 54.4% of statements 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:40:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.526s coverage: 65.1% of statements 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:40:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.077s coverage: 89.2% of statements 23:40:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:40:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.289s coverage: 4.7% of statements 23:40:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:40:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:40:08 GO111MODULE=on go vet ./... 23:42:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:00 ./bin/test-attribution-txt.sh 23:42:00 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 23:42:00 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 23:42:00 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 23:42:00 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 23:42:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:42:00 $ docker stop --time=1 780ada53d72341ba2d1fca363d2176a56d98f48c4a432dd2ee7a9c347a5fb2e2 23:42:02 $ docker rm -f 780ada53d72341ba2d1fca363d2176a56d98f48c4a432dd2ee7a9c347a5fb2e2 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:04 Warning: overwriting stash ‘coverage-report’ 23:42:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:06 + ls -al . 23:42:06 total 276 23:42:06 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 23:36 . 23:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:34 .. 23:42:06 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 23:34 .dockerignore 23:42:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 23:34 .git 23:42:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:34 .github 23:42:06 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 23:34 .gitignore 23:42:06 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 23:34 .golangci.yml 23:42:06 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 23:34 CHANGELOG.md 23:42:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 23:34 GOVERNANCE.md 23:42:06 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 23:34 Jenkinsfile 23:42:06 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 23:34 LICENSE 23:42:06 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 23:34 Makefile 23:42:06 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 23:34 OWNERS.md 23:42:06 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 23:34 README.md 23:42:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 23:31 VERSION 23:42:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 23:34 bin 23:42:06 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 23:40 coverage.out 23:42:06 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 23:34 example 23:42:06 -rw-rw-r-- 1 jenkins jenkins 3347 Nov 2 23:34 go.mod 23:42:06 -rw-rw-r-- 1 jenkins jenkins 44423 Nov 2 23:34 go.sum 23:42:06 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 23:34 internal 23:42:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 23:34 openapi 23:42:06 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 23:34 pkg 23:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 23:34 snap 23:42:06 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:06 + 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=d35a37c0c1ada843c8daba547f0427d3f0b36d09 --label arch=arm64 --label version=0.0.0 . 23:42:07 Sending build context to Docker daemon 5.578MB 23:42:07 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 23:42:07 Step 2/23 : FROM ${BASE} AS builder 23:42:07 ---> 3627a55c0e20 23:42:07 Step 3/23 : ARG MAKE=make build 23:42:07 ---> Running in 7fd995e897c2 23:42:07 Removing intermediate container 7fd995e897c2 23:42:07 ---> 604779275c53 23:42:07 Step 4/23 : WORKDIR /device-sdk-go 23:42:07 ---> Running in 734139dc2537 23:42:07 Removing intermediate container 734139dc2537 23:42:07 ---> bca7a07462f8 23:42:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:42:07 ---> Running in c8a8c9c17ad1 23:42:08 Removing intermediate container c8a8c9c17ad1 23:42:08 ---> 270644d26ef2 23:42:08 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:42:08 ---> Running in 5c93963c5a3d 23:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:42:11 OK: 221 MiB in 51 packages 23:42:12 Removing intermediate container 5c93963c5a3d 23:42:12 ---> a49deacfeef1 23:42:12 Step 7/23 : COPY go.mod vendor* ./ 23:42:12 ---> 5977b97d7fa1 23:42:12 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:12 ---> Running in 588817f53666 23:42:14 Removing intermediate container 588817f53666 23:42:14 ---> 31970605c065 23:42:14 Step 9/23 : COPY . . 23:42:16 ---> e278ad1246a0 23:42:16 Step 10/23 : RUN ${MAKE} 23:42:16 ---> Running in 28a095bc98dd 23:42:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:44:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:44:54 Removing intermediate container 28a095bc98dd 23:44:54 ---> a14756f011d3 23:44:54 Step 11/23 : FROM alpine:3.16 23:44:54 3.16: Pulling from library/alpine 23:44:54 9b18e9b68314: Already exists 23:44:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:44:54 Status: Downloaded newer image for alpine:3.16 23:44:54 ---> a6215f271958 23:44:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:44:54 ---> Running in 2f6eff7d50f2 23:44:54 Removing intermediate container 2f6eff7d50f2 23:44:54 ---> 8261f1bc8684 23:44:54 Step 13/23 : RUN apk add --update --no-cache zeromq 23:44:54 ---> Running in 1e25f7636db1 23:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:44:54 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:44:54 (2/5) Installing libsodium (1.0.18-r0) 23:44:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:44:54 (4/5) Installing libzmq (4.3.4-r0) 23:44:54 (5/5) Installing zeromq (4.3.4-r0) 23:44:54 Executing busybox-1.35.0-r17.trigger 23:44:54 OK: 8 MiB in 19 packages 23:44:55 Removing intermediate container 1e25f7636db1 23:44:55 ---> 09203d060313 23:44:55 Step 14/23 : WORKDIR / 23:44:55 ---> Running in b6748fff1c7b 23:44:55 Removing intermediate container b6748fff1c7b 23:44:55 ---> c84d1b6a2e3e 23:44:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:44:56 ---> fd4f0bd56c77 23:44:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:44:57 ---> e7afbcdb04f1 23:44:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:44:58 ---> 33f663b9e959 23:44:58 Step 18/23 : EXPOSE 59999 23:44:58 ---> Running in 83a403ee13ea 23:44:58 Removing intermediate container 83a403ee13ea 23:44:58 ---> 98f4c115a67d 23:44:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:44:58 ---> Running in 79dcb1f45617 23:44:58 Removing intermediate container 79dcb1f45617 23:44:58 ---> 9c31b089a713 23:44:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:44:58 ---> Running in f24617aa39a2 23:44:59 Removing intermediate container f24617aa39a2 23:44:59 ---> 4a1930a6815f 23:44:59 Step 21/23 : LABEL arch=arm64 23:44:59 ---> Running in 75106daed914 23:44:59 Removing intermediate container 75106daed914 23:44:59 ---> 870ed625bfc1 23:44:59 Step 22/23 : LABEL git_sha=d35a37c0c1ada843c8daba547f0427d3f0b36d09 23:44:59 ---> Running in f6b03353aec2 23:44:59 Removing intermediate container f6b03353aec2 23:44:59 ---> 3f409ba2f899 23:44:59 Step 23/23 : LABEL version=0.0.0 23:44:59 ---> Running in 7518e881ced8 23:45:00 Removing intermediate container 7518e881ced8 23:45:00 ---> 9ee1ced8293c 23:45:00 [Warning] One or more build-args [ARCH] were not consumed 23:45:00 Successfully built 9ee1ced8293c 23:45:00 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 23:45:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:01 23:45:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:01 arm64: Pulling from edgex-lftools-log-publisher 23:45:01 8998bd30e6a1: Pulling fs layer 23:45:01 04944245beec: Pulling fs layer 23:45:01 699f458cf7ca: Pulling fs layer 23:45:01 765212b225bb: Pulling fs layer 23:45:01 f23df028b6ca: Pulling fs layer 23:45:01 d65c8cfc05b1: Pulling fs layer 23:45:01 2437ff75d9bd: Pulling fs layer 23:45:01 f23df028b6ca: Waiting 23:45:01 d65c8cfc05b1: Waiting 23:45:01 2437ff75d9bd: Waiting 23:45:01 765212b225bb: Waiting 23:45:01 04944245beec: Verifying Checksum 23:45:01 04944245beec: Download complete 23:45:01 765212b225bb: Verifying Checksum 23:45:01 765212b225bb: Download complete 23:45:01 f23df028b6ca: Verifying Checksum 23:45:01 f23df028b6ca: Download complete 23:45:01 d65c8cfc05b1: Verifying Checksum 23:45:01 d65c8cfc05b1: Download complete 23:45:01 699f458cf7ca: Verifying Checksum 23:45:02 8998bd30e6a1: Verifying Checksum 23:45:02 8998bd30e6a1: Download complete 23:45:04 2437ff75d9bd: Verifying Checksum 23:45:04 2437ff75d9bd: Download complete 23:45:06 8998bd30e6a1: Pull complete 23:45:06 04944245beec: Pull complete 23:45:07 699f458cf7ca: Pull complete 23:45:08 765212b225bb: Pull complete 23:45:08 f23df028b6ca: Pull complete 23:45:09 d65c8cfc05b1: Pull complete 23:45:24 2437ff75d9bd: Pull complete 23:45:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:24 prd-ubuntu20.04-docker-arm64-4c-16g-118010 does not seem to be running inside a container 23:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:45:27 $ docker top ba2193c637506ae10991c0eb86cc95e085d9d8ebd7f25e35f060c00e163f116a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:28 ---> job-cost.sh 23:45:28 lf-activate-venv: SKIPPING 23:45:28 INFO: No Stack... 23:45:28 INFO: Retrieving Pricing Info for: v3-standard-4 23:45:29 INFO: Archiving Costs [Pipeline] sh 23:45:30 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 23:45:30 + cut -d, -f6 [Pipeline] lock 23:45:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] 23:45:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] did not exist. Created. 23:45:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:31 /w/workspace/device-sdk-go/1@tmp/durable-4d52e0af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:45:31 + echo total: 0.10999999940395355 [Pipeline] stash 23:45:31 Warning: overwriting stash ‘stack-cost’ 23:45:31 Stashed 1 file(s) [Pipeline] } 23:45:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1257-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:32 $ docker stop --time=1 ba2193c637506ae10991c0eb86cc95e085d9d8ebd7f25e35f060c00e163f116a 23:45:33 $ docker rm -f ba2193c637506ae10991c0eb86cc95e085d9d8ebd7f25e35f060c00e163f116a [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 23:45:34 provisioning config files... 23:45:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/config15322053898788124504tmp [Pipeline] { [Pipeline] sh 23:45:34 + set +x 23:45:34 + curl -s https://codecov.io/bash 23:45:34 + bash -s -- 23:45:34 23:45:34 _____ _ 23:45:34 / ____| | | 23:45:34 | | ___ __| | ___ ___ _____ __ 23:45:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:45:34 | |___| (_) | (_| | __/ (_| (_) \ V / 23:45:34 \_____\___/ \__,_|\___|\___\___/ \_/ 23:45:34 Bash-1.0.6 23:45:34 23:45:34 23:45:34 ==> git version 2.25.1 found 23:45:34 ==> 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 23:45:34 Release-Date: 2020-01-08 23:45:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:45:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:45:34 ==> Jenkins CI detected. 23:45:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1257 23:45:34 project root: . 23:45:34 --> token set from env 23:45:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:45:34 ==> Running gcov in . (disable via -X gcov) 23:45:34 ==> Python coveragepy not found 23:45:34 ==> Searching for coverage reports in: 23:45:34 + . 23:45:34 -> Found 1 reports 23:45:34 ==> Detecting git/mercurial file structure 23:45:34 ==> Reading reports 23:45:34 + ./coverage.out bytes=101759 23:45:34 ==> Appending adjustments 23:45:34 https://docs.codecov.io/docs/fixing-reports 23:45:35 + Found adjustments 23:45:35 ==> Gzipping contents 23:45:35 16K /tmp/codecov.Ttx0e0.gz 23:45:35 ==> Uploading reports 23:45:35 url: https://codecov.io 23:45:35 query: branch=PR-1257&commit=d35a37c0c1ada843c8daba547f0427d3f0b36d09&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1257&job=&cmd_args= 23:45:35 -> Pinging Codecov 23:45:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1257&commit=d35a37c0c1ada843c8daba547f0427d3f0b36d09&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1257%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1257&job=&cmd_args= 23:45:35 -> Uploading to 23:45:35 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/d35a37c0c1ada843c8daba547f0427d3f0b36d09/ddceeaae-f09b-4091-8801-dbc3731240cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T234535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf96bd6ed5f748f51b80a6cbfe9ac84cf387212ee637f02661c64f9ae0ad7d0a 23:45:35 % Total % Received % Xferd Average Speed Time Time Time Current 23:45:35 Dload Upload Total Spent Left Speed 23:45:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14733 0 0 100 14733 0 55596 --:--:-- --:--:-- --:--:-- 55596 23:45:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d35a37c0c1ada843c8daba547f0427d3f0b36d09 [Pipeline] } 23:45:36 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 23:45:37 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives ] 23:45:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives 23:45:37 total 16 23:45:37 drwxr-xr-x 3 root root 4096 Nov 2 23:34 . 23:45:37 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 23:34 .. 23:45:37 drwxr-xr-x 2 root root 4096 Nov 2 23:34 cost 23:45:37 -rw-r--r-- 1 root root 86 Nov 2 23:34 cost.csv 23:45:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives 23:45:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives 23:45:37 total 16 23:45:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 23:34 . 23:45:37 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 23:34 .. 23:45:37 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 23:34 cost 23:45:37 -rw-r--r-- 1 jenkins jenkins 86 Nov 2 23:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:45:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:45:39 ---> package-listing.sh 23:45:39 ++ facter osfamily 23:45:39 ++ tr '[:upper:]' '[:lower:]' 23:45:39 + OS_FAMILY=debian 23:45:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1257 23:45:39 + START_PACKAGES=/tmp/packages_start.txt 23:45:39 + END_PACKAGES=/tmp/packages_end.txt 23:45:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:45:39 + PACKAGES=/tmp/packages_start.txt 23:45:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1257 ']' 23:45:39 + PACKAGES=/tmp/packages_end.txt 23:45:39 + case "${OS_FAMILY}" in 23:45:39 + dpkg -l 23:45:39 + grep '^ii' 23:45:39 + '[' -f /tmp/packages_start.txt ']' 23:45:39 + '[' -f /tmp/packages_end.txt ']' 23:45:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:45:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1257 ']' 23:45:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives/ 23:45:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1257/archives/ [Pipeline] echo 23:45:39 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-1257/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:45:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:40 prd-ubuntu20.04-docker-8c-8g-118008 does not seem to be running inside a container 23:45:40 $ 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-1257/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-1257 -v /w/workspace/gexfoundry_device-sdk-go_PR-1257:/w/workspace/gexfoundry_device-sdk-go_PR-1257:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1257@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:45:40 $ docker top ac034cb2b6f426b736c6adbeb9b713da787cffe7655973916c55d3683b1c997f -eo pid,comm [Pipeline] { [Pipeline] sh 23:45:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:45:41 + mkdir -p /var/log/sysstat [Pipeline] sh 23:45:41 + ls /var/log/sa-host 23:45:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:41 provisioning config files... 23:45:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1257@tmp/config2622409721069330942tmp [Pipeline] { [Pipeline] echo 23:45:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:45:42 ---> create-netrc.sh [Pipeline] } 23:45:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:45:42 ---> python-tools-install.sh [Pipeline] echo 23:45:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:45:43 ---> sudo-logs.sh 23:45:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:45:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:45:43 ---> job-cost.sh 23:45:43 lf-activate-venv: SKIPPING 23:45:43 DEBUG: total: 0.2199999988079071 23:45:43 INFO: Retrieving Stack Cost... 23:45:43 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:44 INFO: Archiving Costs [Pipeline] echo 23:45:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:44 ---> logs-deploy.sh 23:45:44 lf-activate-venv: SKIPPING 23:45:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1257/1 23:45:44 INFO: archiving workspace using pattern(s): 23:45:45 Archives upload complete. 23:45:45 INFO: archiving logs to Nexus