Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 190ddbb14c51692d09cfbf56aa8c8b65891188b1+1be87f15213c05ab1957194b5dea87ff4eff74a4 (43d8f47f0aec50cd72173d67485c4b16ce3595fc) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7372629427444219351.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh6918779682039993733.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1039/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1039/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2988436365242976550.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh919969600028292463.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1039/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1039/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5026378339244398763.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[centos7-docker-4c-2g, ubuntu18.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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-817 in /w/workspace/gexfoundry_device-sdk-go_PR-1039 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1039 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh7370002376466054110.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh7867464268452934978.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1039/head:refs/remotes/origin/PR-1039 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 190ddbb14c51692d09cfbf56aa8c8b65891188b1 Merge succeeded, producing 9f653e998fa393429ecb8e2979f8457110515d80 Checking out Revision 9f653e998fa393429ecb8e2979f8457110515d80 (PR-1039) > git config core.sparsecheckout # timeout=10 > git checkout -f 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh1563013877795562319.key > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f653e998fa393429ecb8e2979f8457110515d80 # timeout=10 Commit message: "Merge commit '1be87f15213c05ab1957194b5dea87ff4eff74a4' into HEAD" > git rev-list --no-walk 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-21T02:41:26.002Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-21T02:41:26.053Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-21T02:41:26.068Z] ========================================================= [2021-10-21T02:41:26.068Z] EdgeX Global Pipelines Version Info [2021-10-21T02:41:26.068Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:41:27.203Z] ------------------- [2021-10-21T02:41:27.203Z] stable info: [2021-10-21T02:41:27.203Z] ------------------- [2021-10-21T02:41:27.203Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-21T02:41:27.203Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T02:41:27.203Z] Message: update stable to v1.0.210 [2021-10-21T02:41:27.774Z] ------------------- [2021-10-21T02:41:27.774Z] experimental info: [2021-10-21T02:41:27.774Z] ------------------- [2021-10-21T02:41:27.774Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-21T02:41:27.774Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T02:41:27.774Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-21T02:41:27.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-21T02:41:27.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-21T02:41:27.876Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-21T02:41:27.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-21T02:41:27.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-21T02:41:27.912Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-21T02:41:27.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-21T02:41:27.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-21T02:41:27.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-21T02:41:27.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-21T02:41:27.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-21T02:41:27.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-21T02:41:27.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-21T02:41:28.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-21T02:41:28.024Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-21T02:41:28.036Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T02:41:28.044Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T02:41:28.054Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T02:41:28.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-21T02:41:28.073Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-21T02:41:28.082Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-21T02:41:28.090Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-21T02:41:28.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-21T02:41:28.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-21T02:41:28.114Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-21T02:41:28.126Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-21T02:41:28.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1039 [Pipeline] echo [2021-10-21T02:41:28.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1039 [Pipeline] echo [2021-10-21T02:41:28.165Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1039 [Pipeline] echo [2021-10-21T02:41:28.179Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f653e998fa393429ecb8e2979f8457110515d80 [Pipeline] echo [2021-10-21T02:41:28.192Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f653e9 [Pipeline] echo [2021-10-21T02:41:28.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T02:41:28.256Z] provisioning config files... [2021-10-21T02:41:28.270Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/config1070118802594680781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:41:28.576Z] ---> docker-login.sh [2021-10-21T02:41:28.576Z] nexus3.edgexfoundry.org:10001 [2021-10-21T02:41:28.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:41:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:41:28.851Z] Configure a credential helper to remove this warning. See [2021-10-21T02:41:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:41:28.851Z] [2021-10-21T02:41:28.851Z] Login Succeeded [2021-10-21T02:41:28.851Z] nexus3.edgexfoundry.org:10002 [2021-10-21T02:41:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:41:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:41:28.851Z] Configure a credential helper to remove this warning. See [2021-10-21T02:41:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:41:28.851Z] [2021-10-21T02:41:28.851Z] Login Succeeded [2021-10-21T02:41:28.851Z] nexus3.edgexfoundry.org:10003 [2021-10-21T02:41:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:41:29.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:41:29.111Z] Configure a credential helper to remove this warning. See [2021-10-21T02:41:29.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:41:29.111Z] [2021-10-21T02:41:29.111Z] Login Succeeded [2021-10-21T02:41:29.111Z] nexus3.edgexfoundry.org:10004 [2021-10-21T02:41:29.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:41:29.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:41:29.111Z] Configure a credential helper to remove this warning. See [2021-10-21T02:41:29.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:41:29.111Z] [2021-10-21T02:41:29.111Z] Login Succeeded [2021-10-21T02:41:29.111Z] docker.io [2021-10-21T02:41:29.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:41:29.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:41:29.680Z] Configure a credential helper to remove this warning. See [2021-10-21T02:41:29.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:41:29.680Z] [2021-10-21T02:41:29.680Z] Login Succeeded [2021-10-21T02:41:29.680Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T02:41:29.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T02:41:30.115Z] + git log --format=format:%s -1 9f653e998fa393429ecb8e2979f8457110515d80 [Pipeline] echo [2021-10-21T02:41:30.152Z] GIT_COMMIT: 9f653e998fa393429ecb8e2979f8457110515d80, Commit Message: Merge commit '1be87f15213c05ab1957194b5dea87ff4eff74a4' into HEAD [Pipeline] echo [2021-10-21T02:41:30.159Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:41:31.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T02:41:31.068Z] [2021-10-21T02:41:31.068Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:41:31.387Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T02:41:31.387Z] latest: Pulling from edgex-devops/git-semver [2021-10-21T02:41:31.387Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T02:41:31.387Z] 3e5f54012d9b: Pulling fs layer [2021-10-21T02:41:31.387Z] 4c7163046ea9: Pulling fs layer [2021-10-21T02:41:31.387Z] 0c2d73faf560: Pulling fs layer [2021-10-21T02:41:31.387Z] 0c2d73faf560: Waiting [2021-10-21T02:41:31.387Z] 3e5f54012d9b: Verifying Checksum [2021-10-21T02:41:31.387Z] 3e5f54012d9b: Download complete [2021-10-21T02:41:31.387Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T02:41:31.387Z] a0d0a0d46f8b: Download complete [2021-10-21T02:41:31.662Z] 0c2d73faf560: Verifying Checksum [2021-10-21T02:41:31.663Z] 0c2d73faf560: Download complete [2021-10-21T02:41:31.663Z] 4c7163046ea9: Verifying Checksum [2021-10-21T02:41:31.663Z] 4c7163046ea9: Download complete [2021-10-21T02:41:31.663Z] a0d0a0d46f8b: Pull complete [2021-10-21T02:41:31.663Z] 3e5f54012d9b: Pull complete [2021-10-21T02:41:31.941Z] 4c7163046ea9: Pull complete [2021-10-21T02:41:32.202Z] 0c2d73faf560: Pull complete [2021-10-21T02:41:32.202Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-21T02:41:32.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T02:41:32.202Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-21T02:41:32.277Z] prd-centos7-docker-4c-2g-817 does not seem to be running inside a container [2021-10-21T02:41:32.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1039 -v /w/workspace/gexfoundry_device-sdk-go_PR-1039:/w/workspace/gexfoundry_device-sdk-go_PR-1039:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1039@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 [2021-10-21T02:41:32.892Z] $ docker top 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T02:41:32.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T02:41:32.980Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T02:41:33.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T02:41:33.082Z] $ docker exec 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 ssh-agent [2021-10-21T02:41:33.181Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDkGBME/agent.15 [2021-10-21T02:41:33.181Z] SSH_AGENT_PID=21 [2021-10-21T02:41:33.187Z] Running ssh-add (command line suppressed) [2021-10-21T02:41:33.303Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/private_key_4417022033273387260.key (/w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/private_key_4417022033273387260.key) [2021-10-21T02:41:33.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T02:41:33.604Z] + git tag --points-at HEAD [Pipeline] } [2021-10-21T02:41:33.625Z] $ docker exec --env ******** --env ******** 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 ssh-agent -k [2021-10-21T02:41:33.705Z] unset SSH_AUTH_SOCK; [2021-10-21T02:41:33.705Z] unset SSH_AGENT_PID; [2021-10-21T02:41:33.705Z] echo Agent pid 21 killed; [2021-10-21T02:41:33.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-21T02:41:33.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T02:41:33.733Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T02:41:33.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T02:41:33.836Z] $ docker exec 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 ssh-agent [2021-10-21T02:41:33.940Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDHmJEK/agent.55 [2021-10-21T02:41:33.940Z] SSH_AGENT_PID=62 [2021-10-21T02:41:33.945Z] Running ssh-add (command line suppressed) [2021-10-21T02:41:34.034Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/private_key_8852264636461979306.key (/w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/private_key_8852264636461979306.key) [2021-10-21T02:41:34.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T02:41:34.344Z] + git semver init [2021-10-21T02:41:34.344Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T02:41:34.344Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1039/.git [2021-10-21T02:41:34.344Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1039 [2021-10-21T02:41:34.344Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T02:41:34.344Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T02:41:34.344Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T02:41:34.344Z] # $SEMVER_BRANCH = PR-1039 [2021-10-21T02:41:34.344Z] # $SEMVER_TEMP = /tmp/semver-016415728 [2021-10-21T02:41:34.344Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-21T02:41:35.298Z] # '/tmp/semver-016415728' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1039/.semver' [2021-10-21T02:41:35.298Z] # -> Force: false [2021-10-21T02:41:35.298Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1039/.semver [Pipeline] } [2021-10-21T02:41:35.312Z] $ docker exec --env ******** --env ******** 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 ssh-agent -k [2021-10-21T02:41:35.403Z] unset SSH_AUTH_SOCK; [2021-10-21T02:41:35.403Z] unset SSH_AGENT_PID; [2021-10-21T02:41:35.403Z] echo Agent pid 62 killed; [2021-10-21T02:41:35.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T02:41:35.731Z] + git semver [Pipeline] } [2021-10-21T02:41:35.749Z] $ docker stop --time=1 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 [2021-10-21T02:41:36.955Z] $ docker rm -f 5392d80ba83e5a9776c70c33eb1871447010a9668be0ac201e5750be09488005 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-21T02:41:37.303Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-21T02:41:37.570Z] Stashed 1 file(s) [Pipeline] echo [2021-10-21T02:41:37.573Z] [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] node [Pipeline] node [2021-10-21T02:41:52.803Z] Still waiting to schedule task [2021-10-21T02:41:52.803Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-817’ [2021-10-21T02:41:52.805Z] Still waiting to schedule task [2021-10-21T02:41:52.806Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-21T02:44:18.429Z] Running on prd-centos7-docker-4c-2g-819 in /w/workspace/gexfoundry_device-sdk-go_PR-1039 [Pipeline] { [Pipeline] ws [2021-10-21T02:44:18.441Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-21T02:44:18.538Z] Selected Git installation does not exist. Using Default [2021-10-21T02:44:18.538Z] The recommended git tool is: NONE [2021-10-21T02:44:20.723Z] using credential edgex-jenkins-ssh [2021-10-21T02:44:20.737Z] Cloning the remote Git repository [2021-10-21T02:44:20.252Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:44:20.305Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-21T02:44:20.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:44:20.345Z] > git --version # timeout=10 [2021-10-21T02:44:20.358Z] > git --version # 'git version 2.24.4' [2021-10-21T02:44:20.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:44:20.384Z] [INFO] Currently running in a labeled security context [2021-10-21T02:44:20.385Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T02:44:20.385Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7504930872491871082.key [2021-10-21T02:44:20.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T02:44:21.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-21T02:44:21.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T02:44:21.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-21T02:44:21.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:44:21.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:44:21.361Z] [INFO] Currently running in a labeled security context [2021-10-21T02:44:21.361Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T02:44:21.361Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2586289829551395751.key [2021-10-21T02:44:21.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1039/head:refs/remotes/origin/PR-1039 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-21T02:44:22.423Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 190ddbb14c51692d09cfbf56aa8c8b65891188b1 [2021-10-21T02:44:22.553Z] Merge succeeded, producing 4a163c2eaed2581ee2c7cdb8060777e154a1e100 [2021-10-21T02:44:22.553Z] Checking out Revision 4a163c2eaed2581ee2c7cdb8060777e154a1e100 (PR-1039) [2021-10-21T02:44:21.932Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T02:44:21.938Z] > git checkout -f 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 [2021-10-21T02:44:21.984Z] > git remote # timeout=10 [2021-10-21T02:44:21.993Z] > git config --get remote.origin.url # timeout=10 [2021-10-21T02:44:21.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:44:22.000Z] [INFO] Currently running in a labeled security context [2021-10-21T02:44:22.000Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T02:44:22.001Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7295068472728505639.key [2021-10-21T02:44:22.009Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-21T02:44:22.037Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-21T02:44:22.054Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T02:44:22.060Z] > git checkout -f 4a163c2eaed2581ee2c7cdb8060777e154a1e100 # timeout=10 [2021-10-21T02:44:26.292Z] Commit message: "Merge commit '1be87f15213c05ab1957194b5dea87ff4eff74a4' into HEAD" [2021-10-21T02:44:25.871Z] > git rev-list --no-walk 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T02:44:26.873Z] provisioning config files... [2021-10-21T02:44:26.890Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6947693130804916520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:44:27.296Z] ---> docker-login.sh [2021-10-21T02:44:27.296Z] nexus3.edgexfoundry.org:10001 [2021-10-21T02:44:27.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:44:27.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:44:27.558Z] Configure a credential helper to remove this warning. See [2021-10-21T02:44:27.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:44:27.558Z] [2021-10-21T02:44:27.558Z] Login Succeeded [2021-10-21T02:44:27.558Z] nexus3.edgexfoundry.org:10002 [2021-10-21T02:44:27.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:44:27.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:44:27.558Z] Configure a credential helper to remove this warning. See [2021-10-21T02:44:27.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:44:27.558Z] [2021-10-21T02:44:27.558Z] Login Succeeded [2021-10-21T02:44:27.558Z] nexus3.edgexfoundry.org:10003 [2021-10-21T02:44:27.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:44:27.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:44:27.825Z] Configure a credential helper to remove this warning. See [2021-10-21T02:44:27.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:44:27.825Z] [2021-10-21T02:44:27.825Z] Login Succeeded [2021-10-21T02:44:27.825Z] nexus3.edgexfoundry.org:10004 [2021-10-21T02:44:27.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:44:27.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:44:27.825Z] Configure a credential helper to remove this warning. See [2021-10-21T02:44:27.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:44:27.825Z] [2021-10-21T02:44:27.825Z] Login Succeeded [2021-10-21T02:44:27.825Z] docker.io [2021-10-21T02:44:28.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:44:28.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:44:28.362Z] Configure a credential helper to remove this warning. See [2021-10-21T02:44:28.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:44:28.362Z] [2021-10-21T02:44:28.362Z] Login Succeeded [2021-10-21T02:44:28.362Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T02:44:28.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T02:44:28.548Z] ========================================================= [2021-10-21T02:44:28.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-21T02:44:28.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:44:28.863Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-21T02:44:28.863Z] Sending build context to Docker daemon 2.718MB [2021-10-21T02:44:28.863Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-21T02:44:28.863Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-21T02:44:28.863Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-21T02:44:28.863Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T02:44:28.863Z] 31adcdaf11c8: Pulling fs layer [2021-10-21T02:44:28.863Z] b8b176561691: Pulling fs layer [2021-10-21T02:44:28.863Z] 4527c011a84f: Pulling fs layer [2021-10-21T02:44:28.863Z] 5d74067f8e1e: Pulling fs layer [2021-10-21T02:44:28.863Z] e0aca202a116: Pulling fs layer [2021-10-21T02:44:28.863Z] 3a43be97a3b4: Pulling fs layer [2021-10-21T02:44:28.863Z] 34cad66bf833: Pulling fs layer [2021-10-21T02:44:28.863Z] b4e3c513aaa6: Pulling fs layer [2021-10-21T02:44:28.863Z] 4527c011a84f: Waiting [2021-10-21T02:44:28.863Z] 5d74067f8e1e: Waiting [2021-10-21T02:44:28.863Z] e0aca202a116: Waiting [2021-10-21T02:44:28.863Z] 3a43be97a3b4: Waiting [2021-10-21T02:44:28.863Z] 34cad66bf833: Waiting [2021-10-21T02:44:28.863Z] b4e3c513aaa6: Waiting [2021-10-21T02:44:29.140Z] b8b176561691: Verifying Checksum [2021-10-21T02:44:29.140Z] b8b176561691: Download complete [2021-10-21T02:44:29.140Z] 31adcdaf11c8: Verifying Checksum [2021-10-21T02:44:29.140Z] 31adcdaf11c8: Download complete [2021-10-21T02:44:29.140Z] 5d74067f8e1e: Verifying Checksum [2021-10-21T02:44:29.140Z] 5d74067f8e1e: Download complete [2021-10-21T02:44:29.140Z] e0aca202a116: Verifying Checksum [2021-10-21T02:44:29.140Z] e0aca202a116: Download complete [2021-10-21T02:44:29.140Z] 3a43be97a3b4: Verifying Checksum [2021-10-21T02:44:29.140Z] 3a43be97a3b4: Download complete [2021-10-21T02:44:29.140Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T02:44:29.140Z] a0d0a0d46f8b: Download complete [2021-10-21T02:44:29.140Z] 34cad66bf833: Verifying Checksum [2021-10-21T02:44:29.140Z] 34cad66bf833: Download complete [2021-10-21T02:44:29.416Z] a0d0a0d46f8b: Pull complete [2021-10-21T02:44:29.999Z] b4e3c513aaa6: Verifying Checksum [2021-10-21T02:44:29.999Z] b4e3c513aaa6: Download complete [2021-10-21T02:44:29.999Z] 31adcdaf11c8: Pull complete [2021-10-21T02:44:29.999Z] 4527c011a84f: Verifying Checksum [2021-10-21T02:44:29.999Z] 4527c011a84f: Download complete [2021-10-21T02:44:29.999Z] b8b176561691: Pull complete [2021-10-21T02:44:34.340Z] 4527c011a84f: Pull complete [2021-10-21T02:44:34.340Z] 5d74067f8e1e: Pull complete [2021-10-21T02:44:34.340Z] e0aca202a116: Pull complete [2021-10-21T02:44:34.340Z] 3a43be97a3b4: Pull complete [2021-10-21T02:44:34.340Z] 34cad66bf833: Pull complete [2021-10-21T02:44:36.907Z] b4e3c513aaa6: Pull complete [2021-10-21T02:44:36.907Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-21T02:44:36.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-21T02:44:36.907Z] ---> 9f6097aaca64 [2021-10-21T02:44:36.907Z] Step 3/10 : ARG MAKE=make build [2021-10-21T02:44:39.466Z] ---> Running in 0bd252bcb045 [2021-10-21T02:44:39.466Z] Removing intermediate container 0bd252bcb045 [2021-10-21T02:44:39.466Z] ---> 1fa3e641a752 [2021-10-21T02:44:39.466Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-21T02:44:39.466Z] ---> Running in 5ddfa8ae6ffd [2021-10-21T02:44:39.466Z] Removing intermediate container 5ddfa8ae6ffd [2021-10-21T02:44:39.466Z] ---> 5c3ea849b1a6 [2021-10-21T02:44:39.466Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-21T02:44:39.466Z] ---> Running in cf323b26580f [2021-10-21T02:44:39.466Z] Removing intermediate container cf323b26580f [2021-10-21T02:44:39.466Z] ---> fbf56ceb4596 [2021-10-21T02:44:39.466Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-21T02:44:39.466Z] ---> Running in cbea297b9f0a [2021-10-21T02:44:40.056Z] Removing intermediate container cbea297b9f0a [2021-10-21T02:44:40.056Z] ---> 8bdd06a3a7d4 [2021-10-21T02:44:40.056Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-21T02:44:40.056Z] ---> Running in 82808ddb5a52 [2021-10-21T02:44:40.318Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T02:44:41.272Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-21T02:44:41.533Z] OK: 220 MiB in 52 packages [2021-10-21T02:44:41.815Z] Removing intermediate container 82808ddb5a52 [2021-10-21T02:44:41.815Z] ---> 090900b0fc09 [2021-10-21T02:44:41.815Z] Step 8/10 : COPY . . [2021-10-21T02:44:42.076Z] ---> f599b6970b34 [2021-10-21T02:44:42.076Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-21T02:44:42.076Z] ---> Running in 4d107e90b606 [2021-10-21T02:45:14.271Z] Removing intermediate container 4d107e90b606 [2021-10-21T02:45:14.271Z] ---> e4ab015a5e87 [2021-10-21T02:45:14.271Z] Step 10/10 : RUN ${MAKE} [2021-10-21T02:45:14.271Z] ---> Running in 4f6fe394ec4e [2021-10-21T02:45:14.271Z] noop [2021-10-21T02:45:14.271Z] Removing intermediate container 4f6fe394ec4e [2021-10-21T02:45:14.271Z] ---> 6de0a6e24060 [2021-10-21T02:45:14.271Z] Successfully built 6de0a6e24060 [2021-10-21T02:45:14.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:45:14.599Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-21T02:45:14.600Z] . [Pipeline] withDockerContainer [2021-10-21T02:45:14.671Z] prd-centos7-docker-4c-2g-819 does not seem to be running inside a container [2021-10-21T02:45:14.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-21T02:45:15.083Z] $ docker top 6b76419b63bc4a241e636ef576d23018730bec607c2b4f6fd2215ccbb6cabb75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T02:45:15.451Z] + go version [2021-10-21T02:45:15.451Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-21T02:45:15.461Z] $ docker stop --time=1 6b76419b63bc4a241e636ef576d23018730bec607c2b4f6fd2215ccbb6cabb75 [2021-10-21T02:45:16.635Z] $ docker rm -f 6b76419b63bc4a241e636ef576d23018730bec607c2b4f6fd2215ccbb6cabb75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:45:17.131Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-21T02:45:17.131Z] . [Pipeline] withDockerContainer [2021-10-21T02:45:17.200Z] prd-centos7-docker-4c-2g-819 does not seem to be running inside a container [2021-10-21T02:45:17.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-21T02:45:17.617Z] $ docker top 9432dcfe3c6ded6991051a1547a3cbb25518feed030e2f7764aab245304cf66c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-21T02:45:18.018Z] + make test [2021-10-21T02:45:18.018Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-21T02:45:24.694Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-21T02:45:46.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-21T02:45:46.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-21T02:45:46.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-21T02:45:48.143Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] [2021-10-21T02:45:48.143Z] internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse [2021-10-21T02:45:48.143Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2021-10-21T02:45:48.143Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-21T02:45:48.421Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-10-21T02:45:48.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-10-21T02:45:49.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-10-21T02:45:49.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-21T02:45:49.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-21T02:45:49.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-21T02:45:49.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2021-10-21T02:45:49.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-21T02:45:51.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 83.3% of statements [2021-10-21T02:45:51.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-21T02:45:51.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-21T02:45:51.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.083s coverage: 57.8% of statements [2021-10-21T02:45:52.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.807s coverage: 88.8% of statements [2021-10-21T02:45:52.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-21T02:45:52.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.9% of statements [2021-10-21T02:45:52.070Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-21T02:45:52.070Z] FAIL [2021-10-21T02:45:52.331Z] make: *** [Makefile:35: test] Error 2 [Pipeline] } [2021-10-21T02:45:52.341Z] $ docker stop --time=1 9432dcfe3c6ded6991051a1547a3cbb25518feed030e2f7764aab245304cf66c [2021-10-21T02:45:54.030Z] $ docker rm -f 9432dcfe3c6ded6991051a1547a3cbb25518feed030e2f7764aab245304cf66c [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 [2021-10-21T02:45:54.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:45:54.805Z] [2021-10-21T02:45:54.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:45:55.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:45:55.106Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T02:45:55.106Z] b4d181a07f80: Pulling fs layer [2021-10-21T02:45:55.106Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T02:45:55.106Z] ed53099fbce6: Pulling fs layer [2021-10-21T02:45:55.106Z] dc539afda2c1: Pulling fs layer [2021-10-21T02:45:55.106Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T02:45:55.106Z] 9065ff56babe: Pulling fs layer [2021-10-21T02:45:55.106Z] d287ab97295c: Pulling fs layer [2021-10-21T02:45:55.106Z] 77bc0d833cb6: Waiting [2021-10-21T02:45:55.106Z] 9065ff56babe: Waiting [2021-10-21T02:45:55.106Z] d287ab97295c: Waiting [2021-10-21T02:45:55.106Z] dc539afda2c1: Waiting [2021-10-21T02:45:55.106Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T02:45:55.106Z] a1111a8f2ec3: Download complete [2021-10-21T02:45:55.106Z] dc539afda2c1: Verifying Checksum [2021-10-21T02:45:55.106Z] dc539afda2c1: Download complete [2021-10-21T02:45:55.367Z] ed53099fbce6: Verifying Checksum [2021-10-21T02:45:55.367Z] ed53099fbce6: Download complete [2021-10-21T02:45:55.367Z] 9065ff56babe: Verifying Checksum [2021-10-21T02:45:55.367Z] 9065ff56babe: Download complete [2021-10-21T02:45:55.367Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T02:45:55.367Z] 77bc0d833cb6: Download complete [2021-10-21T02:45:55.367Z] b4d181a07f80: Verifying Checksum [2021-10-21T02:45:55.367Z] b4d181a07f80: Download complete [2021-10-21T02:45:55.952Z] d287ab97295c: Verifying Checksum [2021-10-21T02:45:55.952Z] d287ab97295c: Download complete [2021-10-21T02:45:56.910Z] b4d181a07f80: Pull complete [2021-10-21T02:45:56.910Z] a1111a8f2ec3: Pull complete [2021-10-21T02:45:57.863Z] ed53099fbce6: Pull complete [2021-10-21T02:45:57.863Z] dc539afda2c1: Pull complete [2021-10-21T02:45:58.129Z] 77bc0d833cb6: Pull complete [2021-10-21T02:45:58.129Z] 9065ff56babe: Pull complete [2021-10-21T02:46:04.739Z] d287ab97295c: Pull complete [2021-10-21T02:46:04.739Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T02:46:04.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:46:04.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T02:46:04.817Z] prd-centos7-docker-4c-2g-819 does not seem to be running inside a container [2021-10-21T02:46:04.864Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T02:46:07.507Z] $ docker top de749453daed0134a36c48d8ddfe3f13f7d29224ba6ec1b8dcc5e05a7905e4f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:46:07.958Z] ---> job-cost.sh [2021-10-21T02:46:07.958Z] lf-activate-venv: SKIPPING [2021-10-21T02:46:07.958Z] INFO: No Stack... [2021-10-21T02:46:09.342Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T02:46:09.606Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T02:46:10.167Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-21T02:46:10.167Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T02:46:10.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [2021-10-21T02:46:10.198Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] did not exist. Created. [2021-10-21T02:46:10.198Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T02:46:10.508Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-21T02:46:10.684Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T02:46:10.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T02:46:10.705Z] $ docker stop --time=1 de749453daed0134a36c48d8ddfe3f13f7d29224ba6ec1b8dcc5e05a7905e4f7 [2021-10-21T02:46:11.848Z] $ docker rm -f de749453daed0134a36c48d8ddfe3f13f7d29224ba6ec1b8dcc5e05a7905e4f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T02:46:12.097Z] Failed in branch amd64 [2021-10-21T02:47:28.287Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-821 in /w/workspace/gexfoundry_device-sdk-go_PR-1039 [Pipeline] { [Pipeline] ws [2021-10-21T02:47:28.300Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-21T02:47:28.509Z] Selected Git installation does not exist. Using Default [2021-10-21T02:47:28.509Z] The recommended git tool is: NONE [2021-10-21T02:47:35.125Z] using credential edgex-jenkins-ssh [2021-10-21T02:47:35.144Z] Cloning the remote Git repository [2021-10-21T02:47:35.199Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:47:35.315Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-21T02:47:35.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:47:35.416Z] > git --version # timeout=10 [2021-10-21T02:47:35.442Z] > git --version # 'git version 2.17.1' [2021-10-21T02:47:35.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:47:35.520Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T02:47:37.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-21T02:47:37.128Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T02:47:37.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-21T02:47:37.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-21T02:47:37.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:47:37.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1039/head:refs/remotes/origin/PR-1039 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-21T02:47:37.811Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit 190ddbb14c51692d09cfbf56aa8c8b65891188b1 [2021-10-21T02:47:38.083Z] Merge succeeded, producing c1fac5ddd9f9f8396fa4ca8b9166b2818a411cf8 [2021-10-21T02:47:38.084Z] Checking out Revision c1fac5ddd9f9f8396fa4ca8b9166b2818a411cf8 (PR-1039) [2021-10-21T02:47:37.832Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T02:47:37.845Z] > git checkout -f 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 [2021-10-21T02:47:37.953Z] > git remote # timeout=10 [2021-10-21T02:47:37.973Z] > git config --get remote.origin.url # timeout=10 [2021-10-21T02:47:37.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T02:47:37.996Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-21T02:47:38.070Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-21T02:47:38.091Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T02:47:38.103Z] > git checkout -f c1fac5ddd9f9f8396fa4ca8b9166b2818a411cf8 # timeout=10 [2021-10-21T02:47:42.571Z] Commit message: "Merge commit '1be87f15213c05ab1957194b5dea87ff4eff74a4' into HEAD" [2021-10-21T02:47:42.582Z] > git rev-list --no-walk 190ddbb14c51692d09cfbf56aa8c8b65891188b1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T02:47:43.782Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-21T02:47:43.782Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-21T02:47:43.782Z] Dload Upload Total Spent Left Speed [2021-10-21T02:47:43.782Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 71660 0 --:--:-- --:--:-- --:--:-- 72097 [Pipeline] sh [2021-10-21T02:47:44.223Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-21T02:47:44.651Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2021-10-21T02:47:44.651Z] /etc/docker/daemon.new [2021-10-21T02:47:44.651Z] { [2021-10-21T02:47:44.651Z] "registry-mirrors": [ [2021-10-21T02:47:44.651Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-21T02:47:44.651Z] ], [2021-10-21T02:47:44.651Z] "bip": "10.250.0.254/24", [2021-10-21T02:47:44.651Z] "hosts": [ [2021-10-21T02:47:44.651Z] "tcp://0.0.0.0:5555", [2021-10-21T02:47:44.651Z] "unix:///var/run/docker.sock" [2021-10-21T02:47:44.651Z] ], [2021-10-21T02:47:44.651Z] "mtu": 1458, [2021-10-21T02:47:44.651Z] "selinux-enabled": true, [2021-10-21T02:47:44.651Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-21T02:47:44.651Z] } [Pipeline] sh [2021-10-21T02:47:45.021Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-21T02:47:45.380Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T02:48:03.822Z] provisioning config files... [2021-10-21T02:48:03.907Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config624366181722044780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:48:04.318Z] ---> docker-login.sh [2021-10-21T02:48:04.318Z] nexus3.edgexfoundry.org:10001 [2021-10-21T02:48:06.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:48:06.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:48:06.607Z] Configure a credential helper to remove this warning. See [2021-10-21T02:48:06.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:48:06.607Z] [2021-10-21T02:48:06.607Z] Login Succeeded [2021-10-21T02:48:06.607Z] nexus3.edgexfoundry.org:10002 [2021-10-21T02:48:06.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:48:07.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:48:07.172Z] Configure a credential helper to remove this warning. See [2021-10-21T02:48:07.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:48:07.172Z] [2021-10-21T02:48:07.172Z] Login Succeeded [2021-10-21T02:48:07.172Z] nexus3.edgexfoundry.org:10003 [2021-10-21T02:48:07.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:48:07.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:48:07.739Z] Configure a credential helper to remove this warning. See [2021-10-21T02:48:07.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:48:07.739Z] [2021-10-21T02:48:07.739Z] Login Succeeded [2021-10-21T02:48:07.739Z] nexus3.edgexfoundry.org:10004 [2021-10-21T02:48:08.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:48:08.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:48:08.304Z] Configure a credential helper to remove this warning. See [2021-10-21T02:48:08.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:48:08.304Z] [2021-10-21T02:48:08.304Z] Login Succeeded [2021-10-21T02:48:08.304Z] docker.io [2021-10-21T02:48:08.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T02:48:09.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T02:48:09.198Z] Configure a credential helper to remove this warning. See [2021-10-21T02:48:09.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T02:48:09.198Z] [2021-10-21T02:48:09.198Z] Login Succeeded [2021-10-21T02:48:09.198Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T02:48:09.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T02:48:09.737Z] ========================================================= [2021-10-21T02:48:09.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-21T02:48:09.737Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:48:10.138Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-21T02:48:10.766Z] Sending build context to Docker daemon 2.707MB [2021-10-21T02:48:10.766Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-21T02:48:10.766Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-21T02:48:10.766Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-21T02:48:10.766Z] 552d1f2373af: Pulling fs layer [2021-10-21T02:48:10.766Z] ea3f2d53f512: Pulling fs layer [2021-10-21T02:48:10.766Z] 9e70ebbbe112: Pulling fs layer [2021-10-21T02:48:10.766Z] 7a9cfe048b4a: Pulling fs layer [2021-10-21T02:48:10.766Z] 72dc09318566: Pulling fs layer [2021-10-21T02:48:10.766Z] f4f7b4309257: Pulling fs layer [2021-10-21T02:48:10.766Z] 0ac9a79272e3: Pulling fs layer [2021-10-21T02:48:10.766Z] b78e95d17946: Pulling fs layer [2021-10-21T02:48:10.766Z] 7a9cfe048b4a: Waiting [2021-10-21T02:48:10.766Z] 72dc09318566: Waiting [2021-10-21T02:48:10.766Z] f4f7b4309257: Waiting [2021-10-21T02:48:10.766Z] 0ac9a79272e3: Waiting [2021-10-21T02:48:10.766Z] 9e70ebbbe112: Download complete [2021-10-21T02:48:11.063Z] ea3f2d53f512: Verifying Checksum [2021-10-21T02:48:11.063Z] ea3f2d53f512: Download complete [2021-10-21T02:48:11.063Z] 72dc09318566: Verifying Checksum [2021-10-21T02:48:11.063Z] 72dc09318566: Download complete [2021-10-21T02:48:11.063Z] f4f7b4309257: Verifying Checksum [2021-10-21T02:48:11.063Z] f4f7b4309257: Download complete [2021-10-21T02:48:11.063Z] 0ac9a79272e3: Verifying Checksum [2021-10-21T02:48:11.063Z] 0ac9a79272e3: Download complete [2021-10-21T02:48:11.063Z] 552d1f2373af: Download complete [2021-10-21T02:48:11.681Z] 552d1f2373af: Pull complete [2021-10-21T02:48:12.300Z] ea3f2d53f512: Pull complete [2021-10-21T02:48:12.915Z] 9e70ebbbe112: Pull complete [2021-10-21T02:48:13.195Z] b78e95d17946: Verifying Checksum [2021-10-21T02:48:13.195Z] b78e95d17946: Download complete [2021-10-21T02:48:13.479Z] 7a9cfe048b4a: Verifying Checksum [2021-10-21T02:48:13.479Z] 7a9cfe048b4a: Download complete [2021-10-21T02:48:23.712Z] 7a9cfe048b4a: Pull complete [2021-10-21T02:48:23.988Z] 72dc09318566: Pull complete [2021-10-21T02:48:24.594Z] f4f7b4309257: Pull complete [2021-10-21T02:48:25.198Z] 0ac9a79272e3: Pull complete [2021-10-21T02:48:31.978Z] b78e95d17946: Pull complete [2021-10-21T02:48:31.978Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-21T02:48:31.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-21T02:48:31.978Z] ---> 8b459fc5aaf0 [2021-10-21T02:48:31.978Z] Step 3/10 : ARG MAKE=make build [2021-10-21T02:48:37.431Z] ---> Running in d02cd11a6cba [2021-10-21T02:48:37.431Z] Removing intermediate container d02cd11a6cba [2021-10-21T02:48:37.431Z] ---> 4321eddfa10b [2021-10-21T02:48:37.431Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-21T02:48:37.431Z] ---> Running in 42da09fdb727 [2021-10-21T02:48:38.035Z] Removing intermediate container 42da09fdb727 [2021-10-21T02:48:38.035Z] ---> 4286da3bc749 [2021-10-21T02:48:38.035Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-21T02:48:38.035Z] ---> Running in d16e36606fc9 [2021-10-21T02:48:38.645Z] Removing intermediate container d16e36606fc9 [2021-10-21T02:48:38.645Z] ---> 5c3f86c9cfb7 [2021-10-21T02:48:38.645Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-21T02:48:38.645Z] ---> Running in e7918f1db7fb [2021-10-21T02:48:41.302Z] Removing intermediate container e7918f1db7fb [2021-10-21T02:48:41.302Z] ---> f376b2d31e4f [2021-10-21T02:48:41.302Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-21T02:48:41.583Z] ---> Running in 2fc66554e6ab [2021-10-21T02:48:43.050Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T02:48:44.190Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T02:48:44.810Z] OK: 219 MiB in 52 packages [2021-10-21T02:48:45.815Z] Removing intermediate container 2fc66554e6ab [2021-10-21T02:48:45.815Z] ---> 7d5970b419d1 [2021-10-21T02:48:45.815Z] Step 8/10 : COPY . . [2021-10-21T02:48:47.280Z] ---> 4679d460875c [2021-10-21T02:48:47.281Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-21T02:48:47.281Z] ---> Running in b20c6ab02559 [2021-10-21T02:50:09.193Z] Removing intermediate container b20c6ab02559 [2021-10-21T02:50:09.193Z] ---> e44d112eef91 [2021-10-21T02:50:09.193Z] Step 10/10 : RUN ${MAKE} [2021-10-21T02:50:09.193Z] ---> Running in fc7ca753e593 [2021-10-21T02:50:09.193Z] noop [2021-10-21T02:50:09.193Z] Removing intermediate container fc7ca753e593 [2021-10-21T02:50:09.193Z] ---> ca89260f7336 [2021-10-21T02:50:09.193Z] Successfully built ca89260f7336 [2021-10-21T02:50:09.193Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:50:09.543Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T02:50:09.543Z] . [Pipeline] withDockerContainer [2021-10-21T02:50:09.810Z] prd-ubuntu18.04-docker-arm64-4c-16g-821 does not seem to be running inside a container [2021-10-21T02:50:09.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-21T02:50:11.406Z] $ docker top af1b707698f5b2e65e04a973957e34bf40097ab61545432594c62945e0550b3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T02:50:12.361Z] + go version [2021-10-21T02:50:12.361Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-21T02:50:12.392Z] $ docker stop --time=1 af1b707698f5b2e65e04a973957e34bf40097ab61545432594c62945e0550b3f [2021-10-21T02:50:14.192Z] $ docker rm -f af1b707698f5b2e65e04a973957e34bf40097ab61545432594c62945e0550b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:50:15.009Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T02:50:15.009Z] . [Pipeline] withDockerContainer [2021-10-21T02:50:15.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-821 does not seem to be running inside a container [2021-10-21T02:50:15.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-21T02:50:17.106Z] $ docker top f0bcf71aac46dc3db3a71ce5aa292d31bced13b33a68b54361b7f6d95ae50506 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-21T02:50:18.119Z] + make test [2021-10-21T02:50:18.119Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-21T02:50:45.025Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-21T02:51:41.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-21T02:51:41.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-21T02:51:41.764Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-21T02:51:50.128Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] [2021-10-21T02:51:50.128Z] internal/application/command_test.go:71:3: cannot use promoted field BaseWithTotalCountResponse.BaseResponse in struct literal of type responses.MultiDevicesResponse [2021-10-21T02:51:50.128Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2021-10-21T02:51:50.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-21T02:51:50.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.241s coverage: 28.1% of statements [2021-10-21T02:51:50.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.246s coverage: 78.9% of statements [2021-10-21T02:51:50.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 9.0% of statements [2021-10-21T02:51:50.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-21T02:51:50.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-21T02:51:50.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-21T02:51:55.618Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.291s coverage: 28.7% of statements [2021-10-21T02:51:55.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-21T02:51:56.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements [2021-10-21T02:51:56.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-21T02:51:56.267Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-21T02:51:56.267Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.366s coverage: 57.8% of statements [2021-10-21T02:51:58.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.051s coverage: 88.8% of statements [2021-10-21T02:51:58.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-21T02:51:59.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 4.9% of statements [2021-10-21T02:51:59.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-21T02:51:59.268Z] FAIL [2021-10-21T02:51:59.870Z] make: *** [Makefile:35: test] Error 2 [Pipeline] } [2021-10-21T02:51:59.899Z] $ docker stop --time=1 f0bcf71aac46dc3db3a71ce5aa292d31bced13b33a68b54361b7f6d95ae50506 [2021-10-21T02:52:01.961Z] $ docker rm -f f0bcf71aac46dc3db3a71ce5aa292d31bced13b33a68b54361b7f6d95ae50506 [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 [2021-10-21T02:52:03.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T02:52:03.194Z] [2021-10-21T02:52:03.194Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:52:03.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T02:52:03.916Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-21T02:52:03.916Z] 448f6bf000e3: Pulling fs layer [2021-10-21T02:52:03.916Z] f757da607395: Pulling fs layer [2021-10-21T02:52:03.916Z] 05883995daec: Pulling fs layer [2021-10-21T02:52:03.916Z] 8603b9c90790: Pulling fs layer [2021-10-21T02:52:03.916Z] 1560dd03e051: Pulling fs layer [2021-10-21T02:52:03.916Z] 27f5ce0e4adf: Pulling fs layer [2021-10-21T02:52:03.916Z] c2d8d7efcc4b: Pulling fs layer [2021-10-21T02:52:03.916Z] 1560dd03e051: Waiting [2021-10-21T02:52:03.916Z] 27f5ce0e4adf: Waiting [2021-10-21T02:52:03.916Z] c2d8d7efcc4b: Waiting [2021-10-21T02:52:03.916Z] 8603b9c90790: Waiting [2021-10-21T02:52:04.218Z] f757da607395: Verifying Checksum [2021-10-21T02:52:04.218Z] f757da607395: Download complete [2021-10-21T02:52:04.218Z] 8603b9c90790: Verifying Checksum [2021-10-21T02:52:04.218Z] 8603b9c90790: Download complete [2021-10-21T02:52:04.513Z] 1560dd03e051: Verifying Checksum [2021-10-21T02:52:04.513Z] 1560dd03e051: Download complete [2021-10-21T02:52:04.513Z] 05883995daec: Verifying Checksum [2021-10-21T02:52:04.513Z] 05883995daec: Download complete [2021-10-21T02:52:04.513Z] 27f5ce0e4adf: Verifying Checksum [2021-10-21T02:52:04.513Z] 27f5ce0e4adf: Download complete [2021-10-21T02:52:05.144Z] 448f6bf000e3: Verifying Checksum [2021-10-21T02:52:05.144Z] 448f6bf000e3: Download complete [2021-10-21T02:52:07.845Z] c2d8d7efcc4b: Verifying Checksum [2021-10-21T02:52:07.845Z] c2d8d7efcc4b: Download complete [2021-10-21T02:52:09.296Z] 448f6bf000e3: Pull complete [2021-10-21T02:52:09.902Z] f757da607395: Pull complete [2021-10-21T02:52:11.352Z] 05883995daec: Pull complete [2021-10-21T02:52:11.630Z] 8603b9c90790: Pull complete [2021-10-21T02:52:12.624Z] 1560dd03e051: Pull complete [2021-10-21T02:52:12.902Z] 27f5ce0e4adf: Pull complete [2021-10-21T02:52:28.052Z] c2d8d7efcc4b: Pull complete [2021-10-21T02:52:28.052Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-21T02:52:28.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T02:52:28.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-21T02:52:28.290Z] prd-ubuntu18.04-docker-arm64-4c-16g-821 does not seem to be running inside a container [2021-10-21T02:52:28.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-21T02:52:32.661Z] $ docker top 8187f5e6c9692049e84325cb7891cc957a77a025296395f63c696f3d6710b57f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:33.641Z] ---> job-cost.sh [2021-10-21T02:52:33.641Z] lf-activate-venv: SKIPPING [2021-10-21T02:52:33.641Z] INFO: No Stack... [2021-10-21T02:52:34.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-21T02:52:34.535Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T02:52:35.218Z] + cut -d, -f6 [2021-10-21T02:52:35.218Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-10-21T02:52:35.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [2021-10-21T02:52:35.293Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] did not exist. Created. [2021-10-21T02:52:35.293Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T02:52:35.983Z] /w/workspace/device-sdk-go/2@tmp/durable-12d11c2c/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-12d11c2c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-21T02:52:36.676Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-21T02:52:36.705Z] Warning: overwriting stash ‘stack-cost’ [2021-10-21T02:52:37.279Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T02:52:37.285Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1039-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T02:52:37.301Z] $ docker stop --time=1 8187f5e6c9692049e84325cb7891cc957a77a025296395f63c696f3d6710b57f [2021-10-21T02:52:38.941Z] $ docker rm -f 8187f5e6c9692049e84325cb7891cc957a77a025296395f63c696f3d6710b57f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T02:52:39.369Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-21T02:52:40.671Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1039/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:40.973Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:41.537Z] ---> package-listing.sh [2021-10-21T02:52:41.537Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-21T02:52:41.537Z] ++ facter osfamily [2021-10-21T02:52:41.804Z] + OS_FAMILY=redhat [2021-10-21T02:52:41.804Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1039 [2021-10-21T02:52:41.804Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-21T02:52:41.804Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-21T02:52:41.804Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-21T02:52:41.804Z] + PACKAGES=/tmp/packages_start.txt [2021-10-21T02:52:41.804Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1039 ']' [2021-10-21T02:52:41.804Z] + PACKAGES=/tmp/packages_end.txt [2021-10-21T02:52:41.804Z] + case "${OS_FAMILY}" in [2021-10-21T02:52:41.804Z] + rpm -qa [2021-10-21T02:52:41.804Z] + sort [2021-10-21T02:52:42.385Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-21T02:52:42.385Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-21T02:52:42.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-21T02:52:42.385Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1039 ']' [2021-10-21T02:52:42.385Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1039/archives/ [2021-10-21T02:52:42.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1039/archives/ [Pipeline] echo [2021-10-21T02:52:42.398Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1039/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-21T02:52:42.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:52:43.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:52:43.274Z] [2021-10-21T02:52:43.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T02:52:43.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:52:43.583Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T02:52:43.583Z] b4d181a07f80: Pulling fs layer [2021-10-21T02:52:43.583Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T02:52:43.583Z] ed53099fbce6: Pulling fs layer [2021-10-21T02:52:43.583Z] dc539afda2c1: Pulling fs layer [2021-10-21T02:52:43.583Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T02:52:43.583Z] 9065ff56babe: Pulling fs layer [2021-10-21T02:52:43.583Z] d287ab97295c: Pulling fs layer [2021-10-21T02:52:43.583Z] 77bc0d833cb6: Waiting [2021-10-21T02:52:43.583Z] 9065ff56babe: Waiting [2021-10-21T02:52:43.583Z] d287ab97295c: Waiting [2021-10-21T02:52:43.583Z] dc539afda2c1: Waiting [2021-10-21T02:52:43.583Z] a1111a8f2ec3: Download complete [2021-10-21T02:52:43.583Z] dc539afda2c1: Verifying Checksum [2021-10-21T02:52:43.583Z] dc539afda2c1: Download complete [2021-10-21T02:52:43.583Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T02:52:43.583Z] 77bc0d833cb6: Download complete [2021-10-21T02:52:43.583Z] 9065ff56babe: Verifying Checksum [2021-10-21T02:52:43.583Z] 9065ff56babe: Download complete [2021-10-21T02:52:43.583Z] ed53099fbce6: Verifying Checksum [2021-10-21T02:52:43.583Z] ed53099fbce6: Download complete [2021-10-21T02:52:43.851Z] b4d181a07f80: Verifying Checksum [2021-10-21T02:52:43.851Z] b4d181a07f80: Download complete [2021-10-21T02:52:44.436Z] d287ab97295c: Verifying Checksum [2021-10-21T02:52:44.436Z] d287ab97295c: Download complete [2021-10-21T02:52:45.410Z] b4d181a07f80: Pull complete [2021-10-21T02:52:45.410Z] a1111a8f2ec3: Pull complete [2021-10-21T02:52:45.985Z] ed53099fbce6: Pull complete [2021-10-21T02:52:46.246Z] dc539afda2c1: Pull complete [2021-10-21T02:52:46.514Z] 77bc0d833cb6: Pull complete [2021-10-21T02:52:46.514Z] 9065ff56babe: Pull complete [2021-10-21T02:52:51.842Z] d287ab97295c: Pull complete [2021-10-21T02:52:51.842Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T02:52:51.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T02:52:51.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T02:52:51.911Z] prd-centos7-docker-4c-2g-817 does not seem to be running inside a container [2021-10-21T02:52:51.945Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1039/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-1039 -v /w/workspace/gexfoundry_device-sdk-go_PR-1039:/w/workspace/gexfoundry_device-sdk-go_PR-1039:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1039@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 [2021-10-21T02:52:54.151Z] $ docker top f15a22830ae3dbfa146c305659bf137975f699887814342b3d4a6b2ec4bd7cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T02:52:54.511Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-21T02:52:54.812Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-21T02:52:55.104Z] + ls /var/log/sa-host [2021-10-21T02:52:55.104Z] + sadf -c /var/log/sa-host/sa21 [2021-10-21T02:52:55.104Z] file_magic: OK [2021-10-21T02:52:55.104Z] HZ: Using current value: 100 [2021-10-21T02:52:55.104Z] file_header: OK [2021-10-21T02:52:55.104Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-21T02:52:55.104Z] Statistics: [2021-10-21T02:52:55.104Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T02:52:55.104Z] File successfully converted to sysstat format version 12.0.3 [2021-10-21T02:52:55.104Z] + sadf -c /var/log/sa-host/sa30 [2021-10-21T02:52:55.104Z] file_magic: OK [2021-10-21T02:52:55.104Z] HZ: Using current value: 100 [2021-10-21T02:52:55.104Z] file_header: OK [2021-10-21T02:52:55.104Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-21T02:52:55.104Z] Statistics: [2021-10-21T02:52:55.104Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T02:52:55.104Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T02:52:55.504Z] provisioning config files... [2021-10-21T02:52:55.515Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1039@tmp/config4815688610768522231tmp [Pipeline] { [Pipeline] echo [2021-10-21T02:52:55.536Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:55.839Z] ---> create-netrc.sh [Pipeline] } [2021-10-21T02:52:55.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:56.218Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-21T02:52:56.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:56.529Z] ---> sudo-logs.sh [2021-10-21T02:52:56.529Z] Archiving 'sudo' log.. [2021-10-21T02:52:56.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-817.novalocal: Name or service not known [2021-10-21T02:52:56.529Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-817.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-21T02:52:56.571Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:56.867Z] ---> job-cost.sh [2021-10-21T02:52:56.867Z] lf-activate-venv: SKIPPING [2021-10-21T02:52:56.867Z] DEBUG: total: 0.10999999940395355 [2021-10-21T02:52:56.867Z] INFO: Retrieving Stack Cost... [2021-10-21T02:52:57.439Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T02:52:58.016Z] INFO: Archiving Costs [Pipeline] echo [2021-10-21T02:52:58.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T02:52:58.325Z] ---> logs-deploy.sh [2021-10-21T02:52:58.325Z] lf-activate-venv: SKIPPING [2021-10-21T02:52:58.326Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1039/2 [2021-10-21T02:52:58.326Z] INFO: archiving workspace using pattern(s): [2021-10-21T02:52:59.274Z] Archives upload complete. [2021-10-21T02:52:59.274Z] INFO: archiving logs to Nexus