Pull request #1436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d0b46619ca3b4834ae9f5af79813ca0a50798beb+c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 (f233723f18785096377f8f112f6da0e5f0af9351) 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-ssh12102512337362599602.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6899611662469421960.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7957458929535255685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12631165379540017784.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10245581049365789147.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13482648233569954046.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/v3]] ========================================================= [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.20 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/v3 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 Running on prd-ubuntu20.04-docker-8c-8g-11138 in /w/workspace/gexfoundry_device-sdk-go_PR-1436 [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-1436 # 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 > 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/1436/head:refs/remotes/origin/PR-1436 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 into PR head commit d0b46619ca3b4834ae9f5af79813ca0a50798beb Merge succeeded, producing d0b46619ca3b4834ae9f5af79813ca0a50798beb Checking out Revision d0b46619ca3b4834ae9f5af79813ca0a50798beb (PR-1436) > git config core.sparsecheckout # timeout=10 > git checkout -f d0b46619ca3b4834ae9f5af79813ca0a50798beb # 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 c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b46619ca3b4834ae9f5af79813ca0a50798beb # timeout=10 Commit message: "feat: Consume new -d/--dev Dev Mode command-line flag" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:10:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:10:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:10:17 ========================================================= 00:10:17 EdgeX Global Pipelines Version Info 00:10:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:10:17 ------------------- 00:10:17 stable info: 00:10:17 ------------------- 00:10:17 Commited By: Bill Mahoney bill.mahoney@intel.com 00:10:17 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 00:10:17 Message: update stable to v1.0.248 00:10:18 ------------------- 00:10:18 experimental info: 00:10:18 ------------------- 00:10:18 Commited By: **** collab-it+edgex@linuxfoundation.org 00:10:18 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 00:10:18 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:10:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1436 [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1436 [Pipeline] echo 00:10:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1436 [Pipeline] echo 00:10:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b46619ca3b4834ae9f5af79813ca0a50798beb [Pipeline] echo 00:10:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b4661 [Pipeline] echo 00:10:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:20 provisioning config files... 00:10:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/config9327279462149733595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:20 ---> docker-login.sh 00:10:20 nexus3.edgexfoundry.org:10001 00:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:20 Configure a credential helper to remove this warning. See 00:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:20 00:10:20 Login Succeeded 00:10:20 nexus3.edgexfoundry.org:10002 00:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:20 Configure a credential helper to remove this warning. See 00:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:20 00:10:20 Login Succeeded 00:10:20 nexus3.edgexfoundry.org:10003 00:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:21 Configure a credential helper to remove this warning. See 00:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:21 00:10:21 Login Succeeded 00:10:21 nexus3.edgexfoundry.org:10004 00:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:21 Configure a credential helper to remove this warning. See 00:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:21 00:10:21 Login Succeeded 00:10:21 docker.io 00:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:21 Configure a credential helper to remove this warning. See 00:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:21 00:10:21 Login Succeeded 00:10:21 ---> docker-login.sh ends [Pipeline] } 00:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:10:22 + git rev-list -1 --merges d0b46619ca3b4834ae9f5af79813ca0a50798beb~1..d0b46619ca3b4834ae9f5af79813ca0a50798beb [Pipeline] echo 00:10:22 -----------> git rev-list -1 --merges d0b46619ca3b4834ae9f5af79813ca0a50798beb~1..d0b46619ca3b4834ae9f5af79813ca0a50798beb d0b46619ca3b4834ae9f5af79813ca0a50798beb [false] [Pipeline] sh 00:10:22 + git log --format=format:%s -1 d0b46619ca3b4834ae9f5af79813ca0a50798beb [Pipeline] echo 00:10:22 ========================================================= 00:10:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:10:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:23 + git log --format=format:%s -1 d0b46619ca3b4834ae9f5af79813ca0a50798beb [Pipeline] echo 00:10:23 [semverPrep] GIT_COMMIT: d0b46619ca3b4834ae9f5af79813ca0a50798beb, Commit Message: feat: Consume new -d/--dev Dev Mode command-line flag [Pipeline] echo 00:10:23 [semverPrep] This is not a build commit. [Pipeline] sh 00:10:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:23 + grep -v github /etc/ssh/ssh_known_hosts 00:10:23 + [ -e /tmp/ssh_known_hosts ] 00:10:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:10:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:10:23 + sudo tee -a /etc/ssh/ssh_known_hosts 00:10:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:24 00:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:24 0.1.4: Pulling from edgex-devops/py-git-semver 00:10:24 b85a868b505f: Pulling fs layer 00:10:24 e2be974225ed: Pulling fs layer 00:10:24 339a4e72a1f5: Pulling fs layer 00:10:24 988bab9f4d93: Pulling fs layer 00:10:24 1469e6f7b9e6: Pulling fs layer 00:10:24 eaf3925da568: Pulling fs layer 00:10:24 bab4dde63d76: Pulling fs layer 00:10:24 bde34c3a00c8: Pulling fs layer 00:10:24 b352a97aabf1: Pulling fs layer 00:10:24 4872d77fe225: Pulling fs layer 00:10:24 5851b861e8e6: Pulling fs layer 00:10:24 bde34c3a00c8: Waiting 00:10:24 b352a97aabf1: Waiting 00:10:24 4872d77fe225: Waiting 00:10:24 5851b861e8e6: Waiting 00:10:24 988bab9f4d93: Waiting 00:10:24 eaf3925da568: Waiting 00:10:24 1469e6f7b9e6: Waiting 00:10:24 bab4dde63d76: Waiting 00:10:24 e2be974225ed: Download complete 00:10:24 988bab9f4d93: Verifying Checksum 00:10:24 988bab9f4d93: Download complete 00:10:24 1469e6f7b9e6: Verifying Checksum 00:10:24 1469e6f7b9e6: Download complete 00:10:24 eaf3925da568: Download complete 00:10:24 339a4e72a1f5: Verifying Checksum 00:10:24 339a4e72a1f5: Download complete 00:10:24 bde34c3a00c8: Download complete 00:10:24 b352a97aabf1: Download complete 00:10:24 4872d77fe225: Verifying Checksum 00:10:24 4872d77fe225: Download complete 00:10:24 5851b861e8e6: Download complete 00:10:24 b85a868b505f: Verifying Checksum 00:10:24 b85a868b505f: Download complete 00:10:25 bab4dde63d76: Verifying Checksum 00:10:25 bab4dde63d76: Download complete 00:10:25 b85a868b505f: Pull complete 00:10:25 e2be974225ed: Pull complete 00:10:26 339a4e72a1f5: Pull complete 00:10:26 988bab9f4d93: Pull complete 00:10:26 1469e6f7b9e6: Pull complete 00:10:26 eaf3925da568: Pull complete 00:10:28 bab4dde63d76: Pull complete 00:10:28 bde34c3a00c8: Pull complete 00:10:28 b352a97aabf1: Pull complete 00:10:28 4872d77fe225: Pull complete 00:10:28 5851b861e8e6: Pull complete 00:10:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:10:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:28 prd-ubuntu20.04-docker-8c-8g-11138 does not seem to be running inside a container 00:10:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1436 -v /w/workspace/gexfoundry_device-sdk-go_PR-1436:/w/workspace/gexfoundry_device-sdk-go_PR-1436:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:31 $ docker top e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 -eo pid,comm 00:10:31 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). 00:10:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:31 [ssh-agent] Looking for ssh-agent implementation... 00:10:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:31 $ docker exec e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 ssh-agent 00:10:31 SSH_AUTH_SOCK=/tmp/ssh-mm8iiHFVfcpO/agent.33 00:10:31 SSH_AGENT_PID=39 00:10:31 Running ssh-add (command line suppressed) 00:10:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/private_key_10341365835896849859.key (/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/private_key_10341365835896849859.key) 00:10:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:32 + git tag --points-at HEAD [Pipeline] } 00:10:32 $ docker exec --env ******** --env ******** e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 ssh-agent -k 00:10:32 unset SSH_AUTH_SOCK; 00:10:32 unset SSH_AGENT_PID; 00:10:32 echo Agent pid 39 killed; 00:10:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:32 [ssh-agent] Looking for ssh-agent implementation... 00:10:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:32 $ docker exec e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 ssh-agent 00:10:32 SSH_AUTH_SOCK=/tmp/ssh-bin15bR7BPf3/agent.72 00:10:32 SSH_AGENT_PID=78 00:10:32 Running ssh-add (command line suppressed) 00:10:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/private_key_1067694243000233438.key (/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/private_key_1067694243000233438.key) 00:10:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:32 + git semver init 00:10:33 2023-04-27 00:10:33,096 [run_init] DEBUG init version:0.0.0 force:False 00:10:33 2023-04-27 00:10:33,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver 00:10:33 2023-04-27 00:10:33,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver 00:10:33 2023-04-27 00:10:33,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1436, universal_newlines=False, shell=None, istream=None) 00:10:34 2023-04-27 00:10:33,947 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436/.git/info/exclude 00:10:34 2023-04-27 00:10:33,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver/PR-1436 with force:False 00:10:34 2023-04-27 00:10:33,948 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver/PR-1436 00:10:34 2023-04-27 00:10:33,952 [execute] INFO git cat-file --batch-check 00:10:34 2023-04-27 00:10:33,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver, universal_newlines=False, shell=None, istream=) 00:10:34 2023-04-27 00:10:33,957 [execute] INFO git cat-file --batch 00:10:34 2023-04-27 00:10:33,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver, universal_newlines=False, shell=None, istream=) 00:10:34 2023-04-27 00:10:33,961 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1436/.semver/PR-1436 00:10:34 0.0.0 [Pipeline] } 00:10:34 $ docker exec --env ******** --env ******** e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 ssh-agent -k 00:10:34 unset SSH_AUTH_SOCK; 00:10:34 unset SSH_AGENT_PID; 00:10:34 echo Agent pid 78 killed; 00:10:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:34 + git semver [Pipeline] } 00:10:35 $ docker stop --time=1 e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 00:10:36 $ docker rm -f --volumes e8264614558b7f2ab31c8c4acc625ca51131f10518e42e0e28d54f6408bec5f4 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:10:37 Stashed 1 file(s) [Pipeline] echo 00:10:37 [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 00:10:37 provisioning config files... 00:10:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/config14356196744069882671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:38 ---> docker-login.sh 00:10:38 nexus3.edgexfoundry.org:10001 00:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:38 Configure a credential helper to remove this warning. See 00:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:38 00:10:38 Login Succeeded 00:10:38 nexus3.edgexfoundry.org:10002 00:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:38 Configure a credential helper to remove this warning. See 00:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:38 00:10:38 Login Succeeded 00:10:38 nexus3.edgexfoundry.org:10003 00:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:38 Configure a credential helper to remove this warning. See 00:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:38 00:10:38 Login Succeeded 00:10:38 nexus3.edgexfoundry.org:10004 00:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:38 Configure a credential helper to remove this warning. See 00:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:38 00:10:38 Login Succeeded 00:10:38 docker.io 00:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:38 Configure a credential helper to remove this warning. See 00:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:38 00:10:38 Login Succeeded 00:10:38 ---> docker-login.sh ends [Pipeline] } 00:10:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:10:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:39 ========================================================= 00:10:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:10:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:39 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 00:10:39 Sending build context to Docker daemon 11.05MB 00:10:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:10:39 Step 2/10 : FROM ${BASE} AS builder 00:10:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:10:39 f56be85fc22e: Pulling fs layer 00:10:39 85791d961cd3: Pulling fs layer 00:10:39 d694b5ae8c79: Pulling fs layer 00:10:39 9f32a84ed3da: Pulling fs layer 00:10:39 4d19c01a9841: Pulling fs layer 00:10:39 9325e15d5711: Pulling fs layer 00:10:39 556b6ee489ea: Pulling fs layer 00:10:39 c5a4b2cf53e6: Pulling fs layer 00:10:39 9f32a84ed3da: Waiting 00:10:39 4d19c01a9841: Waiting 00:10:39 556b6ee489ea: Waiting 00:10:39 c5a4b2cf53e6: Waiting 00:10:39 85791d961cd3: Download complete 00:10:39 9f32a84ed3da: Download complete 00:10:39 4d19c01a9841: Download complete 00:10:39 f56be85fc22e: Download complete 00:10:39 9325e15d5711: Verifying Checksum 00:10:39 9325e15d5711: Download complete 00:10:39 f56be85fc22e: Pull complete 00:10:40 85791d961cd3: Pull complete 00:10:40 c5a4b2cf53e6: Verifying Checksum 00:10:40 c5a4b2cf53e6: Download complete 00:10:40 d694b5ae8c79: Verifying Checksum 00:10:40 d694b5ae8c79: Download complete 00:10:40 556b6ee489ea: Verifying Checksum 00:10:40 556b6ee489ea: Download complete 00:10:43 d694b5ae8c79: Pull complete 00:10:43 9f32a84ed3da: Pull complete 00:10:43 4d19c01a9841: Pull complete 00:10:43 9325e15d5711: Pull complete 00:10:45 556b6ee489ea: Pull complete 00:10:46 c5a4b2cf53e6: Pull complete 00:10:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:10:46 ---> c4be618373d6 00:10:46 Step 3/10 : ARG MAKE=make build 00:10:51 ---> Running in e924312ec24d 00:10:51 Removing intermediate container e924312ec24d 00:10:51 ---> da6fb49bd1e2 00:10:51 Step 4/10 : WORKDIR /device-sdk-go 00:10:51 ---> Running in e1fdd9309020 00:10:51 Removing intermediate container e1fdd9309020 00:10:51 ---> d799f3395b53 00:10:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:10:51 ---> Running in 6a92b3c52962 00:10:51 Removing intermediate container 6a92b3c52962 00:10:51 ---> be6f7a02a791 00:10:51 Step 6/10 : RUN apk add --update --no-cache make git 00:10:51 ---> Running in ea0f7d51f2f4 00:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:10:51 OK: 265 MiB in 53 packages 00:10:51 Removing intermediate container ea0f7d51f2f4 00:10:51 ---> 5289cec89eca 00:10:51 Step 7/10 : COPY go.mod vendor* ./ 00:10:51 ---> c2c10b738700 00:10:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:51 ---> Running in 2b900e170f90 00:10:52 Still waiting to schedule task 00:10:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:11:59 Removing intermediate container 2b900e170f90 00:11:59 ---> 7014bb5b667a 00:11:59 Step 9/10 : COPY . . 00:11:59 ---> e4819621165c 00:11:59 Step 10/10 : RUN ${MAKE} 00:11:59 ---> Running in fd064019b092 00:11:59 noop 00:11:59 Removing intermediate container fd064019b092 00:11:59 ---> a2cec520d91b 00:11:59 Successfully built a2cec520d91b 00:11:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:00 + docker inspect -f . ci-base-image-x86_64 00:12:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:00 prd-ubuntu20.04-docker-8c-8g-11138 does not seem to be running inside a container 00:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1436 -v /w/workspace/gexfoundry_device-sdk-go_PR-1436:/w/workspace/gexfoundry_device-sdk-go_PR-1436:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:00 $ docker top c7276df32dc2a38f86ce245baa6765bfa9900ed7610f3cc228867c263edd1bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:01 + go version 00:12:01 go version go1.20.2 linux/amd64 [Pipeline] } 00:12:01 $ docker stop --time=1 c7276df32dc2a38f86ce245baa6765bfa9900ed7610f3cc228867c263edd1bd2 00:12:02 $ docker rm -f --volumes c7276df32dc2a38f86ce245baa6765bfa9900ed7610f3cc228867c263edd1bd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:03 + docker inspect -f . ci-base-image-x86_64 00:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:03 prd-ubuntu20.04-docker-8c-8g-11138 does not seem to be running inside a container 00:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1436 -v /w/workspace/gexfoundry_device-sdk-go_PR-1436:/w/workspace/gexfoundry_device-sdk-go_PR-1436:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:12:03 $ docker top 5c439cc8035256bab3abba5e725c6ddf3cb5dbafb50dcbc3b358e0e6f0ab0348 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1436 [Pipeline] fileExists [Pipeline] sh 00:12:04 + make test 00:12:04 go test -race -coverprofile=coverage.out ./... 00:12:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 00:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 80.2% of statements 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.069s coverage: 86.0% of statements 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.079s coverage: 77.5% of statements 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:12:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:12:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:12:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.6% of statements 00:12:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements 00:12:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 00:12:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements 00:12:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11141 in /w/workspace/gexfoundry_device-sdk-go_PR-1436 [Pipeline] { [Pipeline] ws 00:12:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:12:30 The recommended git tool is: git 00:12:36 using credential edgex-jenkins-ssh 00:12:36 Cloning the remote Git repository 00:12:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:12:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 00:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:12:36 > git --version # timeout=10 00:12:36 > git --version # 'git version 2.25.1' 00:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:12:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:40 Merging remotes/origin/main commit c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 into PR head commit d0b46619ca3b4834ae9f5af79813ca0a50798beb 00:12:40 Merge succeeded, producing d0b46619ca3b4834ae9f5af79813ca0a50798beb 00:12:40 Checking out Revision d0b46619ca3b4834ae9f5af79813ca0a50798beb (PR-1436) 00:12:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:12:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1436/head:refs/remotes/origin/PR-1436 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:12:40 > git config core.sparsecheckout # timeout=10 00:12:40 > git checkout -f d0b46619ca3b4834ae9f5af79813ca0a50798beb # timeout=10 00:12:40 > git remote # timeout=10 00:12:40 > git config --get remote.origin.url # timeout=10 00:12:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:40 > git merge c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 # timeout=10 00:12:40 > git rev-parse HEAD^{commit} # timeout=10 00:12:40 > git config core.sparsecheckout # timeout=10 00:12:40 > git checkout -f d0b46619ca3b4834ae9f5af79813ca0a50798beb # timeout=10 00:12:44 Commit message: "feat: Consume new -d/--dev Dev Mode command-line flag" 00:12:44 > git --version # timeout=10 00:12:44 > git --version # 'git version 2.25.1' 00:12:44 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:12:45 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:45 Dload Upload Total Spent Left Speed 00:12:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 00:12:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:12:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:12:46 + sudo tee /etc/docker/daemon.new 00:12:46 { 00:12:46 "registry-mirrors": [ 00:12:46 "https://nexus3.edgexfoundry.org:10001" 00:12:46 ], 00:12:46 "bip": "10.250.0.254/24", 00:12:46 "hosts": [ 00:12:46 "tcp://0.0.0.0:5555", 00:12:46 "unix:///var/run/docker.sock" 00:12:46 ], 00:12:46 "mtu": 1458, 00:12:46 "selinux-enabled": true, 00:12:46 "seccomp-profile": "/etc/docker/seccomp.json" 00:12:46 } [Pipeline] sh 00:12:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:12:47 + sudo service docker restart 00:12:52 GO111MODULE=on go vet ./... 00:12:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:53 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:53 $ docker stop --time=1 5c439cc8035256bab3abba5e725c6ddf3cb5dbafb50dcbc3b358e0e6f0ab0348 00:12:57 $ docker rm -f --volumes 5c439cc8035256bab3abba5e725c6ddf3cb5dbafb50dcbc3b358e0e6f0ab0348 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:59 + ls -al . 00:12:59 total 272 00:12:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 00:12 . 00:12:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 00:10 .. 00:12:59 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 00:10 .dockerignore 00:12:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 00:10 .git 00:12:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 00:10 .github 00:12:59 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 00:10 .gitignore 00:12:59 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 00:10 .golangci.yml 00:12:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 00:10 .semver 00:12:59 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 27 00:10 CHANGELOG.md 00:12:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 00:10 GOVERNANCE.md 00:12:59 -rw-rw-r-- 1 jenkins jenkins 885 Apr 27 00:10 Jenkinsfile 00:12:59 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 00:10 LICENSE 00:12:59 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 27 00:10 Makefile 00:12:59 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 00:10 OWNERS.md 00:12:59 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 27 00:10 README.md 00:12:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 00:10 VERSION 00:12:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 00:10 bin 00:12:59 -rw-r--r-- 1 jenkins jenkins 106119 Apr 27 00:12 coverage.out 00:12:59 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 00:10 example 00:12:59 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 27 00:10 go.mod 00:12:59 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 27 00:10 go.sum 00:12:59 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 00:10 internal 00:12:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 00:10 openapi 00:12:59 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 00:10 pkg 00:12:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 00:10 snap 00:12:59 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 00:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:00 + 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=d0b46619ca3b4834ae9f5af79813ca0a50798beb --label arch=amd64 --label version=0.0.0 . 00:13:00 Sending build context to Docker daemon 11.15MB 00:13:00 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:13:00 Step 2/23 : FROM ${BASE} AS builder 00:13:00 ---> a2cec520d91b 00:13:00 Step 3/23 : ARG MAKE=make build 00:13:00 ---> Running in c946c38d3952 00:13:00 Removing intermediate container c946c38d3952 00:13:00 ---> d61918d9d905 00:13:00 Step 4/23 : WORKDIR /device-sdk-go 00:13:00 ---> Running in 23d452e6a292 00:13:00 Removing intermediate container 23d452e6a292 00:13:00 ---> 0c59025f258a 00:13:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:13:00 ---> Running in 38aea558ff15 00:13:00 Removing intermediate container 38aea558ff15 00:13:00 ---> 90caad9c3b43 00:13:00 Step 6/23 : RUN apk add --update --no-cache make git 00:13:00 ---> Running in e7893f14f7aa 00:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:01 OK: 265 MiB in 53 packages 00:13:01 Removing intermediate container e7893f14f7aa 00:13:01 ---> 38dbb7ca20af 00:13:01 Step 7/23 : COPY go.mod vendor* ./ 00:13:01 ---> cac1514f19aa 00:13:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:01 ---> Running in a2af72d5ce11 00:13:04 Removing intermediate container a2af72d5ce11 00:13:04 ---> 9abfaeedcf3d 00:13:04 Step 9/23 : COPY . . 00:13:04 ---> f0135b970b19 00:13:04 Step 10/23 : RUN ${MAKE} 00:13:04 ---> Running in 8f22785b40b1 00:13:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:07 provisioning config files... 00:13:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17530478658243325879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:07 ---> docker-login.sh 00:13:07 nexus3.edgexfoundry.org:10001 00:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:08 Configure a credential helper to remove this warning. See 00:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:08 00:13:08 Login Succeeded 00:13:08 nexus3.edgexfoundry.org:10002 00:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:08 Configure a credential helper to remove this warning. See 00:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:08 00:13:08 Login Succeeded 00:13:08 nexus3.edgexfoundry.org:10003 00:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:09 Configure a credential helper to remove this warning. See 00:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:09 00:13:09 Login Succeeded 00:13:09 nexus3.edgexfoundry.org:10004 00:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:09 Configure a credential helper to remove this warning. See 00:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:09 00:13:09 Login Succeeded 00:13:09 docker.io 00:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:09 Configure a credential helper to remove this warning. See 00:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:09 00:13:09 Login Succeeded 00:13:09 ---> docker-login.sh ends [Pipeline] } 00:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:10 ========================================================= 00:13:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:13:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13: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.20-alpine --build-arg MAKE=echo noop --target=builder . 00:13:11 Sending build context to Docker daemon 5.949MB 00:13:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:13:11 Step 2/10 : FROM ${BASE} AS builder 00:13:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:13:11 c41833b44d91: Pulling fs layer 00:13:11 ed15518f5707: Pulling fs layer 00:13:11 feae8fd75edb: Pulling fs layer 00:13:11 242c74f7c9fa: Pulling fs layer 00:13:11 3cdef696dda3: Pulling fs layer 00:13:11 2ced38df9373: Pulling fs layer 00:13:11 58f1dce35555: Pulling fs layer 00:13:11 242c74f7c9fa: Waiting 00:13:11 2ced38df9373: Waiting 00:13:11 3cdef696dda3: Waiting 00:13:11 58f1dce35555: Waiting 00:13:11 ed15518f5707: Download complete 00:13:11 242c74f7c9fa: Verifying Checksum 00:13:11 242c74f7c9fa: Download complete 00:13:11 3cdef696dda3: Download complete 00:13:11 c41833b44d91: Verifying Checksum 00:13:11 c41833b44d91: Download complete 00:13:12 c41833b44d91: Pull complete 00:13:12 58f1dce35555: Verifying Checksum 00:13:12 58f1dce35555: Download complete 00:13:13 ed15518f5707: Pull complete 00:13:14 feae8fd75edb: Verifying Checksum 00:13:14 feae8fd75edb: Download complete 00:13:14 2ced38df9373: Verifying Checksum 00:13:14 2ced38df9373: Download complete 00:13:23 Removing intermediate container 8f22785b40b1 00:13:23 ---> eecc12ffd0b2 00:13:23 Step 11/23 : FROM alpine:3.17 00:13:23 3.17: Pulling from library/alpine 00:13:23 f56be85fc22e: Already exists 00:13:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:13:23 Status: Downloaded newer image for alpine:3.17 00:13:23 ---> 9ed4aefc74f6 00:13:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:13:23 ---> Running in 1af2adcce7f3 00:13:23 Removing intermediate container 1af2adcce7f3 00:13:23 ---> 0f2171a7bdad 00:13:23 Step 13/23 : RUN apk add --update --no-cache 00:13:23 ---> Running in 039a8f88c9c3 00:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:23 OK: 7 MiB in 15 packages 00:13:23 Removing intermediate container 039a8f88c9c3 00:13:23 ---> 1b9454d8edb7 00:13:23 Step 14/23 : WORKDIR / 00:13:23 ---> Running in 6826bb47d63f 00:13:23 Removing intermediate container 6826bb47d63f 00:13:23 ---> 2c22fb839b3c 00:13:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:13:24 ---> 80624e8f8bd5 00:13:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:13:24 ---> 2016f19faa84 00:13:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:13:24 ---> 2840fd6c20cd 00:13:24 Step 18/23 : EXPOSE 59999 00:13:24 ---> Running in 3d5395ddafe3 00:13:24 Removing intermediate container 3d5395ddafe3 00:13:24 ---> 31169c7377e1 00:13:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:13:24 ---> Running in 826e718ab7bf 00:13:24 Removing intermediate container 826e718ab7bf 00:13:24 ---> f1511a889d57 00:13:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:13:24 ---> Running in fb3a4efffc32 00:13:24 Removing intermediate container fb3a4efffc32 00:13:24 ---> 3cd18a55ba00 00:13:24 Step 21/23 : LABEL arch=amd64 00:13:24 ---> Running in a7ab6bc15ff5 00:13:25 Removing intermediate container a7ab6bc15ff5 00:13:25 ---> 31e4c36d97f3 00:13:25 Step 22/23 : LABEL git_sha=d0b46619ca3b4834ae9f5af79813ca0a50798beb 00:13:25 ---> Running in 5e207b6f6dc3 00:13:25 Removing intermediate container 5e207b6f6dc3 00:13:25 ---> cdb9a2c97b95 00:13:25 Step 23/23 : LABEL version=0.0.0 00:13:25 ---> Running in ea7af6f77fc0 00:13:25 Removing intermediate container ea7af6f77fc0 00:13:25 ---> 3e3db1e9e87f 00:13:25 [Warning] One or more build-args [ARCH] were not consumed 00:13:25 Successfully built 3e3db1e9e87f 00:13:25 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 00:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:26 00:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:26 latest: Pulling from edgex-lftools-log-publisher 00:13:26 5eb5b503b376: Pulling fs layer 00:13:26 5c69ac0246d0: Pulling fs layer 00:13:26 ec43610c2a17: Pulling fs layer 00:13:26 3a2ae6a8a46f: Pulling fs layer 00:13:26 33b1e0a273af: Pulling fs layer 00:13:26 5d3b04190fa2: Pulling fs layer 00:13:26 2f39f015ded8: Pulling fs layer 00:13:26 3a2ae6a8a46f: Waiting 00:13:26 33b1e0a273af: Waiting 00:13:26 5d3b04190fa2: Waiting 00:13:26 2f39f015ded8: Waiting 00:13:26 5c69ac0246d0: Download complete 00:13:26 3a2ae6a8a46f: Download complete 00:13:26 33b1e0a273af: Verifying Checksum 00:13:26 33b1e0a273af: Download complete 00:13:26 5d3b04190fa2: Verifying Checksum 00:13:26 5d3b04190fa2: Download complete 00:13:26 ec43610c2a17: Verifying Checksum 00:13:26 ec43610c2a17: Download complete 00:13:26 5eb5b503b376: Download complete 00:13:26 feae8fd75edb: Pull complete 00:13:26 242c74f7c9fa: Pull complete 00:13:26 3cdef696dda3: Pull complete 00:13:27 2f39f015ded8: Verifying Checksum 00:13:27 2f39f015ded8: Download complete 00:13:27 5eb5b503b376: Pull complete 00:13:28 5c69ac0246d0: Pull complete 00:13:28 ec43610c2a17: Pull complete 00:13:28 3a2ae6a8a46f: Pull complete 00:13:28 33b1e0a273af: Pull complete 00:13:28 5d3b04190fa2: Pull complete 00:13:32 2ced38df9373: Pull complete 00:13:32 2f39f015ded8: Pull complete 00:13:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:33 prd-ubuntu20.04-docker-8c-8g-11138 does not seem to be running inside a container 00:13:33 $ 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-1436 -v /w/workspace/gexfoundry_device-sdk-go_PR-1436:/w/workspace/gexfoundry_device-sdk-go_PR-1436:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:13:34 58f1dce35555: Pull complete 00:13:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:13:34 ---> fadd8f120f05 00:13:34 Step 3/10 : ARG MAKE=make build 00:13:36 ---> Running in dde246c1a414 00:13:37 Removing intermediate container dde246c1a414 00:13:37 ---> ff50fdace4e6 00:13:37 Step 4/10 : WORKDIR /device-sdk-go 00:13:37 ---> Running in f1f04607f640 00:13:37 $ docker top d14c115747310f3122ab6b962125c514c9d2ae9a69e53c216f030dd342c7ebe4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:37 Removing intermediate container f1f04607f640 00:13:37 ---> 3863b17b7f34 00:13:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:13:37 ---> Running in e028bffa69be 00:13:37 ---> job-cost.sh 00:13:37 lf-activate-venv: SKIPPING 00:13:37 INFO: No Stack... 00:13:37 Removing intermediate container e028bffa69be 00:13:37 ---> 1135e47d95b3 00:13:37 Step 6/10 : RUN apk add --update --no-cache make git 00:13:37 ---> Running in 08c696463324 00:13:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:38 INFO: Archiving Costs [Pipeline] sh 00:13:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives/cost.csv 00:13:38 + cut -d, -f6 [Pipeline] lock 00:13:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] 00:13:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] did not exist. Created. 00:13:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:13:39 + echo total: 0.2199999988079071 [Pipeline] stash 00:13:39 Stashed 1 file(s) [Pipeline] } 00:13:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:39 $ docker stop --time=1 d14c115747310f3122ab6b962125c514c9d2ae9a69e53c216f030dd342c7ebe4 00:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:13:40 $ docker rm -f --volumes d14c115747310f3122ab6b962125c514c9d2ae9a69e53c216f030dd342c7ebe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 00:13:40 OK: 263 MiB in 53 packages [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:13:41 Removing intermediate container 08c696463324 00:13:41 ---> 753d9ed7e872 00:13:41 Step 7/10 : COPY go.mod vendor* ./ 00:13:42 ---> c6faa5a60646 00:13:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:42 ---> Running in 5262e2cffcc7 00:14:50 Removing intermediate container 5262e2cffcc7 00:14:50 ---> 92be8ecce8b6 00:14:50 Step 9/10 : COPY . . 00:14:50 ---> 5810b12c280b 00:14:50 Step 10/10 : RUN ${MAKE} 00:14:50 ---> Running in 49b6c4a41466 00:14:50 noop 00:14:50 Removing intermediate container 49b6c4a41466 00:14:50 ---> 8767bfefdef7 00:14:50 Successfully built 8767bfefdef7 00:14:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:50 + docker inspect -f . ci-base-image-arm64 00:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:51 prd-ubuntu20.04-docker-arm64-4c-16g-11141 does not seem to be running inside a container 00:14:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:14:52 $ docker top fdff1fdff554b50c26b4dff170beffaf291d254280d56130f431507ed187a01a -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:53 + go version 00:14:53 go version go1.20.2 linux/arm64 [Pipeline] } 00:14:53 $ docker stop --time=1 fdff1fdff554b50c26b4dff170beffaf291d254280d56130f431507ed187a01a 00:14:55 $ docker rm -f --volumes fdff1fdff554b50c26b4dff170beffaf291d254280d56130f431507ed187a01a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:55 + docker inspect -f . ci-base-image-arm64 00:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:56 prd-ubuntu20.04-docker-arm64-4c-16g-11141 does not seem to be running inside a container 00:14:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:14:57 $ docker top b6f76a8fd36696fa8b5d253dd4dd90d714a4ec1c232e2006c3baedf24053b633 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 00:14:58 + make test 00:14:58 go test -race -coverprofile=coverage.out ./... 00:15:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:17:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:17:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:17:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:17:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:17:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:17:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements 00:17:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.269s coverage: 80.2% of statements 00:18:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:18:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:18:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.335s coverage: 86.0% of statements 00:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:18:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.397s coverage: 77.5% of statements 00:18:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:18:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:18:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:18:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.255s coverage: 14.6% of statements 00:18:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.395s coverage: 68.5% of statements 00:18:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.425s coverage: 89.2% of statements 00:18:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:18:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements 00:18:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:23 GO111MODULE=on go vet ./... 00:20:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:44 ./bin/test-attribution-txt.sh [Pipeline] echo 00:20:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:20:44 $ docker stop --time=1 b6f76a8fd36696fa8b5d253dd4dd90d714a4ec1c232e2006c3baedf24053b633 00:20:47 $ docker rm -f --volumes b6f76a8fd36696fa8b5d253dd4dd90d714a4ec1c232e2006c3baedf24053b633 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:49 Warning: overwriting stash ‘coverage-report’ 00:20:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:50 + ls -al . 00:20:50 total 268 00:20:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 00:15 . 00:20:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 00:12 .. 00:20:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 00:12 .dockerignore 00:20:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 00:12 .git 00:20:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 00:12 .github 00:20:50 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 00:12 .gitignore 00:20:50 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 00:12 .golangci.yml 00:20:50 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 27 00:12 CHANGELOG.md 00:20:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 00:12 GOVERNANCE.md 00:20:50 -rw-rw-r-- 1 jenkins jenkins 885 Apr 27 00:12 Jenkinsfile 00:20:50 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 00:12 LICENSE 00:20:50 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 27 00:12 Makefile 00:20:50 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 00:12 OWNERS.md 00:20:50 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 27 00:12 README.md 00:20:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 00:10 VERSION 00:20:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 00:12 bin 00:20:50 -rw-r--r-- 1 jenkins jenkins 106119 Apr 27 00:18 coverage.out 00:20:50 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 00:12 example 00:20:50 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 27 00:12 go.mod 00:20:50 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 27 00:12 go.sum 00:20:50 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 00:12 internal 00:20:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 00:12 openapi 00:20:50 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 00:12 pkg 00:20:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 00:12 snap 00:20:50 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:51 + 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=d0b46619ca3b4834ae9f5af79813ca0a50798beb --label arch=arm64 --label version=0.0.0 . 00:20:51 Sending build context to Docker daemon 6.056MB 00:20:51 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:20:51 Step 2/23 : FROM ${BASE} AS builder 00:20:51 ---> 8767bfefdef7 00:20:51 Step 3/23 : ARG MAKE=make build 00:20:51 ---> Running in a618d0ea4ba8 00:20:52 Removing intermediate container a618d0ea4ba8 00:20:52 ---> 8ef92bdf85e4 00:20:52 Step 4/23 : WORKDIR /device-sdk-go 00:20:52 ---> Running in 9b3660678354 00:20:52 Removing intermediate container 9b3660678354 00:20:52 ---> 8577cd0f10a4 00:20:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:20:52 ---> Running in ef3aec658cda 00:20:52 Removing intermediate container ef3aec658cda 00:20:52 ---> 8660a5fb2ad7 00:20:52 Step 6/23 : RUN apk add --update --no-cache make git 00:20:52 ---> Running in 740998ab3b9a 00:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:20:55 OK: 263 MiB in 53 packages 00:20:56 Removing intermediate container 740998ab3b9a 00:20:56 ---> c2e19c289552 00:20:56 Step 7/23 : COPY go.mod vendor* ./ 00:20:56 ---> a804ca928dce 00:20:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:56 ---> Running in 78ac4ae61fc2 00:20:59 Removing intermediate container 78ac4ae61fc2 00:20:59 ---> af50cc36df46 00:20:59 Step 9/23 : COPY . . 00:21:00 ---> 0fd092543ffc 00:21:00 Step 10/23 : RUN ${MAKE} 00:21:00 ---> Running in 146cfd72ca47 00:21:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:23:08 Removing intermediate container 146cfd72ca47 00:23:08 ---> b8ccb45eb1bf 00:23:08 Step 11/23 : FROM alpine:3.17 00:23:08 3.17: Pulling from library/alpine 00:23:08 c41833b44d91: Already exists 00:23:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:23:08 Status: Downloaded newer image for alpine:3.17 00:23:08 ---> 51e60588ff2c 00:23:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:23:08 ---> Running in 47dcc2453627 00:23:08 Removing intermediate container 47dcc2453627 00:23:08 ---> 7e4d44e5596c 00:23:08 Step 13/23 : RUN apk add --update --no-cache 00:23:09 ---> Running in 9b4950f10b64 00:23:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:23:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:23:12 OK: 7 MiB in 15 packages 00:23:13 Removing intermediate container 9b4950f10b64 00:23:13 ---> d95d5a424c2f 00:23:13 Step 14/23 : WORKDIR / 00:23:13 ---> Running in eedf46522e3d 00:23:13 Removing intermediate container eedf46522e3d 00:23:13 ---> d2bc1524120a 00:23:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:23:13 ---> ad869f8c39c2 00:23:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:23:15 ---> 108451410e8d 00:23:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:23:15 ---> 516c5efb5559 00:23:15 Step 18/23 : EXPOSE 59999 00:23:15 ---> Running in 40835777f8b4 00:23:16 Removing intermediate container 40835777f8b4 00:23:16 ---> 48f158e2818d 00:23:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:23:16 ---> Running in 6ec1ef81c32a 00:23:16 Removing intermediate container 6ec1ef81c32a 00:23:16 ---> 9f278aad87bf 00:23:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:23:16 ---> Running in 7c6721867ac6 00:23:17 Removing intermediate container 7c6721867ac6 00:23:17 ---> a3ead6578704 00:23:17 Step 21/23 : LABEL arch=arm64 00:23:17 ---> Running in d82c4c39fe84 00:23:17 Removing intermediate container d82c4c39fe84 00:23:17 ---> 5f5d7824593d 00:23:17 Step 22/23 : LABEL git_sha=d0b46619ca3b4834ae9f5af79813ca0a50798beb 00:23:17 ---> Running in b41f0aa97646 00:23:17 Removing intermediate container b41f0aa97646 00:23:17 ---> 6fba6e1509ee 00:23:17 Step 23/23 : LABEL version=0.0.0 00:23:17 ---> Running in 63b9d2b0095f 00:23:18 Removing intermediate container 63b9d2b0095f 00:23:18 ---> 3da0fae1c2ea 00:23:18 [Warning] One or more build-args [ARCH] were not consumed 00:23:18 Successfully built 3da0fae1c2ea 00:23:18 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 00:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:18 00:23:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:19 arm64: Pulling from edgex-lftools-log-publisher 00:23:19 8998bd30e6a1: Pulling fs layer 00:23:19 04944245beec: Pulling fs layer 00:23:19 699f458cf7ca: Pulling fs layer 00:23:19 765212b225bb: Pulling fs layer 00:23:19 f23df028b6ca: Pulling fs layer 00:23:19 d65c8cfc05b1: Pulling fs layer 00:23:19 2437ff75d9bd: Pulling fs layer 00:23:19 765212b225bb: Waiting 00:23:19 f23df028b6ca: Waiting 00:23:19 d65c8cfc05b1: Waiting 00:23:19 2437ff75d9bd: Waiting 00:23:19 04944245beec: Verifying Checksum 00:23:19 04944245beec: Download complete 00:23:19 765212b225bb: Download complete 00:23:19 f23df028b6ca: Verifying Checksum 00:23:19 f23df028b6ca: Download complete 00:23:19 d65c8cfc05b1: Download complete 00:23:19 699f458cf7ca: Verifying Checksum 00:23:19 699f458cf7ca: Download complete 00:23:20 8998bd30e6a1: Verifying Checksum 00:23:20 8998bd30e6a1: Download complete 00:23:22 2437ff75d9bd: Verifying Checksum 00:23:22 2437ff75d9bd: Download complete 00:23:24 8998bd30e6a1: Pull complete 00:23:24 04944245beec: Pull complete 00:23:25 699f458cf7ca: Pull complete 00:23:25 765212b225bb: Pull complete 00:23:27 f23df028b6ca: Pull complete 00:23:27 d65c8cfc05b1: Pull complete 00:23:42 2437ff75d9bd: Pull complete 00:23:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:43 prd-ubuntu20.04-docker-arm64-4c-16g-11141 does not seem to be running inside a container 00:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:23:45 $ docker top 6bfa74c3df2263df107d861d75b6e6f109b120dfc4c397820bec0f1420ad652d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:46 ---> job-cost.sh 00:23:46 lf-activate-venv: SKIPPING 00:23:46 INFO: No Stack... 00:23:47 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:47 INFO: Archiving Costs [Pipeline] sh 00:23:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 00:23:48 + cut -d, -f6 [Pipeline] lock 00:23:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] 00:23:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] did not exist. Created. 00:23:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:49 /w/workspace/device-sdk-go/1@tmp/durable-706d63af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:49 + echo total: 0.10999999940395355 [Pipeline] stash 00:23:49 Warning: overwriting stash ‘stack-cost’ 00:23:49 Stashed 1 file(s) [Pipeline] } 00:23:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1436-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:49 $ docker stop --time=1 6bfa74c3df2263df107d861d75b6e6f109b120dfc4c397820bec0f1420ad652d 00:23:51 $ docker rm -f --volumes 6bfa74c3df2263df107d861d75b6e6f109b120dfc4c397820bec0f1420ad652d [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 00:23:52 provisioning config files... 00:23:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/config13301359217389663346tmp [Pipeline] { [Pipeline] sh 00:23:52 + set +x 00:23:52 + curl -s https://codecov.io/bash 00:23:52 + bash -s -- 00:23:52 00:23:52 _____ _ 00:23:52 / ____| | | 00:23:52 | | ___ __| | ___ ___ _____ __ 00:23:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:52 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:52 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:52 Bash-1.0.6 00:23:52 00:23:52 00:23:52 ==> git version 2.25.1 found 00:23:52 ==> 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 00:23:52 Release-Date: 2020-01-08 00:23:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:23:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:23:52 ==> Jenkins CI detected. 00:23:52 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1436 00:23:52 project root: . 00:23:52 --> token set from env 00:23:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:52 ==> Running gcov in . (disable via -X gcov) 00:23:52 ==> Python coveragepy not found 00:23:52 ==> Searching for coverage reports in: 00:23:52 + . 00:23:52 -> Found 1 reports 00:23:52 ==> Detecting git/mercurial file structure 00:23:52 ==> Reading reports 00:23:52 + ./coverage.out bytes=106119 00:23:52 ==> Appending adjustments 00:23:52 https://docs.codecov.io/docs/fixing-reports 00:23:52 + Found adjustments 00:23:52 ==> Gzipping contents 00:23:52 16K /tmp/codecov.8ObYx3.gz 00:23:52 ==> Uploading reports 00:23:52 url: https://codecov.io 00:23:52 query: branch=PR-1436&commit=d0b46619ca3b4834ae9f5af79813ca0a50798beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1436&job=&cmd_args= 00:23:52 -> Pinging Codecov 00:23:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1436&commit=d0b46619ca3b4834ae9f5af79813ca0a50798beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1436&job=&cmd_args= 00:23:53 -> Uploading to 00:23:53 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/7E55EF52A471D76F132DFD9A03CDDE97/d0b46619ca3b4834ae9f5af79813ca0a50798beb/c69c7222-6634-407c-8705-acc558ca73e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T002352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f8548453436b4d9d9ed0f3086ee7d85fb8737a414df48558a4841cb41a349b8 00:23:53 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:53 Dload Upload Total Spent Left Speed 00:23:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15028 0 0 100 15028 0 67693 --:--:-- --:--:-- --:--:-- 67390 100 15028 0 0 100 15028 0 60353 --:--:-- --:--:-- --:--:-- 60112 00:23:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d0b46619ca3b4834ae9f5af79813ca0a50798beb [Pipeline] } 00:23:53 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 00:23:55 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives ] 00:23:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives 00:23:55 total 16 00:23:55 drwxr-xr-x 3 root root 4096 Apr 27 00:13 . 00:23:55 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 00:13 .. 00:23:55 drwxr-xr-x 2 root root 4096 Apr 27 00:13 cost 00:23:55 -rw-r--r-- 1 root root 87 Apr 27 00:13 cost.csv 00:23:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives 00:23:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives 00:23:55 total 16 00:23:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 00:13 . 00:23:55 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 00:13 .. 00:23:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 00:13 cost 00:23:55 -rw-r--r-- 1 jenkins jenkins 87 Apr 27 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:23:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:23:56 ---> package-listing.sh 00:23:56 ++ facter osfamily 00:23:56 ++ tr '[:upper:]' '[:lower:]' 00:23:56 + OS_FAMILY=debian 00:23:56 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1436 00:23:56 + START_PACKAGES=/tmp/packages_start.txt 00:23:56 + END_PACKAGES=/tmp/packages_end.txt 00:23:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:23:56 + PACKAGES=/tmp/packages_start.txt 00:23:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1436 ']' 00:23:56 + PACKAGES=/tmp/packages_end.txt 00:23:56 + case "${OS_FAMILY}" in 00:23:56 + dpkg -l 00:23:56 + grep '^ii' 00:23:56 + '[' -f /tmp/packages_start.txt ']' 00:23:56 + '[' -f /tmp/packages_end.txt ']' 00:23:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:23:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1436 ']' 00:23:56 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives/ 00:23:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1436/archives/ [Pipeline] echo 00:23:56 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-1436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:23:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:57 prd-ubuntu20.04-docker-8c-8g-11138 does not seem to be running inside a container 00:23:57 $ 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-1436/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-1436 -v /w/workspace/gexfoundry_device-sdk-go_PR-1436:/w/workspace/gexfoundry_device-sdk-go_PR-1436:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:23:58 $ docker top 5cdc0b27f8967f6135f391c393eb5679a9d905edc69e82bf365aa6da9c038278 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:58 + touch /tmp/pre-build-complete [Pipeline] sh 00:23:58 + mkdir -p /var/log/sysstat [Pipeline] sh 00:23:59 + ls /var/log/sa-host 00:23:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:59 provisioning config files... 00:23:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1436@tmp/config16273240303572041588tmp [Pipeline] { [Pipeline] echo 00:23:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:23:59 ---> create-netrc.sh [Pipeline] } 00:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:00 ---> python-tools-install.sh [Pipeline] echo 00:24:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:00 ---> sudo-logs.sh 00:24:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:24:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:01 ---> job-cost.sh 00:24:01 lf-activate-venv: SKIPPING 00:24:01 DEBUG: total: 0.2199999988079071 00:24:01 INFO: Retrieving Stack Cost... 00:24:01 INFO: Retrieving Pricing Info for: v3-standard-8 00:24:01 INFO: Archiving Costs [Pipeline] echo 00:24:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:02 ---> logs-deploy.sh 00:24:02 lf-activate-venv: SKIPPING 00:24:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1436/1 00:24:02 INFO: archiving workspace using pattern(s): 00:24:03 Archives upload complete. 00:24:03 INFO: archiving logs to Nexus 00:24:03 ---> uname -a: 00:24:03 Linux prd-ubuntu20-04-docker-8c-8g-11138 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:24:03 00:24:03 00:24:03 ---> lscpu: 00:24:03 Architecture: x86_64 00:24:03 CPU op-mode(s): 32-bit, 64-bit 00:24:03 Byte Order: Little Endian 00:24:03 Address sizes: 40 bits physical, 48 bits virtual 00:24:03 CPU(s): 8 00:24:03 On-line CPU(s) list: 0-7 00:24:03 Thread(s) per core: 1 00:24:03 Core(s) per socket: 1 00:24:03 Socket(s): 8 00:24:03 NUMA node(s): 1 00:24:03 Vendor ID: AuthenticAMD 00:24:03 CPU family: 23 00:24:03 Model: 49 00:24:03 Model name: AMD EPYC-Rome Processor 00:24:03 Stepping: 0 00:24:03 CPU MHz: 2800.000 00:24:03 BogoMIPS: 5600.00 00:24:03 Virtualization: AMD-V 00:24:03 Hypervisor vendor: KVM 00:24:03 Virtualization type: full 00:24:03 L1d cache: 256 KiB 00:24:03 L1i cache: 256 KiB 00:24:03 L2 cache: 4 MiB 00:24:03 L3 cache: 128 MiB 00:24:03 NUMA node0 CPU(s): 0-7 00:24:03 Vulnerability Itlb multihit: Not affected 00:24:03 Vulnerability L1tf: Not affected 00:24:03 Vulnerability Mds: Not affected 00:24:03 Vulnerability Meltdown: Not affected 00:24:03 Vulnerability Mmio stale data: Not affected 00:24:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:24:03 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:24:03 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:24:03 Vulnerability Srbds: Not affected 00:24:03 Vulnerability Tsx async abort: Not affected 00:24:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:24:03 00:24:03 00:24:03 ---> nproc: 00:24:03 8 00:24:03 00:24:03 00:24:03 ---> df -h: 00:24:03 Filesystem Size Used Avail Use% Mounted on 00:24:03 overlay 155G 12G 144G 8% / 00:24:03 tmpfs 64M 0 64M 0% /dev 00:24:03 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:24:03 shm 64M 0 64M 0% /dev/shm 00:24:03 /dev/vda1 155G 12G 144G 8% /facter-os 00:24:03 00:24:03 00:24:03 ---> sar -b -r -n DEV: 00:24:03 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11138) 04/27/23 _x86_64_ (8 CPU) 00:24:03 00:24:03 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:24:03 00:00:01 400.00 0.00 400.00 0.00 0.00 4800.00 0.00 00:24:03 00:01:01 6.23 0.03 6.20 0.00 0.27 151.15 0.00 00:24:03 00:02:01 1.93 0.00 1.93 0.00 0.00 22.40 0.00 00:24:03 00:03:01 1.42 0.00 1.42 0.00 0.00 16.66 0.00 00:24:03 00:04:01 1.90 0.00 1.90 0.00 0.00 22.13 0.00 00:24:03 00:05:01 1.35 0.00 1.35 0.00 0.00 15.06 0.00 00:24:03 00:06:01 1.97 0.00 1.97 0.00 0.00 22.93 0.00 00:24:03 00:07:01 1.28 0.00 1.28 0.00 0.00 14.53 0.00 00:24:03 00:08:01 2.17 0.00 2.17 0.00 0.00 25.20 0.00 00:24:03 00:09:01 5.55 3.85 1.70 0.00 87.05 30.00 0.00 00:24:03 00:10:01 2.00 0.00 2.00 0.00 0.00 23.46 0.00 00:24:03 00:11:01 337.42 12.92 324.50 0.00 1896.80 39423.33 0.00 00:24:03 00:12:01 112.03 1.13 110.90 0.00 11.20 45575.47 0.00 00:24:03 00:13:01 80.52 0.17 80.35 0.00 4.67 19453.47 0.00 00:24:03 00:14:01 128.48 0.10 128.38 0.00 11.06 35079.62 0.00 00:24:03 00:15:01 1.77 0.00 1.77 0.00 0.00 20.26 0.00 00:24:03 00:16:01 1.65 0.00 1.65 0.00 0.00 18.53 0.00 00:24:03 00:17:01 1.17 0.02 1.15 0.00 0.13 12.66 0.00 00:24:03 00:18:01 1.80 0.00 1.80 0.00 0.00 20.26 0.00 00:24:03 00:19:01 1.05 0.00 1.05 0.00 0.00 11.46 0.00 00:24:03 00:20:01 1.07 0.00 1.07 0.00 0.00 13.33 0.00 00:24:03 00:21:01 1.13 0.00 1.13 0.00 0.00 12.80 0.00 00:24:03 00:22:01 1.17 0.00 1.17 0.00 0.00 13.73 0.00 00:24:03 00:23:01 1.23 0.00 1.23 0.00 0.00 14.66 0.00 00:24:03 00:24:01 6.12 0.22 5.90 0.00 16.93 123.71 0.00 00:24:03 Average: 29.27 0.77 28.50 0.00 84.49 5838.77 0.00 00:24:03 00:24:03 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:24:03 00:00:01 30067936 31841860 501024 1.52 82276 2000348 1748252 5.15 932316 1582836 16 00:24:03 00:01:01 30065020 31839728 502616 1.53 82656 2000488 1734228 5.11 933544 1582240 28 00:24:03 00:02:01 30065708 31840516 501968 1.53 82752 2000492 1734228 5.11 933660 1582240 188 00:24:03 00:03:01 30065488 31840396 502060 1.53 82856 2000492 1734228 5.11 933812 1582240 12 00:24:03 00:04:01 30065348 31840344 502064 1.53 82944 2000496 1734228 5.11 934932 1582244 8 00:24:03 00:05:01 30065292 31840364 501972 1.53 83032 2000496 1734228 5.11 934524 1582248 8 00:24:03 00:06:01 30065536 31840712 501564 1.53 83128 2000500 1734228 5.11 934424 1582248 8 00:24:03 00:07:01 30065480 31840772 501460 1.52 83216 2000504 1734228 5.11 934628 1582252 8 00:24:03 00:08:01 30065180 31840576 501536 1.53 83328 2000492 1734228 5.11 935272 1582256 8 00:24:03 00:09:01 30007596 31786508 555064 1.69 83428 2003404 1734228 5.11 993380 1583824 192 00:24:03 00:10:01 30007564 31786560 554988 1.69 83524 2003400 1734228 5.11 992752 1583824 20 00:24:03 00:11:01 28566788 31521392 764968 2.33 111868 3103492 2025268 5.97 1361688 2545944 3992 00:24:03 00:12:01 27852620 31512824 770456 2.34 180164 3671272 1966780 5.80 1445836 3105792 648 00:24:03 00:13:01 27818728 31502796 779892 2.37 185112 3683604 1979480 5.83 1557708 3018176 592 00:24:03 00:14:01 27085636 31531860 748132 2.28 195100 4372992 1812980 5.34 1611108 3631780 368 00:24:03 00:15:01 27085840 31532140 747808 2.27 195132 4372996 1812980 5.34 1610576 3631784 16 00:24:03 00:16:01 27093092 31539432 740472 2.25 195168 4373004 1812980 5.34 1603616 3631788 48 00:24:03 00:17:01 27093060 31539412 740424 2.25 195204 4373004 1812980 5.34 1603904 3631792 8 00:24:03 00:18:01 27095696 31542112 737592 2.24 195240 4373012 1812980 5.34 1601708 3631800 68 00:24:03 00:19:01 27100300 31546716 732944 2.23 195252 4373012 1812980 5.34 1596592 3631800 20 00:24:03 00:20:01 27099872 31546296 733252 2.23 195260 4373016 1812980 5.34 1597436 3631804 256 00:24:03 00:21:01 27099896 31546380 733212 2.23 195276 4373016 1812980 5.34 1597136 3631808 16 00:24:03 00:22:01 27099588 31546080 733420 2.23 195308 4373020 1812980 5.34 1597888 3631812 140 00:24:03 00:23:01 27099392 31545948 733504 2.23 195356 4373024 1812980 5.34 1597684 3631820 48 00:24:03 00:24:01 27059312 31508924 766020 2.33 195516 4374676 1846588 5.44 1632872 3629136 424 00:24:03 Average: 28514239 31664026 643536 1.96 141524 3222970 1801538 5.31 1296360 2641020 286 00:24:03 00:24:03 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:24:03 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:01:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:02:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:03:01 ens3 0.17 0.12 0.08 0.07 0.00 0.00 0.00 0.00 00:24:03 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:04:01 ens3 0.92 0.45 0.38 0.28 0.00 0.00 0.00 0.00 00:24:03 00:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:05:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:06:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:07:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:08:01 ens3 0.27 0.20 0.08 0.07 0.00 0.00 0.00 0.00 00:24:03 00:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:09:01 ens3 12.45 9.40 12.11 6.55 0.00 0.00 0.00 0.00 00:24:03 00:09:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:10:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:11:01 docker0 62.00 81.62 5.08 165.84 0.00 0.00 0.00 0.00 00:24:03 00:11:01 veth4e1a8a9 51.97 69.47 4.83 45.63 0.00 0.00 0.00 0.00 00:24:03 00:11:01 ens3 462.63 303.37 6407.06 82.50 0.00 0.00 0.00 0.00 00:24:03 00:11:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 00:24:03 00:12:01 docker0 137.57 243.70 11.00 1845.96 0.00 0.00 0.00 0.00 00:24:03 00:12:01 ens3 253.38 143.62 1856.47 16.90 0.00 0.00 0.00 0.00 00:24:03 00:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:12:01 veth45bd8c7 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 00:24:03 00:13:01 docker0 1.53 3.85 0.09 42.56 0.00 0.00 0.00 0.00 00:24:03 00:13:01 ens3 34.27 22.67 72.63 14.37 0.00 0.00 0.00 0.00 00:24:03 00:13:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 00:24:03 00:14:01 docker0 1.23 2.65 0.08 42.47 0.00 0.00 0.00 0.00 00:24:03 00:14:01 ens3 113.26 65.57 2572.24 14.64 0.00 0.00 0.00 0.00 00:24:03 00:14:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 00:24:03 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:15:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:16:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:17:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:18:01 ens3 0.25 0.18 0.09 0.07 0.00 0.00 0.00 0.00 00:24:03 00:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:19:01 ens3 2.62 1.63 7.30 0.11 0.00 0.00 0.00 0.00 00:24:03 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:20:01 ens3 0.93 0.42 0.39 0.27 0.00 0.00 0.00 0.00 00:24:03 00:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:21:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:22:01 ens3 0.97 0.37 0.39 0.27 0.00 0.00 0.00 0.00 00:24:03 00:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:24:03 00:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:23:01 ens3 0.70 0.15 0.12 0.07 0.00 0.00 0.00 0.00 00:24:03 00:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:24:03 00:24:01 ens3 42.71 38.89 31.77 111.83 0.00 0.00 0.00 0.00 00:24:03 00:24:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:24:03 Average: docker0 8.43 13.83 0.68 87.38 0.00 0.00 0.00 0.00 00:24:03 Average: ens3 38.58 24.48 456.67 10.33 0.00 0.00 0.00 0.00 00:24:03 Average: lo 0.49 0.49 0.05 0.05 0.00 0.00 0.00 0.00 00:24:03 00:24:03