Pull request #1146 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 rather than fba0ac1609264da270e4e3ba8e218ea2cbc1e562 Obtained Jenkinsfile from c4fb6f454a66f6ec4303bcc61530b9f99af08732 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-ssh965871376063701319.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-ssh16280742589352923781.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-1146/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-1146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4024142034646934742.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-1146/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh266673835326279899.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-ssh6846702016461952117.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-1146/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-1146/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6900442638096320885.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21757 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [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-1146 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit fba0ac1609264da270e4e3ba8e218ea2cbc1e562 Merge succeeded, producing fba0ac1609264da270e4e3ba8e218ea2cbc1e562 Checking out Revision fba0ac1609264da270e4e3ba8e218ea2cbc1e562 (PR-1146) > 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/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # timeout=10 Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" 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 08:09:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:09:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:09:29 ========================================================= 08:09:29 EdgeX Global Pipelines Version Info 08:09:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:09:30 ------------------- 08:09:30 stable info: 08:09:30 ------------------- 08:09:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:09:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:09:30 Message: update stable to v1.0.221 08:09:31 ------------------- 08:09:31 experimental info: 08:09:31 ------------------- 08:09:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:09:31 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:09:31 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:09:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fba0ac1 [Pipeline] echo 08:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:09:32 provisioning config files... 08:09:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config2687649185388914277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:33 ---> docker-login.sh 08:09:33 nexus3.edgexfoundry.org:10001 08:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:33 Configure a credential helper to remove this warning. See 08:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:33 08:09:33 Login Succeeded 08:09:33 nexus3.edgexfoundry.org:10002 08:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:33 Configure a credential helper to remove this warning. See 08:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:33 08:09:33 Login Succeeded 08:09:33 nexus3.edgexfoundry.org:10003 08:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:33 Configure a credential helper to remove this warning. See 08:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:33 08:09:33 Login Succeeded 08:09:33 nexus3.edgexfoundry.org:10004 08:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:33 Configure a credential helper to remove this warning. See 08:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:33 08:09:33 Login Succeeded 08:09:33 docker.io 08:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:34 Configure a credential helper to remove this warning. See 08:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:34 08:09:34 Login Succeeded 08:09:34 ---> docker-login.sh ends [Pipeline] } 08:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:09:35 + git rev-list -1 --merges fba0ac1609264da270e4e3ba8e218ea2cbc1e562~1..fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo 08:09:35 -----------> git rev-list -1 --merges fba0ac1609264da270e4e3ba8e218ea2cbc1e562~1..fba0ac1609264da270e4e3ba8e218ea2cbc1e562 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [false] [Pipeline] sh 08:09:35 + git log --format=format:%s -1 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo 08:09:35 ========================================================= 08:09:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:09:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:09:35 + git log --format=format:%s -1 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo 08:09:35 [semverPrep] GIT_COMMIT: fba0ac1609264da270e4e3ba8e218ea2cbc1e562, Commit Message: fix: Add missing Configuration interface method GetTelemetryInfo [Pipeline] echo 08:09:36 [semverPrep] This is not a build commit. [Pipeline] sh 08:09:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:09:36 + grep -v github /etc/ssh/ssh_known_hosts 08:09:36 + [ -e /tmp/ssh_known_hosts ] 08:09:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:09:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:09:36 + sudo tee -a /etc/ssh/ssh_known_hosts 08:09:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:36 08:09:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:09:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:37 latest: Pulling from edgex-devops/git-semver 08:09:37 a0d0a0d46f8b: Pulling fs layer 08:09:37 3e5f54012d9b: Pulling fs layer 08:09:37 4c7163046ea9: Pulling fs layer 08:09:37 0c2d73faf560: Pulling fs layer 08:09:37 0c2d73faf560: Waiting 08:09:37 3e5f54012d9b: Verifying Checksum 08:09:37 3e5f54012d9b: Download complete 08:09:37 a0d0a0d46f8b: Download complete 08:09:37 4c7163046ea9: Verifying Checksum 08:09:37 4c7163046ea9: Download complete 08:09:37 0c2d73faf560: Verifying Checksum 08:09:37 0c2d73faf560: Download complete 08:09:37 a0d0a0d46f8b: Pull complete 08:09:37 3e5f54012d9b: Pull complete 08:09:37 4c7163046ea9: Pull complete 08:09:37 0c2d73faf560: Pull complete 08:09:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:09:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:09:38 prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container 08:09:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:09:38 $ docker top f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:09:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:38 [ssh-agent] Looking for ssh-agent implementation... 08:09:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:39 $ docker exec f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent 08:09:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPAJPLi/agent.14 08:09:39 SSH_AGENT_PID=21 08:09:39 Running ssh-add (command line suppressed) 08:09:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_3984710229905555971.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_3984710229905555971.key) 08:09:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:39 + git tag --points-at HEAD [Pipeline] } 08:09:39 $ docker exec --env ******** --env ******** f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent -k 08:09:39 unset SSH_AUTH_SOCK; 08:09:39 unset SSH_AGENT_PID; 08:09:39 echo Agent pid 21 killed; 08:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:09:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:39 [ssh-agent] Looking for ssh-agent implementation... 08:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:40 $ docker exec f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent 08:09:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbDfbnk/agent.54 08:09:40 SSH_AGENT_PID=61 08:09:40 Running ssh-add (command line suppressed) 08:09:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_220072987691386676.key (/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/private_key_220072987691386676.key) 08:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:40 + git semver init 08:09:40 # -> Open(): unable to determine branch for HEAD 08:09:40 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.git 08:09:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1146 08:09:40 # $SEMVER_REMOTE_NAME = origin 08:09:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:09:40 # $SEMVER_USER_NAME = edgex-jenkins 08:09:40 # $SEMVER_BRANCH = PR-1146 08:09:40 # $SEMVER_TEMP = /tmp/semver-252513593 08:09:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:09:41 # '/tmp/semver-252513593' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver' 08:09:41 # -> Force: false 08:09:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver [Pipeline] } 08:09:41 $ docker exec --env ******** --env ******** f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent -k 08:09:41 unset SSH_AUTH_SOCK; 08:09:41 unset SSH_AGENT_PID; 08:09:41 echo Agent pid 61 killed; 08:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:09:42 + git semver [Pipeline] } 08:09:42 $ docker stop --time=1 f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 08:09:43 $ docker rm -f f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 [Pipeline] // withDockerContainer [Pipeline] sh 08:09:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:09:44 Stashed 1 file(s) [Pipeline] echo 08:09:44 [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 08:09:44 provisioning config files... 08:09:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config2597648845370965583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:45 ---> docker-login.sh 08:09:45 nexus3.edgexfoundry.org:10001 08:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:45 Configure a credential helper to remove this warning. See 08:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:45 08:09:45 Login Succeeded 08:09:45 nexus3.edgexfoundry.org:10002 08:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:45 Configure a credential helper to remove this warning. See 08:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:45 08:09:45 Login Succeeded 08:09:45 nexus3.edgexfoundry.org:10003 08:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:45 Configure a credential helper to remove this warning. See 08:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:45 08:09:45 Login Succeeded 08:09:45 nexus3.edgexfoundry.org:10004 08:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:45 Configure a credential helper to remove this warning. See 08:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:45 08:09:45 Login Succeeded 08:09:45 docker.io 08:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:46 Configure a credential helper to remove this warning. See 08:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:46 08:09:46 Login Succeeded 08:09:46 ---> docker-login.sh ends [Pipeline] } 08:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:09:46 ========================================================= 08:09:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:09:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:09:46 + 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 . 08:09:46 Sending build context to Docker daemon 9.613MB 08:09:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:09:46 Step 2/11 : FROM ${BASE} AS builder 08:09:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:09:46 59bf1c3509f3: Pulling fs layer 08:09:46 666ba61612fd: Pulling fs layer 08:09:46 8ed8ca486205: Pulling fs layer 08:09:46 4fe6c5a15a65: Pulling fs layer 08:09:46 22a0e8bec74d: Pulling fs layer 08:09:46 640e595b4fbd: Pulling fs layer 08:09:46 763cafe07f6e: Pulling fs layer 08:09:46 0c0b528cf693: Pulling fs layer 08:09:46 10935f4eaf8b: Pulling fs layer 08:09:46 763cafe07f6e: Waiting 08:09:46 10935f4eaf8b: Waiting 08:09:46 0c0b528cf693: Waiting 08:09:46 4fe6c5a15a65: Waiting 08:09:46 640e595b4fbd: Waiting 08:09:46 22a0e8bec74d: Waiting 08:09:46 8ed8ca486205: Verifying Checksum 08:09:46 8ed8ca486205: Download complete 08:09:47 22a0e8bec74d: Download complete 08:09:47 640e595b4fbd: Download complete 08:09:47 59bf1c3509f3: Verifying Checksum 08:09:47 59bf1c3509f3: Download complete 08:09:47 763cafe07f6e: Verifying Checksum 08:09:47 763cafe07f6e: Download complete 08:09:47 0c0b528cf693: Verifying Checksum 08:09:47 0c0b528cf693: Download complete 08:09:47 59bf1c3509f3: Pull complete 08:09:47 666ba61612fd: Pull complete 08:09:47 8ed8ca486205: Pull complete 08:09:47 10935f4eaf8b: Verifying Checksum 08:09:47 4fe6c5a15a65: Verifying Checksum 08:09:47 4fe6c5a15a65: Download complete 08:09:51 4fe6c5a15a65: Pull complete 08:09:51 22a0e8bec74d: Pull complete 08:09:51 640e595b4fbd: Pull complete 08:09:51 763cafe07f6e: Pull complete 08:09:51 0c0b528cf693: Pull complete 08:09:54 10935f4eaf8b: Pull complete 08:09:54 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:09:54 ---> 99d49a6021b9 08:09:54 Step 3/11 : ARG MAKE=make build 08:09:55 ---> Running in a232ad197b5a 08:09:55 Removing intermediate container a232ad197b5a 08:09:55 ---> 542962450366 08:09:55 Step 4/11 : WORKDIR /device-sdk-go 08:09:55 ---> Running in 3bbd38f6707d 08:09:55 Removing intermediate container 3bbd38f6707d 08:09:55 ---> 50361df30c1f 08:09:55 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:09:55 ---> Running in e4c64190b562 08:09:55 Removing intermediate container e4c64190b562 08:09:55 ---> fd725c6cf5b7 08:09:55 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:09:55 ---> Running in d5cb6c937dd1 08:09:56 Removing intermediate container d5cb6c937dd1 08:09:56 ---> 83a8f4792dc9 08:09:56 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:09:56 ---> Running in d767a4d2a914 08:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:09:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:09:57 OK: 221 MiB in 52 packages 08:09:58 Removing intermediate container d767a4d2a914 08:09:58 ---> 5e1cf0afb8b6 08:09:58 Step 8/11 : COPY go.mod vendor* ./ 08:09:58 ---> d1afe150484a 08:09:58 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:58 ---> Running in be3287c77c1f 08:09:59 Still waiting to schedule task 08:09:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:10:16 Removing intermediate container be3287c77c1f 08:10:16 ---> a60567872d65 08:10:16 Step 10/11 : COPY . . 08:10:16 ---> 35562ca6005f 08:10:16 Step 11/11 : RUN ${MAKE} 08:10:16 ---> Running in 90dd7f45179a 08:10:16 noop 08:10:16 Removing intermediate container 90dd7f45179a 08:10:16 ---> ae580d105f43 08:10:16 Successfully built ae580d105f43 08:10:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:10:16 + docker inspect -f . ci-base-image-x86_64 08:10:16 . [Pipeline] withDockerContainer 08:10:16 prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container 08:10:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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-x86_64 cat 08:10:17 $ docker top 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:17 + go version 08:10:17 go version go1.17.6 linux/amd64 [Pipeline] } 08:10:17 $ docker stop --time=1 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 08:10:19 $ docker rm -f 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:10:19 + docker inspect -f . ci-base-image-x86_64 08:10:19 . [Pipeline] withDockerContainer 08:10:19 prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container 08:10:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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-x86_64 cat 08:10:20 $ docker top 689f8127791a442ed7632f2eaaebc38777605f33cacf8f940247dc91951b995c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:10:20 + make test 08:10:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:10:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.089s coverage: 23.3% of statements 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 27.6% of statements 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.089s coverage: 10.8% of statements 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 60.0% of statements 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:10:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.103s coverage: 34.8% of statements 08:10:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:10:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 86.1% of statements 08:10:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:10:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:10:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements 08:10:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements 08:10:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:10:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 08:10:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:10:54 GO111MODULE=on go vet ./... 08:10:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:10:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:10:58 ./bin/test-attribution-txt.sh 08:10:58 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 08:10:58 make: *** [Makefile:54: test] Error 1 [Pipeline] } 08:10:58 $ docker stop --time=1 689f8127791a442ed7632f2eaaebc38777605f33cacf8f940247dc91951b995c 08:11:00 $ docker rm -f 689f8127791a442ed7632f2eaaebc38777605f33cacf8f940247dc91951b995c [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 08:11:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:01 08:11:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:11:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:02 latest: Pulling from edgex-lftools-log-publisher 08:11:02 5eb5b503b376: Pulling fs layer 08:11:02 5c69ac0246d0: Pulling fs layer 08:11:02 ec43610c2a17: Pulling fs layer 08:11:02 3a2ae6a8a46f: Pulling fs layer 08:11:02 33b1e0a273af: Pulling fs layer 08:11:02 5d3b04190fa2: Pulling fs layer 08:11:02 2f39f015ded8: Pulling fs layer 08:11:02 5d3b04190fa2: Waiting 08:11:02 3a2ae6a8a46f: Waiting 08:11:02 2f39f015ded8: Waiting 08:11:02 33b1e0a273af: Waiting 08:11:02 5c69ac0246d0: Download complete 08:11:02 3a2ae6a8a46f: Verifying Checksum 08:11:02 3a2ae6a8a46f: Download complete 08:11:02 ec43610c2a17: Download complete 08:11:02 33b1e0a273af: Verifying Checksum 08:11:02 33b1e0a273af: Download complete 08:11:02 5d3b04190fa2: Download complete 08:11:02 5eb5b503b376: Verifying Checksum 08:11:02 5eb5b503b376: Download complete 08:11:03 2f39f015ded8: Download complete 08:11:03 5eb5b503b376: Pull complete 08:11:04 5c69ac0246d0: Pull complete 08:11:04 ec43610c2a17: Pull complete 08:11:04 3a2ae6a8a46f: Pull complete 08:11:04 33b1e0a273af: Pull complete 08:11:04 5d3b04190fa2: Pull complete 08:11:08 2f39f015ded8: Pull complete 08:11:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:11:09 prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container 08:11:09 $ 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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 08:11:10 $ docker top 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:11 ---> job-cost.sh 08:11:11 lf-activate-venv: SKIPPING 08:11:11 INFO: No Stack... 08:11:11 INFO: Retrieving Pricing Info for: v3-standard-8 08:11:12 INFO: Archiving Costs [Pipeline] sh 08:11:12 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/cost.csv 08:11:12 + cut -d, -f6 [Pipeline] lock 08:11:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] 08:11:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] did not exist. Created. 08:11:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:11:13 + echo total: 0.2199999988079071 [Pipeline] stash 08:11:13 Stashed 1 file(s) [Pipeline] } 08:11:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:11:13 $ docker stop --time=1 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 08:11:14 $ docker rm -f 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:11:14 Failed in branch amd64 08:11:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21758 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws 08:11:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:11:38 The recommended git tool is: git 08:11:45 using credential edgex-jenkins-ssh 08:11:45 Cloning the remote Git repository 08:11:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:11:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:11:45 > git --version # timeout=10 08:11:45 > git --version # 'git version 2.25.1' 08:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:11:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:11:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:11:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1146/head:refs/remotes/origin/PR-1146 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:11:48 Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit fba0ac1609264da270e4e3ba8e218ea2cbc1e562 08:11:48 Merge succeeded, producing fba0ac1609264da270e4e3ba8e218ea2cbc1e562 08:11:48 Checking out Revision fba0ac1609264da270e4e3ba8e218ea2cbc1e562 (PR-1146) 08:11:48 > git config core.sparsecheckout # timeout=10 08:11:48 > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # timeout=10 08:11:48 > git remote # timeout=10 08:11:48 > git config --get remote.origin.url # timeout=10 08:11:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:48 > git merge c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 08:11:48 > git rev-parse HEAD^{commit} # timeout=10 08:11:48 > git config core.sparsecheckout # timeout=10 08:11:48 > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # timeout=10 08:11:52 Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" 08:11:52 > git --version # timeout=10 08:11:52 > git --version # 'git version 2.25.1' 08:11:52 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:11:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:11:53 % Total % Received % Xferd Average Speed Time Time Time Current 08:11:53 Dload Upload Total Spent Left Speed 08:11:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 70494 0 --:--:-- --:--:-- --:--:-- 70494 [Pipeline] sh 08:11:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:11:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:11:54 + sudo tee /etc/docker/daemon.new 08:11:54 { 08:11:54 "registry-mirrors": [ 08:11:54 "https://nexus3.edgexfoundry.org:10001" 08:11:54 ], 08:11:54 "bip": "10.250.0.254/24", 08:11:54 "hosts": [ 08:11:54 "tcp://0.0.0.0:5555", 08:11:54 "unix:///var/run/docker.sock" 08:11:54 ], 08:11:54 "mtu": 1458, 08:11:54 "selinux-enabled": true, 08:11:54 "seccomp-profile": "/etc/docker/seccomp.json" 08:11:54 } [Pipeline] sh 08:11:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:11:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:13 provisioning config files... 08:12:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1649925921075729370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:14 ---> docker-login.sh 08:12:14 nexus3.edgexfoundry.org:10001 08:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:15 Configure a credential helper to remove this warning. See 08:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:15 08:12:15 Login Succeeded 08:12:15 nexus3.edgexfoundry.org:10002 08:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:15 Configure a credential helper to remove this warning. See 08:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:15 08:12:15 Login Succeeded 08:12:15 nexus3.edgexfoundry.org:10003 08:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:16 Configure a credential helper to remove this warning. See 08:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:16 08:12:16 Login Succeeded 08:12:16 nexus3.edgexfoundry.org:10004 08:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:16 Configure a credential helper to remove this warning. See 08:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:16 08:12:16 Login Succeeded 08:12:16 docker.io 08:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:17 Configure a credential helper to remove this warning. See 08:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:17 08:12:17 Login Succeeded 08:12:17 ---> docker-login.sh ends [Pipeline] } 08:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:18 ========================================================= 08:12:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:12:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:12:18 + 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 . 08:12:19 Sending build context to Docker daemon 5.218MB 08:12:19 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:12:19 Step 2/11 : FROM ${BASE} AS builder 08:12:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:12:19 9b3977197b4f: Pulling fs layer 08:12:19 1a89e8eeedd5: Pulling fs layer 08:12:19 94645a83ff95: Pulling fs layer 08:12:19 3f3a8bcf1eab: Pulling fs layer 08:12:19 0c92f367c5e7: Pulling fs layer 08:12:19 f7c0051592d6: Pulling fs layer 08:12:19 a227ed2f7395: Pulling fs layer 08:12:19 7b1c46037f91: Pulling fs layer 08:12:19 3f3a8bcf1eab: Waiting 08:12:19 0c92f367c5e7: Waiting 08:12:19 f7c0051592d6: Waiting 08:12:19 a227ed2f7395: Waiting 08:12:19 94645a83ff95: Verifying Checksum 08:12:19 94645a83ff95: Download complete 08:12:19 1a89e8eeedd5: Verifying Checksum 08:12:19 1a89e8eeedd5: Download complete 08:12:19 0c92f367c5e7: Verifying Checksum 08:12:19 0c92f367c5e7: Download complete 08:12:19 9b3977197b4f: Verifying Checksum 08:12:19 9b3977197b4f: Download complete 08:12:19 f7c0051592d6: Verifying Checksum 08:12:19 f7c0051592d6: Download complete 08:12:19 a227ed2f7395: Verifying Checksum 08:12:19 a227ed2f7395: Download complete 08:12:19 9b3977197b4f: Pull complete 08:12:20 1a89e8eeedd5: Pull complete 08:12:20 94645a83ff95: Pull complete 08:12:21 7b1c46037f91: Verifying Checksum 08:12:21 7b1c46037f91: Download complete 08:12:21 3f3a8bcf1eab: Verifying Checksum 08:12:21 3f3a8bcf1eab: Download complete 08:12:34 3f3a8bcf1eab: Pull complete 08:12:34 0c92f367c5e7: Pull complete 08:12:34 f7c0051592d6: Pull complete 08:12:34 a227ed2f7395: Pull complete 08:12:41 7b1c46037f91: Pull complete 08:12:41 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:12:41 ---> f79e39bc4007 08:12:41 Step 3/11 : ARG MAKE=make build 08:12:42 ---> Running in d3b32f5247e6 08:12:42 Removing intermediate container d3b32f5247e6 08:12:42 ---> 119eeaac20a4 08:12:42 Step 4/11 : WORKDIR /device-sdk-go 08:12:42 ---> Running in 5f0149fff63c 08:12:42 Removing intermediate container 5f0149fff63c 08:12:42 ---> de807a1f1f1d 08:12:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:12:42 ---> Running in 5632fd7d11ef 08:12:42 Removing intermediate container 5632fd7d11ef 08:12:42 ---> b140a4d01cdc 08:12:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:42 ---> Running in 2aca1385c9a6 08:12:44 Removing intermediate container 2aca1385c9a6 08:12:44 ---> d54477d6f575 08:12:44 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:12:44 ---> Running in 2c3981564dd3 08:12:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:12:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:12:47 OK: 220 MiB in 52 packages 08:12:48 Removing intermediate container 2c3981564dd3 08:12:48 ---> f5a8739edab2 08:12:48 Step 8/11 : COPY go.mod vendor* ./ 08:12:48 ---> 5f96c083ec7c 08:12:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:12:49 ---> Running in d69f03b0e26f 08:13:36 Removing intermediate container d69f03b0e26f 08:13:36 ---> d1a5c29d3f5c 08:13:36 Step 10/11 : COPY . . 08:13:36 ---> be5b789bacd2 08:13:36 Step 11/11 : RUN ${MAKE} 08:13:36 ---> Running in 4a4e95077a1d 08:13:36 noop 08:13:36 Removing intermediate container 4a4e95077a1d 08:13:36 ---> ce9b5fb0de5a 08:13:36 Successfully built ce9b5fb0de5a 08:13:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:13:36 + docker inspect -f . ci-base-image-arm64 08:13:36 . [Pipeline] withDockerContainer 08:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container 08:13:36 $ 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 08:13:38 $ docker top 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:39 + go version 08:13:39 go version go1.17.6 linux/arm64 [Pipeline] } 08:13:39 $ docker stop --time=1 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 08:13:40 $ docker rm -f 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:13:41 + docker inspect -f . ci-base-image-arm64 08:13:41 . [Pipeline] withDockerContainer 08:13:41 prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container 08:13:41 $ 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 08:13:43 $ docker top 8ca165dbea460353083ed63d09a25c67f18e9edb3a56d8952ae9c867d9ebdd69 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:13:44 + make test 08:13:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:14:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:15:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.3% of statements 08:15:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:15:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements 08:15:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements 08:15:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.300s coverage: 10.8% of statements 08:16:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.465s coverage: 60.0% of statements 08:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:16:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.431s coverage: 34.8% of statements 08:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:16:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.322s coverage: 86.1% of statements 08:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:16:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements 08:16:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 89.2% of statements 08:16:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:16:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.234s coverage: 4.7% of statements 08:16:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:16:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:16:10 GO111MODULE=on go vet ./... 08:17:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:17:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:17:32 ./bin/test-attribution-txt.sh 08:17:32 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 08:17:32 make: *** [Makefile:54: test] Error 1 [Pipeline] } 08:17:33 $ docker stop --time=1 8ca165dbea460353083ed63d09a25c67f18e9edb3a56d8952ae9c867d9ebdd69 08:17:34 $ docker rm -f 8ca165dbea460353083ed63d09a25c67f18e9edb3a56d8952ae9c867d9ebdd69 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:17:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:36 08:17:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:17:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:37 arm64: Pulling from edgex-lftools-log-publisher 08:17:37 8998bd30e6a1: Pulling fs layer 08:17:37 04944245beec: Pulling fs layer 08:17:37 699f458cf7ca: Pulling fs layer 08:17:37 765212b225bb: Pulling fs layer 08:17:37 f23df028b6ca: Pulling fs layer 08:17:37 d65c8cfc05b1: Pulling fs layer 08:17:37 2437ff75d9bd: Pulling fs layer 08:17:37 f23df028b6ca: Waiting 08:17:37 d65c8cfc05b1: Waiting 08:17:37 2437ff75d9bd: Waiting 08:17:37 765212b225bb: Waiting 08:17:37 04944245beec: Verifying Checksum 08:17:37 04944245beec: Download complete 08:17:37 765212b225bb: Verifying Checksum 08:17:37 765212b225bb: Download complete 08:17:37 f23df028b6ca: Verifying Checksum 08:17:37 f23df028b6ca: Download complete 08:17:37 d65c8cfc05b1: Verifying Checksum 08:17:37 d65c8cfc05b1: Download complete 08:17:37 699f458cf7ca: Verifying Checksum 08:17:37 699f458cf7ca: Download complete 08:17:37 8998bd30e6a1: Download complete 08:17:40 2437ff75d9bd: Verifying Checksum 08:17:40 2437ff75d9bd: Download complete 08:17:42 8998bd30e6a1: Pull complete 08:17:42 04944245beec: Pull complete 08:17:43 699f458cf7ca: Pull complete 08:17:44 765212b225bb: Pull complete 08:17:45 f23df028b6ca: Pull complete 08:17:45 d65c8cfc05b1: Pull complete 08:18:00 2437ff75d9bd: Pull complete 08:18:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:18:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:18:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:18:00 prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container 08:18:00 $ 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 08:18:03 $ docker top 5630ff2afb00265a9863ca7d24d882d74a36b78d8d9c3fb5a09dec5c6cb7bd57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:04 ---> job-cost.sh 08:18:04 lf-activate-venv: SKIPPING 08:18:04 INFO: No Stack... 08:18:05 INFO: Retrieving Pricing Info for: v3-standard-4 08:18:05 INFO: Archiving Costs [Pipeline] sh 08:18:06 + cut -d, -f6 08:18:06 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 08:18:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] 08:18:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] did not exist. Created. 08:18:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:07 /w/workspace/device-sdk-go/1@tmp/durable-9effad1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:18:07 + echo total: 0.10999999940395355 [Pipeline] stash 08:18:07 Warning: overwriting stash ‘stack-cost’ 08:18:08 Stashed 1 file(s) [Pipeline] } 08:18:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:18:08 $ docker stop --time=1 5630ff2afb00265a9863ca7d24d882d74a36b78d8d9c3fb5a09dec5c6cb7bd57 08:18:09 $ docker rm -f 5630ff2afb00265a9863ca7d24d882d74a36b78d8d9c3fb5a09dec5c6cb7bd57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:18:10 Failed in branch arm64 [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 08:18:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives ] 08:18:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 08:18:12 total 16 08:18:12 drwxr-xr-x 3 root root 4096 Apr 22 08:11 . 08:18:12 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:11 .. 08:18:12 drwxr-xr-x 2 root root 4096 Apr 22 08:11 cost 08:18:12 -rw-r--r-- 1 root root 85 Apr 22 08:11 cost.csv 08:18:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 08:18:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives 08:18:12 total 16 08:18:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 08:11 . 08:18:12 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:11 .. 08:18:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 08:11 cost 08:18:12 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 08:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:18:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:18:13 ---> package-listing.sh 08:18:13 ++ facter osfamily 08:18:13 ++ tr '[:upper:]' '[:lower:]' 08:18:13 + OS_FAMILY=debian 08:18:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1146 08:18:13 + START_PACKAGES=/tmp/packages_start.txt 08:18:13 + END_PACKAGES=/tmp/packages_end.txt 08:18:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:18:13 + PACKAGES=/tmp/packages_start.txt 08:18:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' 08:18:13 + PACKAGES=/tmp/packages_end.txt 08:18:13 + case "${OS_FAMILY}" in 08:18:13 + dpkg -l 08:18:13 + grep '^ii' 08:18:13 + '[' -f /tmp/packages_start.txt ']' 08:18:13 + '[' -f /tmp/packages_end.txt ']' 08:18:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:18:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' 08:18:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ 08:18:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ [Pipeline] echo 08:18:14 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-1146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:18:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:14 . [Pipeline] withDockerContainer 08:18:14 prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container 08:18:15 $ 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-1146/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-1146 -v /w/workspace/gexfoundry_device-sdk-go_PR-1146:/w/workspace/gexfoundry_device-sdk-go_PR-1146:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1146@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 08:18:15 $ docker top 3978670f7f604592479ff1b4bf05928f00a1145a18106f3e0e59da3c1082a190 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:15 + touch /tmp/pre-build-complete [Pipeline] sh 08:18:16 + mkdir -p /var/log/sysstat [Pipeline] sh 08:18:16 + ls /var/log/sa-host 08:18:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:16 provisioning config files... 08:18:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config3188875946238653854tmp [Pipeline] { [Pipeline] echo 08:18:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:18:16 ---> create-netrc.sh [Pipeline] } 08:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:18:17 ---> python-tools-install.sh [Pipeline] echo 08:18:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:18:17 ---> sudo-logs.sh 08:18:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:18:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:18:18 ---> job-cost.sh 08:18:18 lf-activate-venv: SKIPPING 08:18:18 DEBUG: total: 0.2199999988079071 08:18:18 INFO: Retrieving Stack Cost... 08:18:18 INFO: Retrieving Pricing Info for: v3-standard-8 08:18:18 INFO: Archiving Costs [Pipeline] echo 08:18:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:18:19 ---> logs-deploy.sh 08:18:19 lf-activate-venv: SKIPPING 08:18:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1146/1 08:18:19 INFO: archiving workspace using pattern(s): 08:18:20 Archives upload complete. 08:18:20 INFO: archiving logs to Nexus