Pull request #1183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e937171a0c827ca073333ea34f9a92e2e0d23ca0+cf6bcd748b49a57926d0cd1f149c1f1b3a309328 (c5f67857fa1346bc3be13d49488942c0101e0a6a) 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-ssh11413839266847926567.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2834411951146558371.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1183/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-1183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh287428683334597381.key > 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-1183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8368937481669473668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11533542456894355772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1183/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-1183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10463524529747221046.key > 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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15308 in /w/workspace/gexfoundry_device-sdk-go_PR-1183 [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-1183 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf6bcd748b49a57926d0cd1f149c1f1b3a309328 into PR head commit e937171a0c827ca073333ea34f9a92e2e0d23ca0 Merge succeeded, producing e937171a0c827ca073333ea34f9a92e2e0d23ca0 Checking out Revision e937171a0c827ca073333ea34f9a92e2e0d23ca0 (PR-1183) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1183/head:refs/remotes/origin/PR-1183 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:37 ========================================================= 04:06:37 EdgeX Global Pipelines Version Info 04:06:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:38 ------------------- 04:06:38 stable info: 04:06:38 ------------------- 04:06:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:38 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:38 Message: update stable to v1.0.234 04:06:39 ------------------- 04:06:39 experimental info: 04:06:39 ------------------- 04:06:39 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:39 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:39 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1183 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1183 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1183 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e937171 [Pipeline] echo 04:06:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:40 provisioning config files... 04:06:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config4153143342259200354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:41 ---> docker-login.sh 04:06:41 nexus3.edgexfoundry.org:10001 04:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:41 Configure a credential helper to remove this warning. See 04:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:41 04:06:41 Login Succeeded 04:06:41 nexus3.edgexfoundry.org:10002 04:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:41 Configure a credential helper to remove this warning. See 04:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:41 04:06:41 Login Succeeded 04:06:41 nexus3.edgexfoundry.org:10003 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:42 Configure a credential helper to remove this warning. See 04:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:42 04:06:42 Login Succeeded 04:06:42 nexus3.edgexfoundry.org:10004 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:42 Configure a credential helper to remove this warning. See 04:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:42 04:06:42 Login Succeeded 04:06:42 docker.io 04:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:42 Configure a credential helper to remove this warning. See 04:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:42 04:06:42 Login Succeeded 04:06:42 ---> docker-login.sh ends [Pipeline] } 04:06:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:43 + git rev-list -1 --merges e937171a0c827ca073333ea34f9a92e2e0d23ca0~1..e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo 04:06:43 -----------> git rev-list -1 --merges e937171a0c827ca073333ea34f9a92e2e0d23ca0~1..e937171a0c827ca073333ea34f9a92e2e0d23ca0 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [false] [Pipeline] sh 04:06:43 + git log --format=format:%s -1 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo 04:06:43 ========================================================= 04:06:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:44 + git log --format=format:%s -1 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo 04:06:44 [semverPrep] GIT_COMMIT: e937171a0c827ca073333ea34f9a92e2e0d23ca0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:06:44 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:44 + grep -v github /etc/ssh/ssh_known_hosts 04:06:44 + [ -e /tmp/ssh_known_hosts ] 04:06:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:44 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:45 04:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:45 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:45 42c077c10790: Pulling fs layer 04:06:45 f63e77b7563a: Pulling fs layer 04:06:45 bd5fdadae976: Pulling fs layer 04:06:45 205491f53016: Pulling fs layer 04:06:45 df18705c85c3: Pulling fs layer 04:06:45 bdb3f477010e: Pulling fs layer 04:06:45 c8a8fc8e1c8f: Pulling fs layer 04:06:45 2c6e9b1d212d: Pulling fs layer 04:06:45 bdb8f0575790: Pulling fs layer 04:06:45 386e3cb2ff24: Pulling fs layer 04:06:45 2343380bae48: Pulling fs layer 04:06:45 bdb8f0575790: Waiting 04:06:45 2c6e9b1d212d: Waiting 04:06:45 386e3cb2ff24: Waiting 04:06:45 c8a8fc8e1c8f: Waiting 04:06:45 2343380bae48: Waiting 04:06:45 205491f53016: Waiting 04:06:45 bdb3f477010e: Waiting 04:06:45 df18705c85c3: Waiting 04:06:45 f63e77b7563a: Verifying Checksum 04:06:45 f63e77b7563a: Download complete 04:06:45 205491f53016: Download complete 04:06:45 bd5fdadae976: Verifying Checksum 04:06:45 bd5fdadae976: Download complete 04:06:45 df18705c85c3: Verifying Checksum 04:06:45 df18705c85c3: Download complete 04:06:45 bdb3f477010e: Verifying Checksum 04:06:45 bdb3f477010e: Download complete 04:06:45 2c6e9b1d212d: Download complete 04:06:45 bdb8f0575790: Download complete 04:06:45 386e3cb2ff24: Verifying Checksum 04:06:45 386e3cb2ff24: Download complete 04:06:45 2343380bae48: Verifying Checksum 04:06:45 2343380bae48: Download complete 04:06:45 42c077c10790: Verifying Checksum 04:06:45 42c077c10790: Download complete 04:06:45 c8a8fc8e1c8f: Verifying Checksum 04:06:45 c8a8fc8e1c8f: Download complete 04:06:46 42c077c10790: Pull complete 04:06:47 f63e77b7563a: Pull complete 04:06:47 bd5fdadae976: Pull complete 04:06:47 205491f53016: Pull complete 04:06:47 df18705c85c3: Pull complete 04:06:47 bdb3f477010e: Pull complete 04:06:49 c8a8fc8e1c8f: Pull complete 04:06:49 2c6e9b1d212d: Pull complete 04:06:50 bdb8f0575790: Pull complete 04:06:50 386e3cb2ff24: Pull complete 04:06:50 2343380bae48: Pull complete 04:06:50 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:50 prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container 04:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:51 $ docker top 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 -eo pid,comm 04:06:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:06:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:52 [ssh-agent] Looking for ssh-agent implementation... 04:06:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:52 $ docker exec 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent 04:06:52 SSH_AUTH_SOCK=/tmp/ssh-kzOxFGS6d9Ny/agent.32 04:06:52 SSH_AGENT_PID=39 04:06:52 Running ssh-add (command line suppressed) 04:06:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_8220043734678463793.key (/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_8220043734678463793.key) 04:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:52 + git tag --points-at HEAD [Pipeline] } 04:06:52 $ docker exec --env ******** --env ******** 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent -k 04:06:53 unset SSH_AUTH_SOCK; 04:06:53 unset SSH_AGENT_PID; 04:06:53 echo Agent pid 39 killed; 04:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:53 [ssh-agent] Looking for ssh-agent implementation... 04:06:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:53 $ docker exec 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent 04:06:53 SSH_AUTH_SOCK=/tmp/ssh-4cVVXPafnUlb/agent.73 04:06:53 SSH_AGENT_PID=79 04:06:53 Running ssh-add (command line suppressed) 04:06:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_3930744012538291920.key (/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_3930744012538291920.key) 04:06:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:53 + git semver init 04:06:54 2022-06-22 04:06:54,023 [run_init] DEBUG init version:0.0.0 force:False 04:06:54 2022-06-22 04:06:54,024 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver 04:06:54 2022-06-22 04:06:54,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver 04:06:54 2022-06-22 04:06:54,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183, universal_newlines=False, shell=None, istream=None) 04:06:55 2022-06-22 04:06:54,800 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.git/info/exclude 04:06:55 2022-06-22 04:06:54,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 with force:False 04:06:55 2022-06-22 04:06:54,801 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 04:06:55 2022-06-22 04:06:54,805 [execute] INFO git cat-file --batch-check 04:06:55 2022-06-22 04:06:54,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver, universal_newlines=False, shell=None, istream=) 04:06:55 2022-06-22 04:06:54,813 [execute] INFO git cat-file --batch 04:06:55 2022-06-22 04:06:54,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver, universal_newlines=False, shell=None, istream=) 04:06:55 2022-06-22 04:06:54,818 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 04:06:55 0.0.0 [Pipeline] } 04:06:55 $ docker exec --env ******** --env ******** 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent -k 04:06:55 unset SSH_AUTH_SOCK; 04:06:55 unset SSH_AGENT_PID; 04:06:55 echo Agent pid 79 killed; 04:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:55 + git semver [Pipeline] } 04:06:55 $ docker stop --time=1 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 04:06:57 $ docker rm -f 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:57 Stashed 1 file(s) [Pipeline] echo 04:06:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:58 provisioning config files... 04:06:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config681989713182088796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:58 ---> docker-login.sh 04:06:58 nexus3.edgexfoundry.org:10001 04:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:58 Configure a credential helper to remove this warning. See 04:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:58 04:06:58 Login Succeeded 04:06:58 nexus3.edgexfoundry.org:10002 04:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:59 Configure a credential helper to remove this warning. See 04:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:59 04:06:59 Login Succeeded 04:06:59 nexus3.edgexfoundry.org:10003 04:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:59 Configure a credential helper to remove this warning. See 04:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:59 04:06:59 Login Succeeded 04:06:59 nexus3.edgexfoundry.org:10004 04:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:59 Configure a credential helper to remove this warning. See 04:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:59 04:06:59 Login Succeeded 04:06:59 docker.io 04:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:59 Configure a credential helper to remove this warning. See 04:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:59 04:06:59 Login Succeeded 04:06:59 ---> docker-login.sh ends [Pipeline] } 04:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:59 ========================================================= 04:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:00 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 04:07:00 Sending build context to Docker daemon 9.674MB 04:07:00 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:07:00 Step 2/11 : FROM ${BASE} AS builder 04:07:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:00 59bf1c3509f3: Pulling fs layer 04:07:00 666ba61612fd: Pulling fs layer 04:07:00 8ed8ca486205: Pulling fs layer 04:07:00 cc1cd167ecdc: Pulling fs layer 04:07:00 c516ae0d96e1: Pulling fs layer 04:07:00 684cea983483: Pulling fs layer 04:07:00 dd3240ac7de5: Pulling fs layer 04:07:00 b1e948a4e11c: Pulling fs layer 04:07:00 a8fd76ee1af6: Pulling fs layer 04:07:00 cc1cd167ecdc: Waiting 04:07:00 684cea983483: Waiting 04:07:00 dd3240ac7de5: Waiting 04:07:00 c516ae0d96e1: Waiting 04:07:00 b1e948a4e11c: Waiting 04:07:00 a8fd76ee1af6: Waiting 04:07:00 646ad004c059: Pulling fs layer 04:07:00 646ad004c059: Waiting 04:07:00 8ed8ca486205: Verifying Checksum 04:07:00 8ed8ca486205: Download complete 04:07:00 666ba61612fd: Download complete 04:07:00 c516ae0d96e1: Download complete 04:07:00 59bf1c3509f3: Verifying Checksum 04:07:00 59bf1c3509f3: Download complete 04:07:00 684cea983483: Verifying Checksum 04:07:00 684cea983483: Download complete 04:07:00 dd3240ac7de5: Verifying Checksum 04:07:00 dd3240ac7de5: Download complete 04:07:00 b1e948a4e11c: Verifying Checksum 04:07:00 b1e948a4e11c: Download complete 04:07:00 59bf1c3509f3: Pull complete 04:07:00 666ba61612fd: Pull complete 04:07:00 8ed8ca486205: Pull complete 04:07:01 646ad004c059: Verifying Checksum 04:07:01 646ad004c059: Download complete 04:07:01 a8fd76ee1af6: Verifying Checksum 04:07:01 a8fd76ee1af6: Download complete 04:07:01 cc1cd167ecdc: Verifying Checksum 04:07:01 cc1cd167ecdc: Download complete 04:07:04 cc1cd167ecdc: Pull complete 04:07:04 c516ae0d96e1: Pull complete 04:07:04 684cea983483: Pull complete 04:07:04 dd3240ac7de5: Pull complete 04:07:04 b1e948a4e11c: Pull complete 04:07:07 a8fd76ee1af6: Pull complete 04:07:07 646ad004c059: Pull complete 04:07:07 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:07:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:07:07 ---> 8f69c11f6b0c 04:07:07 Step 3/11 : ARG MAKE=make build 04:07:10 ---> Running in 6fdd40852c5f 04:07:10 Removing intermediate container 6fdd40852c5f 04:07:10 ---> 989575a8b43d 04:07:10 Step 4/11 : WORKDIR /device-sdk-go 04:07:10 ---> Running in 491d5e1d7a58 04:07:10 Removing intermediate container 491d5e1d7a58 04:07:10 ---> aa1905befde0 04:07:10 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:10 ---> Running in 153b891ec25b 04:07:10 Removing intermediate container 153b891ec25b 04:07:10 ---> 2eeb66066b66 04:07:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:10 ---> Running in 3cbe925fafde 04:07:10 Removing intermediate container 3cbe925fafde 04:07:10 ---> 0bc907241eed 04:07:10 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:10 ---> Running in de4c36e77e22 04:07:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:07:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:07:12 OK: 221 MiB in 52 packages 04:07:12 Removing intermediate container de4c36e77e22 04:07:12 ---> 1500d178f32b 04:07:12 Step 8/11 : COPY go.mod vendor* ./ 04:07:12 ---> 8351372a699f 04:07:12 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:12 ---> Running in f93c614bcf8f 04:07:13 Still waiting to schedule task 04:07:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:07:31 Removing intermediate container f93c614bcf8f 04:07:31 ---> 88b290b5317c 04:07:31 Step 10/11 : COPY . . 04:07:31 ---> 9d8f86c1dab3 04:07:31 Step 11/11 : RUN ${MAKE} 04:07:31 ---> Running in 7e1be73a6163 04:07:31 noop 04:07:31 Removing intermediate container 7e1be73a6163 04:07:31 ---> 9cb297fc1dae 04:07:31 Successfully built 9cb297fc1dae 04:07:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:31 + docker inspect -f . ci-base-image-x86_64 04:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:31 prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container 04:07:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:07:32 $ docker top 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:32 + go version 04:07:32 go version go1.17.7 linux/amd64 [Pipeline] } 04:07:32 $ docker stop --time=1 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd 04:07:33 $ docker rm -f 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:34 + docker inspect -f . ci-base-image-x86_64 04:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:34 prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container 04:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:07:35 $ docker top b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:35 + make test 04:07:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.093s coverage: 23.7% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.070s coverage: 60.0% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 34.8% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 85.4% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.769s coverage: 89.2% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:07:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:07:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:08:08 GO111MODULE=on go vet ./... 04:08:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:11 $ docker stop --time=1 b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 04:08:13 $ docker rm -f b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:14 + ls -al . 04:08:14 total 304 04:08:14 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 04:08 . 04:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:06 .. 04:08:14 -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 04:06 .dockerignore 04:08:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:06 .git 04:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 .github 04:08:14 -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 04:06 .gitignore 04:08:14 -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 04:06 .golangci.yml 04:08:14 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:06 .semver 04:08:14 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 04:06 CHANGELOG.md 04:08:14 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:06 GOVERNANCE.md 04:08:14 -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 04:06 Jenkinsfile 04:08:14 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 04:06 LICENSE 04:08:14 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 04:06 Makefile 04:08:14 -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 04:06 OWNERS.md 04:08:14 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 04:06 README.md 04:08:14 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION 04:08:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 bin 04:08:14 -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 04:07 coverage.out 04:08:14 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:06 example 04:08:14 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 04:06 go.mod 04:08:14 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 04:06 go.sum 04:08:14 drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 04:06 internal 04:08:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:06 openapi 04:08:14 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:06 pkg 04:08:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:06 snap 04:08:14 -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:15 + 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=e937171a0c827ca073333ea34f9a92e2e0d23ca0 --label arch=amd64 --label version=0.0.0 . 04:08:15 Sending build context to Docker daemon 9.806MB 04:08:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:08:15 Step 2/25 : FROM ${BASE} AS builder 04:08:15 ---> 9cb297fc1dae 04:08:15 Step 3/25 : ARG MAKE=make build 04:08:15 ---> Running in c8bc8d8ac531 04:08:15 Removing intermediate container c8bc8d8ac531 04:08:15 ---> 6b899623dde2 04:08:15 Step 4/25 : WORKDIR /device-sdk-go 04:08:15 ---> Running in 398b71b47216 04:08:15 Removing intermediate container 398b71b47216 04:08:15 ---> 1e0f0928bd4b 04:08:15 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:15 ---> Running in a2351d6c7d49 04:08:15 Removing intermediate container a2351d6c7d49 04:08:15 ---> e4fc5e4e64ff 04:08:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:15 ---> Running in 9d5a5eadb01d 04:08:16 Removing intermediate container 9d5a5eadb01d 04:08:16 ---> a86683d6da74 04:08:16 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:16 ---> Running in e72fb879a882 04:08:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:08:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:08:17 OK: 221 MiB in 52 packages 04:08:18 Removing intermediate container e72fb879a882 04:08:18 ---> 0697514b82d8 04:08:18 Step 8/25 : COPY go.mod vendor* ./ 04:08:18 ---> 206a33933ad2 04:08:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:18 ---> Running in a84f8a1fd6a2 04:08:19 Removing intermediate container a84f8a1fd6a2 04:08:19 ---> 693dc4266c35 04:08:19 Step 10/25 : COPY . . 04:08:19 ---> 74fb8194f081 04:08:19 Step 11/25 : RUN ${MAKE} 04:08:19 ---> Running in a3d586bcaab1 04:08:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:08:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:08:38 Removing intermediate container a3d586bcaab1 04:08:38 ---> b4cc4d1ca883 04:08:38 Step 12/25 : FROM alpine:3.14 04:08:38 3.14: Pulling from library/alpine 04:08:39 8663204ce13b: Pulling fs layer 04:08:39 8663204ce13b: Verifying Checksum 04:08:39 8663204ce13b: Download complete 04:08:39 8663204ce13b: Pull complete 04:08:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:08:39 Status: Downloaded newer image for alpine:3.14 04:08:39 ---> e04c818066af 04:08:39 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:39 ---> Running in 7c42c2865d54 04:08:39 Removing intermediate container 7c42c2865d54 04:08:39 ---> c979cf41a40d 04:08:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:39 ---> Running in 680d5b07da48 04:08:40 Removing intermediate container 680d5b07da48 04:08:40 ---> 6a2301533d5d 04:08:40 Step 15/25 : RUN apk add --update --no-cache zeromq 04:08:40 ---> Running in c70a1469fc4d 04:08:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:08:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:08:41 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:08:41 (2/5) Installing libsodium (1.0.18-r0) 04:08:41 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:08:41 (4/5) Installing libzmq (4.3.4-r0) 04:08:42 (5/5) Installing zeromq (4.3.4-r0) 04:08:42 Executing busybox-1.33.1-r7.trigger 04:08:42 OK: 8 MiB in 19 packages 04:08:42 Removing intermediate container c70a1469fc4d 04:08:42 ---> 89663320cdab 04:08:42 Step 16/25 : WORKDIR / 04:08:42 ---> Running in 0a6bec0f8ae8 04:08:42 Removing intermediate container 0a6bec0f8ae8 04:08:42 ---> 55f83634fc5b 04:08:42 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:08:42 ---> 9b3d9fc97eff 04:08:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:08:43 ---> f469484930c9 04:08:43 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:08:43 ---> 4e1c68e009f4 04:08:43 Step 20/25 : EXPOSE 59999 04:08:43 ---> Running in d44b554d5c7b 04:08:43 Removing intermediate container d44b554d5c7b 04:08:43 ---> fc59a766d1f1 04:08:43 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:08:43 ---> Running in 4c78a052779e 04:08:43 Removing intermediate container 4c78a052779e 04:08:43 ---> e19b65a8ce12 04:08:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:08:43 ---> Running in 725a6310ec41 04:08:43 Removing intermediate container 725a6310ec41 04:08:43 ---> 356fb13efc82 04:08:43 Step 23/25 : LABEL arch=amd64 04:08:44 ---> Running in 949ae31e3f6c 04:08:44 Removing intermediate container 949ae31e3f6c 04:08:44 ---> 47dd5e29de2e 04:08:44 Step 24/25 : LABEL git_sha=e937171a0c827ca073333ea34f9a92e2e0d23ca0 04:08:44 ---> Running in 4f4f3b01f246 04:08:44 Removing intermediate container 4f4f3b01f246 04:08:44 ---> 15bc2dfdd428 04:08:44 Step 25/25 : LABEL version=0.0.0 04:08:44 ---> Running in bbc8b019a086 04:08:44 Removing intermediate container bbc8b019a086 04:08:44 ---> 5d276a8a9e21 04:08:44 [Warning] One or more build-args [ARCH] were not consumed 04:08:44 Successfully built 5d276a8a9e21 04:08:44 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:45 04:08:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:45 latest: Pulling from edgex-lftools-log-publisher 04:08:45 5eb5b503b376: Pulling fs layer 04:08:45 5c69ac0246d0: Pulling fs layer 04:08:45 ec43610c2a17: Pulling fs layer 04:08:45 3a2ae6a8a46f: Pulling fs layer 04:08:45 33b1e0a273af: Pulling fs layer 04:08:45 5d3b04190fa2: Pulling fs layer 04:08:45 2f39f015ded8: Pulling fs layer 04:08:45 33b1e0a273af: Waiting 04:08:45 5d3b04190fa2: Waiting 04:08:45 2f39f015ded8: Waiting 04:08:45 3a2ae6a8a46f: Waiting 04:08:45 5c69ac0246d0: Download complete 04:08:45 3a2ae6a8a46f: Verifying Checksum 04:08:45 3a2ae6a8a46f: Download complete 04:08:45 ec43610c2a17: Verifying Checksum 04:08:45 ec43610c2a17: Download complete 04:08:45 33b1e0a273af: Verifying Checksum 04:08:45 33b1e0a273af: Download complete 04:08:45 5d3b04190fa2: Download complete 04:08:45 5eb5b503b376: Verifying Checksum 04:08:45 5eb5b503b376: Download complete 04:08:46 2f39f015ded8: Verifying Checksum 04:08:46 2f39f015ded8: Download complete 04:08:47 5eb5b503b376: Pull complete 04:08:47 5c69ac0246d0: Pull complete 04:08:47 ec43610c2a17: Pull complete 04:08:47 3a2ae6a8a46f: Pull complete 04:08:47 33b1e0a273af: Pull complete 04:08:48 5d3b04190fa2: Pull complete 04:08:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15310 in /w/workspace/gexfoundry_device-sdk-go_PR-1183 [Pipeline] { [Pipeline] ws 04:08:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:08:51 The recommended git tool is: git 04:08:52 2f39f015ded8: Pull complete 04:08:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:52 prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container 04:08:52 $ 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-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:54 $ docker top 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:55 ---> job-cost.sh 04:08:55 lf-activate-venv: SKIPPING 04:08:55 INFO: No Stack... 04:08:55 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:56 INFO: Archiving Costs [Pipeline] sh 04:08:56 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/cost.csv 04:08:56 + cut -d, -f6 [Pipeline] lock 04:08:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] 04:08:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] did not exist. Created. 04:08:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] { [Pipeline] unstash 04:08:56 using credential edgex-jenkins-ssh 04:08:56 Cloning the remote Git repository [Pipeline] sh 04:08:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:56 > git --version # timeout=10 04:08:56 > git --version # 'git version 2.25.1' 04:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:56 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:57 Stashed 1 file(s) [Pipeline] } 04:08:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:57 $ docker stop --time=1 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 04:08:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:58 $ docker rm -f 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:08:59 Merging remotes/origin/main commit cf6bcd748b49a57926d0cd1f149c1f1b3a309328 into PR head commit e937171a0c827ca073333ea34f9a92e2e0d23ca0 04:08:59 Merge succeeded, producing e937171a0c827ca073333ea34f9a92e2e0d23ca0 04:08:59 Checking out Revision e937171a0c827ca073333ea34f9a92e2e0d23ca0 (PR-1183) 04:08:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1183/head:refs/remotes/origin/PR-1183 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:59 > git config core.sparsecheckout # timeout=10 04:08:59 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 04:08:59 > git remote # timeout=10 04:08:59 > git config --get remote.origin.url # timeout=10 04:08:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:59 > git merge cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 04:08:59 > git rev-parse HEAD^{commit} # timeout=10 04:08:59 > git config core.sparsecheckout # timeout=10 04:08:59 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 04:09:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:09:03 > git --version # timeout=10 04:09:03 > git --version # 'git version 2.25.1' 04:09:03 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:09:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:04 Dload Upload Total Spent Left Speed 04:09:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 96480 [Pipeline] sh 04:09:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:09:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:09:06 + sudo tee /etc/docker/daemon.new 04:09:06 { 04:09:06 "registry-mirrors": [ 04:09:06 "https://nexus3.edgexfoundry.org:10001" 04:09:06 ], 04:09:06 "bip": "10.250.0.254/24", 04:09:06 "hosts": [ 04:09:06 "tcp://0.0.0.0:5555", 04:09:06 "unix:///var/run/docker.sock" 04:09:06 ], 04:09:06 "mtu": 1458, 04:09:06 "selinux-enabled": true, 04:09:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:09:06 } [Pipeline] sh 04:09:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:09:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:25 provisioning config files... 04:09:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7140054261084451439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:25 ---> docker-login.sh 04:09:25 nexus3.edgexfoundry.org:10001 04:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:26 Configure a credential helper to remove this warning. See 04:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:26 04:09:26 Login Succeeded 04:09:26 nexus3.edgexfoundry.org:10002 04:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:27 Configure a credential helper to remove this warning. See 04:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:27 04:09:27 Login Succeeded 04:09:27 nexus3.edgexfoundry.org:10003 04:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:27 Configure a credential helper to remove this warning. See 04:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:27 04:09:27 Login Succeeded 04:09:27 nexus3.edgexfoundry.org:10004 04:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:28 Configure a credential helper to remove this warning. See 04:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:28 04:09:28 Login Succeeded 04:09:28 docker.io 04:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:28 Configure a credential helper to remove this warning. See 04:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:28 04:09:28 Login Succeeded 04:09:28 ---> docker-login.sh ends [Pipeline] } 04:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:29 ========================================================= 04:09:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:09:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:29 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 04:09:30 Sending build context to Docker daemon 5.183MB 04:09:30 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:09:30 Step 2/11 : FROM ${BASE} AS builder 04:09:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:30 9b3977197b4f: Pulling fs layer 04:09:30 1a89e8eeedd5: Pulling fs layer 04:09:30 94645a83ff95: Pulling fs layer 04:09:30 e6fb740bc735: Pulling fs layer 04:09:30 3a77bd46dcc9: Pulling fs layer 04:09:30 355e64cbe906: Pulling fs layer 04:09:30 63ab81a10011: Pulling fs layer 04:09:30 555d1d1c4555: Pulling fs layer 04:09:30 7d9057610161: Pulling fs layer 04:09:30 355e64cbe906: Waiting 04:09:30 63ab81a10011: Waiting 04:09:30 555d1d1c4555: Waiting 04:09:30 7d9057610161: Waiting 04:09:30 e6fb740bc735: Waiting 04:09:30 3a77bd46dcc9: Waiting 04:09:30 94645a83ff95: Verifying Checksum 04:09:30 94645a83ff95: Download complete 04:09:30 1a89e8eeedd5: Download complete 04:09:30 3a77bd46dcc9: Verifying Checksum 04:09:30 3a77bd46dcc9: Download complete 04:09:30 9b3977197b4f: Download complete 04:09:30 355e64cbe906: Verifying Checksum 04:09:30 355e64cbe906: Download complete 04:09:30 63ab81a10011: Verifying Checksum 04:09:30 63ab81a10011: Download complete 04:09:31 9b3977197b4f: Pull complete 04:09:31 7d9057610161: Verifying Checksum 04:09:31 7d9057610161: Download complete 04:09:32 1a89e8eeedd5: Pull complete 04:09:32 94645a83ff95: Pull complete 04:09:32 555d1d1c4555: Verifying Checksum 04:09:32 555d1d1c4555: Download complete 04:09:33 e6fb740bc735: Verifying Checksum 04:09:33 e6fb740bc735: Download complete 04:09:45 e6fb740bc735: Pull complete 04:09:45 3a77bd46dcc9: Pull complete 04:09:45 355e64cbe906: Pull complete 04:09:46 63ab81a10011: Pull complete 04:09:52 555d1d1c4555: Pull complete 04:09:54 7d9057610161: Pull complete 04:09:54 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:09:54 ---> 819e984ddca1 04:09:54 Step 3/11 : ARG MAKE=make build 04:09:56 ---> Running in d205603f5bcc 04:09:56 Removing intermediate container d205603f5bcc 04:09:56 ---> bccbb2c5ad05 04:09:56 Step 4/11 : WORKDIR /device-sdk-go 04:09:56 ---> Running in 003993169cb8 04:09:57 Removing intermediate container 003993169cb8 04:09:57 ---> 1668f8d76201 04:09:57 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:09:57 ---> Running in fc53ca3e8992 04:09:57 Removing intermediate container fc53ca3e8992 04:09:57 ---> c5643f5fa3ee 04:09:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:57 ---> Running in 0e2c006cd4c0 04:09:59 Removing intermediate container 0e2c006cd4c0 04:09:59 ---> 1e2f6b950452 04:09:59 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:59 ---> Running in cdc30ae27787 04:10:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:10:02 OK: 220 MiB in 52 packages 04:10:03 Removing intermediate container cdc30ae27787 04:10:03 ---> eb45602e1b54 04:10:03 Step 8/11 : COPY go.mod vendor* ./ 04:10:04 ---> 36f990521f6f 04:10:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:04 ---> Running in 943490a00362 04:10:51 Removing intermediate container 943490a00362 04:10:51 ---> 8234acb51a9b 04:10:51 Step 10/11 : COPY . . 04:10:51 ---> ed5d490876bf 04:10:51 Step 11/11 : RUN ${MAKE} 04:10:51 ---> Running in 0c22d09c88d9 04:10:51 noop 04:10:51 Removing intermediate container 0c22d09c88d9 04:10:51 ---> 6449519d158f 04:10:51 Successfully built 6449519d158f 04:10:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:51 + docker inspect -f . ci-base-image-arm64 04:10:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container 04:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:53 $ docker top c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:54 + go version 04:10:54 go version go1.17.7 linux/arm64 [Pipeline] } 04:10:54 $ docker stop --time=1 c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 04:10:55 $ docker rm -f c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:56 + docker inspect -f . ci-base-image-arm64 04:10:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:56 prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container 04:10:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:58 $ docker top 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:59 + make test 04:10:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:11:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.343s coverage: 23.7% of statements 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.346s coverage: 78.9% of statements 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.250s coverage: 10.8% of statements 04:13:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.581s coverage: 60.0% of statements 04:13:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:13:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:13:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.506s coverage: 34.8% of statements 04:13:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.430s coverage: 85.4% of statements 04:13:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.537s coverage: 65.1% of statements 04:13:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.179s coverage: 89.2% of statements 04:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:13:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements 04:13:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:13:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:33 GO111MODULE=on go vet ./... 04:15:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:10 $ docker stop --time=1 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 04:15:12 $ docker rm -f 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:14 Warning: overwriting stash ‘coverage-report’ 04:15:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:15 + ls -al . 04:15:15 total 300 04:15:15 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:15 . 04:15:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:08 .. 04:15:15 -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 04:08 .dockerignore 04:15:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:09 .git 04:15:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 .github 04:15:15 -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 04:08 .gitignore 04:15:15 -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 04:08 .golangci.yml 04:15:15 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 04:08 CHANGELOG.md 04:15:15 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:08 GOVERNANCE.md 04:15:15 -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 04:08 Jenkinsfile 04:15:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 04:08 LICENSE 04:15:15 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 04:08 Makefile 04:15:15 -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 04:08 OWNERS.md 04:15:15 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 04:08 README.md 04:15:15 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION 04:15:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 bin 04:15:15 -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 04:13 coverage.out 04:15:15 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:08 example 04:15:15 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 04:08 go.mod 04:15:15 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 04:08 go.sum 04:15:15 drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 04:08 internal 04:15:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:08 openapi 04:15:15 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:08 pkg 04:15:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:08 snap 04:15:15 -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:16 + 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=e937171a0c827ca073333ea34f9a92e2e0d23ca0 --label arch=arm64 --label version=0.0.0 . 04:15:16 Sending build context to Docker daemon 5.315MB 04:15:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:15:16 Step 2/25 : FROM ${BASE} AS builder 04:15:16 ---> 6449519d158f 04:15:16 Step 3/25 : ARG MAKE=make build 04:15:16 ---> Running in 37c53149b85c 04:15:17 Removing intermediate container 37c53149b85c 04:15:17 ---> b4a2b83b3d14 04:15:17 Step 4/25 : WORKDIR /device-sdk-go 04:15:17 ---> Running in a598bddde86b 04:15:17 Removing intermediate container a598bddde86b 04:15:17 ---> 77d6b91e2b18 04:15:17 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:17 ---> Running in d4f6f5e8c935 04:15:17 Removing intermediate container d4f6f5e8c935 04:15:17 ---> 47fcd8961f5b 04:15:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:18 ---> Running in 499160361bc9 04:15:20 Removing intermediate container 499160361bc9 04:15:20 ---> 52fdacdf2860 04:15:20 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:20 ---> Running in c11b10583061 04:15:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:15:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:15:22 OK: 220 MiB in 52 packages 04:15:23 Removing intermediate container c11b10583061 04:15:23 ---> 07a89606ecd9 04:15:23 Step 8/25 : COPY go.mod vendor* ./ 04:15:24 ---> 6c41e13a0de2 04:15:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:24 ---> Running in d62322aecc05 04:15:26 Removing intermediate container d62322aecc05 04:15:26 ---> dab425ff38fe 04:15:26 Step 10/25 : COPY . . 04:15:27 ---> c1f87f5be323 04:15:27 Step 11/25 : RUN ${MAKE} 04:15:27 ---> Running in 211dc9ac8110 04:15:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:35 Removing intermediate container 211dc9ac8110 04:17:35 ---> f06b56c0c5ad 04:17:35 Step 12/25 : FROM alpine:3.14 04:17:35 3.14: Pulling from library/alpine 04:17:35 455c02918c45: Pulling fs layer 04:17:35 455c02918c45: Download complete 04:17:36 455c02918c45: Pull complete 04:17:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:17:36 Status: Downloaded newer image for alpine:3.14 04:17:36 ---> ac73e934f311 04:17:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:17:36 ---> Running in 4c20dbdc2a51 04:17:37 Removing intermediate container 4c20dbdc2a51 04:17:37 ---> 7e7878013ffa 04:17:37 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:37 ---> Running in 10a416829bbf 04:17:39 Removing intermediate container 10a416829bbf 04:17:39 ---> 680c4f9eee66 04:17:39 Step 15/25 : RUN apk add --update --no-cache zeromq 04:17:39 ---> Running in 58dd852e0e9d 04:17:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:17:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:17:42 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:17:42 (2/5) Installing libsodium (1.0.18-r0) 04:17:42 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:17:42 (4/5) Installing libzmq (4.3.4-r0) 04:17:42 (5/5) Installing zeromq (4.3.4-r0) 04:17:42 Executing busybox-1.33.1-r7.trigger 04:17:42 OK: 8 MiB in 19 packages 04:17:43 Removing intermediate container 58dd852e0e9d 04:17:43 ---> 210c6c19102f 04:17:43 Step 16/25 : WORKDIR / 04:17:43 ---> Running in 70c88c222686 04:17:43 Removing intermediate container 70c88c222686 04:17:43 ---> c77111891c70 04:17:43 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:44 ---> 97be9ec2fe3b 04:17:44 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:46 ---> befaeb3028c4 04:17:46 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:46 ---> 2f014b48668d 04:17:46 Step 20/25 : EXPOSE 59999 04:17:46 ---> Running in f6db3f133c7a 04:17:46 Removing intermediate container f6db3f133c7a 04:17:46 ---> 8c2b18a2f31c 04:17:46 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:17:47 ---> Running in 1ae2b1d42135 04:17:47 Removing intermediate container 1ae2b1d42135 04:17:47 ---> 5da7971a21fa 04:17:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:47 ---> Running in d78e0bfa675b 04:17:48 Removing intermediate container d78e0bfa675b 04:17:48 ---> c5e6b8872e49 04:17:48 Step 23/25 : LABEL arch=arm64 04:17:48 ---> Running in 64e0bfacd867 04:17:48 Removing intermediate container 64e0bfacd867 04:17:48 ---> 8a54b887cc33 04:17:48 Step 24/25 : LABEL git_sha=e937171a0c827ca073333ea34f9a92e2e0d23ca0 04:17:48 ---> Running in 24e2c3fbe9ca 04:17:48 Removing intermediate container 24e2c3fbe9ca 04:17:48 ---> 835d9ee50f54 04:17:48 Step 25/25 : LABEL version=0.0.0 04:17:48 ---> Running in 3278251ec2c6 04:17:49 Removing intermediate container 3278251ec2c6 04:17:49 ---> f6ec0b5f7b7b 04:17:49 [Warning] One or more build-args [ARCH] were not consumed 04:17:49 Successfully built f6ec0b5f7b7b 04:17:49 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:49 04:17:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:50 arm64: Pulling from edgex-lftools-log-publisher 04:17:50 8998bd30e6a1: Pulling fs layer 04:17:50 04944245beec: Pulling fs layer 04:17:50 699f458cf7ca: Pulling fs layer 04:17:50 765212b225bb: Pulling fs layer 04:17:50 f23df028b6ca: Pulling fs layer 04:17:50 d65c8cfc05b1: Pulling fs layer 04:17:50 2437ff75d9bd: Pulling fs layer 04:17:50 f23df028b6ca: Waiting 04:17:50 2437ff75d9bd: Waiting 04:17:50 d65c8cfc05b1: Waiting 04:17:50 765212b225bb: Waiting 04:17:50 04944245beec: Verifying Checksum 04:17:50 04944245beec: Download complete 04:17:50 765212b225bb: Verifying Checksum 04:17:50 765212b225bb: Download complete 04:17:50 f23df028b6ca: Verifying Checksum 04:17:50 f23df028b6ca: Download complete 04:17:50 d65c8cfc05b1: Verifying Checksum 04:17:50 d65c8cfc05b1: Download complete 04:17:50 699f458cf7ca: Verifying Checksum 04:17:50 699f458cf7ca: Download complete 04:17:51 8998bd30e6a1: Verifying Checksum 04:17:51 8998bd30e6a1: Download complete 04:17:53 2437ff75d9bd: Verifying Checksum 04:17:53 2437ff75d9bd: Download complete 04:17:55 8998bd30e6a1: Pull complete 04:17:56 04944245beec: Pull complete 04:17:57 699f458cf7ca: Pull complete 04:17:57 765212b225bb: Pull complete 04:17:58 f23df028b6ca: Pull complete 04:17:59 d65c8cfc05b1: Pull complete 04:18:14 2437ff75d9bd: Pull complete 04:18:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container 04:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:17 $ docker top abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:18 ---> job-cost.sh 04:18:18 lf-activate-venv: SKIPPING 04:18:18 INFO: No Stack... 04:18:19 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:20 INFO: Archiving Costs [Pipeline] sh 04:18:21 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:21 + cut -d, -f6 [Pipeline] lock 04:18:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] 04:18:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] did not exist. Created. 04:18:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:21 /w/workspace/device-sdk-go/1@tmp/durable-c7f487bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:22 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:22 Warning: overwriting stash ‘stack-cost’ 04:18:22 Stashed 1 file(s) [Pipeline] } 04:18:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:22 $ docker stop --time=1 abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 04:18:24 $ docker rm -f abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:18:25 provisioning config files... 04:18:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config8335992978222526545tmp [Pipeline] { [Pipeline] sh 04:18:25 + set +x 04:18:25 + curl -s https://codecov.io/bash 04:18:25 + bash -s -- 04:18:26 04:18:26 _____ _ 04:18:26 / ____| | | 04:18:26 | | ___ __| | ___ ___ _____ __ 04:18:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:18:26 | |___| (_) | (_| | __/ (_| (_) \ V / 04:18:26 \_____\___/ \__,_|\___|\___\___/ \_/ 04:18:26 Bash-1.0.6 04:18:26 04:18:26 04:18:26 ==> git version 2.25.1 found 04:18:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:18:26 Release-Date: 2020-01-08 04:18:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:18:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:18:26 ==> Jenkins CI detected. 04:18:26 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1183 04:18:26 project root: . 04:18:26 --> token set from env 04:18:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:18:26 ==> Running gcov in . (disable via -X gcov) 04:18:26 ==> Python coveragepy not found 04:18:26 ==> Searching for coverage reports in: 04:18:26 + . 04:18:26 -> Found 1 reports 04:18:26 ==> Detecting git/mercurial file structure 04:18:26 ==> Reading reports 04:18:26 + ./coverage.out bytes=131190 04:18:26 ==> Appending adjustments 04:18:26 https://docs.codecov.io/docs/fixing-reports 04:18:26 + Found adjustments 04:18:26 ==> Gzipping contents 04:18:26 20K /tmp/codecov.ACzKLM.gz 04:18:26 ==> Uploading reports 04:18:26 url: https://codecov.io 04:18:26 query: branch=PR-1183&commit=e937171a0c827ca073333ea34f9a92e2e0d23ca0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1183&job=&cmd_args= 04:18:26 -> Pinging Codecov 04:18:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1183&commit=e937171a0c827ca073333ea34f9a92e2e0d23ca0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1183&job=&cmd_args= 04:18:26 -> Uploading to 04:18:26 https://storage.googleapis.com/codecov/v4/raw/2022-06-22/7E55EF52A471D76F132DFD9A03CDDE97/e937171a0c827ca073333ea34f9a92e2e0d23ca0/17f7ac8b-7345-46d0-adc3-23ffacef6960.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T041826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0eca0dfedee1a71dcbc7d242303f01fb9b0e31fa91aeb002c16a9ebefb0dc87 04:18:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:18:26 Dload Upload Total Spent Left Speed 04:18:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16837 0 0 100 16837 0 73204 --:--:-- --:--:-- --:--:-- 73204 04:18:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] } 04:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:18:28 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives ] 04:18:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives 04:18:28 total 16 04:18:28 drwxr-xr-x 3 root root 4096 Jun 22 04:08 . 04:18:28 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 04:08 .. 04:18:28 drwxr-xr-x 2 root root 4096 Jun 22 04:08 cost 04:18:28 -rw-r--r-- 1 root root 85 Jun 22 04:08 cost.csv 04:18:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives 04:18:28 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives 04:18:28 total 16 04:18:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:08 . 04:18:28 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 04:08 .. 04:18:28 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 04:08 cost 04:18:28 -rw-r--r-- 1 jenkins jenkins 85 Jun 22 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:29 ---> package-listing.sh 04:18:29 ++ facter osfamily 04:18:29 ++ tr '[:upper:]' '[:lower:]' 04:18:30 + OS_FAMILY=debian 04:18:30 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1183 04:18:30 + START_PACKAGES=/tmp/packages_start.txt 04:18:30 + END_PACKAGES=/tmp/packages_end.txt 04:18:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:30 + PACKAGES=/tmp/packages_start.txt 04:18:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1183 ']' 04:18:30 + PACKAGES=/tmp/packages_end.txt 04:18:30 + case "${OS_FAMILY}" in 04:18:30 + dpkg -l 04:18:30 + grep '^ii' 04:18:30 + '[' -f /tmp/packages_start.txt ']' 04:18:30 + '[' -f /tmp/packages_end.txt ']' 04:18:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1183 ']' 04:18:30 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/ 04:18:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/ [Pipeline] echo 04:18:30 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-1183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:31 prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container 04:18:31 $ 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-1183/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-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:31 $ docker top 9aff41d575d166e4030af9feaa74e014715953b02bc81fc36ec1c466235b44f9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:32 + ls /var/log/sa-host 04:18:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:32 provisioning config files... 04:18:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config240313159742275825tmp [Pipeline] { [Pipeline] echo 04:18:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:33 ---> create-netrc.sh [Pipeline] } 04:18:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:33 ---> python-tools-install.sh [Pipeline] echo 04:18:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:34 ---> sudo-logs.sh 04:18:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:34 ---> job-cost.sh 04:18:34 lf-activate-venv: SKIPPING 04:18:34 DEBUG: total: 0.2199999988079071 04:18:34 INFO: Retrieving Stack Cost... 04:18:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:35 INFO: Archiving Costs [Pipeline] echo 04:18:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:35 ---> logs-deploy.sh 04:18:35 lf-activate-venv: SKIPPING 04:18:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1183/1 04:18:35 INFO: archiving workspace using pattern(s): 04:18:36 Archives upload complete. 04:18:36 INFO: archiving logs to Nexus