Pull request #1201 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1260925e1e6f2ee43685c1be7f2616c39f0ee71+20346f720feaa6bc50598f6f64a20743a4313f47 (e9af1f937651228e0eeae345388520d0146c11a5) 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-ssh3649341104868863775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17715423693821385404.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1201/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-1201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11857713429659695932.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-1201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9005318103606188985.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh15310282109353521770.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1201/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-1201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15894466585742044975.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21200 in /w/workspace/gexfoundry_device-sdk-go_PR-1201 [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-1201 # 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 20346f720feaa6bc50598f6f64a20743a4313f47 into PR head commit b1260925e1e6f2ee43685c1be7f2616c39f0ee71 Merge succeeded, producing b1260925e1e6f2ee43685c1be7f2616c39f0ee71 Checking out Revision b1260925e1e6f2ee43685c1be7f2616c39f0ee71 (PR-1201) > 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/1201/head:refs/remotes/origin/PR-1201 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # 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 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # 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 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:05:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:05:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:05:17 ========================================================= 04:05:17 EdgeX Global Pipelines Version Info 04:05:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:05:18 ------------------- 04:05:18 stable info: 04:05:18 ------------------- 04:05:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:18 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 04:05:18 Message: update stable to v1.0.238 04:05:18 ------------------- 04:05:18 experimental info: 04:05:18 ------------------- 04:05:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:18 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 04:05:18 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1201 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1201 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1201 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b126092 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:20 provisioning config files... 04:05:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config1718437210388012541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:20 ---> docker-login.sh 04:05:20 nexus3.edgexfoundry.org:10001 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10002 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10003 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 nexus3.edgexfoundry.org:10004 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:21 Configure a credential helper to remove this warning. See 04:05:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:21 04:05:21 Login Succeeded 04:05:21 docker.io 04:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 ---> docker-login.sh ends [Pipeline] } 04:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:22 + git rev-list -1 --merges b1260925e1e6f2ee43685c1be7f2616c39f0ee71~1..b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo 04:05:22 -----------> git rev-list -1 --merges b1260925e1e6f2ee43685c1be7f2616c39f0ee71~1..b1260925e1e6f2ee43685c1be7f2616c39f0ee71 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [false] [Pipeline] sh 04:05:23 + git log --format=format:%s -1 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo 04:05:23 ========================================================= 04:05:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:23 + git log --format=format:%s -1 b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] echo 04:05:23 [semverPrep] GIT_COMMIT: b1260925e1e6f2ee43685c1be7f2616c39f0ee71, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:05:23 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:24 + grep -v github /etc/ssh/ssh_known_hosts 04:05:24 + [ -e /tmp/ssh_known_hosts ] 04:05:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:05:24 + sudo tee -a /etc/ssh/ssh_known_hosts 04:05:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:24 04:05:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:24 0.1.4: Pulling from edgex-devops/py-git-semver 04:05:24 b85a868b505f: Pulling fs layer 04:05:24 e2be974225ed: Pulling fs layer 04:05:24 339a4e72a1f5: Pulling fs layer 04:05:24 988bab9f4d93: Pulling fs layer 04:05:24 1469e6f7b9e6: Pulling fs layer 04:05:24 988bab9f4d93: Waiting 04:05:24 eaf3925da568: Pulling fs layer 04:05:24 bab4dde63d76: Pulling fs layer 04:05:24 1469e6f7b9e6: Waiting 04:05:24 eaf3925da568: Waiting 04:05:24 bde34c3a00c8: Pulling fs layer 04:05:24 b352a97aabf1: Pulling fs layer 04:05:24 bde34c3a00c8: Waiting 04:05:24 bab4dde63d76: Waiting 04:05:24 b352a97aabf1: Waiting 04:05:24 4872d77fe225: Pulling fs layer 04:05:24 5851b861e8e6: Pulling fs layer 04:05:24 5851b861e8e6: Waiting 04:05:24 4872d77fe225: Waiting 04:05:24 e2be974225ed: Verifying Checksum 04:05:24 e2be974225ed: Download complete 04:05:24 988bab9f4d93: Download complete 04:05:25 1469e6f7b9e6: Verifying Checksum 04:05:25 1469e6f7b9e6: Download complete 04:05:25 339a4e72a1f5: Verifying Checksum 04:05:25 339a4e72a1f5: Download complete 04:05:25 eaf3925da568: Verifying Checksum 04:05:25 eaf3925da568: Download complete 04:05:25 bde34c3a00c8: Verifying Checksum 04:05:25 bde34c3a00c8: Download complete 04:05:25 b352a97aabf1: Verifying Checksum 04:05:25 4872d77fe225: Verifying Checksum 04:05:25 4872d77fe225: Download complete 04:05:25 5851b861e8e6: Verifying Checksum 04:05:25 5851b861e8e6: Download complete 04:05:25 b85a868b505f: Verifying Checksum 04:05:25 b85a868b505f: Download complete 04:05:25 bab4dde63d76: Verifying Checksum 04:05:25 bab4dde63d76: Download complete 04:05:26 b85a868b505f: Pull complete 04:05:26 e2be974225ed: Pull complete 04:05:27 339a4e72a1f5: Pull complete 04:05:27 988bab9f4d93: Pull complete 04:05:27 1469e6f7b9e6: Pull complete 04:05:27 eaf3925da568: Pull complete 04:05:30 bab4dde63d76: Pull complete 04:05:30 bde34c3a00c8: Pull complete 04:05:30 b352a97aabf1: Pull complete 04:05:30 4872d77fe225: Pull complete 04:05:30 5851b861e8e6: Pull complete 04:05:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:30 prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container 04:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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:05:31 $ docker top 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 -eo pid,comm 04:05:32 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:05:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:32 [ssh-agent] Looking for ssh-agent implementation... 04:05:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:32 $ docker exec 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent 04:05:32 SSH_AUTH_SOCK=/tmp/ssh-qfzJQRTQXwu2/agent.33 04:05:32 SSH_AGENT_PID=40 04:05:32 Running ssh-add (command line suppressed) 04:05:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_1984864846360179484.key (/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_1984864846360179484.key) 04:05:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:32 + git tag --points-at HEAD [Pipeline] } 04:05:32 $ docker exec --env ******** --env ******** 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent -k 04:05:33 unset SSH_AUTH_SOCK; 04:05:33 unset SSH_AGENT_PID; 04:05:33 echo Agent pid 40 killed; 04:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:33 [ssh-agent] Looking for ssh-agent implementation... 04:05:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:33 $ docker exec 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent 04:05:33 SSH_AUTH_SOCK=/tmp/ssh-4JdnVYhuuGA0/agent.73 04:05:33 SSH_AGENT_PID=80 04:05:33 Running ssh-add (command line suppressed) 04:05:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_8502573866714548080.key (/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/private_key_8502573866714548080.key) 04:05:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:33 + git semver init 04:05:34 2022-07-27 04:05:34,156 [run_init] DEBUG init version:0.0.0 force:False 04:05:34 2022-07-27 04:05:34,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver 04:05:34 2022-07-27 04:05:34,157 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver 04:05:34 2022-07-27 04:05:34,157 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201, universal_newlines=False, shell=None, istream=None) 04:05:35 2022-07-27 04:05:35,155 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.git/info/exclude 04:05:35 2022-07-27 04:05:35,156 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 with force:False 04:05:35 2022-07-27 04:05:35,156 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 04:05:35 2022-07-27 04:05:35,161 [execute] INFO git cat-file --batch-check 04:05:35 2022-07-27 04:05:35,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver, universal_newlines=False, shell=None, istream=) 04:05:35 2022-07-27 04:05:35,168 [execute] INFO git cat-file --batch 04:05:35 2022-07-27 04:05:35,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver, universal_newlines=False, shell=None, istream=) 04:05:35 2022-07-27 04:05:35,175 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1201/.semver/PR-1201 04:05:35 0.0.0 [Pipeline] } 04:05:35 $ docker exec --env ******** --env ******** 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 ssh-agent -k 04:05:35 unset SSH_AUTH_SOCK; 04:05:35 unset SSH_AGENT_PID; 04:05:35 echo Agent pid 80 killed; 04:05:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:36 + git semver [Pipeline] } 04:05:36 $ docker stop --time=1 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 04:05:37 $ docker rm -f 2f32e5df2037d22bd0aee0a953ad0c6bf65fa4630d93ab5939f965f8abcc3eb4 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:38 Stashed 1 file(s) [Pipeline] echo 04:05:38 [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:05:39 provisioning config files... 04:05:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config3046626034122996072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:39 ---> docker-login.sh 04:05:39 nexus3.edgexfoundry.org:10001 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 nexus3.edgexfoundry.org:10002 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 nexus3.edgexfoundry.org:10003 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 nexus3.edgexfoundry.org:10004 04:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:40 Configure a credential helper to remove this warning. See 04:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:40 04:05:40 Login Succeeded 04:05:40 docker.io 04:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:40 Configure a credential helper to remove this warning. See 04:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:40 04:05:40 Login Succeeded 04:05:40 ---> docker-login.sh ends [Pipeline] } 04:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:40 ========================================================= 04:05:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:05:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:41 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:05:41 Sending build context to Docker daemon 9.755MB 04:05:41 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:05:41 Step 2/11 : FROM ${BASE} AS builder 04:05:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:41 2408cc74d12b: Pulling fs layer 04:05:41 ea60b727a1ce: Pulling fs layer 04:05:41 30c4a7721957: Pulling fs layer 04:05:41 370296b7ddb6: Pulling fs layer 04:05:41 7c6cee850709: Pulling fs layer 04:05:41 39a5fcdaea64: Pulling fs layer 04:05:41 d94ebbe4e438: Pulling fs layer 04:05:41 bcfd1f05c69d: Pulling fs layer 04:05:41 59ccb84bbe0f: Pulling fs layer 04:05:41 d94ebbe4e438: Waiting 04:05:41 bcfd1f05c69d: Waiting 04:05:41 59ccb84bbe0f: Waiting 04:05:41 7c6cee850709: Waiting 04:05:41 39a5fcdaea64: Waiting 04:05:41 30c4a7721957: Download complete 04:05:41 ea60b727a1ce: Verifying Checksum 04:05:41 ea60b727a1ce: Download complete 04:05:41 7c6cee850709: Verifying Checksum 04:05:41 7c6cee850709: Download complete 04:05:41 39a5fcdaea64: Download complete 04:05:41 2408cc74d12b: Verifying Checksum 04:05:41 2408cc74d12b: Download complete 04:05:41 d94ebbe4e438: Verifying Checksum 04:05:41 d94ebbe4e438: Download complete 04:05:41 2408cc74d12b: Pull complete 04:05:41 ea60b727a1ce: Pull complete 04:05:41 30c4a7721957: Pull complete 04:05:42 370296b7ddb6: Download complete 04:05:42 59ccb84bbe0f: Verifying Checksum 04:05:42 59ccb84bbe0f: Download complete 04:05:42 bcfd1f05c69d: Verifying Checksum 04:05:42 bcfd1f05c69d: Download complete 04:05:46 370296b7ddb6: Pull complete 04:05:46 7c6cee850709: Pull complete 04:05:46 39a5fcdaea64: Pull complete 04:05:46 d94ebbe4e438: Pull complete 04:05:48 bcfd1f05c69d: Pull complete 04:05:49 59ccb84bbe0f: Pull complete 04:05:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:05:49 ---> a4fb48ad2a94 04:05:49 Step 3/11 : ARG MAKE=make build 04:05:51 ---> Running in 60ed90ea6719 04:05:51 Removing intermediate container 60ed90ea6719 04:05:51 ---> ace15a38f1c1 04:05:51 Step 4/11 : WORKDIR /device-sdk-go 04:05:51 ---> Running in 35bc918d6afe 04:05:51 Removing intermediate container 35bc918d6afe 04:05:51 ---> 3e6d27c387b6 04:05:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:05:51 ---> Running in e0f40ecea01c 04:05:51 Removing intermediate container e0f40ecea01c 04:05:51 ---> fd4b19676ad0 04:05:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:51 ---> Running in c3416412b7e3 04:05:51 Removing intermediate container c3416412b7e3 04:05:51 ---> 5d453b81eb87 04:05:51 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:51 ---> Running in 71b443ee074c 04:05:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:53 OK: 211 MiB in 51 packages 04:05:53 Removing intermediate container 71b443ee074c 04:05:53 ---> f1483feeec7c 04:05:53 Step 8/11 : COPY go.mod vendor* ./ 04:05:53 ---> 2391d1d8f22d 04:05:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:53 ---> Running in bdf7b0379284 04:05:53 Still waiting to schedule task 04:05:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:12 Removing intermediate container bdf7b0379284 04:06:12 ---> da3cad9a5da7 04:06:12 Step 10/11 : COPY . . 04:06:12 ---> 51f77dbf6302 04:06:12 Step 11/11 : RUN ${MAKE} 04:06:12 ---> Running in 895a5a2d6ac7 04:06:12 noop 04:06:12 Removing intermediate container 895a5a2d6ac7 04:06:12 ---> 9f9859cf3e76 04:06:12 Successfully built 9f9859cf3e76 04:06:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:13 + docker inspect -f . ci-base-image-x86_64 04:06:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:13 prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container 04:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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:06:14 $ docker top 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:14 + go version 04:06:14 go version go1.18.3 linux/amd64 [Pipeline] } 04:06:14 $ docker stop --time=1 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 04:06:16 $ docker rm -f 4a9425df419b612d0e531c89be4e33fc795d134d11fcc147904c3bcd1d329c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:16 + docker inspect -f . ci-base-image-x86_64 04:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:16 prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container 04:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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:06:17 $ docker top d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1201 [Pipeline] fileExists [Pipeline] sh 04:06:18 + make test 04:06:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:06:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.7% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 10.8% of statements 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 60.0% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.084s coverage: 85.4% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.749s coverage: 89.2% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 04:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:54 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:06:54 GO111MODULE=on go vet ./... 04:06:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:57 ./bin/test-attribution-txt.sh 04:06:57 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:06:57 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:06:57 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:06:57 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:06:57 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:06:57 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:06:57 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:06:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:57 $ docker stop --time=1 d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e 04:07:00 $ docker rm -f d551a1329e3e309400ac94a80c440b85737b8413a4692bb452cb9490e0d3826e [Pipeline] // withDockerContainer [Pipeline] sh 04:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:07:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:07:01 + ls -al . 04:07:01 total 304 04:07:01 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 04:06 . 04:07:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:05 .. 04:07:01 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 04:05 .dockerignore 04:07:01 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 04:06 .git 04:07:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:05 .github 04:07:01 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 04:05 .gitignore 04:07:01 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 04:05 .golangci.yml 04:07:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 04:05 .semver 04:07:01 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 04:05 CHANGELOG.md 04:07:01 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 04:05 GOVERNANCE.md 04:07:01 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 04:05 Jenkinsfile 04:07:01 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 04:05 LICENSE 04:07:01 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 04:05 Makefile 04:07:01 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 04:05 OWNERS.md 04:07:01 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 04:05 README.md 04:07:01 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 04:05 VERSION 04:07:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:05 bin 04:07:01 -rw-r--r-- 1 jenkins jenkins 131352 Jul 27 04:06 coverage.out 04:07:01 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 04:05 example 04:07:01 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 04:05 go.mod 04:07:01 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 04:05 go.sum 04:07:01 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 04:05 internal 04:07:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 04:05 openapi 04:07:01 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 04:05 pkg 04:07:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:05 snap 04:07:01 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:02 + 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=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 --label arch=amd64 --label version=0.0.0 . 04:07:02 Sending build context to Docker daemon 9.887MB 04:07:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:07:02 Step 2/25 : FROM ${BASE} AS builder 04:07:02 ---> 9f9859cf3e76 04:07:02 Step 3/25 : ARG MAKE=make build 04:07:02 ---> Running in 59f698aa798e 04:07:02 Removing intermediate container 59f698aa798e 04:07:02 ---> 02b87d5aa12d 04:07:02 Step 4/25 : WORKDIR /device-sdk-go 04:07:02 ---> Running in abf6a2b5afac 04:07:02 Removing intermediate container abf6a2b5afac 04:07:02 ---> 8ae57d4270df 04:07:02 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:02 ---> Running in ed1e45c696f6 04:07:02 Removing intermediate container ed1e45c696f6 04:07:02 ---> f36e55746edf 04:07:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:02 ---> Running in 6a26c2d157c3 04:07:03 Removing intermediate container 6a26c2d157c3 04:07:03 ---> 3e90a2a7fd7e 04:07:03 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:03 ---> Running in 3ae6912596ee 04:07:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:04 OK: 211 MiB in 51 packages 04:07:05 Removing intermediate container 3ae6912596ee 04:07:05 ---> 29844b8dd6e5 04:07:05 Step 8/25 : COPY go.mod vendor* ./ 04:07:05 ---> bf298f0c3307 04:07:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:05 ---> Running in eeca8ae651dc 04:07:06 Removing intermediate container eeca8ae651dc 04:07:06 ---> f84451f13efa 04:07:06 Step 10/25 : COPY . . 04:07:06 ---> 0db50bf51c02 04:07:06 Step 11/25 : RUN ${MAKE} 04:07:06 ---> Running in b0d8efb54c64 04:07:07 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:07:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:26 Removing intermediate container b0d8efb54c64 04:07:26 ---> b9ab91dc92b8 04:07:26 Step 12/25 : FROM alpine:3.16 04:07:26 3.16: Pulling from library/alpine 04:07:26 530afca65e2e: Pulling fs layer 04:07:26 530afca65e2e: Verifying Checksum 04:07:26 530afca65e2e: Download complete 04:07:26 530afca65e2e: Pull complete 04:07:26 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 04:07:26 Status: Downloaded newer image for alpine:3.16 04:07:26 ---> d7d3d98c851f 04:07:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:27 ---> Running in 1ce56446a1fc 04:07:27 Removing intermediate container 1ce56446a1fc 04:07:27 ---> 44de8e5389d8 04:07:27 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:27 ---> Running in 5b8fb93eaf7a 04:07:27 Removing intermediate container 5b8fb93eaf7a 04:07:27 ---> d62e6bfd501a 04:07:27 Step 15/25 : RUN apk add --update --no-cache zeromq 04:07:28 ---> Running in 8bbfd0c4dd7c 04:07:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21202 in /w/workspace/gexfoundry_device-sdk-go_PR-1201 [Pipeline] { [Pipeline] ws 04:07:28 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:28 The recommended git tool is: git 04:07:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:07:29 (2/5) Installing libsodium (1.0.18-r0) 04:07:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:07:29 (4/5) Installing libzmq (4.3.4-r0) 04:07:29 (5/5) Installing zeromq (4.3.4-r0) 04:07:30 Executing busybox-1.35.0-r15.trigger 04:07:30 OK: 8 MiB in 19 packages 04:07:30 Removing intermediate container 8bbfd0c4dd7c 04:07:30 ---> 0b0f19632130 04:07:30 Step 16/25 : WORKDIR / 04:07:30 ---> Running in a29c52dbf271 04:07:30 Removing intermediate container a29c52dbf271 04:07:30 ---> 17d0bf36fb51 04:07:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:30 ---> 94cb7b815329 04:07:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:31 ---> 9e33df071a7c 04:07:31 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:31 ---> 17fa014ca5e0 04:07:31 Step 20/25 : EXPOSE 59999 04:07:31 ---> Running in 278871f2736c 04:07:31 Removing intermediate container 278871f2736c 04:07:31 ---> 14c307bd0803 04:07:31 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:31 ---> Running in 0ee2015cd35e 04:07:31 Removing intermediate container 0ee2015cd35e 04:07:31 ---> 248551e9bf61 04:07:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:31 ---> Running in 47b79eb19eaf 04:07:31 Removing intermediate container 47b79eb19eaf 04:07:31 ---> 3c563753cceb 04:07:31 Step 23/25 : LABEL arch=amd64 04:07:31 ---> Running in 4b19921111b0 04:07:31 Removing intermediate container 4b19921111b0 04:07:31 ---> 700d080fa574 04:07:31 Step 24/25 : LABEL git_sha=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 04:07:31 ---> Running in 0d6a226d8d7a 04:07:32 Removing intermediate container 0d6a226d8d7a 04:07:32 ---> 27a532e1f3a2 04:07:32 Step 25/25 : LABEL version=0.0.0 04:07:32 ---> Running in aacced345b9c 04:07:32 Removing intermediate container aacced345b9c 04:07:32 ---> e52388760898 04:07:32 [Warning] One or more build-args [ARCH] were not consumed 04:07:32 Successfully built e52388760898 04:07:32 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:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:33 04:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:33 latest: Pulling from edgex-lftools-log-publisher 04:07:33 5eb5b503b376: Pulling fs layer 04:07:33 5c69ac0246d0: Pulling fs layer 04:07:33 ec43610c2a17: Pulling fs layer 04:07:33 3a2ae6a8a46f: Pulling fs layer 04:07:33 33b1e0a273af: Pulling fs layer 04:07:33 5d3b04190fa2: Pulling fs layer 04:07:33 2f39f015ded8: Pulling fs layer 04:07:33 5d3b04190fa2: Waiting 04:07:33 33b1e0a273af: Waiting 04:07:33 3a2ae6a8a46f: Waiting 04:07:33 2f39f015ded8: Waiting 04:07:33 5c69ac0246d0: Verifying Checksum 04:07:33 5c69ac0246d0: Download complete 04:07:33 3a2ae6a8a46f: Download complete 04:07:33 ec43610c2a17: Verifying Checksum 04:07:33 ec43610c2a17: Download complete 04:07:33 33b1e0a273af: Verifying Checksum 04:07:33 33b1e0a273af: Download complete 04:07:33 5d3b04190fa2: Verifying Checksum 04:07:33 5d3b04190fa2: Download complete 04:07:33 5eb5b503b376: Verifying Checksum 04:07:33 5eb5b503b376: Download complete 04:07:34 2f39f015ded8: Verifying Checksum 04:07:34 2f39f015ded8: Download complete 04:07:34 using credential edgex-jenkins-ssh 04:07:34 Cloning the remote Git repository 04:07:35 5eb5b503b376: Pull complete 04:07:35 5c69ac0246d0: Pull complete 04:07:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:34 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:34 > git --version # timeout=10 04:07:34 > git --version # 'git version 2.25.1' 04:07:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:35 ec43610c2a17: Pull complete 04:07:35 3a2ae6a8a46f: Pull complete 04:07:36 33b1e0a273af: Pull complete 04:07:36 5d3b04190fa2: Pull complete 04:07:36 Merging remotes/origin/main commit 20346f720feaa6bc50598f6f64a20743a4313f47 into PR head commit b1260925e1e6f2ee43685c1be7f2616c39f0ee71 04:07:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1201/head:refs/remotes/origin/PR-1201 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:37 > git config core.sparsecheckout # timeout=10 04:07:37 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # timeout=10 04:07:37 Merge succeeded, producing b1260925e1e6f2ee43685c1be7f2616c39f0ee71 04:07:37 Checking out Revision b1260925e1e6f2ee43685c1be7f2616c39f0ee71 (PR-1201) 04:07:37 > git remote # timeout=10 04:07:37 > git config --get remote.origin.url # timeout=10 04:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:37 > git merge 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 04:07:37 > git rev-parse HEAD^{commit} # timeout=10 04:07:37 > git config core.sparsecheckout # timeout=10 04:07:37 > git checkout -f b1260925e1e6f2ee43685c1be7f2616c39f0ee71 # timeout=10 04:07:41 2f39f015ded8: Pull complete 04:07:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:07:41 > git --version # timeout=10 04:07:41 > git --version # 'git version 2.25.1' 04:07:41 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 04:07:41 prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container 04:07:41 $ 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-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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:07:41 04:07:41 GitHub has been notified of this commit’s build result 04:07:41 04:07:43 $ docker top 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:44 ---> job-cost.sh 04:07:44 lf-activate-venv: SKIPPING 04:07:44 INFO: No Stack... 04:07:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:44 Dload Upload Total Spent Left Speed 04:07:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 96343 04:07:44 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 04:07:45 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/cost.csv 04:07:45 + cut -d, -f6 [Pipeline] lock 04:07:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] 04:07:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] did not exist. Created. 04:07:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:45 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:45 Stashed 1 file(s) [Pipeline] } 04:07:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] // lock 04:07:45 + sudo tee /etc/docker/daemon.new 04:07:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:45 { 04:07:45 "registry-mirrors": [ 04:07:45 "https://nexus3.edgexfoundry.org:10001" 04:07:45 ], 04:07:45 "bip": "10.250.0.254/24", 04:07:45 "hosts": [ 04:07:45 "tcp://0.0.0.0:5555", 04:07:45 "unix:///var/run/docker.sock" 04:07:45 ], 04:07:45 "mtu": 1458, 04:07:45 "selinux-enabled": true, 04:07:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:45 } [Pipeline] } 04:07:45 $ docker stop --time=1 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d 04:07:47 $ docker rm -f 76c14f07581e5fdad4b10767aea4c78d8ecdd0275b1314fa8ff0cd4600dd033d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:06 provisioning config files... 04:08:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8552496703505974303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:06 ---> docker-login.sh 04:08:06 nexus3.edgexfoundry.org:10001 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:07 Configure a credential helper to remove this warning. See 04:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:07 04:08:07 Login Succeeded 04:08:07 nexus3.edgexfoundry.org:10002 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:08 Configure a credential helper to remove this warning. See 04:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:08 04:08:08 Login Succeeded 04:08:08 nexus3.edgexfoundry.org:10003 04:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:08 Configure a credential helper to remove this warning. See 04:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:08 04:08:08 Login Succeeded 04:08:08 nexus3.edgexfoundry.org:10004 04:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:09 Configure a credential helper to remove this warning. See 04:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:09 04:08:09 Login Succeeded 04:08:09 docker.io 04:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:09 Configure a credential helper to remove this warning. See 04:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:09 04:08:09 Login Succeeded 04:08:09 ---> docker-login.sh ends [Pipeline] } 04:08:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:10 ========================================================= 04:08:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:08:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:10 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:08:11 Sending build context to Docker daemon 5.238MB 04:08:11 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:08:11 Step 2/11 : FROM ${BASE} AS builder 04:08:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:11 b3c136eddcbf: Pulling fs layer 04:08:11 c0a3192eca97: Pulling fs layer 04:08:11 a050256f5b6f: Pulling fs layer 04:08:11 656be50a0ddc: Pulling fs layer 04:08:11 2bbca73fdf42: Pulling fs layer 04:08:11 46d945488cbd: Pulling fs layer 04:08:11 8a5474983e97: Pulling fs layer 04:08:11 329c88fbcd65: Pulling fs layer 04:08:11 656be50a0ddc: Waiting 04:08:11 2bbca73fdf42: Waiting 04:08:11 46d945488cbd: Waiting 04:08:11 329c88fbcd65: Waiting 04:08:11 8a5474983e97: Waiting 04:08:11 a050256f5b6f: Verifying Checksum 04:08:11 a050256f5b6f: Download complete 04:08:11 c0a3192eca97: Verifying Checksum 04:08:11 c0a3192eca97: Download complete 04:08:11 2bbca73fdf42: Verifying Checksum 04:08:11 2bbca73fdf42: Download complete 04:08:11 46d945488cbd: Verifying Checksum 04:08:11 46d945488cbd: Download complete 04:08:11 b3c136eddcbf: Verifying Checksum 04:08:11 b3c136eddcbf: Download complete 04:08:12 329c88fbcd65: Verifying Checksum 04:08:12 329c88fbcd65: Download complete 04:08:12 b3c136eddcbf: Pull complete 04:08:13 c0a3192eca97: Pull complete 04:08:13 a050256f5b6f: Pull complete 04:08:13 8a5474983e97: Verifying Checksum 04:08:13 8a5474983e97: Download complete 04:08:14 656be50a0ddc: Verifying Checksum 04:08:14 656be50a0ddc: Download complete 04:08:29 656be50a0ddc: Pull complete 04:08:29 2bbca73fdf42: Pull complete 04:08:29 46d945488cbd: Pull complete 04:08:33 8a5474983e97: Pull complete 04:08:35 329c88fbcd65: Pull complete 04:08:35 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:08:35 ---> ff4287adb874 04:08:35 Step 3/11 : ARG MAKE=make build 04:08:37 ---> Running in d7a070ff7755 04:08:38 Removing intermediate container d7a070ff7755 04:08:38 ---> 985f163996ed 04:08:38 Step 4/11 : WORKDIR /device-sdk-go 04:08:38 ---> Running in d3c220876344 04:08:38 Removing intermediate container d3c220876344 04:08:38 ---> 8b409acdbb07 04:08:38 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:38 ---> Running in 661b0286ddcb 04:08:39 Removing intermediate container 661b0286ddcb 04:08:39 ---> 3da52d1e47de 04:08:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:39 ---> Running in 422a54934e1b 04:08:41 Removing intermediate container 422a54934e1b 04:08:41 ---> ad92b907d03a 04:08:41 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:41 ---> Running in c63a3a5bc631 04:08:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:08:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:08:44 OK: 221 MiB in 51 packages 04:08:45 Removing intermediate container c63a3a5bc631 04:08:45 ---> d9b91e9f9b34 04:08:45 Step 8/11 : COPY go.mod vendor* ./ 04:08:45 ---> 2d1821dc7700 04:08:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:45 ---> Running in 0eb9c269a231 04:09:42 Removing intermediate container 0eb9c269a231 04:09:42 ---> 765627654328 04:09:42 Step 10/11 : COPY . . 04:09:42 ---> 4bb8f8c01450 04:09:42 Step 11/11 : RUN ${MAKE} 04:09:42 ---> Running in 3f8071da927c 04:09:42 noop 04:09:42 Removing intermediate container 3f8071da927c 04:09:42 ---> 24d20724f706 04:09:42 Successfully built 24d20724f706 04:09:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:43 + docker inspect -f . ci-base-image-arm64 04:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:43 prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container 04:09:43 $ 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:09:44 $ docker top fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:45 + go version 04:09:45 go version go1.18.3 linux/arm64 [Pipeline] } 04:09:46 $ docker stop --time=1 fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 04:09:47 $ docker rm -f fed8feb9acc0a0783e2b3f8731530125ed9f6d6970fd96f67b69592ee9138d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:48 + docker inspect -f . ci-base-image-arm64 04:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:48 prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container 04:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:09:50 $ docker top b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:51 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:09:52 + make test 04:09:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.382s coverage: 23.7% of statements 04:12:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.262s coverage: 27.6% of statements 04:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.303s coverage: 78.9% of statements 04:12:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.271s coverage: 10.8% of statements 04:12:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.444s coverage: 60.0% of statements 04:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.457s coverage: 34.8% of statements 04:12:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:12:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.459s coverage: 85.4% of statements 04:12:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 65.1% of statements 04:12:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:12:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:12:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.040s coverage: 89.2% of statements 04:12:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:12:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.255s coverage: 4.7% of statements 04:12:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:44 GO111MODULE=on go vet ./... 04:14:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:21 ./bin/test-attribution-txt.sh 04:14:21 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:14:21 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:14:21 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:14:21 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:14:21 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:14:21 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:14:21 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:21 $ docker stop --time=1 b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f 04:14:23 $ docker rm -f b47b05bc260af631df3d6a3c466c3e0ebea14a9ca2143ac170454ffb5f3f840f [Pipeline] // withDockerContainer [Pipeline] sh 04:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:24 Warning: overwriting stash ‘coverage-report’ 04:14:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:26 + ls -al . 04:14:26 total 300 04:14:26 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 04:09 . 04:14:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:07 .. 04:14:26 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 04:07 .dockerignore 04:14:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 04:07 .git 04:14:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:07 .github 04:14:26 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 04:07 .gitignore 04:14:26 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 04:07 .golangci.yml 04:14:26 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 04:07 CHANGELOG.md 04:14:26 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 04:07 GOVERNANCE.md 04:14:26 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 04:07 Jenkinsfile 04:14:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 04:07 LICENSE 04:14:26 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 04:07 Makefile 04:14:26 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 04:07 OWNERS.md 04:14:26 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 04:07 README.md 04:14:26 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 04:05 VERSION 04:14:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 04:07 bin 04:14:26 -rw-r--r-- 1 jenkins jenkins 131353 Jul 27 04:12 coverage.out 04:14:26 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 04:07 example 04:14:26 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 04:07 go.mod 04:14:26 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 04:07 go.sum 04:14:26 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 04:07 internal 04:14:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 04:07 openapi 04:14:26 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 04:07 pkg 04:14:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 04:07 snap 04:14:26 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:26 + 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=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 --label arch=arm64 --label version=0.0.0 . 04:14:27 Sending build context to Docker daemon 5.37MB 04:14:27 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:14:27 Step 2/25 : FROM ${BASE} AS builder 04:14:27 ---> 24d20724f706 04:14:27 Step 3/25 : ARG MAKE=make build 04:14:27 ---> Running in 1e1ba3b86269 04:14:27 Removing intermediate container 1e1ba3b86269 04:14:27 ---> a456cb760362 04:14:27 Step 4/25 : WORKDIR /device-sdk-go 04:14:27 ---> Running in 0b589c65f4e1 04:14:28 Removing intermediate container 0b589c65f4e1 04:14:28 ---> 4bf56155131a 04:14:28 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:14:28 ---> Running in 2a22c67569d6 04:14:28 Removing intermediate container 2a22c67569d6 04:14:28 ---> 592d4f7a7620 04:14:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:28 ---> Running in d56c9af6ce52 04:14:30 Removing intermediate container d56c9af6ce52 04:14:30 ---> 9a12e4706529 04:14:30 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:30 ---> Running in dea8f8ec0963 04:14:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:14:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:14:33 OK: 221 MiB in 51 packages 04:14:33 Removing intermediate container dea8f8ec0963 04:14:33 ---> a2afc3d6079a 04:14:33 Step 8/25 : COPY go.mod vendor* ./ 04:14:34 ---> 2bae6e839a7c 04:14:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:34 ---> Running in b35638717160 04:14:36 Removing intermediate container b35638717160 04:14:36 ---> ec88cca2f29c 04:14:36 Step 10/25 : COPY . . 04:14:38 ---> 38772575d66c 04:14:38 Step 11/25 : RUN ${MAKE} 04:14:38 ---> Running in 24cc96075cc8 04:14:38 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:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:00 Removing intermediate container 24cc96075cc8 04:17:00 ---> d0d8309f823f 04:17:00 Step 12/25 : FROM alpine:3.16 04:17:00 3.16: Pulling from library/alpine 04:17:00 f97344484467: Pulling fs layer 04:17:00 f97344484467: Verifying Checksum 04:17:00 f97344484467: Download complete 04:17:00 f97344484467: Pull complete 04:17:00 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 04:17:00 Status: Downloaded newer image for alpine:3.16 04:17:00 ---> 3d81c46cd875 04:17:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:00 ---> Running in 59facd8f598c 04:17:00 Removing intermediate container 59facd8f598c 04:17:00 ---> 24c200d82f4c 04:17:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:00 ---> Running in 8b09db768790 04:17:00 Removing intermediate container 8b09db768790 04:17:00 ---> 67816efc9a2e 04:17:00 Step 15/25 : RUN apk add --update --no-cache zeromq 04:17:01 ---> Running in 0e3200fea1be 04:17:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:04 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:17:04 (2/5) Installing libsodium (1.0.18-r0) 04:17:04 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:17:04 (4/5) Installing libzmq (4.3.4-r0) 04:17:04 (5/5) Installing zeromq (4.3.4-r0) 04:17:04 Executing busybox-1.35.0-r15.trigger 04:17:04 OK: 8 MiB in 19 packages 04:17:05 Removing intermediate container 0e3200fea1be 04:17:05 ---> 63a31fe92bad 04:17:05 Step 16/25 : WORKDIR / 04:17:05 ---> Running in 3a96c601f5c7 04:17:06 Removing intermediate container 3a96c601f5c7 04:17:06 ---> 5147070b2a67 04:17:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:06 ---> b43a621082a9 04:17:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:08 ---> 810917342975 04:17:08 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:08 ---> 33dc2e85698f 04:17:08 Step 20/25 : EXPOSE 59999 04:17:08 ---> Running in df92b6354933 04:17:09 Removing intermediate container df92b6354933 04:17:09 ---> 51cd8cb32b10 04:17:09 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:17:09 ---> Running in 2b58c52e20cc 04:17:09 Removing intermediate container 2b58c52e20cc 04:17:09 ---> d10fc96e605f 04:17:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:09 ---> Running in ee7fac7d7f5e 04:17:09 Removing intermediate container ee7fac7d7f5e 04:17:09 ---> 3527bde3ef9a 04:17:09 Step 23/25 : LABEL arch=arm64 04:17:10 ---> Running in 0766ee4a493b 04:17:10 Removing intermediate container 0766ee4a493b 04:17:10 ---> 0a3b2d6dc33a 04:17:10 Step 24/25 : LABEL git_sha=b1260925e1e6f2ee43685c1be7f2616c39f0ee71 04:17:10 ---> Running in 7e2e21eac6f2 04:17:10 Removing intermediate container 7e2e21eac6f2 04:17:10 ---> 4f73a72852f2 04:17:10 Step 25/25 : LABEL version=0.0.0 04:17:10 ---> Running in 622c62b20d00 04:17:11 Removing intermediate container 622c62b20d00 04:17:11 ---> b389858ca79c 04:17:11 [Warning] One or more build-args [ARCH] were not consumed 04:17:11 Successfully built b389858ca79c 04:17:11 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:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:11 04:17:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:12 arm64: Pulling from edgex-lftools-log-publisher 04:17:12 8998bd30e6a1: Pulling fs layer 04:17:12 04944245beec: Pulling fs layer 04:17:12 699f458cf7ca: Pulling fs layer 04:17:12 765212b225bb: Pulling fs layer 04:17:12 f23df028b6ca: Pulling fs layer 04:17:12 d65c8cfc05b1: Pulling fs layer 04:17:12 2437ff75d9bd: Pulling fs layer 04:17:12 f23df028b6ca: Waiting 04:17:12 d65c8cfc05b1: Waiting 04:17:12 2437ff75d9bd: Waiting 04:17:12 765212b225bb: Waiting 04:17:12 04944245beec: Verifying Checksum 04:17:12 04944245beec: Download complete 04:17:12 765212b225bb: Verifying Checksum 04:17:12 765212b225bb: Download complete 04:17:12 f23df028b6ca: Verifying Checksum 04:17:12 f23df028b6ca: Download complete 04:17:12 d65c8cfc05b1: Verifying Checksum 04:17:12 d65c8cfc05b1: Download complete 04:17:12 699f458cf7ca: Verifying Checksum 04:17:12 699f458cf7ca: Download complete 04:17:13 8998bd30e6a1: Download complete 04:17:15 2437ff75d9bd: Verifying Checksum 04:17:15 2437ff75d9bd: Download complete 04:17:17 8998bd30e6a1: Pull complete 04:17:17 04944245beec: Pull complete 04:17:19 699f458cf7ca: Pull complete 04:17:19 765212b225bb: Pull complete 04:17:20 f23df028b6ca: Pull complete 04:17:20 d65c8cfc05b1: Pull complete 04:17:35 2437ff75d9bd: Pull complete 04:17:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:36 prd-ubuntu20.04-docker-arm64-4c-16g-21202 does not seem to be running inside a container 04:17:36 $ 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:17:39 $ docker top 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:40 ---> job-cost.sh 04:17:40 lf-activate-venv: SKIPPING 04:17:40 INFO: No Stack... 04:17:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:41 INFO: Archiving Costs [Pipeline] sh 04:17:42 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, 04:17:42 -f6 [Pipeline] lock 04:17:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] 04:17:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] did not exist. Created. 04:17:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:43 /w/workspace/device-sdk-go/1@tmp/durable-1fa094b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:44 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:44 Warning: overwriting stash ‘stack-cost’ 04:17:44 Stashed 1 file(s) [Pipeline] } 04:17:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1201-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:44 $ docker stop --time=1 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 04:17:46 $ docker rm -f 3600439eec44e3c92b192844749f678a79d611bd563c944814b88d2f7741e714 [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:17:47 provisioning config files... 04:17:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config4533213639537521705tmp [Pipeline] { [Pipeline] sh 04:17:47 + set +x 04:17:47 + curl -s https://codecov.io/bash 04:17:47 + bash -s -- 04:17:47 04:17:47 _____ _ 04:17:47 / ____| | | 04:17:47 | | ___ __| | ___ ___ _____ __ 04:17:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:47 Bash-1.0.6 04:17:47 04:17:47 04:17:47 ==> git version 2.25.1 found 04:17:47 ==> 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:17:47 Release-Date: 2020-01-08 04:17:47 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:17:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:47 ==> Jenkins CI detected. 04:17:47 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1201 04:17:47 project root: . 04:17:47 --> token set from env 04:17:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:47 ==> Running gcov in . (disable via -X gcov) 04:17:47 ==> Python coveragepy not found 04:17:47 ==> Searching for coverage reports in: 04:17:47 + . 04:17:47 -> Found 1 reports 04:17:47 ==> Detecting git/mercurial file structure 04:17:47 ==> Reading reports 04:17:47 + ./coverage.out bytes=131353 04:17:47 ==> Appending adjustments 04:17:47 https://docs.codecov.io/docs/fixing-reports 04:17:47 + Found adjustments 04:17:47 ==> Gzipping contents 04:17:47 20K /tmp/codecov.7hlV8Y.gz 04:17:47 ==> Uploading reports 04:17:47 url: https://codecov.io 04:17:47 query: branch=PR-1201&commit=b1260925e1e6f2ee43685c1be7f2616c39f0ee71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1201&job=&cmd_args= 04:17:47 -> Pinging Codecov 04:17:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1201&commit=b1260925e1e6f2ee43685c1be7f2616c39f0ee71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1201&job=&cmd_args= 04:17:48 -> Uploading to 04:17:48 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/b1260925e1e6f2ee43685c1be7f2616c39f0ee71/b0bbac4e-f97e-46e2-a9ca-8d94e695919f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T041748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea80826dec4bbaef55007c3eec9f5151ac21e1bc3971a3ed9ccb7988d805a27d 04:17:48 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:48 Dload Upload Total Spent Left Speed 04:17:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17294 0 0 100 17294 0 72663 --:--:-- --:--:-- --:--:-- 72663 04:17:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b1260925e1e6f2ee43685c1be7f2616c39f0ee71 [Pipeline] } 04:17:48 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:17:50 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives ] 04:17:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives 04:17:50 total 16 04:17:50 drwxr-xr-x 3 root root 4096 Jul 27 04:07 . 04:17:50 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 04:07 .. 04:17:50 drwxr-xr-x 2 root root 4096 Jul 27 04:07 cost 04:17:50 -rw-r--r-- 1 root root 86 Jul 27 04:07 cost.csv 04:17:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives 04:17:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives 04:17:50 total 16 04:17:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 04:07 . 04:17:50 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 04:07 .. 04:17:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 04:07 cost 04:17:50 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:51 ---> package-listing.sh 04:17:51 ++ facter osfamily 04:17:51 ++ tr '[:upper:]' '[:lower:]' 04:17:51 + OS_FAMILY=debian 04:17:51 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1201 04:17:51 + START_PACKAGES=/tmp/packages_start.txt 04:17:51 + END_PACKAGES=/tmp/packages_end.txt 04:17:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:51 + PACKAGES=/tmp/packages_start.txt 04:17:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1201 ']' 04:17:51 + PACKAGES=/tmp/packages_end.txt 04:17:51 + case "${OS_FAMILY}" in 04:17:51 + dpkg -l 04:17:51 + grep '^ii' 04:17:51 + '[' -f /tmp/packages_start.txt ']' 04:17:51 + '[' -f /tmp/packages_end.txt ']' 04:17:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1201 ']' 04:17:51 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/ 04:17:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1201/archives/ [Pipeline] echo 04:17:51 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-1201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:52 prd-ubuntu20.04-docker-8c-8g-21200 does not seem to be running inside a container 04:17:52 $ 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-1201/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-1201 -v /w/workspace/gexfoundry_device-sdk-go_PR-1201:/w/workspace/gexfoundry_device-sdk-go_PR-1201:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1201@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:17:53 $ docker top c5a33f35f5fe90905918680554cf6124b6ccbfa1f09441b9dd87be4d329f75b4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:53 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:53 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:54 + ls /var/log/sa-host 04:17:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:54 provisioning config files... 04:17:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1201@tmp/config5162403690827841526tmp [Pipeline] { [Pipeline] echo 04:17:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> create-netrc.sh [Pipeline] } 04:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:55 ---> python-tools-install.sh [Pipeline] echo 04:17:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:55 ---> sudo-logs.sh 04:17:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:55 ---> job-cost.sh 04:17:55 lf-activate-venv: SKIPPING 04:17:55 DEBUG: total: 0.2199999988079071 04:17:55 INFO: Retrieving Stack Cost... 04:17:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:56 INFO: Archiving Costs [Pipeline] echo 04:17:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:56 ---> logs-deploy.sh 04:17:56 lf-activate-venv: SKIPPING 04:17:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1201/1 04:17:56 INFO: archiving workspace using pattern(s): 04:17:57 Archives upload complete. 04:17:57 INFO: archiving logs to Nexus