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 [2022-04-22T08:09:29.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T08:09:29.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T08:09:29.721Z] ========================================================= [2022-04-22T08:09:29.721Z] EdgeX Global Pipelines Version Info [2022-04-22T08:09:29.721Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:09:30.505Z] ------------------- [2022-04-22T08:09:30.505Z] stable info: [2022-04-22T08:09:30.505Z] ------------------- [2022-04-22T08:09:30.505Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:09:30.505Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T08:09:30.505Z] Message: update stable to v1.0.221 [2022-04-22T08:09:31.076Z] ------------------- [2022-04-22T08:09:31.076Z] experimental info: [2022-04-22T08:09:31.076Z] ------------------- [2022-04-22T08:09:31.076Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:09:31.076Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T08:09:31.076Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T08:09:31.325Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T08:09:31.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T08:09:31.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T08:09:31.436Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T08:09:31.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T08:09:31.509Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T08:09:31.544Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T08:09:31.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T08:09:31.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T08:09:31.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T08:09:31.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T08:09:31.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T08:09:31.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T08:09:31.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T08:09:31.848Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T08:09:31.886Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:09:31.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:09:31.966Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:09:32.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T08:09:32.049Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T08:09:32.088Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T08:09:32.131Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T08:09:32.170Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T08:09:32.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T08:09:32.254Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T08:09:32.286Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T08:09:32.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1146 [Pipeline] echo [2022-04-22T08:09:32.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1146 [Pipeline] echo [2022-04-22T08:09:32.411Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1146 [Pipeline] echo [2022-04-22T08:09:32.447Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo [2022-04-22T08:09:32.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fba0ac1 [Pipeline] echo [2022-04-22T08:09:32.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:09:32.622Z] provisioning config files... [2022-04-22T08:09:32.635Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config2687649185388914277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:09:33.005Z] ---> docker-login.sh [2022-04-22T08:09:33.005Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:09:33.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:33.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:33.270Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:33.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:33.270Z] [2022-04-22T08:09:33.270Z] Login Succeeded [2022-04-22T08:09:33.270Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:09:33.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:33.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:33.532Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:33.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:33.532Z] [2022-04-22T08:09:33.532Z] Login Succeeded [2022-04-22T08:09:33.532Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:09:33.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:33.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:33.532Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:33.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:33.532Z] [2022-04-22T08:09:33.532Z] Login Succeeded [2022-04-22T08:09:33.532Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:09:33.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:33.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:33.795Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:33.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:33.795Z] [2022-04-22T08:09:33.795Z] Login Succeeded [2022-04-22T08:09:33.795Z] docker.io [2022-04-22T08:09:33.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:34.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:34.368Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:34.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:34.368Z] [2022-04-22T08:09:34.368Z] Login Succeeded [2022-04-22T08:09:34.368Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:09:34.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T08:09:35.019Z] + git rev-list -1 --merges fba0ac1609264da270e4e3ba8e218ea2cbc1e562~1..fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo [2022-04-22T08:09:35.151Z] -----------> git rev-list -1 --merges fba0ac1609264da270e4e3ba8e218ea2cbc1e562~1..fba0ac1609264da270e4e3ba8e218ea2cbc1e562 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [false] [Pipeline] sh [2022-04-22T08:09:35.468Z] + git log --format=format:%s -1 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo [2022-04-22T08:09:35.509Z] ========================================================= [2022-04-22T08:09:35.509Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T08:09:35.509Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:09:35.946Z] + git log --format=format:%s -1 fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [Pipeline] echo [2022-04-22T08:09:35.977Z] [semverPrep] GIT_COMMIT: fba0ac1609264da270e4e3ba8e218ea2cbc1e562, Commit Message: fix: Add missing Configuration interface method GetTelemetryInfo [Pipeline] echo [2022-04-22T08:09:36.003Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T08:09:36.414Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T08:09:36.414Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T08:09:36.414Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T08:09:36.414Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T08:09:36.414Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T08:09:36.414Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T08:09:36.414Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:09:36.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:09:36.795Z] [2022-04-22T08:09:36.795Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:09:37.135Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:09:37.135Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T08:09:37.135Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T08:09:37.135Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T08:09:37.135Z] 4c7163046ea9: Pulling fs layer [2022-04-22T08:09:37.135Z] 0c2d73faf560: Pulling fs layer [2022-04-22T08:09:37.135Z] 0c2d73faf560: Waiting [2022-04-22T08:09:37.135Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T08:09:37.135Z] 3e5f54012d9b: Download complete [2022-04-22T08:09:37.135Z] a0d0a0d46f8b: Download complete [2022-04-22T08:09:37.135Z] 4c7163046ea9: Verifying Checksum [2022-04-22T08:09:37.135Z] 4c7163046ea9: Download complete [2022-04-22T08:09:37.135Z] 0c2d73faf560: Verifying Checksum [2022-04-22T08:09:37.135Z] 0c2d73faf560: Download complete [2022-04-22T08:09:37.396Z] a0d0a0d46f8b: Pull complete [2022-04-22T08:09:37.396Z] 3e5f54012d9b: Pull complete [2022-04-22T08:09:37.657Z] 4c7163046ea9: Pull complete [2022-04-22T08:09:37.921Z] 0c2d73faf560: Pull complete [2022-04-22T08:09:37.921Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T08:09:37.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:09:37.921Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T08:09:38.023Z] prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container [2022-04-22T08:09:38.066Z] $ 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 [2022-04-22T08:09:38.743Z] $ docker top f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T08:09:38.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:09:38.926Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:09:39.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:09:39.063Z] $ docker exec f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent [2022-04-22T08:09:39.193Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPAJPLi/agent.14 [2022-04-22T08:09:39.193Z] SSH_AGENT_PID=21 [2022-04-22T08:09:39.203Z] Running ssh-add (command line suppressed) [2022-04-22T08:09:39.329Z] 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) [2022-04-22T08:09:39.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:09:39.675Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T08:09:39.712Z] $ docker exec --env ******** --env ******** f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent -k [2022-04-22T08:09:39.818Z] unset SSH_AUTH_SOCK; [2022-04-22T08:09:39.819Z] unset SSH_AGENT_PID; [2022-04-22T08:09:39.819Z] echo Agent pid 21 killed; [2022-04-22T08:09:39.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T08:09:39.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:09:39.911Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:09:40.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:09:40.053Z] $ docker exec f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent [2022-04-22T08:09:40.189Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbDfbnk/agent.54 [2022-04-22T08:09:40.189Z] SSH_AGENT_PID=61 [2022-04-22T08:09:40.195Z] Running ssh-add (command line suppressed) [2022-04-22T08:09:40.322Z] 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) [2022-04-22T08:09:40.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:09:40.664Z] + git semver init [2022-04-22T08:09:40.664Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T08:09:40.664Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.git [2022-04-22T08:09:40.664Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1146 [2022-04-22T08:09:40.664Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T08:09:40.664Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T08:09:40.664Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T08:09:40.664Z] # $SEMVER_BRANCH = PR-1146 [2022-04-22T08:09:40.664Z] # $SEMVER_TEMP = /tmp/semver-252513593 [2022-04-22T08:09:40.664Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T08:09:41.607Z] # '/tmp/semver-252513593' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver' [2022-04-22T08:09:41.607Z] # -> Force: false [2022-04-22T08:09:41.607Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1146/.semver [Pipeline] } [2022-04-22T08:09:41.640Z] $ docker exec --env ******** --env ******** f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 ssh-agent -k [2022-04-22T08:09:41.747Z] unset SSH_AUTH_SOCK; [2022-04-22T08:09:41.747Z] unset SSH_AGENT_PID; [2022-04-22T08:09:41.747Z] echo Agent pid 61 killed; [2022-04-22T08:09:41.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T08:09:42.201Z] + git semver [Pipeline] } [2022-04-22T08:09:42.240Z] $ docker stop --time=1 f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 [2022-04-22T08:09:43.619Z] $ docker rm -f f3d3ecdb2ecce43390e7e5667d1982555b3854ae72dee33015537dc59e0c4b00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T08:09:44.038Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T08:09:44.437Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T08:09:44.455Z] [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 [2022-04-22T08:09:44.989Z] provisioning config files... [2022-04-22T08:09:45.008Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config2597648845370965583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:09:45.350Z] ---> docker-login.sh [2022-04-22T08:09:45.350Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:09:45.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:45.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:45.350Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:45.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:45.350Z] [2022-04-22T08:09:45.350Z] Login Succeeded [2022-04-22T08:09:45.350Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:09:45.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:45.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:45.615Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:45.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:45.615Z] [2022-04-22T08:09:45.615Z] Login Succeeded [2022-04-22T08:09:45.615Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:09:45.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:45.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:45.615Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:45.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:45.615Z] [2022-04-22T08:09:45.615Z] Login Succeeded [2022-04-22T08:09:45.615Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:09:45.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:45.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:45.877Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:45.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:45.877Z] [2022-04-22T08:09:45.877Z] Login Succeeded [2022-04-22T08:09:45.877Z] docker.io [2022-04-22T08:09:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:09:46.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:09:46.138Z] Configure a credential helper to remove this warning. See [2022-04-22T08:09:46.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:09:46.138Z] [2022-04-22T08:09:46.138Z] Login Succeeded [2022-04-22T08:09:46.138Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:09:46.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T08:09:46.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T08:09:46.382Z] ========================================================= [2022-04-22T08:09:46.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T08:09:46.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:09:46.782Z] + 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 . [2022-04-22T08:09:46.782Z] Sending build context to Docker daemon 9.613MB [2022-04-22T08:09:46.782Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:09:46.782Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T08:09:46.782Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T08:09:46.782Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T08:09:46.782Z] 666ba61612fd: Pulling fs layer [2022-04-22T08:09:46.782Z] 8ed8ca486205: Pulling fs layer [2022-04-22T08:09:46.782Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T08:09:46.782Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T08:09:46.782Z] 640e595b4fbd: Pulling fs layer [2022-04-22T08:09:46.782Z] 763cafe07f6e: Pulling fs layer [2022-04-22T08:09:46.782Z] 0c0b528cf693: Pulling fs layer [2022-04-22T08:09:46.782Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T08:09:46.782Z] 763cafe07f6e: Waiting [2022-04-22T08:09:46.782Z] 10935f4eaf8b: Waiting [2022-04-22T08:09:46.782Z] 0c0b528cf693: Waiting [2022-04-22T08:09:46.782Z] 4fe6c5a15a65: Waiting [2022-04-22T08:09:46.782Z] 640e595b4fbd: Waiting [2022-04-22T08:09:46.782Z] 22a0e8bec74d: Waiting [2022-04-22T08:09:46.782Z] 8ed8ca486205: Verifying Checksum [2022-04-22T08:09:46.782Z] 8ed8ca486205: Download complete [2022-04-22T08:09:47.042Z] 22a0e8bec74d: Download complete [2022-04-22T08:09:47.042Z] 640e595b4fbd: Download complete [2022-04-22T08:09:47.042Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T08:09:47.042Z] 59bf1c3509f3: Download complete [2022-04-22T08:09:47.042Z] 763cafe07f6e: Verifying Checksum [2022-04-22T08:09:47.042Z] 763cafe07f6e: Download complete [2022-04-22T08:09:47.042Z] 0c0b528cf693: Verifying Checksum [2022-04-22T08:09:47.042Z] 0c0b528cf693: Download complete [2022-04-22T08:09:47.042Z] 59bf1c3509f3: Pull complete [2022-04-22T08:09:47.304Z] 666ba61612fd: Pull complete [2022-04-22T08:09:47.304Z] 8ed8ca486205: Pull complete [2022-04-22T08:09:47.564Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T08:09:47.822Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T08:09:47.822Z] 4fe6c5a15a65: Download complete [2022-04-22T08:09:51.124Z] 4fe6c5a15a65: Pull complete [2022-04-22T08:09:51.383Z] 22a0e8bec74d: Pull complete [2022-04-22T08:09:51.383Z] 640e595b4fbd: Pull complete [2022-04-22T08:09:51.383Z] 763cafe07f6e: Pull complete [2022-04-22T08:09:51.642Z] 0c0b528cf693: Pull complete [2022-04-22T08:09:54.186Z] 10935f4eaf8b: Pull complete [2022-04-22T08:09:54.186Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T08:09:54.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T08:09:54.186Z] ---> 99d49a6021b9 [2022-04-22T08:09:54.186Z] Step 3/11 : ARG MAKE=make build [2022-04-22T08:09:55.574Z] ---> Running in a232ad197b5a [2022-04-22T08:09:55.574Z] Removing intermediate container a232ad197b5a [2022-04-22T08:09:55.574Z] ---> 542962450366 [2022-04-22T08:09:55.574Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T08:09:55.574Z] ---> Running in 3bbd38f6707d [2022-04-22T08:09:55.574Z] Removing intermediate container 3bbd38f6707d [2022-04-22T08:09:55.574Z] ---> 50361df30c1f [2022-04-22T08:09:55.574Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T08:09:55.574Z] ---> Running in e4c64190b562 [2022-04-22T08:09:55.833Z] Removing intermediate container e4c64190b562 [2022-04-22T08:09:55.833Z] ---> fd725c6cf5b7 [2022-04-22T08:09:55.833Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:09:55.833Z] ---> Running in d5cb6c937dd1 [2022-04-22T08:09:56.405Z] Removing intermediate container d5cb6c937dd1 [2022-04-22T08:09:56.405Z] ---> 83a8f4792dc9 [2022-04-22T08:09:56.405Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T08:09:56.405Z] ---> Running in d767a4d2a914 [2022-04-22T08:09:56.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T08:09:57.609Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T08:09:57.870Z] OK: 221 MiB in 52 packages [2022-04-22T08:09:58.134Z] Removing intermediate container d767a4d2a914 [2022-04-22T08:09:58.134Z] ---> 5e1cf0afb8b6 [2022-04-22T08:09:58.134Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T08:09:58.134Z] ---> d1afe150484a [2022-04-22T08:09:58.134Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:09:58.395Z] ---> Running in be3287c77c1f [2022-04-22T08:09:59.840Z] Still waiting to schedule task [2022-04-22T08:09:59.840Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T08:10:16.523Z] Removing intermediate container be3287c77c1f [2022-04-22T08:10:16.523Z] ---> a60567872d65 [2022-04-22T08:10:16.523Z] Step 10/11 : COPY . . [2022-04-22T08:10:16.523Z] ---> 35562ca6005f [2022-04-22T08:10:16.523Z] Step 11/11 : RUN ${MAKE} [2022-04-22T08:10:16.523Z] ---> Running in 90dd7f45179a [2022-04-22T08:10:16.523Z] noop [2022-04-22T08:10:16.523Z] Removing intermediate container 90dd7f45179a [2022-04-22T08:10:16.523Z] ---> ae580d105f43 [2022-04-22T08:10:16.523Z] Successfully built ae580d105f43 [2022-04-22T08:10:16.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:10:16.866Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T08:10:16.866Z] . [Pipeline] withDockerContainer [2022-04-22T08:10:16.963Z] prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container [2022-04-22T08:10:17.007Z] $ 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 [2022-04-22T08:10:17.417Z] $ docker top 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:10:17.824Z] + go version [2022-04-22T08:10:17.824Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T08:10:17.859Z] $ docker stop --time=1 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 [2022-04-22T08:10:19.166Z] $ docker rm -f 71d530704cf0fe669c8aedaa4ed4ba9ecfb09b6f4b530abe93b5ac8c364b15f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:10:19.830Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T08:10:19.830Z] . [Pipeline] withDockerContainer [2022-04-22T08:10:19.919Z] prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container [2022-04-22T08:10:19.959Z] $ 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 [2022-04-22T08:10:20.333Z] $ docker top 689f8127791a442ed7632f2eaaebc38777605f33cacf8f940247dc91951b995c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T08:10:20.793Z] + make test [2022-04-22T08:10:20.794Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T08:10:26.077Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.089s coverage: 23.3% of statements [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 27.6% of statements [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.089s coverage: 10.8% of statements [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 60.0% of statements [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T08:10:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.103s coverage: 34.8% of statements [2022-04-22T08:10:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T08:10:39.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 86.1% of statements [2022-04-22T08:10:39.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T08:10:39.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T08:10:39.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements [2022-04-22T08:10:39.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements [2022-04-22T08:10:39.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T08:10:39.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-04-22T08:10:39.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T08:10:54.124Z] GO111MODULE=on go vet ./... [2022-04-22T08:10:58.327Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T08:10:58.327Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T08:10:58.327Z] ./bin/test-attribution-txt.sh [2022-04-22T08:10:58.588Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-22T08:10:58.588Z] make: *** [Makefile:54: test] Error 1 [Pipeline] } [2022-04-22T08:10:58.631Z] $ docker stop --time=1 689f8127791a442ed7632f2eaaebc38777605f33cacf8f940247dc91951b995c [2022-04-22T08:11:00.819Z] $ 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 [2022-04-22T08:11:01.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:11:01.997Z] [2022-04-22T08:11:01.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:11:02.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:11:02.350Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T08:11:02.350Z] 5eb5b503b376: Pulling fs layer [2022-04-22T08:11:02.350Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T08:11:02.350Z] ec43610c2a17: Pulling fs layer [2022-04-22T08:11:02.350Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T08:11:02.350Z] 33b1e0a273af: Pulling fs layer [2022-04-22T08:11:02.350Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T08:11:02.350Z] 2f39f015ded8: Pulling fs layer [2022-04-22T08:11:02.351Z] 5d3b04190fa2: Waiting [2022-04-22T08:11:02.351Z] 3a2ae6a8a46f: Waiting [2022-04-22T08:11:02.351Z] 2f39f015ded8: Waiting [2022-04-22T08:11:02.351Z] 33b1e0a273af: Waiting [2022-04-22T08:11:02.351Z] 5c69ac0246d0: Download complete [2022-04-22T08:11:02.351Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T08:11:02.351Z] 3a2ae6a8a46f: Download complete [2022-04-22T08:11:02.351Z] ec43610c2a17: Download complete [2022-04-22T08:11:02.351Z] 33b1e0a273af: Verifying Checksum [2022-04-22T08:11:02.351Z] 33b1e0a273af: Download complete [2022-04-22T08:11:02.351Z] 5d3b04190fa2: Download complete [2022-04-22T08:11:02.612Z] 5eb5b503b376: Verifying Checksum [2022-04-22T08:11:02.612Z] 5eb5b503b376: Download complete [2022-04-22T08:11:03.181Z] 2f39f015ded8: Download complete [2022-04-22T08:11:03.751Z] 5eb5b503b376: Pull complete [2022-04-22T08:11:04.011Z] 5c69ac0246d0: Pull complete [2022-04-22T08:11:04.271Z] ec43610c2a17: Pull complete [2022-04-22T08:11:04.531Z] 3a2ae6a8a46f: Pull complete [2022-04-22T08:11:04.531Z] 33b1e0a273af: Pull complete [2022-04-22T08:11:04.795Z] 5d3b04190fa2: Pull complete [2022-04-22T08:11:08.990Z] 2f39f015ded8: Pull complete [2022-04-22T08:11:08.990Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T08:11:08.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:11:08.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T08:11:09.085Z] prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container [2022-04-22T08:11:09.128Z] $ 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 [2022-04-22T08:11:10.865Z] $ docker top 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:11:11.327Z] ---> job-cost.sh [2022-04-22T08:11:11.328Z] lf-activate-venv: SKIPPING [2022-04-22T08:11:11.328Z] INFO: No Stack... [2022-04-22T08:11:11.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T08:11:12.474Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T08:11:12.796Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/cost.csv [2022-04-22T08:11:12.796Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T08:11:12.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [2022-04-22T08:11:12.840Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] did not exist. Created. [2022-04-22T08:11:12.840Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T08:11:13.236Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T08:11:13.297Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T08:11:13.316Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T08:11:13.392Z] $ docker stop --time=1 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 [2022-04-22T08:11:14.562Z] $ docker rm -f 5821d530c33de20d6382a18173787305998f5073557ca83fa568e35373bf0ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T08:11:14.926Z] Failed in branch amd64 [2022-04-22T08:11:38.533Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21758 in /w/workspace/gexfoundry_device-sdk-go_PR-1146 [Pipeline] { [Pipeline] ws [2022-04-22T08:11:38.578Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-22T08:11:38.890Z] The recommended git tool is: git [2022-04-22T08:11:45.517Z] using credential edgex-jenkins-ssh [2022-04-22T08:11:45.537Z] Cloning the remote Git repository [2022-04-22T08:11:45.598Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T08:11:45.670Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-22T08:11:45.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T08:11:45.741Z] > git --version # timeout=10 [2022-04-22T08:11:45.763Z] > git --version # 'git version 2.25.1' [2022-04-22T08:11:45.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:11:45.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T08:11:47.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T08:11:47.319Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T08:11:47.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T08:11:47.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T08:11:47.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:11:47.406Z] > 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 [2022-04-22T08:11:48.056Z] Merging remotes/origin/main commit c4fb6f454a66f6ec4303bcc61530b9f99af08732 into PR head commit fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [2022-04-22T08:11:48.273Z] Merge succeeded, producing fba0ac1609264da270e4e3ba8e218ea2cbc1e562 [2022-04-22T08:11:48.274Z] Checking out Revision fba0ac1609264da270e4e3ba8e218ea2cbc1e562 (PR-1146) [2022-04-22T08:11:48.082Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T08:11:48.097Z] > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # timeout=10 [2022-04-22T08:11:48.200Z] > git remote # timeout=10 [2022-04-22T08:11:48.217Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T08:11:48.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:11:48.241Z] > git merge c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 [2022-04-22T08:11:48.264Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T08:11:48.287Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T08:11:48.309Z] > git checkout -f fba0ac1609264da270e4e3ba8e218ea2cbc1e562 # timeout=10 [2022-04-22T08:11:52.458Z] Commit message: "fix: Add missing Configuration interface method GetTelemetryInfo" [2022-04-22T08:11:52.522Z] > git --version # timeout=10 [2022-04-22T08:11:52.534Z] > git --version # 'git version 2.25.1' [2022-04-22T08:11:52.549Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:11:53.678Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T08:11:53.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T08:11:53.678Z] Dload Upload Total Spent Left Speed [2022-04-22T08:11:53.678Z] 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 [2022-04-22T08:11:54.206Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T08:11:54.564Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T08:11:54.564Z] + sudo tee /etc/docker/daemon.new [2022-04-22T08:11:54.564Z] { [2022-04-22T08:11:54.564Z] "registry-mirrors": [ [2022-04-22T08:11:54.564Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T08:11:54.564Z] ], [2022-04-22T08:11:54.564Z] "bip": "10.250.0.254/24", [2022-04-22T08:11:54.564Z] "hosts": [ [2022-04-22T08:11:54.564Z] "tcp://0.0.0.0:5555", [2022-04-22T08:11:54.564Z] "unix:///var/run/docker.sock" [2022-04-22T08:11:54.564Z] ], [2022-04-22T08:11:54.564Z] "mtu": 1458, [2022-04-22T08:11:54.564Z] "selinux-enabled": true, [2022-04-22T08:11:54.564Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T08:11:54.564Z] } [Pipeline] sh [2022-04-22T08:11:54.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T08:11:55.446Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:12:13.840Z] provisioning config files... [2022-04-22T08:12:13.865Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1649925921075729370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:12:14.432Z] ---> docker-login.sh [2022-04-22T08:12:14.432Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:12:15.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:12:15.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:12:15.299Z] Configure a credential helper to remove this warning. See [2022-04-22T08:12:15.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:12:15.299Z] [2022-04-22T08:12:15.299Z] Login Succeeded [2022-04-22T08:12:15.299Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:12:15.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:12:15.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:12:15.848Z] Configure a credential helper to remove this warning. See [2022-04-22T08:12:15.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:12:15.848Z] [2022-04-22T08:12:15.848Z] Login Succeeded [2022-04-22T08:12:15.848Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:12:16.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:12:16.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:12:16.128Z] Configure a credential helper to remove this warning. See [2022-04-22T08:12:16.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:12:16.128Z] [2022-04-22T08:12:16.128Z] Login Succeeded [2022-04-22T08:12:16.129Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:12:16.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:12:16.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:12:16.730Z] Configure a credential helper to remove this warning. See [2022-04-22T08:12:16.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:12:16.730Z] [2022-04-22T08:12:16.730Z] Login Succeeded [2022-04-22T08:12:16.730Z] docker.io [2022-04-22T08:12:17.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:12:17.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:12:17.607Z] Configure a credential helper to remove this warning. See [2022-04-22T08:12:17.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:12:17.607Z] [2022-04-22T08:12:17.607Z] Login Succeeded [2022-04-22T08:12:17.607Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:12:17.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T08:12:17.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T08:12:18.033Z] ========================================================= [2022-04-22T08:12:18.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T08:12:18.033Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:12:18.475Z] + 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 . [2022-04-22T08:12:19.074Z] Sending build context to Docker daemon 5.218MB [2022-04-22T08:12:19.074Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:12:19.074Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T08:12:19.074Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T08:12:19.074Z] 9b3977197b4f: Pulling fs layer [2022-04-22T08:12:19.074Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T08:12:19.074Z] 94645a83ff95: Pulling fs layer [2022-04-22T08:12:19.074Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T08:12:19.074Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T08:12:19.074Z] f7c0051592d6: Pulling fs layer [2022-04-22T08:12:19.074Z] a227ed2f7395: Pulling fs layer [2022-04-22T08:12:19.074Z] 7b1c46037f91: Pulling fs layer [2022-04-22T08:12:19.074Z] 3f3a8bcf1eab: Waiting [2022-04-22T08:12:19.074Z] 0c92f367c5e7: Waiting [2022-04-22T08:12:19.074Z] f7c0051592d6: Waiting [2022-04-22T08:12:19.074Z] a227ed2f7395: Waiting [2022-04-22T08:12:19.074Z] 94645a83ff95: Verifying Checksum [2022-04-22T08:12:19.074Z] 94645a83ff95: Download complete [2022-04-22T08:12:19.074Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T08:12:19.074Z] 1a89e8eeedd5: Download complete [2022-04-22T08:12:19.351Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T08:12:19.351Z] 0c92f367c5e7: Download complete [2022-04-22T08:12:19.351Z] 9b3977197b4f: Verifying Checksum [2022-04-22T08:12:19.351Z] 9b3977197b4f: Download complete [2022-04-22T08:12:19.351Z] f7c0051592d6: Verifying Checksum [2022-04-22T08:12:19.351Z] f7c0051592d6: Download complete [2022-04-22T08:12:19.351Z] a227ed2f7395: Verifying Checksum [2022-04-22T08:12:19.351Z] a227ed2f7395: Download complete [2022-04-22T08:12:19.949Z] 9b3977197b4f: Pull complete [2022-04-22T08:12:20.557Z] 1a89e8eeedd5: Pull complete [2022-04-22T08:12:20.838Z] 94645a83ff95: Pull complete [2022-04-22T08:12:21.116Z] 7b1c46037f91: Verifying Checksum [2022-04-22T08:12:21.116Z] 7b1c46037f91: Download complete [2022-04-22T08:12:21.712Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T08:12:21.712Z] 3f3a8bcf1eab: Download complete [2022-04-22T08:12:34.130Z] 3f3a8bcf1eab: Pull complete [2022-04-22T08:12:34.130Z] 0c92f367c5e7: Pull complete [2022-04-22T08:12:34.130Z] f7c0051592d6: Pull complete [2022-04-22T08:12:34.405Z] a227ed2f7395: Pull complete [2022-04-22T08:12:41.127Z] 7b1c46037f91: Pull complete [2022-04-22T08:12:41.127Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T08:12:41.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T08:12:41.127Z] ---> f79e39bc4007 [2022-04-22T08:12:41.127Z] Step 3/11 : ARG MAKE=make build [2022-04-22T08:12:42.125Z] ---> Running in d3b32f5247e6 [2022-04-22T08:12:42.400Z] Removing intermediate container d3b32f5247e6 [2022-04-22T08:12:42.400Z] ---> 119eeaac20a4 [2022-04-22T08:12:42.400Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T08:12:42.400Z] ---> Running in 5f0149fff63c [2022-04-22T08:12:42.673Z] Removing intermediate container 5f0149fff63c [2022-04-22T08:12:42.673Z] ---> de807a1f1f1d [2022-04-22T08:12:42.673Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T08:12:42.673Z] ---> Running in 5632fd7d11ef [2022-04-22T08:12:42.954Z] Removing intermediate container 5632fd7d11ef [2022-04-22T08:12:42.954Z] ---> b140a4d01cdc [2022-04-22T08:12:42.954Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:12:42.954Z] ---> Running in 2aca1385c9a6 [2022-04-22T08:12:44.939Z] Removing intermediate container 2aca1385c9a6 [2022-04-22T08:12:44.939Z] ---> d54477d6f575 [2022-04-22T08:12:44.939Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T08:12:44.939Z] ---> Running in 2c3981564dd3 [2022-04-22T08:12:45.918Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T08:12:46.901Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T08:12:47.499Z] OK: 220 MiB in 52 packages [2022-04-22T08:12:48.498Z] Removing intermediate container 2c3981564dd3 [2022-04-22T08:12:48.498Z] ---> f5a8739edab2 [2022-04-22T08:12:48.498Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T08:12:48.778Z] ---> 5f96c083ec7c [2022-04-22T08:12:48.778Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:12:49.063Z] ---> Running in d69f03b0e26f [2022-04-22T08:13:36.062Z] Removing intermediate container d69f03b0e26f [2022-04-22T08:13:36.062Z] ---> d1a5c29d3f5c [2022-04-22T08:13:36.062Z] Step 10/11 : COPY . . [2022-04-22T08:13:36.062Z] ---> be5b789bacd2 [2022-04-22T08:13:36.062Z] Step 11/11 : RUN ${MAKE} [2022-04-22T08:13:36.062Z] ---> Running in 4a4e95077a1d [2022-04-22T08:13:36.062Z] noop [2022-04-22T08:13:36.062Z] Removing intermediate container 4a4e95077a1d [2022-04-22T08:13:36.062Z] ---> ce9b5fb0de5a [2022-04-22T08:13:36.062Z] Successfully built ce9b5fb0de5a [2022-04-22T08:13:36.062Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:13:36.430Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T08:13:36.430Z] . [Pipeline] withDockerContainer [2022-04-22T08:13:36.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container [2022-04-22T08:13:36.762Z] $ 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 [2022-04-22T08:13:38.072Z] $ docker top 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:13:39.033Z] + go version [2022-04-22T08:13:39.033Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T08:13:39.071Z] $ docker stop --time=1 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 [2022-04-22T08:13:40.707Z] $ docker rm -f 95f5b60ece7e597b2c3e505a484cea10f634af65487bd843fc7fb60644c38b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:13:41.526Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T08:13:41.526Z] . [Pipeline] withDockerContainer [2022-04-22T08:13:41.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container [2022-04-22T08:13:41.849Z] $ 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 [2022-04-22T08:13:43.126Z] $ docker top 8ca165dbea460353083ed63d09a25c67f18e9edb3a56d8952ae9c867d9ebdd69 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T08:13:44.138Z] + make test [2022-04-22T08:13:44.138Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T08:14:10.952Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T08:15:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T08:15:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T08:15:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T08:15:53.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.3% of statements [2022-04-22T08:15:53.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T08:15:53.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements [2022-04-22T08:15:53.540Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements [2022-04-22T08:15:54.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.300s coverage: 10.8% of statements [2022-04-22T08:16:00.900Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.465s coverage: 60.0% of statements [2022-04-22T08:16:00.900Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T08:16:00.900Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T08:16:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.431s coverage: 34.8% of statements [2022-04-22T08:16:03.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T08:16:03.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.322s coverage: 86.1% of statements [2022-04-22T08:16:03.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T08:16:03.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T08:16:04.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements [2022-04-22T08:16:08.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 89.2% of statements [2022-04-22T08:16:08.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T08:16:09.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.234s coverage: 4.7% of statements [2022-04-22T08:16:09.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T08:16:10.257Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T08:16:10.257Z] GO111MODULE=on go vet ./... [2022-04-22T08:17:32.111Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T08:17:32.111Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T08:17:32.111Z] ./bin/test-attribution-txt.sh [2022-04-22T08:17:32.709Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-22T08:17:32.981Z] make: *** [Makefile:54: test] Error 1 [Pipeline] } [2022-04-22T08:17:33.033Z] $ docker stop --time=1 8ca165dbea460353083ed63d09a25c67f18e9edb3a56d8952ae9c867d9ebdd69 [2022-04-22T08:17:34.827Z] $ 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 [2022-04-22T08:17:36.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:17:36.684Z] [2022-04-22T08:17:36.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:17:37.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:17:37.336Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T08:17:37.336Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T08:17:37.336Z] 04944245beec: Pulling fs layer [2022-04-22T08:17:37.336Z] 699f458cf7ca: Pulling fs layer [2022-04-22T08:17:37.336Z] 765212b225bb: Pulling fs layer [2022-04-22T08:17:37.336Z] f23df028b6ca: Pulling fs layer [2022-04-22T08:17:37.336Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T08:17:37.336Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T08:17:37.336Z] f23df028b6ca: Waiting [2022-04-22T08:17:37.336Z] d65c8cfc05b1: Waiting [2022-04-22T08:17:37.336Z] 2437ff75d9bd: Waiting [2022-04-22T08:17:37.336Z] 765212b225bb: Waiting [2022-04-22T08:17:37.336Z] 04944245beec: Verifying Checksum [2022-04-22T08:17:37.336Z] 04944245beec: Download complete [2022-04-22T08:17:37.336Z] 765212b225bb: Verifying Checksum [2022-04-22T08:17:37.336Z] 765212b225bb: Download complete [2022-04-22T08:17:37.336Z] f23df028b6ca: Verifying Checksum [2022-04-22T08:17:37.336Z] f23df028b6ca: Download complete [2022-04-22T08:17:37.336Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T08:17:37.336Z] d65c8cfc05b1: Download complete [2022-04-22T08:17:37.612Z] 699f458cf7ca: Verifying Checksum [2022-04-22T08:17:37.612Z] 699f458cf7ca: Download complete [2022-04-22T08:17:37.886Z] 8998bd30e6a1: Download complete [2022-04-22T08:17:40.512Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T08:17:40.512Z] 2437ff75d9bd: Download complete [2022-04-22T08:17:42.492Z] 8998bd30e6a1: Pull complete [2022-04-22T08:17:42.492Z] 04944245beec: Pull complete [2022-04-22T08:17:43.929Z] 699f458cf7ca: Pull complete [2022-04-22T08:17:44.200Z] 765212b225bb: Pull complete [2022-04-22T08:17:45.187Z] f23df028b6ca: Pull complete [2022-04-22T08:17:45.466Z] d65c8cfc05b1: Pull complete [2022-04-22T08:18:00.563Z] 2437ff75d9bd: Pull complete [2022-04-22T08:18:00.563Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T08:18:00.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:18:00.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T08:18:00.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-21758 does not seem to be running inside a container [2022-04-22T08:18:00.898Z] $ 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 [2022-04-22T08:18:03.456Z] $ docker top 5630ff2afb00265a9863ca7d24d882d74a36b78d8d9c3fb5a09dec5c6cb7bd57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:04.431Z] ---> job-cost.sh [2022-04-22T08:18:04.431Z] lf-activate-venv: SKIPPING [2022-04-22T08:18:04.431Z] INFO: No Stack... [2022-04-22T08:18:05.022Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T08:18:05.612Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T08:18:06.282Z] + cut -d, -f6 [2022-04-22T08:18:06.282Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-04-22T08:18:06.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [2022-04-22T08:18:06.367Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] did not exist. Created. [2022-04-22T08:18:06.367Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T08:18:07.113Z] /w/workspace/device-sdk-go/1@tmp/durable-9effad1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T08:18:07.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T08:18:07.834Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T08:18:08.266Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T08:18:08.281Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T08:18:08.353Z] $ docker stop --time=1 5630ff2afb00265a9863ca7d24d882d74a36b78d8d9c3fb5a09dec5c6cb7bd57 [2022-04-22T08:18:09.858Z] $ 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] } [2022-04-22T08:18:10.612Z] 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 [2022-04-22T08:18:12.498Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives ] [2022-04-22T08:18:12.498Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T08:18:12.498Z] total 16 [2022-04-22T08:18:12.498Z] drwxr-xr-x 3 root root 4096 Apr 22 08:11 . [2022-04-22T08:18:12.498Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:11 .. [2022-04-22T08:18:12.498Z] drwxr-xr-x 2 root root 4096 Apr 22 08:11 cost [2022-04-22T08:18:12.498Z] -rw-r--r-- 1 root root 85 Apr 22 08:11 cost.csv [2022-04-22T08:18:12.498Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T08:18:12.498Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives [2022-04-22T08:18:12.498Z] total 16 [2022-04-22T08:18:12.498Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 08:11 . [2022-04-22T08:18:12.498Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 08:11 .. [2022-04-22T08:18:12.498Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 08:11 cost [2022-04-22T08:18:12.498Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 08:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:12.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:13.737Z] ---> package-listing.sh [2022-04-22T08:18:13.737Z] ++ facter osfamily [2022-04-22T08:18:13.737Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T08:18:13.999Z] + OS_FAMILY=debian [2022-04-22T08:18:13.999Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1146 [2022-04-22T08:18:13.999Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T08:18:13.999Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T08:18:13.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T08:18:13.999Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T08:18:13.999Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' [2022-04-22T08:18:13.999Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T08:18:13.999Z] + case "${OS_FAMILY}" in [2022-04-22T08:18:13.999Z] + dpkg -l [2022-04-22T08:18:13.999Z] + grep '^ii' [2022-04-22T08:18:13.999Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T08:18:13.999Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T08:18:13.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T08:18:13.999Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1146 ']' [2022-04-22T08:18:13.999Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1146/archives/ [2022-04-22T08:18:13.999Z] + 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 [2022-04-22T08:18:14.034Z] 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 [2022-04-22T08:18:14.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:18:14.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:18:14.910Z] . [Pipeline] withDockerContainer [2022-04-22T08:18:14.995Z] prd-ubuntu20.04-docker-8c-8g-21757 does not seem to be running inside a container [2022-04-22T08:18:15.036Z] $ 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 [2022-04-22T08:18:15.330Z] $ docker top 3978670f7f604592479ff1b4bf05928f00a1145a18106f3e0e59da3c1082a190 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:18:15.739Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T08:18:16.056Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T08:18:16.376Z] + ls /var/log/sa-host [2022-04-22T08:18:16.376Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:18:16.535Z] provisioning config files... [2022-04-22T08:18:16.546Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1146@tmp/config3188875946238653854tmp [Pipeline] { [Pipeline] echo [2022-04-22T08:18:16.589Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:16.916Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T08:18:16.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:17.357Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T08:18:17.388Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:17.706Z] ---> sudo-logs.sh [2022-04-22T08:18:17.706Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T08:18:17.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:18.106Z] ---> job-cost.sh [2022-04-22T08:18:18.106Z] lf-activate-venv: SKIPPING [2022-04-22T08:18:18.106Z] DEBUG: total: 0.2199999988079071 [2022-04-22T08:18:18.106Z] INFO: Retrieving Stack Cost... [2022-04-22T08:18:18.367Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T08:18:18.937Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T08:18:18.977Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:18:19.312Z] ---> logs-deploy.sh [2022-04-22T08:18:19.312Z] lf-activate-venv: SKIPPING [2022-04-22T08:18:19.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1146/1 [2022-04-22T08:18:19.312Z] INFO: archiving workspace using pattern(s): [2022-04-22T08:18:20.255Z] Archives upload complete. [2022-04-22T08:18:20.255Z] INFO: archiving logs to Nexus