Pull request #1142 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at dd514f718fd528170d25c4d96999316fe43c7c62 rather than a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Obtained Jenkinsfile from dd514f718fd528170d25c4d96999316fe43c7c62 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-ssh13988893945204391063.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh3073244398715485580.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1142/workspace@libs/edgex-global-pipelines # 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-1142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16752499757939736163.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-1142/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5475127065920584438.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh10982350123526621273.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1142/workspace@libs/lf-pipelines # 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-1142/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11994962560373094549.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21580 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [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-1142 # 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/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Merge succeeded, producing a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 Checking out Revision a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 (PR-1142) > git config core.sparsecheckout # timeout=10 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # 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 dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 Commit message: "feat: Add MaxEventSize to limit event size" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:36:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:36:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:36:32 ========================================================= 10:36:32 EdgeX Global Pipelines Version Info 10:36:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:36:33 ------------------- 10:36:33 stable info: 10:36:33 ------------------- 10:36:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:36:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:36:33 Message: update stable to v1.0.221 10:36:34 ------------------- 10:36:34 experimental info: 10:36:34 ------------------- 10:36:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:36:34 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 10:36:34 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1142 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1142 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1142 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a525fa8 [Pipeline] echo 10:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:36:35 provisioning config files... 10:36:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config1476608819547128904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:36 ---> docker-login.sh 10:36:36 nexus3.edgexfoundry.org:10001 10:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:36 Configure a credential helper to remove this warning. See 10:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:36 10:36:36 Login Succeeded 10:36:36 nexus3.edgexfoundry.org:10002 10:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:36 Configure a credential helper to remove this warning. See 10:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:36 10:36:36 Login Succeeded 10:36:36 nexus3.edgexfoundry.org:10003 10:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:36 Configure a credential helper to remove this warning. See 10:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:36 10:36:36 Login Succeeded 10:36:36 nexus3.edgexfoundry.org:10004 10:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:37 Configure a credential helper to remove this warning. See 10:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:37 10:36:37 Login Succeeded 10:36:37 docker.io 10:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:37 Configure a credential helper to remove this warning. See 10:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:37 10:36:37 Login Succeeded 10:36:37 ---> docker-login.sh ends [Pipeline] } 10:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:36:38 + git rev-list -1 --merges a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5~1..a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo 10:36:38 -----------> git rev-list -1 --merges a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5~1..a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [false] [Pipeline] sh 10:36:38 + git log --format=format:%s -1 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo 10:36:38 ========================================================= 10:36:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:36:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:36:39 + git log --format=format:%s -1 a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 [Pipeline] echo 10:36:39 [semverPrep] GIT_COMMIT: a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5, Commit Message: feat: Add MaxEventSize to limit event size [Pipeline] echo 10:36:39 [semverPrep] This is not a build commit. [Pipeline] sh 10:36:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:36:39 + grep -v github /etc/ssh/ssh_known_hosts 10:36:39 + [ -e /tmp/ssh_known_hosts ] 10:36:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:36:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:36:39 + sudo tee -a /etc/ssh/ssh_known_hosts 10:36:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:36:40 10:36:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:36:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:36:40 latest: Pulling from edgex-devops/git-semver 10:36:40 a0d0a0d46f8b: Pulling fs layer 10:36:40 3e5f54012d9b: Pulling fs layer 10:36:40 4c7163046ea9: Pulling fs layer 10:36:40 0c2d73faf560: Pulling fs layer 10:36:40 0c2d73faf560: Waiting 10:36:40 3e5f54012d9b: Verifying Checksum 10:36:40 3e5f54012d9b: Download complete 10:36:40 a0d0a0d46f8b: Verifying Checksum 10:36:40 a0d0a0d46f8b: Download complete 10:36:40 0c2d73faf560: Download complete 10:36:40 4c7163046ea9: Verifying Checksum 10:36:40 4c7163046ea9: Download complete 10:36:40 a0d0a0d46f8b: Pull complete 10:36:40 3e5f54012d9b: Pull complete 10:36:41 4c7163046ea9: Pull complete 10:36:41 0c2d73faf560: Pull complete 10:36:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:36:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:36:41 prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container 10:36:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:36:42 $ docker top f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:36:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:36:42 [ssh-agent] Looking for ssh-agent implementation... 10:36:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:36:42 $ docker exec f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent 10:36:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogcNMC/agent.14 10:36:42 SSH_AGENT_PID=20 10:36:42 Running ssh-add (command line suppressed) 10:36:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_7558933921524220228.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_7558933921524220228.key) 10:36:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:36:43 + git tag --points-at HEAD [Pipeline] } 10:36:43 $ docker exec --env ******** --env ******** f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent -k 10:36:43 unset SSH_AUTH_SOCK; 10:36:43 unset SSH_AGENT_PID; 10:36:43 echo Agent pid 20 killed; 10:36:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:36:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:36:43 [ssh-agent] Looking for ssh-agent implementation... 10:36:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:36:43 $ docker exec f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent 10:36:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPbDNDC/agent.53 10:36:43 SSH_AGENT_PID=59 10:36:43 Running ssh-add (command line suppressed) 10:36:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4600572359819898862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/private_key_4600572359819898862.key) 10:36:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:36:44 + git semver init 10:36:44 # -> Open(): unable to determine branch for HEAD 10:36:44 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.git 10:36:44 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1142 10:36:44 # $SEMVER_REMOTE_NAME = origin 10:36:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:36:44 # $SEMVER_USER_NAME = edgex-jenkins 10:36:44 # $SEMVER_BRANCH = PR-1142 10:36:44 # $SEMVER_TEMP = /tmp/semver-258679909 10:36:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:36:45 # '/tmp/semver-258679909' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver' 10:36:45 # -> Force: false 10:36:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1142/.semver [Pipeline] } 10:36:45 $ docker exec --env ******** --env ******** f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a ssh-agent -k 10:36:45 unset SSH_AUTH_SOCK; 10:36:45 unset SSH_AGENT_PID; 10:36:45 echo Agent pid 59 killed; 10:36:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:36:46 + git semver [Pipeline] } 10:36:46 $ docker stop --time=1 f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a 10:36:47 $ docker rm -f f2447e6fb88b3ecbe85ddb2e81f8e30809d1f088b5db5615cb4a959fc3a8310a [Pipeline] // withDockerContainer [Pipeline] sh 10:36:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:36:48 Stashed 1 file(s) [Pipeline] echo 10:36:48 [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 10:36:49 provisioning config files... 10:36:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config1701205940299748345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:49 ---> docker-login.sh 10:36:49 nexus3.edgexfoundry.org:10001 10:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:49 Configure a credential helper to remove this warning. See 10:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:49 10:36:49 Login Succeeded 10:36:49 nexus3.edgexfoundry.org:10002 10:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:49 Configure a credential helper to remove this warning. See 10:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:49 10:36:49 Login Succeeded 10:36:49 nexus3.edgexfoundry.org:10003 10:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:49 Configure a credential helper to remove this warning. See 10:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:49 10:36:49 Login Succeeded 10:36:49 nexus3.edgexfoundry.org:10004 10:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:50 Configure a credential helper to remove this warning. See 10:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:50 10:36:50 Login Succeeded 10:36:50 docker.io 10:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:50 Configure a credential helper to remove this warning. See 10:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:50 10:36:50 Login Succeeded 10:36:50 ---> docker-login.sh ends [Pipeline] } 10:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:36:50 ========================================================= 10:36:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:36:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:36:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:36:50 Sending build context to Docker daemon 9.544MB 10:36:50 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:36:50 Step 2/11 : FROM ${BASE} AS builder 10:36:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:36:50 59bf1c3509f3: Pulling fs layer 10:36:50 666ba61612fd: Pulling fs layer 10:36:50 8ed8ca486205: Pulling fs layer 10:36:50 4fe6c5a15a65: Pulling fs layer 10:36:50 22a0e8bec74d: Pulling fs layer 10:36:50 640e595b4fbd: Pulling fs layer 10:36:50 763cafe07f6e: Pulling fs layer 10:36:50 0c0b528cf693: Pulling fs layer 10:36:50 10935f4eaf8b: Pulling fs layer 10:36:50 640e595b4fbd: Waiting 10:36:50 763cafe07f6e: Waiting 10:36:50 22a0e8bec74d: Waiting 10:36:50 10935f4eaf8b: Waiting 10:36:50 4fe6c5a15a65: Waiting 10:36:50 0c0b528cf693: Waiting 10:36:51 666ba61612fd: Verifying Checksum 10:36:51 666ba61612fd: Download complete 10:36:51 22a0e8bec74d: Download complete 10:36:51 640e595b4fbd: Verifying Checksum 10:36:51 640e595b4fbd: Download complete 10:36:51 763cafe07f6e: Verifying Checksum 10:36:51 763cafe07f6e: Download complete 10:36:51 59bf1c3509f3: Verifying Checksum 10:36:51 59bf1c3509f3: Download complete 10:36:51 0c0b528cf693: Verifying Checksum 10:36:51 0c0b528cf693: Download complete 10:36:51 59bf1c3509f3: Pull complete 10:36:51 666ba61612fd: Pull complete 10:36:51 8ed8ca486205: Pull complete 10:36:51 10935f4eaf8b: Verifying Checksum 10:36:51 10935f4eaf8b: Download complete 10:36:52 4fe6c5a15a65: Verifying Checksum 10:36:52 4fe6c5a15a65: Download complete 10:36:56 4fe6c5a15a65: Pull complete 10:36:56 22a0e8bec74d: Pull complete 10:36:56 640e595b4fbd: Pull complete 10:36:56 763cafe07f6e: Pull complete 10:36:56 0c0b528cf693: Pull complete 10:36:59 10935f4eaf8b: Pull complete 10:36:59 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:36:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:36:59 ---> 99d49a6021b9 10:36:59 Step 3/11 : ARG MAKE=make build 10:37:00 ---> Running in 2f4c5a3a4f18 10:37:00 Removing intermediate container 2f4c5a3a4f18 10:37:00 ---> 9108a66e10bb 10:37:00 Step 4/11 : WORKDIR /device-sdk-go 10:37:00 ---> Running in 1acc2397b46c 10:37:00 Removing intermediate container 1acc2397b46c 10:37:00 ---> 921de3c3787e 10:37:00 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:37:00 ---> Running in f084e83a3b67 10:37:00 Removing intermediate container f084e83a3b67 10:37:00 ---> 7b685436aecd 10:37:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:37:00 ---> Running in ea00f8420ae3 10:37:01 Removing intermediate container ea00f8420ae3 10:37:01 ---> babc43cc7c24 10:37:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:37:01 ---> Running in e43215fec20a 10:37:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:37:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:37:03 OK: 221 MiB in 52 packages 10:37:03 Removing intermediate container e43215fec20a 10:37:03 ---> 312f84f83ef9 10:37:03 Step 8/11 : COPY go.mod vendor* ./ 10:37:03 ---> 6d2198f1afa7 10:37:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:37:03 ---> Running in 6b83b9a0afb1 10:37:03 Still waiting to schedule task 10:37:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:37:21 Removing intermediate container 6b83b9a0afb1 10:37:21 ---> a98f4ef5e12f 10:37:21 Step 10/11 : COPY . . 10:37:21 ---> 5265b7bcd21a 10:37:21 Step 11/11 : RUN ${MAKE} 10:37:21 ---> Running in 06c7071fcf5c 10:37:21 noop 10:37:21 Removing intermediate container 06c7071fcf5c 10:37:21 ---> e3a9f796ceb7 10:37:21 Successfully built e3a9f796ceb7 10:37:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:37:22 + docker inspect -f . ci-base-image-x86_64 10:37:22 . [Pipeline] withDockerContainer 10:37:22 prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container 10:37:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:37:22 $ docker top 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:37:23 + go version 10:37:23 go version go1.17.6 linux/amd64 [Pipeline] } 10:37:23 $ docker stop --time=1 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 10:37:24 $ docker rm -f 3aa3d6d4fbff78e1aab58a06bc97c11bf3fc7c30ff738c85c2c329b33188cdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:37:25 + docker inspect -f . ci-base-image-x86_64 10:37:25 . [Pipeline] withDockerContainer 10:37:25 prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container 10:37:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:37:25 $ docker top 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:37:26 + make test 10:37:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:37:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:37:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 23.3% of statements 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:37:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 10:37:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 10:37:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements 10:37:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 60.0% of statements 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:37:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.7% of statements 10:37:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:37:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.093s coverage: 86.1% of statements 10:37:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:37:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:37:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 10:37:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.912s coverage: 89.2% of statements 10:37:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 10:37:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 10:37:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:38:04 internal/common/utils_test.go:38:5: `ctx` is unused (deadcode) 10:38:04 var ctx = context.Background() 10:38:04 ^ 10:38:04 make: *** [Makefile:48: lint] Error 1 [Pipeline] } 10:38:04 $ docker stop --time=1 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c 10:38:06 $ docker rm -f 8160b0f6e6144e76bfc63e395b2d693bd1bc968dda9eefea7393e1980c450a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:38:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:38:08 10:38:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:38:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:38:08 latest: Pulling from edgex-lftools-log-publisher 10:38:08 5eb5b503b376: Pulling fs layer 10:38:08 5c69ac0246d0: Pulling fs layer 10:38:08 ec43610c2a17: Pulling fs layer 10:38:08 3a2ae6a8a46f: Pulling fs layer 10:38:08 33b1e0a273af: Pulling fs layer 10:38:08 5d3b04190fa2: Pulling fs layer 10:38:08 2f39f015ded8: Pulling fs layer 10:38:08 3a2ae6a8a46f: Waiting 10:38:08 33b1e0a273af: Waiting 10:38:08 5d3b04190fa2: Waiting 10:38:08 2f39f015ded8: Waiting 10:38:08 5c69ac0246d0: Verifying Checksum 10:38:08 5c69ac0246d0: Download complete 10:38:08 3a2ae6a8a46f: Verifying Checksum 10:38:08 3a2ae6a8a46f: Download complete 10:38:08 33b1e0a273af: Verifying Checksum 10:38:08 33b1e0a273af: Download complete 10:38:08 ec43610c2a17: Verifying Checksum 10:38:08 ec43610c2a17: Download complete 10:38:08 5d3b04190fa2: Verifying Checksum 10:38:08 5d3b04190fa2: Download complete 10:38:08 5eb5b503b376: Verifying Checksum 10:38:08 5eb5b503b376: Download complete 10:38:09 2f39f015ded8: Verifying Checksum 10:38:09 2f39f015ded8: Download complete 10:38:10 5eb5b503b376: Pull complete 10:38:10 5c69ac0246d0: Pull complete 10:38:11 ec43610c2a17: Pull complete 10:38:11 3a2ae6a8a46f: Pull complete 10:38:11 33b1e0a273af: Pull complete 10:38:11 5d3b04190fa2: Pull complete 10:38:16 2f39f015ded8: Pull complete 10:38:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:38:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:38:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:38:16 prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container 10:38:16 $ 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-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:38:18 $ docker top df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:19 ---> job-cost.sh 10:38:19 lf-activate-venv: SKIPPING 10:38:19 INFO: No Stack... 10:38:19 INFO: Retrieving Pricing Info for: v3-standard-8 10:38:19 INFO: Archiving Costs [Pipeline] sh 10:38:20 + cat+ /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/cost.csv 10:38:20 cut -d, -f6 [Pipeline] lock 10:38:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] 10:38:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] did not exist. Created. 10:38:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:38:20 + echo total: 0.2199999988079071 [Pipeline] stash 10:38:20 Stashed 1 file(s) [Pipeline] } 10:38:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:38:20 $ docker stop --time=1 df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed 10:38:22 $ docker rm -f df1581e87eb3503abf6cbc194063349534fc995545c7d7576746dd96389756ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:38:22 Failed in branch amd64 10:38:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21581 in /w/workspace/gexfoundry_device-sdk-go_PR-1142 [Pipeline] { [Pipeline] ws 10:38:40 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:38:41 The recommended git tool is: git 10:38:47 using credential edgex-jenkins-ssh 10:38:47 Cloning the remote Git repository 10:38:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:38:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:38:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:47 > git --version # timeout=10 10:38:47 > git --version # 'git version 2.25.1' 10:38:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:50 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 10:38:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1142/head:refs/remotes/origin/PR-1142 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:38:50 > git config core.sparsecheckout # timeout=10 10:38:50 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 10:38:50 Merge succeeded, producing a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 10:38:50 Checking out Revision a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 (PR-1142) 10:38:50 > git remote # timeout=10 10:38:50 > git config --get remote.origin.url # timeout=10 10:38:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:50 > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 10:38:50 > git rev-parse HEAD^{commit} # timeout=10 10:38:50 > git config core.sparsecheckout # timeout=10 10:38:50 > git checkout -f a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 # timeout=10 10:38:54 Commit message: "feat: Add MaxEventSize to limit event size" 10:38:54 > git --version # timeout=10 10:38:54 > git --version # 'git version 2.25.1' 10:38:54 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:38:55 % Total % Received % Xferd Average Speed Time Time Time Current 10:38:55 Dload Upload Total Spent Left Speed 10:38:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 56937 0 --:--:-- --:--:-- --:--:-- 57212 [Pipeline] sh 10:38:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:38:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:38:56 + sudo tee /etc/docker/daemon.new 10:38:56 { 10:38:56 "registry-mirrors": [ 10:38:56 "https://nexus3.edgexfoundry.org:10001" 10:38:56 ], 10:38:56 "bip": "10.250.0.254/24", 10:38:56 "hosts": [ 10:38:56 "tcp://0.0.0.0:5555", 10:38:56 "unix:///var/run/docker.sock" 10:38:56 ], 10:38:56 "mtu": 1458, 10:38:56 "selinux-enabled": true, 10:38:56 "seccomp-profile": "/etc/docker/seccomp.json" 10:38:56 } [Pipeline] sh 10:38:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:38:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:16 provisioning config files... 10:39:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2255156306859320313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:16 ---> docker-login.sh 10:39:16 nexus3.edgexfoundry.org:10001 10:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:17 Configure a credential helper to remove this warning. See 10:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:17 10:39:17 Login Succeeded 10:39:17 nexus3.edgexfoundry.org:10002 10:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:18 Configure a credential helper to remove this warning. See 10:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:18 10:39:18 Login Succeeded 10:39:18 nexus3.edgexfoundry.org:10003 10:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:18 Configure a credential helper to remove this warning. See 10:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:18 10:39:18 Login Succeeded 10:39:18 nexus3.edgexfoundry.org:10004 10:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:18 Configure a credential helper to remove this warning. See 10:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:18 10:39:18 Login Succeeded 10:39:18 docker.io 10:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:19 Configure a credential helper to remove this warning. See 10:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:19 10:39:19 Login Succeeded 10:39:19 ---> docker-login.sh ends [Pipeline] } 10:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:39:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:20 ========================================================= 10:39:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:39:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:39:20 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:39:21 Sending build context to Docker daemon 5.182MB 10:39:21 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:39:21 Step 2/11 : FROM ${BASE} AS builder 10:39:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:39:21 9b3977197b4f: Pulling fs layer 10:39:21 1a89e8eeedd5: Pulling fs layer 10:39:21 94645a83ff95: Pulling fs layer 10:39:21 3f3a8bcf1eab: Pulling fs layer 10:39:21 0c92f367c5e7: Pulling fs layer 10:39:21 f7c0051592d6: Pulling fs layer 10:39:21 3f3a8bcf1eab: Waiting 10:39:21 a227ed2f7395: Pulling fs layer 10:39:21 7b1c46037f91: Pulling fs layer 10:39:21 f7c0051592d6: Waiting 10:39:21 a227ed2f7395: Waiting 10:39:21 7b1c46037f91: Waiting 10:39:21 94645a83ff95: Verifying Checksum 10:39:21 94645a83ff95: Download complete 10:39:21 1a89e8eeedd5: Verifying Checksum 10:39:21 1a89e8eeedd5: Download complete 10:39:21 0c92f367c5e7: Verifying Checksum 10:39:21 0c92f367c5e7: Download complete 10:39:21 f7c0051592d6: Verifying Checksum 10:39:21 f7c0051592d6: Download complete 10:39:21 a227ed2f7395: Verifying Checksum 10:39:21 a227ed2f7395: Download complete 10:39:21 9b3977197b4f: Verifying Checksum 10:39:21 9b3977197b4f: Download complete 10:39:22 9b3977197b4f: Pull complete 10:39:22 1a89e8eeedd5: Pull complete 10:39:23 94645a83ff95: Pull complete 10:39:23 7b1c46037f91: Verifying Checksum 10:39:23 7b1c46037f91: Download complete 10:39:24 3f3a8bcf1eab: Download complete 10:39:36 3f3a8bcf1eab: Pull complete 10:39:36 0c92f367c5e7: Pull complete 10:39:36 f7c0051592d6: Pull complete 10:39:36 a227ed2f7395: Pull complete 10:39:43 7b1c46037f91: Pull complete 10:39:43 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:39:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:39:43 ---> f79e39bc4007 10:39:43 Step 3/11 : ARG MAKE=make build 10:39:44 ---> Running in 4e30e2432d3c 10:39:44 Removing intermediate container 4e30e2432d3c 10:39:44 ---> faaa1fe0ada6 10:39:44 Step 4/11 : WORKDIR /device-sdk-go 10:39:44 ---> Running in 76e276c8aa9f 10:39:45 Removing intermediate container 76e276c8aa9f 10:39:45 ---> fa4174e3fb84 10:39:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:39:45 ---> Running in cfb59b68d2b8 10:39:45 Removing intermediate container cfb59b68d2b8 10:39:45 ---> 29f314c94e7e 10:39:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:39:45 ---> Running in a2bdbb396a85 10:39:47 Removing intermediate container a2bdbb396a85 10:39:47 ---> 04464c56d5a7 10:39:47 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:39:47 ---> Running in 79002036729f 10:39:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:39:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:39:51 OK: 220 MiB in 52 packages 10:39:52 Removing intermediate container 79002036729f 10:39:52 ---> 4440a5f18cc2 10:39:52 Step 8/11 : COPY go.mod vendor* ./ 10:39:52 ---> 8c494808bc44 10:39:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:39:52 ---> Running in 94b675e49ca1 10:40:39 Removing intermediate container 94b675e49ca1 10:40:39 ---> 2ff1ae416d2d 10:40:39 Step 10/11 : COPY . . 10:40:39 ---> 9f15a89e488a 10:40:39 Step 11/11 : RUN ${MAKE} 10:40:39 ---> Running in 5b07edb32982 10:40:39 noop 10:40:39 Removing intermediate container 5b07edb32982 10:40:39 ---> bb3c0b77bc94 10:40:39 Successfully built bb3c0b77bc94 10:40:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:40:40 + docker inspect -f . ci-base-image-arm64 10:40:40 . [Pipeline] withDockerContainer 10:40:40 prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container 10:40:40 $ 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 ******** ci-base-image-arm64 cat 10:40:41 $ docker top 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:42 + go version 10:40:42 go version go1.17.6 linux/arm64 [Pipeline] } 10:40:42 $ docker stop --time=1 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 10:40:44 $ docker rm -f 4dff3727073cc6210b13a7bb0c1e23f4c56a080d3d5a001ad76101ad07319ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:40:45 + docker inspect -f . ci-base-image-arm64 10:40:45 . [Pipeline] withDockerContainer 10:40:45 prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container 10:40:45 $ 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 ******** ci-base-image-arm64 cat 10:40:46 $ docker top 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:40:47 + make test 10:40:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:41:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:42:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:42:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:42:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:42:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 23.3% of statements 10:42:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:42:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 27.6% of statements 10:42:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.408s coverage: 78.9% of statements 10:42:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements 10:43:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.369s coverage: 60.0% of statements 10:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:43:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.500s coverage: 34.7% of statements 10:43:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:43:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.338s coverage: 86.1% of statements 10:43:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:43:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:43:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.444s coverage: 65.1% of statements 10:43:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.263s coverage: 89.2% of statements 10:43:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 10:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.229s coverage: 4.7% of statements 10:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:43:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:43:14 GO111MODULE=on go vet ./... 10:44:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:44:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:44:35 ./bin/test-attribution-txt.sh [Pipeline] echo 10:44:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:44:36 $ docker stop --time=1 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e 10:44:38 $ docker rm -f 2258f9118d198b7935e79db0e6cda49b0be2bafadd17730b0f5bab91aa0a240e [Pipeline] // withDockerContainer [Pipeline] sh 10:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:44:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:44:42 + ls -al . 10:44:42 total 292 10:44:42 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 10:44 . 10:44:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:38 .. 10:44:42 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 10:38 .dockerignore 10:44:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 10:38 .git 10:44:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:38 .github 10:44:42 -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 10:38 .gitignore 10:44:42 -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 10:38 .golangci.yml 10:44:42 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 21 10:38 CHANGELOG.md 10:44:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 10:38 GOVERNANCE.md 10:44:42 -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 10:38 Jenkinsfile 10:44:42 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 10:38 LICENSE 10:44:42 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 21 10:38 Makefile 10:44:42 -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 10:38 OWNERS.md 10:44:42 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 21 10:38 README.md 10:44:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 10:36 VERSION 10:44:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:38 bin 10:44:42 -rw-r--r-- 1 jenkins jenkins 131008 Apr 21 10:43 coverage.out 10:44:42 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 10:38 example 10:44:42 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 21 10:38 go.mod 10:44:42 -rw-rw-r-- 1 jenkins jenkins 34437 Apr 21 10:38 go.sum 10:44:42 drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 10:38 internal 10:44:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:38 openapi 10:44:42 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 10:38 pkg 10:44:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:38 snap 10:44:42 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 10:38 version.go [Pipeline] isUnix [Pipeline] sh 10:44:42 + 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=a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 --label arch=arm64 --label version=0.0.0 . 10:44:43 Sending build context to Docker daemon 5.314MB 10:44:43 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:44:43 Step 2/25 : FROM ${BASE} AS builder 10:44:43 ---> bb3c0b77bc94 10:44:43 Step 3/25 : ARG MAKE=make build 10:44:43 ---> Running in dbd0d7d8d580 10:44:43 Removing intermediate container dbd0d7d8d580 10:44:43 ---> acd5c06f5937 10:44:43 Step 4/25 : WORKDIR /device-sdk-go 10:44:44 ---> Running in aa2d97845b69 10:44:44 Removing intermediate container aa2d97845b69 10:44:44 ---> 8e3e98b7e771 10:44:44 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:44 ---> Running in 14ee8569d6aa 10:44:44 Removing intermediate container 14ee8569d6aa 10:44:44 ---> 8178b5929339 10:44:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:44:44 ---> Running in 4714e8f596f0 10:44:46 Removing intermediate container 4714e8f596f0 10:44:46 ---> 8523a2f51a5a 10:44:46 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:44:46 ---> Running in d375de66f571 10:44:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:44:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:44:49 OK: 220 MiB in 52 packages 10:44:49 Removing intermediate container d375de66f571 10:44:49 ---> f04b3b728013 10:44:49 Step 8/25 : COPY go.mod vendor* ./ 10:44:50 ---> 58ded954a0c0 10:44:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:44:50 ---> Running in 1ccdb6c90150 10:44:52 Removing intermediate container 1ccdb6c90150 10:44:52 ---> 11343024f544 10:44:52 Step 10/25 : COPY . . 10:44:53 ---> c75c51510d7e 10:44:53 Step 11/25 : RUN ${MAKE} 10:44:53 ---> Running in 7e31cbdcf7dc 10:44:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:46:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:46:53 Removing intermediate container 7e31cbdcf7dc 10:46:53 ---> e4f8835f3836 10:46:53 Step 12/25 : FROM alpine:3.14 10:46:53 3.14: Pulling from library/alpine 10:46:53 455c02918c45: Pulling fs layer 10:46:53 455c02918c45: Verifying Checksum 10:46:53 455c02918c45: Download complete 10:46:54 455c02918c45: Pull complete 10:46:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:46:54 Status: Downloaded newer image for alpine:3.14 10:46:54 ---> ac73e934f311 10:46:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:46:54 ---> Running in ca4484621b6e 10:46:54 Removing intermediate container ca4484621b6e 10:46:54 ---> f16c27d0bdad 10:46:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:46:54 ---> Running in c8f99639b521 10:46:56 Removing intermediate container c8f99639b521 10:46:56 ---> 59cb3f476c37 10:46:56 Step 15/25 : RUN apk add --update --no-cache zeromq 10:46:56 ---> Running in 9f06faae58d5 10:46:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:46:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:46:59 (1/5) Installing libgcc (10.3.1_git20210424-r2) 10:46:59 (2/5) Installing libsodium (1.0.18-r0) 10:46:59 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 10:46:59 (4/5) Installing libzmq (4.3.4-r0) 10:46:59 (5/5) Installing zeromq (4.3.4-r0) 10:46:59 Executing busybox-1.33.1-r7.trigger 10:46:59 OK: 8 MiB in 19 packages 10:47:00 Removing intermediate container 9f06faae58d5 10:47:00 ---> ac00ce1b0288 10:47:00 Step 16/25 : WORKDIR / 10:47:00 ---> Running in 731441d0937c 10:47:00 Removing intermediate container 731441d0937c 10:47:00 ---> f684801579dc 10:47:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:47:01 ---> e4250515982d 10:47:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:47:02 ---> 1719cfb08a0e 10:47:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:47:03 ---> 0630e265d09b 10:47:03 Step 20/25 : EXPOSE 59999 10:47:03 ---> Running in 6f7f3f36f1fc 10:47:04 Removing intermediate container 6f7f3f36f1fc 10:47:04 ---> e40d3be92227 10:47:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 10:47:04 ---> Running in 8add4c91471e 10:47:04 Removing intermediate container 8add4c91471e 10:47:04 ---> c337bf17bfa5 10:47:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:47:04 ---> Running in 18d8c661f84e 10:47:04 Removing intermediate container 18d8c661f84e 10:47:04 ---> f11ef54dd3f1 10:47:04 Step 23/25 : LABEL arch=arm64 10:47:04 ---> Running in 744e4bbdb18e 10:47:05 Removing intermediate container 744e4bbdb18e 10:47:05 ---> 215b0879ccba 10:47:05 Step 24/25 : LABEL git_sha=a525fa8329fbe22c3cb4119fb6ae0b5d7df1feb5 10:47:05 ---> Running in c17717258e13 10:47:05 Removing intermediate container c17717258e13 10:47:05 ---> 4382b9a1a7ef 10:47:05 Step 25/25 : LABEL version=0.0.0 10:47:05 ---> Running in bb1dba2f3054 10:47:05 Removing intermediate container bb1dba2f3054 10:47:05 ---> 543c057d44e7 10:47:05 [Warning] One or more build-args [ARCH] were not consumed 10:47:05 Successfully built 543c057d44e7 10:47:06 Successfully tagged device-sdk-simple-arm64:latest [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] sh 10:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:47:06 10:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:47:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:47:07 arm64: Pulling from edgex-lftools-log-publisher 10:47:07 8998bd30e6a1: Pulling fs layer 10:47:07 04944245beec: Pulling fs layer 10:47:07 699f458cf7ca: Pulling fs layer 10:47:07 765212b225bb: Pulling fs layer 10:47:07 f23df028b6ca: Pulling fs layer 10:47:07 d65c8cfc05b1: Pulling fs layer 10:47:07 2437ff75d9bd: Pulling fs layer 10:47:07 765212b225bb: Waiting 10:47:07 d65c8cfc05b1: Waiting 10:47:07 2437ff75d9bd: Waiting 10:47:07 f23df028b6ca: Waiting 10:47:07 04944245beec: Verifying Checksum 10:47:07 04944245beec: Download complete 10:47:07 765212b225bb: Verifying Checksum 10:47:07 765212b225bb: Download complete 10:47:07 f23df028b6ca: Verifying Checksum 10:47:07 f23df028b6ca: Download complete 10:47:07 d65c8cfc05b1: Verifying Checksum 10:47:07 d65c8cfc05b1: Download complete 10:47:07 699f458cf7ca: Download complete 10:47:07 8998bd30e6a1: Verifying Checksum 10:47:07 8998bd30e6a1: Download complete 10:47:10 2437ff75d9bd: Verifying Checksum 10:47:10 2437ff75d9bd: Download complete 10:47:12 8998bd30e6a1: Pull complete 10:47:12 04944245beec: Pull complete 10:47:14 699f458cf7ca: Pull complete 10:47:14 765212b225bb: Pull complete 10:47:15 f23df028b6ca: Pull complete 10:47:15 d65c8cfc05b1: Pull complete 10:47:30 2437ff75d9bd: Pull complete 10:47:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:47:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:47:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:47:30 prd-ubuntu20.04-docker-arm64-4c-16g-21581 does not seem to be running inside a container 10:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:47:33 $ docker top 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:47:34 ---> job-cost.sh 10:47:34 lf-activate-venv: SKIPPING 10:47:34 INFO: No Stack... 10:47:35 INFO: Retrieving Pricing Info for: v3-standard-4 10:47:35 INFO: Archiving Costs [Pipeline] sh 10:47:36 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 10:47:36 + cut -d, -f6 [Pipeline] lock 10:47:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] 10:47:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] did not exist. Created. 10:47:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:47:37 /w/workspace/device-sdk-go/1@tmp/durable-ad9676fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:47:37 + echo total: 0.10999999940395355 [Pipeline] stash 10:47:38 Warning: overwriting stash ‘stack-cost’ 10:47:38 Stashed 1 file(s) [Pipeline] } 10:47:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1142-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:47:38 $ docker stop --time=1 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 10:47:39 $ docker rm -f 60f1dd9c75c0843bad62c65a2882ef8b893bfc7154162a9becb959b309ed82f8 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:47:42 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives ] 10:47:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 10:47:42 total 16 10:47:42 drwxr-xr-x 3 root root 4096 Apr 21 10:38 . 10:47:42 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 10:38 .. 10:47:42 drwxr-xr-x 2 root root 4096 Apr 21 10:38 cost 10:47:42 -rw-r--r-- 1 root root 85 Apr 21 10:38 cost.csv 10:47:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 10:47:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives 10:47:42 total 16 10:47:42 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 10:38 . 10:47:42 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 10:38 .. 10:47:42 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 10:38 cost 10:47:42 -rw-r--r-- 1 jenkins jenkins 85 Apr 21 10:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:47:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:47:43 ---> package-listing.sh 10:47:43 ++ facter osfamily 10:47:43 ++ tr '[:upper:]' '[:lower:]' 10:47:43 + OS_FAMILY=debian 10:47:43 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1142 10:47:43 + START_PACKAGES=/tmp/packages_start.txt 10:47:43 + END_PACKAGES=/tmp/packages_end.txt 10:47:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:47:43 + PACKAGES=/tmp/packages_start.txt 10:47:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' 10:47:43 + PACKAGES=/tmp/packages_end.txt 10:47:43 + case "${OS_FAMILY}" in 10:47:43 + dpkg -l 10:47:43 + grep '^ii' 10:47:43 + '[' -f /tmp/packages_start.txt ']' 10:47:43 + '[' -f /tmp/packages_end.txt ']' 10:47:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:47:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1142 ']' 10:47:43 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ 10:47:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1142/archives/ [Pipeline] echo 10:47:43 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-1142/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:47:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:47:44 . [Pipeline] withDockerContainer 10:47:44 prd-ubuntu20.04-docker-8c-8g-21580 does not seem to be running inside a container 10:47:44 $ 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-1142/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-1142 -v /w/workspace/gexfoundry_device-sdk-go_PR-1142:/w/workspace/gexfoundry_device-sdk-go_PR-1142:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:47:45 $ docker top adb11fc13df210c9b47e55822bde333f633b1a0af6530beeeb220f1ed7f542d5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:47:45 + touch /tmp/pre-build-complete [Pipeline] sh 10:47:45 + mkdir -p /var/log/sysstat [Pipeline] sh 10:47:46 + ls /var/log/sa-host 10:47:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:47:46 provisioning config files... 10:47:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1142@tmp/config833544861745709779tmp [Pipeline] { [Pipeline] echo 10:47:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:47:46 ---> create-netrc.sh [Pipeline] } 10:47:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:47:47 ---> python-tools-install.sh [Pipeline] echo 10:47:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:47:47 ---> sudo-logs.sh 10:47:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:47:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:47:48 ---> job-cost.sh 10:47:48 lf-activate-venv: SKIPPING 10:47:48 DEBUG: total: 0.2199999988079071 10:47:48 INFO: Retrieving Stack Cost... 10:47:48 INFO: Retrieving Pricing Info for: v3-standard-8 10:47:48 INFO: Archiving Costs [Pipeline] echo 10:47:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:47:49 ---> logs-deploy.sh 10:47:49 lf-activate-venv: SKIPPING 10:47:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1142/1 10:47:49 INFO: archiving workspace using pattern(s): 10:47:50 Archives upload complete. 10:47:50 INFO: archiving logs to Nexus 10:47:51 ---> uname -a: 10:47:51 Linux prd-ubuntu20-04-docker-8c-8g-21580 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:47:51 10:47:51 10:47:51 ---> lscpu: 10:47:51 Architecture: x86_64 10:47:51 CPU op-mode(s): 32-bit, 64-bit 10:47:51 Byte Order: Little Endian 10:47:51 Address sizes: 40 bits physical, 48 bits virtual 10:47:51 CPU(s): 8 10:47:51 On-line CPU(s) list: 0-7 10:47:51 Thread(s) per core: 1 10:47:51 Core(s) per socket: 1 10:47:51 Socket(s): 8 10:47:51 NUMA node(s): 1 10:47:51 Vendor ID: AuthenticAMD 10:47:51 CPU family: 23 10:47:51 Model: 49 10:47:51 Model name: AMD EPYC-Rome Processor 10:47:51 Stepping: 0 10:47:51 CPU MHz: 2799.998 10:47:51 BogoMIPS: 5599.99 10:47:51 Virtualization: AMD-V 10:47:51 Hypervisor vendor: KVM 10:47:51 Virtualization type: full 10:47:51 L1d cache: 256 KiB 10:47:51 L1i cache: 256 KiB 10:47:51 L2 cache: 4 MiB 10:47:51 L3 cache: 128 MiB 10:47:51 NUMA node0 CPU(s): 0-7 10:47:51 Vulnerability Itlb multihit: Not affected 10:47:51 Vulnerability L1tf: Not affected 10:47:51 Vulnerability Mds: Not affected 10:47:51 Vulnerability Meltdown: Not affected 10:47:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:47:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:47:51 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:47:51 Vulnerability Srbds: Not affected 10:47:51 Vulnerability Tsx async abort: Not affected 10:47:51 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 10:47:51 10:47:51