Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+ad939af23b2d854541ed37c0929478efa4c7d7f6 (b9195b5aa330c11c1f4d078402e36731a34442a5) 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-ssh2999945425909514953.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-ssh3979189732689266592.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8180939813986134167.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 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-ssh9376750387261559541.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5462165217884590830.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-21333 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 Checking out Revision b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 (PR-1196) > 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/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 # timeout=10 Commit message: "Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD" > git rev-list --no-walk e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:18 ========================================================= 22:41:18 EdgeX Global Pipelines Version Info 22:41:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:18 ------------------- 22:41:18 stable info: 22:41:18 ------------------- 22:41:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:18 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:41:18 Message: update stable to v1.0.238 22:41:19 ------------------- 22:41:19 experimental info: 22:41:19 ------------------- 22:41:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:41:19 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo 22:41:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b89ec2e [Pipeline] echo 22:41:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:20 provisioning config files... 22:41:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4963033271055850648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:20 ---> docker-login.sh 22:41:20 nexus3.edgexfoundry.org:10001 22:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:20 Configure a credential helper to remove this warning. See 22:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:20 22:41:20 Login Succeeded 22:41:20 nexus3.edgexfoundry.org:10002 22:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:21 Configure a credential helper to remove this warning. See 22:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:21 22:41:21 Login Succeeded 22:41:21 nexus3.edgexfoundry.org:10003 22:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:21 Configure a credential helper to remove this warning. See 22:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:21 22:41:21 Login Succeeded 22:41:21 nexus3.edgexfoundry.org:10004 22:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:21 Configure a credential helper to remove this warning. See 22:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:21 22:41:21 Login Succeeded 22:41:21 docker.io 22:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:21 Configure a credential helper to remove this warning. See 22:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:21 22:41:21 Login Succeeded 22:41:21 ---> docker-login.sh ends [Pipeline] } 22:41:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:22 + git rev-list -1 --merges b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576~1..b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo 22:41:22 -----------> git rev-list -1 --merges b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576~1..b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 22:41:22 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [false] [Pipeline] sh 22:41:22 + git log --format=format:%s -1 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo 22:41:22 ========================================================= 22:41:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:22 + git log --format=format:%s -1 b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] echo 22:41:22 [semverPrep] GIT_COMMIT: b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576, Commit Message: Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD [Pipeline] echo 22:41:22 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:41:23 + grep -v github /etc/ssh/ssh_known_hosts 22:41:23 + [ -e /tmp/ssh_known_hosts ] 22:41:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:41:23 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:23 22:41:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:23 0.1.4: Pulling from edgex-devops/py-git-semver 22:41:23 b85a868b505f: Pulling fs layer 22:41:23 e2be974225ed: Pulling fs layer 22:41:23 339a4e72a1f5: Pulling fs layer 22:41:23 988bab9f4d93: Pulling fs layer 22:41:23 1469e6f7b9e6: Pulling fs layer 22:41:23 eaf3925da568: Pulling fs layer 22:41:23 1469e6f7b9e6: Waiting 22:41:23 988bab9f4d93: Waiting 22:41:23 bab4dde63d76: Pulling fs layer 22:41:23 eaf3925da568: Waiting 22:41:23 bde34c3a00c8: Pulling fs layer 22:41:23 b352a97aabf1: Pulling fs layer 22:41:23 4872d77fe225: Pulling fs layer 22:41:23 5851b861e8e6: Pulling fs layer 22:41:23 bde34c3a00c8: Waiting 22:41:23 bab4dde63d76: Waiting 22:41:23 4872d77fe225: Waiting 22:41:23 5851b861e8e6: Waiting 22:41:23 b352a97aabf1: Waiting 22:41:23 e2be974225ed: Verifying Checksum 22:41:23 e2be974225ed: Download complete 22:41:23 988bab9f4d93: Verifying Checksum 22:41:23 988bab9f4d93: Download complete 22:41:24 1469e6f7b9e6: Verifying Checksum 22:41:24 1469e6f7b9e6: Download complete 22:41:24 339a4e72a1f5: Verifying Checksum 22:41:24 339a4e72a1f5: Download complete 22:41:24 eaf3925da568: Verifying Checksum 22:41:24 eaf3925da568: Download complete 22:41:24 bde34c3a00c8: Verifying Checksum 22:41:24 bde34c3a00c8: Download complete 22:41:24 b352a97aabf1: Download complete 22:41:24 4872d77fe225: Verifying Checksum 22:41:24 4872d77fe225: Download complete 22:41:24 5851b861e8e6: Download complete 22:41:24 b85a868b505f: Verifying Checksum 22:41:24 b85a868b505f: Download complete 22:41:24 bab4dde63d76: Verifying Checksum 22:41:24 bab4dde63d76: Download complete 22:41:25 b85a868b505f: Pull complete 22:41:25 e2be974225ed: Pull complete 22:41:26 339a4e72a1f5: Pull complete 22:41:26 988bab9f4d93: Pull complete 22:41:26 1469e6f7b9e6: Pull complete 22:41:26 eaf3925da568: Pull complete 22:41:29 bab4dde63d76: Pull complete 22:41:29 bde34c3a00c8: Pull complete 22:41:29 b352a97aabf1: Pull complete 22:41:29 4872d77fe225: Pull complete 22:41:29 5851b861e8e6: Pull complete 22:41:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:29 prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container 22:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:41:30 $ docker top cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 -eo pid,comm 22:41:30 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). 22:41:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:30 [ssh-agent] Looking for ssh-agent implementation... 22:41:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:30 $ docker exec cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent 22:41:31 SSH_AUTH_SOCK=/tmp/ssh-sdj434WTJ1jC/agent.33 22:41:31 SSH_AGENT_PID=40 22:41:31 Running ssh-add (command line suppressed) 22:41:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_689990691872301940.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_689990691872301940.key) 22:41:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:31 + git tag --points-at HEAD [Pipeline] } 22:41:31 $ docker exec --env ******** --env ******** cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent -k 22:41:31 unset SSH_AUTH_SOCK; 22:41:31 unset SSH_AGENT_PID; 22:41:31 echo Agent pid 40 killed; 22:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:31 [ssh-agent] Looking for ssh-agent implementation... 22:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:31 $ docker exec cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent 22:41:32 SSH_AUTH_SOCK=/tmp/ssh-9qnJce3SXxH3/agent.72 22:41:32 SSH_AGENT_PID=78 22:41:32 Running ssh-add (command line suppressed) 22:41:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7703719251418045142.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7703719251418045142.key) 22:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:32 + git semver init 22:41:32 2022-07-27 22:41:32,658 [run_init] DEBUG init version:0.0.0 force:False 22:41:32 2022-07-27 22:41:32,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:41:32 2022-07-27 22:41:32,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:41:32 2022-07-27 22:41:32,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) 22:41:33 2022-07-27 22:41:33,423 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 22:41:33 2022-07-27 22:41:33,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False 22:41:33 2022-07-27 22:41:33,424 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:41:33 2022-07-27 22:41:33,429 [execute] INFO git cat-file --batch-check 22:41:33 2022-07-27 22:41:33,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:41:33 2022-07-27 22:41:33,437 [execute] INFO git cat-file --batch 22:41:33 2022-07-27 22:41:33,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:41:33 2022-07-27 22:41:33,444 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:41:33 0.0.0 [Pipeline] } 22:41:33 $ docker exec --env ******** --env ******** cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 ssh-agent -k 22:41:33 unset SSH_AUTH_SOCK; 22:41:33 unset SSH_AGENT_PID; 22:41:33 echo Agent pid 78 killed; 22:41:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:34 + git semver [Pipeline] } 22:41:34 $ docker stop --time=1 cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 22:41:35 $ docker rm -f cc38157b48dd691ed7d17712f0dcb109b4f17b445ee2da083cf13dc571109850 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:36 Stashed 1 file(s) [Pipeline] echo 22:41:36 [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 22:41:36 provisioning config files... 22:41:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config64155485782812428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:36 ---> docker-login.sh 22:41:36 nexus3.edgexfoundry.org:10001 22:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:36 Configure a credential helper to remove this warning. See 22:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:36 22:41:36 Login Succeeded 22:41:36 nexus3.edgexfoundry.org:10002 22:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:37 Configure a credential helper to remove this warning. See 22:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:37 22:41:37 Login Succeeded 22:41:37 nexus3.edgexfoundry.org:10003 22:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:37 Configure a credential helper to remove this warning. See 22:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:37 22:41:37 Login Succeeded 22:41:37 nexus3.edgexfoundry.org:10004 22:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:37 Configure a credential helper to remove this warning. See 22:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:37 22:41:37 Login Succeeded 22:41:37 docker.io 22:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:37 Configure a credential helper to remove this warning. See 22:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:37 22:41:37 Login Succeeded 22:41:37 ---> docker-login.sh ends [Pipeline] } 22:41:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:37 ========================================================= 22:41:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:41:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:38 + 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 . 22:41:38 Sending build context to Docker daemon 9.782MB 22:41:38 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:41:38 Step 2/11 : FROM ${BASE} AS builder 22:41:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:38 2408cc74d12b: Pulling fs layer 22:41:38 ea60b727a1ce: Pulling fs layer 22:41:38 30c4a7721957: Pulling fs layer 22:41:38 370296b7ddb6: Pulling fs layer 22:41:38 7c6cee850709: Pulling fs layer 22:41:38 39a5fcdaea64: Pulling fs layer 22:41:38 d94ebbe4e438: Pulling fs layer 22:41:38 bcfd1f05c69d: Pulling fs layer 22:41:38 59ccb84bbe0f: Pulling fs layer 22:41:38 370296b7ddb6: Waiting 22:41:38 d94ebbe4e438: Waiting 22:41:38 7c6cee850709: Waiting 22:41:38 39a5fcdaea64: Waiting 22:41:38 bcfd1f05c69d: Waiting 22:41:38 59ccb84bbe0f: Waiting 22:41:38 30c4a7721957: Verifying Checksum 22:41:38 30c4a7721957: Download complete 22:41:38 ea60b727a1ce: Download complete 22:41:38 7c6cee850709: Verifying Checksum 22:41:38 7c6cee850709: Download complete 22:41:38 39a5fcdaea64: Download complete 22:41:38 2408cc74d12b: Verifying Checksum 22:41:38 d94ebbe4e438: Download complete 22:41:38 2408cc74d12b: Pull complete 22:41:38 ea60b727a1ce: Pull complete 22:41:38 30c4a7721957: Pull complete 22:41:38 59ccb84bbe0f: Verifying Checksum 22:41:38 59ccb84bbe0f: Download complete 22:41:38 bcfd1f05c69d: Verifying Checksum 22:41:39 370296b7ddb6: Verifying Checksum 22:41:39 370296b7ddb6: Download complete 22:41:43 370296b7ddb6: Pull complete 22:41:43 7c6cee850709: Pull complete 22:41:43 39a5fcdaea64: Pull complete 22:41:43 d94ebbe4e438: Pull complete 22:41:45 bcfd1f05c69d: Pull complete 22:41:46 59ccb84bbe0f: Pull complete 22:41:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:41:46 ---> a4fb48ad2a94 22:41:46 Step 3/11 : ARG MAKE=make build 22:41:48 ---> Running in 6cb74e8f4ee4 22:41:48 Removing intermediate container 6cb74e8f4ee4 22:41:48 ---> cf89386ea707 22:41:48 Step 4/11 : WORKDIR /device-sdk-go 22:41:48 ---> Running in 7c8caefc931e 22:41:48 Removing intermediate container 7c8caefc931e 22:41:48 ---> 8e3b8ad9a637 22:41:48 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:41:48 ---> Running in a393f6086b1a 22:41:48 Removing intermediate container a393f6086b1a 22:41:48 ---> 4ffe27157386 22:41:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:48 ---> Running in fa0bea816550 22:41:48 Removing intermediate container fa0bea816550 22:41:48 ---> 7bee2068e8a6 22:41:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:48 ---> Running in f789d4307cc5 22:41:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:41:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:41:50 OK: 211 MiB in 51 packages 22:41:50 Removing intermediate container f789d4307cc5 22:41:50 ---> 562518bb45a2 22:41:50 Step 8/11 : COPY go.mod vendor* ./ 22:41:51 ---> 22fd232da5b1 22:41:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:51 ---> Running in 534c7d383df1 22:41:51 Still waiting to schedule task 22:41:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:42:13 Removing intermediate container 534c7d383df1 22:42:13 ---> 23595621b6af 22:42:13 Step 10/11 : COPY . . 22:42:13 ---> 1e9f928bd2f4 22:42:13 Step 11/11 : RUN ${MAKE} 22:42:13 ---> Running in 562b0019970d 22:42:13 noop 22:42:13 Removing intermediate container 562b0019970d 22:42:13 ---> 71f094da66a0 22:42:13 Successfully built 71f094da66a0 22:42:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:13 + docker inspect -f . ci-base-image-x86_64 22:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:13 prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container 22:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:42:14 $ docker top 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:14 + go version 22:42:14 go version go1.18.3 linux/amd64 [Pipeline] } 22:42:14 $ docker stop --time=1 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 22:42:15 $ docker rm -f 4e7d19ef7cda550aaa6dce1a337252373a1243a4b4293a2227e1231e5cf92624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:16 + docker inspect -f . ci-base-image-x86_64 22:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:16 prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container 22:42:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:42:16 $ docker top 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh 22:42:17 + make test 22:42:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:42:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.7% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.143s coverage: 78.9% of statements 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.078s coverage: 10.8% of statements 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 60.0% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 85.4% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.759s coverage: 89.2% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:42:57 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." 22:42:57 GO111MODULE=on go vet ./... 22:43:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:00 ./bin/test-attribution-txt.sh 22:43:00 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:43:00 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:43:00 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:43:00 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:43:00 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:43:00 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:43:00 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:43:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:00 $ docker stop --time=1 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef 22:43:02 $ docker rm -f 55833bd13766b886134bea7bfcdf0bfc209b874fed853454840f18c79c8898ef [Pipeline] // withDockerContainer [Pipeline] sh 22:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:03 + ls -al . 22:43:03 total 300 22:43:03 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 22:42 . 22:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:41 .. 22:43:03 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 22:41 .dockerignore 22:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 22:42 .git 22:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:41 .github 22:43:03 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 22:41 .gitignore 22:43:03 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 22:41 .golangci.yml 22:43:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 22:41 .semver 22:43:03 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 22:41 CHANGELOG.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 22:41 GOVERNANCE.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 22:41 Jenkinsfile 22:43:03 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 22:41 LICENSE 22:43:03 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 22:41 Makefile 22:43:03 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 22:41 OWNERS.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 22:41 README.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 22:41 VERSION 22:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:41 bin 22:43:03 -rw-r--r-- 1 jenkins jenkins 130803 Jul 27 22:42 coverage.out 22:43:03 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 22:41 example 22:43:03 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 22:41 go.mod 22:43:03 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 22:41 go.sum 22:43:03 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 22:41 internal 22:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 22:41 openapi 22:43:03 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 22:41 pkg 22:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:41 snap 22:43:03 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:04 + 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=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 --label arch=amd64 --label version=0.0.0 . 22:43:04 Sending build context to Docker daemon 9.914MB 22:43:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:43:04 Step 2/25 : FROM ${BASE} AS builder 22:43:04 ---> 71f094da66a0 22:43:04 Step 3/25 : ARG MAKE=make build 22:43:04 ---> Running in cbf61046d891 22:43:04 Removing intermediate container cbf61046d891 22:43:04 ---> 8cdcb942b71a 22:43:04 Step 4/25 : WORKDIR /device-sdk-go 22:43:04 ---> Running in 85e1f345e383 22:43:04 Removing intermediate container 85e1f345e383 22:43:04 ---> f190a1e322c1 22:43:04 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:04 ---> Running in 274f6fc446b0 22:43:04 Removing intermediate container 274f6fc446b0 22:43:04 ---> 1e7c33e9e146 22:43:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:04 ---> Running in 4ae85505f3f7 22:43:05 Removing intermediate container 4ae85505f3f7 22:43:05 ---> 827035415383 22:43:05 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:43:05 ---> Running in e1536be236b1 22:43:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:06 OK: 211 MiB in 51 packages 22:43:06 Removing intermediate container e1536be236b1 22:43:06 ---> 2541485a05f5 22:43:06 Step 8/25 : COPY go.mod vendor* ./ 22:43:06 ---> 32c9daf62b0d 22:43:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:07 ---> Running in 953f69e12ef6 22:43:07 Removing intermediate container 953f69e12ef6 22:43:07 ---> d951309806c4 22:43:07 Step 10/25 : COPY . . 22:43:07 ---> a7c2f1eb44a5 22:43:07 Step 11/25 : RUN ${MAKE} 22:43:07 ---> Running in 83589b5c39e1 22:43:08 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 22:43:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:43:28 Removing intermediate container 83589b5c39e1 22:43:28 ---> 3cf77d5403d3 22:43:28 Step 12/25 : FROM alpine:3.16 22:43:28 3.16: Pulling from library/alpine 22:43:28 530afca65e2e: Pulling fs layer 22:43:28 530afca65e2e: Verifying Checksum 22:43:28 530afca65e2e: Download complete 22:43:29 530afca65e2e: Pull complete 22:43:29 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 22:43:29 Status: Downloaded newer image for alpine:3.16 22:43:29 ---> d7d3d98c851f 22:43:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:29 ---> Running in 51872d8887d9 22:43:29 Removing intermediate container 51872d8887d9 22:43:29 ---> 22770ac9e9f0 22:43:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:29 ---> Running in d601064800e0 22:43:29 Removing intermediate container d601064800e0 22:43:29 ---> 179a623336f0 22:43:29 Step 15/25 : RUN apk add --update --no-cache zeromq 22:43:29 ---> Running in 7ae3671582f6 22:43:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:43:31 (2/5) Installing libsodium (1.0.18-r0) 22:43:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:43:31 (4/5) Installing libzmq (4.3.4-r0) 22:43:31 (5/5) Installing zeromq (4.3.4-r0) 22:43:31 Executing busybox-1.35.0-r15.trigger 22:43:31 OK: 8 MiB in 19 packages 22:43:32 Removing intermediate container 7ae3671582f6 22:43:32 ---> 0937c03eb257 22:43:32 Step 16/25 : WORKDIR / 22:43:32 ---> Running in 1c00a9f0fbf6 22:43:32 Removing intermediate container 1c00a9f0fbf6 22:43:32 ---> 407cf9e8f90f 22:43:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:43:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21334 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 22:43:32 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:43:32 The recommended git tool is: git 22:43:32 ---> 3a8d653f5f74 22:43:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:43:32 ---> 07f365ddfcd1 22:43:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:43:32 ---> a10fa647f461 22:43:32 Step 20/25 : EXPOSE 59999 22:43:32 ---> Running in 15f8cd068104 22:43:32 Removing intermediate container 15f8cd068104 22:43:32 ---> 0e6461b39f6d 22:43:32 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:43:33 ---> Running in dc3e983f1d74 22:43:33 Removing intermediate container dc3e983f1d74 22:43:33 ---> 78ae3ad04701 22:43:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:43:33 ---> Running in 50fffadcc491 22:43:33 Removing intermediate container 50fffadcc491 22:43:33 ---> 4270c9c8c5bb 22:43:33 Step 23/25 : LABEL arch=amd64 22:43:33 ---> Running in 27b3c7ae7aca 22:43:33 Removing intermediate container 27b3c7ae7aca 22:43:33 ---> 440ca00475eb 22:43:33 Step 24/25 : LABEL git_sha=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 22:43:33 ---> Running in d789ffae2992 22:43:33 Removing intermediate container d789ffae2992 22:43:33 ---> 7b6e9803ba26 22:43:33 Step 25/25 : LABEL version=0.0.0 22:43:33 ---> Running in 7062d6c289b6 22:43:33 Removing intermediate container 7062d6c289b6 22:43:33 ---> bd2ea56c5b8c 22:43:33 [Warning] One or more build-args [ARCH] were not consumed 22:43:33 Successfully built bd2ea56c5b8c 22:43:33 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 22:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:34 22:43:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:34 latest: Pulling from edgex-lftools-log-publisher 22:43:34 5eb5b503b376: Pulling fs layer 22:43:34 5c69ac0246d0: Pulling fs layer 22:43:34 ec43610c2a17: Pulling fs layer 22:43:34 3a2ae6a8a46f: Pulling fs layer 22:43:34 33b1e0a273af: Pulling fs layer 22:43:34 5d3b04190fa2: Pulling fs layer 22:43:34 2f39f015ded8: Pulling fs layer 22:43:34 33b1e0a273af: Waiting 22:43:34 3a2ae6a8a46f: Waiting 22:43:34 2f39f015ded8: Waiting 22:43:34 5d3b04190fa2: Waiting 22:43:34 5c69ac0246d0: Download complete 22:43:34 3a2ae6a8a46f: Download complete 22:43:34 ec43610c2a17: Verifying Checksum 22:43:34 ec43610c2a17: Download complete 22:43:34 33b1e0a273af: Verifying Checksum 22:43:34 33b1e0a273af: Download complete 22:43:34 5d3b04190fa2: Verifying Checksum 22:43:34 5d3b04190fa2: Download complete 22:43:34 5eb5b503b376: Verifying Checksum 22:43:34 5eb5b503b376: Download complete 22:43:35 2f39f015ded8: Download complete 22:43:36 5eb5b503b376: Pull complete 22:43:36 5c69ac0246d0: Pull complete 22:43:36 ec43610c2a17: Pull complete 22:43:36 3a2ae6a8a46f: Pull complete 22:43:37 33b1e0a273af: Pull complete 22:43:37 5d3b04190fa2: Pull complete 22:43:37 using credential edgex-jenkins-ssh 22:43:37 Cloning the remote Git repository 22:43:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:43:37 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:43:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:37 > git --version # timeout=10 22:43:37 > git --version # 'git version 2.25.1' 22:43:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:39 Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 22:43:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:43:39 > git config core.sparsecheckout # timeout=10 22:43:39 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 22:43:40 Merge succeeded, producing 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 22:43:40 Checking out Revision 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 (PR-1196) 22:43:40 > git remote # timeout=10 22:43:40 > git config --get remote.origin.url # timeout=10 22:43:40 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:40 > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 22:43:40 > git rev-parse HEAD^{commit} # timeout=10 22:43:40 > git config core.sparsecheckout # timeout=10 22:43:40 > git checkout -f 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 # timeout=10 22:43:42 2f39f015ded8: Pull complete 22:43:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:42 prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container 22:43:42 $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:43:43 $ docker top f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:44 ---> job-cost.sh 22:43:44 lf-activate-venv: SKIPPING 22:43:44 INFO: No Stack... 22:43:44 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:44 Commit message: "Merge commit 'ad939af23b2d854541ed37c0929478efa4c7d7f6' into HEAD" 22:43:44 > git rev-list --no-walk e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 22:43:45 22:43:45 GitHub has been notified of this commit’s build result 22:43:45 [Pipeline] withEnv [Pipeline] { 22:43:45 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:45 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv 22:43:45 + cut -d, -f6 [Pipeline] lock 22:43:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] 22:43:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] did not exist. Created. 22:43:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:45 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:45 Dload Upload Total Spent Left Speed 22:43:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k 22:43:45 + echo total: 0.2199999988079071 [Pipeline] stash 22:43:45 Stashed 1 file(s) [Pipeline] } 22:43:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:45 $ docker stop --time=1 f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 22:43:46 $ docker rm -f f0af0710eda911e71d878a81fd50f459e03aa2b628711faf447ace5ab8361b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:47 + sudo tee /etc/docker/daemon.new 22:43:47 { 22:43:47 "registry-mirrors": [ 22:43:47 "https://nexus3.edgexfoundry.org:10001" 22:43:47 ], 22:43:47 "bip": "10.250.0.254/24", 22:43:47 "hosts": [ 22:43:47 "tcp://0.0.0.0:5555", 22:43:47 "unix:///var/run/docker.sock" 22:43:47 ], 22:43:47 "mtu": 1458, 22:43:47 "selinux-enabled": true, 22:43:47 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:47 } [Pipeline] sh 22:43:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:06 provisioning config files... 22:44:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7381233510429871783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:07 ---> docker-login.sh 22:44:07 nexus3.edgexfoundry.org:10001 22:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 nexus3.edgexfoundry.org:10002 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 nexus3.edgexfoundry.org:10003 22:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:09 Configure a credential helper to remove this warning. See 22:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:09 22:44:09 Login Succeeded 22:44:09 nexus3.edgexfoundry.org:10004 22:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:09 Configure a credential helper to remove this warning. See 22:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:09 22:44:09 Login Succeeded 22:44:09 docker.io 22:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:10 Configure a credential helper to remove this warning. See 22:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:10 22:44:10 Login Succeeded 22:44:10 ---> docker-login.sh ends [Pipeline] } 22:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:10 ========================================================= 22:44:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:44:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44: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 . 22:44:11 Sending build context to Docker daemon 5.256MB 22:44:11 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:44:11 Step 2/11 : FROM ${BASE} AS builder 22:44:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:11 b3c136eddcbf: Pulling fs layer 22:44:11 c0a3192eca97: Pulling fs layer 22:44:11 a050256f5b6f: Pulling fs layer 22:44:11 656be50a0ddc: Pulling fs layer 22:44:11 2bbca73fdf42: Pulling fs layer 22:44:11 46d945488cbd: Pulling fs layer 22:44:11 8a5474983e97: Pulling fs layer 22:44:11 656be50a0ddc: Waiting 22:44:11 2bbca73fdf42: Waiting 22:44:11 46d945488cbd: Waiting 22:44:11 329c88fbcd65: Pulling fs layer 22:44:11 8a5474983e97: Waiting 22:44:11 329c88fbcd65: Waiting 22:44:11 a050256f5b6f: Verifying Checksum 22:44:11 a050256f5b6f: Download complete 22:44:11 c0a3192eca97: Verifying Checksum 22:44:11 c0a3192eca97: Download complete 22:44:11 2bbca73fdf42: Verifying Checksum 22:44:11 2bbca73fdf42: Download complete 22:44:11 46d945488cbd: Verifying Checksum 22:44:11 46d945488cbd: Download complete 22:44:11 b3c136eddcbf: Verifying Checksum 22:44:11 b3c136eddcbf: Download complete 22:44:12 b3c136eddcbf: Pull complete 22:44:12 329c88fbcd65: Verifying Checksum 22:44:12 329c88fbcd65: Download complete 22:44:12 c0a3192eca97: Pull complete 22:44:13 a050256f5b6f: Pull complete 22:44:13 8a5474983e97: Verifying Checksum 22:44:13 8a5474983e97: Download complete 22:44:14 656be50a0ddc: Verifying Checksum 22:44:14 656be50a0ddc: Download complete 22:44:29 656be50a0ddc: Pull complete 22:44:29 2bbca73fdf42: Pull complete 22:44:29 46d945488cbd: Pull complete 22:44:33 8a5474983e97: Pull complete 22:44:36 329c88fbcd65: Pull complete 22:44:36 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:44:36 ---> ff4287adb874 22:44:36 Step 3/11 : ARG MAKE=make build 22:44:38 ---> Running in 64bf1bd71fb9 22:44:38 Removing intermediate container 64bf1bd71fb9 22:44:38 ---> ddfb0304cd1b 22:44:38 Step 4/11 : WORKDIR /device-sdk-go 22:44:38 ---> Running in ee74261a2c10 22:44:38 Removing intermediate container ee74261a2c10 22:44:38 ---> 78d785e5c798 22:44:38 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:44:39 ---> Running in d12a48e6b2bc 22:44:39 Removing intermediate container d12a48e6b2bc 22:44:39 ---> c15b0822621e 22:44:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:39 ---> Running in 2e50c667a726 22:44:41 Removing intermediate container 2e50c667a726 22:44:41 ---> 927ffbf4960a 22:44:41 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:44:41 ---> Running in eac6b21e72df 22:44:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:44:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:44:43 OK: 221 MiB in 51 packages 22:44:44 Removing intermediate container eac6b21e72df 22:44:44 ---> c92668d0174a 22:44:44 Step 8/11 : COPY go.mod vendor* ./ 22:44:45 ---> 70abe0ce5617 22:44:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:45 ---> Running in 1aa1a0447f5f 22:45:32 Removing intermediate container 1aa1a0447f5f 22:45:32 ---> 3be40b020d21 22:45:32 Step 10/11 : COPY . . 22:45:32 ---> 1bbd78e1354b 22:45:32 Step 11/11 : RUN ${MAKE} 22:45:32 ---> Running in b1da266a3a15 22:45:33 noop 22:45:34 Removing intermediate container b1da266a3a15 22:45:34 ---> 1fea06a7cccd 22:45:34 Successfully built 1fea06a7cccd 22:45:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:34 + docker inspect -f . ci-base-image-arm64 22:45:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:34 prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container 22:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:36 $ docker top a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:36 + go version 22:45:36 go version go1.18.3 linux/arm64 [Pipeline] } 22:45:36 $ docker stop --time=1 a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd 22:45:38 $ docker rm -f a5c0d3ebf68490f6e6b7e3cb45d56cc6f1c461f2331aef6af673494f26e9f4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:39 + docker inspect -f . ci-base-image-arm64 22:45:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:39 prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container 22:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:40 $ docker top 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:41 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 22:45:42 + make test 22:45:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:47:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:47:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:47:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.446s coverage: 23.7% of statements 22:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.270s coverage: 27.6% of statements 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 78.9% of statements 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.301s coverage: 10.8% of statements 22:48:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.403s coverage: 60.0% of statements 22:48:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.388s coverage: 34.8% of statements 22:48:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.308s coverage: 85.4% of statements 22:48:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.411s coverage: 65.1% of statements 22:48:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:48:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:48:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.998s coverage: 89.2% of statements 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.9% of statements 22:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:48:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:48:13 GO111MODULE=on go vet ./... 22:49:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:35 ./bin/test-attribution-txt.sh 22:49:35 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:49:35 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:49:35 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:49:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:49:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:49:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:49:35 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:49:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:35 $ docker stop --time=1 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef 22:49:37 $ docker rm -f 709fa1ec12ca5a8889a44d37697abc4b6b9fccb3dab98c1cfa29a14d8fc3fcef [Pipeline] // withDockerContainer [Pipeline] sh 22:49:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:38 Warning: overwriting stash ‘coverage-report’ 22:49:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:39 + ls -al . 22:49:39 total 296 22:49:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 22:45 . 22:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:43 .. 22:49:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 22:43 .dockerignore 22:49:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 22:43 .git 22:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:43 .github 22:49:39 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 22:43 .gitignore 22:49:39 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 22:43 .golangci.yml 22:49:39 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 22:43 CHANGELOG.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 22:43 GOVERNANCE.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 22:43 Jenkinsfile 22:49:39 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 22:43 LICENSE 22:49:39 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 22:43 Makefile 22:49:39 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 22:43 OWNERS.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 22:43 README.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 22:41 VERSION 22:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 22:43 bin 22:49:39 -rw-r--r-- 1 jenkins jenkins 130803 Jul 27 22:48 coverage.out 22:49:39 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 22:43 example 22:49:39 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 22:43 go.mod 22:49:39 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 22:43 go.sum 22:49:39 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 22:43 internal 22:49:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 22:43 openapi 22:49:39 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 22:43 pkg 22:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 22:43 snap 22:49:39 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:40 + 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=1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 --label arch=arm64 --label version=0.0.0 . 22:49:40 Sending build context to Docker daemon 5.387MB 22:49:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:49:40 Step 2/25 : FROM ${BASE} AS builder 22:49:40 ---> 1fea06a7cccd 22:49:40 Step 3/25 : ARG MAKE=make build 22:49:40 ---> Running in c84848809ec3 22:49:41 Removing intermediate container c84848809ec3 22:49:41 ---> 129f45c11c4e 22:49:41 Step 4/25 : WORKDIR /device-sdk-go 22:49:41 ---> Running in 97ed6472d4ce 22:49:41 Removing intermediate container 97ed6472d4ce 22:49:41 ---> b09bccc5bd8e 22:49:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:49:41 ---> Running in c696cd73e77b 22:49:41 Removing intermediate container c696cd73e77b 22:49:41 ---> 1a8cd45775b3 22:49:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:41 ---> Running in bf168cf7f503 22:49:43 Removing intermediate container bf168cf7f503 22:49:43 ---> 43c65a920982 22:49:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:43 ---> Running in 93c8598e1dc7 22:49:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:49:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:49:46 OK: 221 MiB in 51 packages 22:49:47 Removing intermediate container 93c8598e1dc7 22:49:47 ---> c2cb4f6e85d5 22:49:47 Step 8/25 : COPY go.mod vendor* ./ 22:49:47 ---> 55655bb77e73 22:49:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:47 ---> Running in 5d55ca56842a 22:49:49 Removing intermediate container 5d55ca56842a 22:49:49 ---> c4d25321ce21 22:49:49 Step 10/25 : COPY . . 22:49:50 ---> 35973e530c37 22:49:50 Step 11/25 : RUN ${MAKE} 22:49:50 ---> Running in bf53d0b74fe2 22:49:51 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 22:51:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:51:58 Removing intermediate container bf53d0b74fe2 22:51:58 ---> ad483d933aab 22:51:58 Step 12/25 : FROM alpine:3.16 22:51:58 3.16: Pulling from library/alpine 22:51:58 f97344484467: Pulling fs layer 22:51:58 f97344484467: Verifying Checksum 22:51:58 f97344484467: Download complete 22:51:58 f97344484467: Pull complete 22:51:58 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 22:51:58 Status: Downloaded newer image for alpine:3.16 22:51:58 ---> 3d81c46cd875 22:51:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:51:58 ---> Running in dc24ab9e53d0 22:51:58 Removing intermediate container dc24ab9e53d0 22:51:58 ---> 0570b7e4b111 22:51:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:58 ---> Running in 6ee8f29a231d 22:51:58 Removing intermediate container 6ee8f29a231d 22:51:58 ---> 44c580ff5e7b 22:51:58 Step 15/25 : RUN apk add --update --no-cache zeromq 22:51:58 ---> Running in 2545f6a9ec14 22:51:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:51:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:51:58 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:51:58 (2/5) Installing libsodium (1.0.18-r0) 22:51:58 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:51:58 (4/5) Installing libzmq (4.3.4-r0) 22:51:58 (5/5) Installing zeromq (4.3.4-r0) 22:51:59 Executing busybox-1.35.0-r15.trigger 22:51:59 OK: 8 MiB in 19 packages 22:52:00 Removing intermediate container 2545f6a9ec14 22:52:00 ---> d0d64cfaf8d2 22:52:00 Step 16/25 : WORKDIR / 22:52:00 ---> Running in 62154f93e9fe 22:52:00 Removing intermediate container 62154f93e9fe 22:52:00 ---> 3527d7cb2e9f 22:52:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:52:01 ---> a4a14ad6428f 22:52:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:52:02 ---> adde694f5e7b 22:52:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:52:03 ---> 0c3eeced9127 22:52:03 Step 20/25 : EXPOSE 59999 22:52:03 ---> Running in a0146c846299 22:52:03 Removing intermediate container a0146c846299 22:52:03 ---> a381bff576ab 22:52:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:52:03 ---> Running in 00ed9751d844 22:52:03 Removing intermediate container 00ed9751d844 22:52:03 ---> 6f026302213f 22:52:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:52:03 ---> Running in 15c00db4048a 22:52:04 Removing intermediate container 15c00db4048a 22:52:04 ---> 4540525b57b1 22:52:04 Step 23/25 : LABEL arch=arm64 22:52:04 ---> Running in e53ae5a953b1 22:52:04 Removing intermediate container e53ae5a953b1 22:52:04 ---> cd1b84dc5cf2 22:52:04 Step 24/25 : LABEL git_sha=1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 22:52:04 ---> Running in 412f03dc116b 22:52:04 Removing intermediate container 412f03dc116b 22:52:04 ---> e3745ea3c132 22:52:04 Step 25/25 : LABEL version=0.0.0 22:52:04 ---> Running in a60adc248dee 22:52:05 Removing intermediate container a60adc248dee 22:52:05 ---> 9f5ab13fcb5b 22:52:05 [Warning] One or more build-args [ARCH] were not consumed 22:52:05 Successfully built 9f5ab13fcb5b 22:52:05 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:05 22:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:06 arm64: Pulling from edgex-lftools-log-publisher 22:52:06 8998bd30e6a1: Pulling fs layer 22:52:06 04944245beec: Pulling fs layer 22:52:06 699f458cf7ca: Pulling fs layer 22:52:06 765212b225bb: Pulling fs layer 22:52:06 f23df028b6ca: Pulling fs layer 22:52:06 d65c8cfc05b1: Pulling fs layer 22:52:06 2437ff75d9bd: Pulling fs layer 22:52:06 765212b225bb: Waiting 22:52:06 f23df028b6ca: Waiting 22:52:06 d65c8cfc05b1: Waiting 22:52:06 2437ff75d9bd: Waiting 22:52:06 04944245beec: Verifying Checksum 22:52:06 04944245beec: Download complete 22:52:06 765212b225bb: Verifying Checksum 22:52:06 765212b225bb: Download complete 22:52:06 f23df028b6ca: Verifying Checksum 22:52:06 f23df028b6ca: Download complete 22:52:06 d65c8cfc05b1: Verifying Checksum 22:52:06 d65c8cfc05b1: Download complete 22:52:06 699f458cf7ca: Download complete 22:52:06 8998bd30e6a1: Verifying Checksum 22:52:06 8998bd30e6a1: Download complete 22:52:09 2437ff75d9bd: Verifying Checksum 22:52:09 2437ff75d9bd: Download complete 22:52:11 8998bd30e6a1: Pull complete 22:52:11 04944245beec: Pull complete 22:52:13 699f458cf7ca: Pull complete 22:52:13 765212b225bb: Pull complete 22:52:14 f23df028b6ca: Pull complete 22:52:14 d65c8cfc05b1: Pull complete 22:52:29 2437ff75d9bd: Pull complete 22:52:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:29 prd-ubuntu20.04-docker-arm64-4c-16g-21334 does not seem to be running inside a container 22:52:30 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:52:32 $ docker top cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:33 ---> job-cost.sh 22:52:33 lf-activate-venv: SKIPPING 22:52:33 INFO: No Stack... 22:52:34 INFO: Retrieving Pricing Info for: v3-standard-4 22:52:35 INFO: Archiving Costs [Pipeline] sh 22:52:35 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:52:35 + cut -d, -f6 [Pipeline] lock 22:52:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] 22:52:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] did not exist. Created. 22:52:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:36 /w/workspace/device-sdk-go/2@tmp/durable-2cdf0da2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:37 + echo total: 0.10999999940395355 [Pipeline] stash 22:52:37 Warning: overwriting stash ‘stack-cost’ 22:52:37 Stashed 1 file(s) [Pipeline] } 22:52:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:37 $ docker stop --time=1 cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b 22:52:38 $ docker rm -f cd7a286793d5dec51be5af68db6b3981693f18f670867460bc205f42d8ec317b [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 22:52:39 provisioning config files... 22:52:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7474017100488878489tmp [Pipeline] { [Pipeline] sh 22:52:39 + set +x 22:52:39 + curl -s https://codecov.io/bash 22:52:39 + bash -s -- 22:52:39 22:52:39 _____ _ 22:52:39 / ____| | | 22:52:39 | | ___ __| | ___ ___ _____ __ 22:52:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:39 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:39 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:39 Bash-1.0.6 22:52:39 22:52:39 22:52:39 ==> git version 2.25.1 found 22:52:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:52:39 Release-Date: 2020-01-08 22:52:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:52:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:52:39 ==> Jenkins CI detected. 22:52:39 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 22:52:39 project root: . 22:52:39 --> token set from env 22:52:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:39 ==> Running gcov in . (disable via -X gcov) 22:52:39 ==> Python coveragepy not found 22:52:39 ==> Searching for coverage reports in: 22:52:39 + . 22:52:39 -> Found 1 reports 22:52:39 ==> Detecting git/mercurial file structure 22:52:39 ==> Reading reports 22:52:39 + ./coverage.out bytes=130803 22:52:39 ==> Appending adjustments 22:52:39 https://docs.codecov.io/docs/fixing-reports 22:52:39 + Found adjustments 22:52:40 ==> Gzipping contents 22:52:40 20K /tmp/codecov.E0icGV.gz 22:52:40 ==> Uploading reports 22:52:40 url: https://codecov.io 22:52:40 query: branch=PR-1196&commit=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:52:40 -> Pinging Codecov 22:52:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:52:40 -> Uploading to 22:52:40 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576/424bbb39-81de-4132-9a2c-c6c2cd842d82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T225240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6641b92f92634a848f9cfc84fe98641a8d525995f56937a559a60e2b94285644 22:52:40 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:40 Dload Upload Total Spent Left Speed 22:52:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17249 0 0 100 17249 0 72780 --:--:-- --:--:-- --:--:-- 72780 22:52:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b89ec2e9ad81802bce0e4c4b79d3adf88ad7f576 [Pipeline] } 22:52:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:52:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 22:52:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:52:41 total 16 22:52:41 drwxr-xr-x 3 root root 4096 Jul 27 22:43 . 22:52:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 22:43 .. 22:52:41 drwxr-xr-x 2 root root 4096 Jul 27 22:43 cost 22:52:41 -rw-r--r-- 1 root root 86 Jul 27 22:43 cost.csv 22:52:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:52:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:52:41 total 16 22:52:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 22:43 . 22:52:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 22:43 .. 22:52:41 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 22:43 cost 22:52:41 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:52:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:42 ---> package-listing.sh 22:52:42 ++ facter osfamily 22:52:42 ++ tr '[:upper:]' '[:lower:]' 22:52:42 + OS_FAMILY=debian 22:52:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 22:52:42 + START_PACKAGES=/tmp/packages_start.txt 22:52:42 + END_PACKAGES=/tmp/packages_end.txt 22:52:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:42 + PACKAGES=/tmp/packages_start.txt 22:52:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:52:42 + PACKAGES=/tmp/packages_end.txt 22:52:42 + case "${OS_FAMILY}" in 22:52:42 + dpkg -l 22:52:42 + grep '^ii' 22:52:42 + '[' -f /tmp/packages_start.txt ']' 22:52:42 + '[' -f /tmp/packages_end.txt ']' 22:52:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:52:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 22:52:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo 22:52:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:43 prd-ubuntu20.04-docker-8c-8g-21333 does not seem to be running inside a container 22:52:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:52:44 $ docker top 51083054f0c98940c121661d4b0e9ec5634768246217d32e2fa7175b6f5d4ee1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:44 + touch /tmp/pre-build-complete [Pipeline] sh 22:52:44 + mkdir -p /var/log/sysstat [Pipeline] sh 22:52:45 + ls /var/log/sa-host 22:52:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:45 provisioning config files... 22:52:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8946089968526738598tmp [Pipeline] { [Pipeline] echo 22:52:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:45 ---> create-netrc.sh [Pipeline] } 22:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:52:45 ---> python-tools-install.sh [Pipeline] echo 22:52:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:52:46 ---> sudo-logs.sh 22:52:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:52:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:52:46 ---> job-cost.sh 22:52:46 lf-activate-venv: SKIPPING 22:52:46 DEBUG: total: 0.2199999988079071 22:52:46 INFO: Retrieving Stack Cost... 22:52:47 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:47 INFO: Archiving Costs [Pipeline] echo 22:52:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:52:47 ---> logs-deploy.sh 22:52:47 lf-activate-venv: SKIPPING 22:52:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/2 22:52:47 INFO: archiving workspace using pattern(s): 22:52:48 Archives upload complete. 22:52:48 INFO: archiving logs to Nexus