Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c02be292122d13d9a203aa1f23c4b78b0968bab2 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-ssh2957527531809113477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh2413017359194113330.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 f1d79d91c36788821211008368c3015072ca53ca 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4050921769139912292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh5237579859355706818.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2170476015923845045.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-517 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh9156511552457835148.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" > git rev-list --no-walk 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T00:13:53.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T00:13:53.676Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T00:13:53.694Z] ========================================================= [2021-10-12T00:13:53.694Z] EdgeX Global Pipelines Version Info [2021-10-12T00:13:53.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:13:54.870Z] ------------------- [2021-10-12T00:13:54.870Z] stable info: [2021-10-12T00:13:54.870Z] ------------------- [2021-10-12T00:13:54.870Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T00:13:54.870Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T00:13:54.870Z] Message: update stable to v1.0.209 [2021-10-12T00:13:55.455Z] ------------------- [2021-10-12T00:13:55.455Z] experimental info: [2021-10-12T00:13:55.455Z] ------------------- [2021-10-12T00:13:55.455Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T00:13:55.455Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T00:13:55.455Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T00:13:55.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-12T00:13:55.549Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-12T00:13:55.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T00:13:55.569Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T00:13:55.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T00:13:55.590Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T00:13:55.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T00:13:55.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-12T00:13:55.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T00:13:55.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T00:13:55.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T00:13:55.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-12T00:13:55.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T00:13:55.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T00:13:55.681Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T00:13:55.691Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:13:55.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:13:55.714Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:13:55.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T00:13:55.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T00:13:55.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-12T00:13:55.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-12T00:13:55.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T00:13:55.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T00:13:55.790Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-12T00:13:55.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T00:13:55.813Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-12T00:13:55.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-12T00:13:55.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-12T00:13:55.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] echo [2021-10-12T00:13:55.855Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c02be29 [Pipeline] echo [2021-10-12T00:13:55.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:13:55.908Z] provisioning config files... [2021-10-12T00:13:55.923Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2517446453633638745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:13:56.239Z] ---> docker-login.sh [2021-10-12T00:13:56.239Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:13:56.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:13:56.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:13:56.504Z] Configure a credential helper to remove this warning. See [2021-10-12T00:13:56.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:13:56.504Z] [2021-10-12T00:13:56.504Z] Login Succeeded [2021-10-12T00:13:56.504Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:13:56.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:13:56.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:13:56.504Z] Configure a credential helper to remove this warning. See [2021-10-12T00:13:56.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:13:56.504Z] [2021-10-12T00:13:56.504Z] Login Succeeded [2021-10-12T00:13:56.504Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:13:56.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:13:56.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:13:56.504Z] Configure a credential helper to remove this warning. See [2021-10-12T00:13:56.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:13:56.504Z] [2021-10-12T00:13:56.504Z] Login Succeeded [2021-10-12T00:13:56.504Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:13:56.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:13:56.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:13:56.765Z] Configure a credential helper to remove this warning. See [2021-10-12T00:13:56.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:13:56.765Z] [2021-10-12T00:13:56.765Z] Login Succeeded [2021-10-12T00:13:56.765Z] docker.io [2021-10-12T00:13:56.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:13:57.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:13:57.339Z] Configure a credential helper to remove this warning. See [2021-10-12T00:13:57.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:13:57.339Z] [2021-10-12T00:13:57.339Z] Login Succeeded [2021-10-12T00:13:57.339Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:13:57.348Z] 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-12T00:13:57.771Z] + git log --format=format:%s -1 c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] echo [2021-10-12T00:13:57.804Z] GIT_COMMIT: c02be292122d13d9a203aa1f23c4b78b0968bab2, Commit Message: fix: Stop AutoEvents if the Device is locked (#1027) [Pipeline] echo [2021-10-12T00:13:57.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:13:58.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:13:58.236Z] [2021-10-12T00:13:58.236Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:13:58.559Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:13:58.560Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T00:13:58.560Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T00:13:58.560Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T00:13:58.560Z] 4c7163046ea9: Pulling fs layer [2021-10-12T00:13:58.560Z] 0c2d73faf560: Pulling fs layer [2021-10-12T00:13:58.560Z] 0c2d73faf560: Waiting [2021-10-12T00:13:58.560Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T00:13:58.560Z] 3e5f54012d9b: Download complete [2021-10-12T00:13:58.560Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T00:13:58.560Z] a0d0a0d46f8b: Download complete [2021-10-12T00:13:58.560Z] 0c2d73faf560: Verifying Checksum [2021-10-12T00:13:58.560Z] 0c2d73faf560: Download complete [2021-10-12T00:13:58.560Z] 4c7163046ea9: Verifying Checksum [2021-10-12T00:13:58.560Z] 4c7163046ea9: Download complete [2021-10-12T00:13:58.834Z] a0d0a0d46f8b: Pull complete [2021-10-12T00:13:58.834Z] 3e5f54012d9b: Pull complete [2021-10-12T00:13:59.099Z] 4c7163046ea9: Pull complete [2021-10-12T00:13:59.363Z] 0c2d73faf560: Pull complete [2021-10-12T00:13:59.363Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T00:13:59.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:13:59.363Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T00:13:59.434Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:13:59.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T00:14:00.020Z] $ docker top e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T00:14:00.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:14:00.109Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:14:00.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:14:00.213Z] $ docker exec e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent [2021-10-12T00:14:00.318Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJeOaGO/agent.14 [2021-10-12T00:14:00.318Z] SSH_AGENT_PID=20 [2021-10-12T00:14:00.325Z] Running ssh-add (command line suppressed) [2021-10-12T00:14:00.414Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6430663827872167086.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6430663827872167086.key) [2021-10-12T00:14:00.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:14:00.724Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T00:14:00.740Z] $ docker exec --env ******** --env ******** e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent -k [2021-10-12T00:14:00.830Z] unset SSH_AUTH_SOCK; [2021-10-12T00:14:00.830Z] unset SSH_AGENT_PID; [2021-10-12T00:14:00.830Z] echo Agent pid 20 killed; [2021-10-12T00:14:00.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T00:14:00.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:14:00.860Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:14:00.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:14:00.971Z] $ docker exec e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent [2021-10-12T00:14:01.064Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAGdbLP/agent.54 [2021-10-12T00:14:01.064Z] SSH_AGENT_PID=61 [2021-10-12T00:14:01.069Z] Running ssh-add (command line suppressed) [2021-10-12T00:14:01.164Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7086371346091462124.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7086371346091462124.key) [2021-10-12T00:14:01.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:14:01.470Z] + git semver init [2021-10-12T00:14:01.470Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T00:14:01.470Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-12T00:14:01.470Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:14:01.470Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T00:14:01.470Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T00:14:01.470Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T00:14:01.470Z] # $SEMVER_BRANCH = main [2021-10-12T00:14:01.470Z] # $SEMVER_TEMP = /tmp/semver-668323247 [2021-10-12T00:14:01.470Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-12T00:14:02.857Z] # '/tmp/semver-668323247' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-12T00:14:02.857Z] # -> Force: false [2021-10-12T00:14:02.858Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-12T00:14:02.871Z] $ docker exec --env ******** --env ******** e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent -k [2021-10-12T00:14:02.959Z] unset SSH_AUTH_SOCK; [2021-10-12T00:14:02.959Z] unset SSH_AGENT_PID; [2021-10-12T00:14:02.959Z] echo Agent pid 61 killed; [2021-10-12T00:14:02.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T00:14:03.293Z] + git semver [Pipeline] } [2021-10-12T00:14:03.310Z] $ docker stop --time=1 e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 [2021-10-12T00:14:04.521Z] $ docker rm -f e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:14:04.874Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T00:14:05.126Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T00:14:05.130Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.17 [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-12T00:14:20.320Z] Still waiting to schedule task [2021-10-12T00:14:20.320Z] ‘prd-centos7-blackbox-4c-2g-223’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-12T00:14:20.320Z] ‘prd-centos7-docker-4c-2g-477’ is offline [2021-10-12T00:14:20.320Z] ‘prd-centos7-docker-4c-2g-509’ is offline [2021-10-12T00:14:20.321Z] ‘prd-centos7-docker-4c-2g-514’ is offline [2021-10-12T00:14:20.321Z] ‘prd-centos7-docker-4c-2g-519’ is offline [2021-10-12T00:14:20.321Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-12T00:14:20.322Z] Still waiting to schedule task [2021-10-12T00:14:20.322Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ is offline [2021-10-12T00:14:49.823Z] Running on prd-centos7-docker-4c-2g-520 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-12T00:14:49.837Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2021-10-12T00:14:49.924Z] Selected Git installation does not exist. Using Default [2021-10-12T00:14:49.924Z] The recommended git tool is: NONE [2021-10-12T00:14:51.844Z] using credential edgex-jenkins-ssh [2021-10-12T00:14:51.855Z] Cloning the remote Git repository [2021-10-12T00:14:51.715Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:14:51.779Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2021-10-12T00:14:51.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:14:51.811Z] > git --version # timeout=10 [2021-10-12T00:14:51.821Z] > git --version # 'git version 2.24.4' [2021-10-12T00:14:51.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:14:51.845Z] [INFO] Currently running in a labeled security context [2021-10-12T00:14:51.845Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T00:14:51.845Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/16@tmp/jenkins-gitclient-ssh4433101073814568355.key [2021-10-12T00:14:51.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:14:52.962Z] Avoid second fetch [2021-10-12T00:14:52.962Z] Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) [2021-10-12T00:14:52.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:14:52.786Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:14:52.807Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:14:52.812Z] > git checkout -f c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 [2021-10-12T00:14:56.564Z] Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:14:56.882Z] provisioning config files... [2021-10-12T00:14:56.894Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config1310058262962416466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:14:57.290Z] ---> docker-login.sh [2021-10-12T00:14:57.290Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:14:57.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:57.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:57.290Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:57.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:57.290Z] [2021-10-12T00:14:57.290Z] Login Succeeded [2021-10-12T00:14:57.290Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:14:57.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:57.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:57.554Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:57.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:57.554Z] [2021-10-12T00:14:57.554Z] Login Succeeded [2021-10-12T00:14:57.554Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:14:57.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:57.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:57.554Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:57.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:57.554Z] [2021-10-12T00:14:57.554Z] Login Succeeded [2021-10-12T00:14:57.816Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:14:57.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:57.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:57.816Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:57.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:57.816Z] [2021-10-12T00:14:57.816Z] Login Succeeded [2021-10-12T00:14:57.816Z] docker.io [2021-10-12T00:14:57.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:58.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:58.392Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:58.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:58.392Z] [2021-10-12T00:14:58.392Z] Login Succeeded [2021-10-12T00:14:58.392Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:14:58.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T00:14:58.568Z] ========================================================= [2021-10-12T00:14:58.568Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T00:14:58.568Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:14:58.885Z] + 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-12T00:14:58.885Z] Sending build context to Docker daemon 2.668MB [2021-10-12T00:14:58.885Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:14:58.885Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T00:14:58.885Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T00:14:58.885Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T00:14:58.885Z] 57d31006c564: Pulling fs layer [2021-10-12T00:14:58.885Z] bd5ccded8296: Pulling fs layer [2021-10-12T00:14:58.885Z] 304dd3a0f381: Pulling fs layer [2021-10-12T00:14:58.885Z] d37cda54a23b: Pulling fs layer [2021-10-12T00:14:58.885Z] bae75c0f2455: Pulling fs layer [2021-10-12T00:14:58.885Z] 806579b3d29a: Pulling fs layer [2021-10-12T00:14:58.885Z] c77eb801bf70: Pulling fs layer [2021-10-12T00:14:58.885Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T00:14:58.885Z] 304dd3a0f381: Waiting [2021-10-12T00:14:58.885Z] d37cda54a23b: Waiting [2021-10-12T00:14:58.885Z] bae75c0f2455: Waiting [2021-10-12T00:14:58.885Z] 806579b3d29a: Waiting [2021-10-12T00:14:58.885Z] c77eb801bf70: Waiting [2021-10-12T00:14:58.885Z] 6d0567d44e1a: Waiting [2021-10-12T00:14:58.885Z] bd5ccded8296: Verifying Checksum [2021-10-12T00:14:58.885Z] bd5ccded8296: Download complete [2021-10-12T00:14:58.885Z] 57d31006c564: Verifying Checksum [2021-10-12T00:14:58.885Z] 57d31006c564: Download complete [2021-10-12T00:14:59.158Z] d37cda54a23b: Verifying Checksum [2021-10-12T00:14:59.158Z] d37cda54a23b: Download complete [2021-10-12T00:14:59.158Z] bae75c0f2455: Verifying Checksum [2021-10-12T00:14:59.158Z] bae75c0f2455: Download complete [2021-10-12T00:14:59.158Z] 806579b3d29a: Verifying Checksum [2021-10-12T00:14:59.158Z] 806579b3d29a: Download complete [2021-10-12T00:14:59.158Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T00:14:59.158Z] 4e9f2cdf4387: Download complete [2021-10-12T00:14:59.158Z] c77eb801bf70: Verifying Checksum [2021-10-12T00:14:59.158Z] c77eb801bf70: Download complete [2021-10-12T00:14:59.438Z] 4e9f2cdf4387: Pull complete [2021-10-12T00:14:59.707Z] 304dd3a0f381: Verifying Checksum [2021-10-12T00:14:59.707Z] 304dd3a0f381: Download complete [2021-10-12T00:14:59.707Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T00:14:59.707Z] 6d0567d44e1a: Download complete [2021-10-12T00:14:59.970Z] 57d31006c564: Pull complete [2021-10-12T00:15:00.232Z] bd5ccded8296: Pull complete [2021-10-12T00:15:04.489Z] 304dd3a0f381: Pull complete [2021-10-12T00:15:04.489Z] d37cda54a23b: Pull complete [2021-10-12T00:15:04.489Z] bae75c0f2455: Pull complete [2021-10-12T00:15:04.489Z] 806579b3d29a: Pull complete [2021-10-12T00:15:04.489Z] c77eb801bf70: Pull complete [2021-10-12T00:15:07.074Z] 6d0567d44e1a: Pull complete [2021-10-12T00:15:07.074Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T00:15:07.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T00:15:07.074Z] ---> e839a31ac9d1 [2021-10-12T00:15:07.074Z] Step 3/10 : ARG MAKE=make build [2021-10-12T00:15:09.005Z] ---> Running in 6fce5cb5a506 [2021-10-12T00:15:09.005Z] Removing intermediate container 6fce5cb5a506 [2021-10-12T00:15:09.005Z] ---> 45d1efc38410 [2021-10-12T00:15:09.005Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T00:15:09.005Z] ---> Running in 4ed25079a203 [2021-10-12T00:15:09.270Z] Removing intermediate container 4ed25079a203 [2021-10-12T00:15:09.270Z] ---> c41250f04407 [2021-10-12T00:15:09.270Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:15:09.270Z] ---> Running in 7b6578bb827e [2021-10-12T00:15:09.270Z] Removing intermediate container 7b6578bb827e [2021-10-12T00:15:09.270Z] ---> 8f8c69b60c82 [2021-10-12T00:15:09.270Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:15:09.270Z] ---> Running in b369ec4ff61d [2021-10-12T00:15:09.847Z] Removing intermediate container b369ec4ff61d [2021-10-12T00:15:09.847Z] ---> ce9e805ea5f5 [2021-10-12T00:15:09.847Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:15:09.847Z] ---> Running in ede8445ae220 [2021-10-12T00:15:10.109Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:15:11.066Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:15:11.327Z] OK: 219 MiB in 52 packages [2021-10-12T00:15:11.590Z] Removing intermediate container ede8445ae220 [2021-10-12T00:15:11.590Z] ---> e1fae7c7301b [2021-10-12T00:15:11.590Z] Step 8/10 : COPY . . [2021-10-12T00:15:12.165Z] ---> 2169dd22dd18 [2021-10-12T00:15:12.165Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:15:12.165Z] ---> Running in 07aaef48f2b4 [2021-10-12T00:15:44.328Z] Removing intermediate container 07aaef48f2b4 [2021-10-12T00:15:44.328Z] ---> d6b8d307eb81 [2021-10-12T00:15:44.328Z] Step 10/10 : RUN ${MAKE} [2021-10-12T00:15:44.328Z] ---> Running in 15be11d91772 [2021-10-12T00:15:44.328Z] noop [2021-10-12T00:15:44.328Z] Removing intermediate container 15be11d91772 [2021-10-12T00:15:44.328Z] ---> 6bfe9915b6b6 [2021-10-12T00:15:44.328Z] Successfully built 6bfe9915b6b6 [2021-10-12T00:15:44.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:15:44.633Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T00:15:44.633Z] . [Pipeline] withDockerContainer [2021-10-12T00:15:44.705Z] prd-centos7-docker-4c-2g-520 does not seem to be running inside a container [2021-10-12T00:15:44.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-x86_64 cat [2021-10-12T00:15:45.085Z] $ docker top ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:15:45.439Z] + go version [2021-10-12T00:15:45.439Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T00:15:45.451Z] $ docker stop --time=1 ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 [2021-10-12T00:15:46.633Z] $ docker rm -f ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:15:47.173Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T00:15:47.173Z] . [Pipeline] withDockerContainer [2021-10-12T00:15:47.237Z] prd-centos7-docker-4c-2g-520 does not seem to be running inside a container [2021-10-12T00:15:47.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-x86_64 cat [2021-10-12T00:15:47.611Z] $ docker top 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T00:15:47.970Z] + make test [2021-10-12T00:15:47.970Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T00:15:53.295Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T00:16:15.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T00:16:15.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T00:16:15.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T00:16:17.963Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 23.5% of statements [2021-10-12T00:16:17.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T00:16:17.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements [2021-10-12T00:16:18.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2021-10-12T00:16:18.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2021-10-12T00:16:18.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T00:16:18.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T00:16:18.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T00:16:19.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-10-12T00:16:19.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T00:16:20.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-10-12T00:16:20.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T00:16:20.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T00:16:20.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.8% of statements [2021-10-12T00:16:21.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.850s coverage: 89.0% of statements [2021-10-12T00:16:21.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T00:16:21.588Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.9% of statements [2021-10-12T00:16:21.588Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T00:16:21.588Z] GO111MODULE=on go vet ./... [2021-10-12T00:16:39.839Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T00:16:39.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T00:16:39.839Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T00:16:39.851Z] $ docker stop --time=1 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df [2021-10-12T00:16:41.368Z] $ docker rm -f 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:16:41.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T00:16:41.995Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-12T00:16:43.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T00:16:43.527Z] + ls -al . [2021-10-12T00:16:43.527Z] total 264 [2021-10-12T00:16:43.527Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 12 00:16 . [2021-10-12T00:16:43.527Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 00:14 .. [2021-10-12T00:16:43.527Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 00:14 bin [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 12 00:14 CHANGELOG.md [2021-10-12T00:16:43.527Z] -rw-r--r--. 1 jenkins jenkins 126432 Oct 12 00:16 coverage.out [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 00:14 .dockerignore [2021-10-12T00:16:43.527Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 12 00:14 example [2021-10-12T00:16:43.527Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 12 00:14 .git [2021-10-12T00:16:43.527Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 12 00:14 .github [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 12 00:14 .gitignore [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 12 00:14 go.mod [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 12 00:14 go.sum [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 00:14 GOVERNANCE.md [2021-10-12T00:16:43.527Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 12 00:14 internal [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 12 00:14 Jenkinsfile [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 00:14 LICENSE [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 12 00:14 Makefile [2021-10-12T00:16:43.527Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 12 00:14 openapi [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 12 00:14 OWNERS.md [2021-10-12T00:16:43.527Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 00:14 pkg [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 12 00:14 README.md [2021-10-12T00:16:43.527Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 00:14 snap [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 12 00:14 VERSION [2021-10-12T00:16:43.527Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 00:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:16:43.824Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 --label arch=amd64 --label version=2.0.1-dev.17 . [2021-10-12T00:16:43.824Z] Sending build context to Docker daemon 2.795MB [2021-10-12T00:16:43.824Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:16:43.824Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T00:16:43.824Z] ---> 6bfe9915b6b6 [2021-10-12T00:16:43.824Z] Step 3/24 : ARG MAKE=make build [2021-10-12T00:16:43.824Z] ---> Running in 43cfa4ecdc38 [2021-10-12T00:16:44.084Z] Removing intermediate container 43cfa4ecdc38 [2021-10-12T00:16:44.084Z] ---> 28b04c996c47 [2021-10-12T00:16:44.084Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T00:16:44.084Z] ---> Running in 26adadb7764d [2021-10-12T00:16:44.084Z] Removing intermediate container 26adadb7764d [2021-10-12T00:16:44.084Z] ---> af8e4770b2c3 [2021-10-12T00:16:44.084Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:16:44.084Z] ---> Running in 9322161a301d [2021-10-12T00:16:44.084Z] Removing intermediate container 9322161a301d [2021-10-12T00:16:44.084Z] ---> ab410e1c76a0 [2021-10-12T00:16:44.084Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:16:44.084Z] ---> Running in fbfc8878482c [2021-10-12T00:16:44.657Z] Removing intermediate container fbfc8878482c [2021-10-12T00:16:44.657Z] ---> 3ccd07e12491 [2021-10-12T00:16:44.657Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:16:44.657Z] ---> Running in abadc6e44d33 [2021-10-12T00:16:44.920Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:16:45.859Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:16:46.119Z] OK: 219 MiB in 52 packages [2021-10-12T00:16:46.381Z] Removing intermediate container abadc6e44d33 [2021-10-12T00:16:46.381Z] ---> d3b066645e2a [2021-10-12T00:16:46.381Z] Step 8/24 : COPY . . [2021-10-12T00:16:46.645Z] ---> 24fef2f98077 [2021-10-12T00:16:46.645Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:16:46.645Z] ---> Running in db7d16729360 [2021-10-12T00:16:47.215Z] Removing intermediate container db7d16729360 [2021-10-12T00:16:47.215Z] ---> 010a550cb1ad [2021-10-12T00:16:47.215Z] Step 10/24 : RUN ${MAKE} [2021-10-12T00:16:47.215Z] ---> Running in d3dd30cd8da8 [2021-10-12T00:16:47.485Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-12T00:16:59.805Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T00:16:59.805Z] Removing intermediate container d3dd30cd8da8 [2021-10-12T00:16:59.805Z] ---> 620f8a87df31 [2021-10-12T00:16:59.805Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T00:16:59.805Z] 3.14: Pulling from library/alpine [2021-10-12T00:16:59.805Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T00:16:59.805Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T00:16:59.805Z] a0d0a0d46f8b: Download complete [2021-10-12T00:17:00.065Z] a0d0a0d46f8b: Pull complete [2021-10-12T00:17:00.065Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T00:17:00.065Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T00:17:00.065Z] ---> 14119a10abf4 [2021-10-12T00:17:00.066Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:17:00.066Z] ---> Running in ce81b1dd6ed2 [2021-10-12T00:17:00.066Z] Removing intermediate container ce81b1dd6ed2 [2021-10-12T00:17:00.066Z] ---> 6c8a826c1e9c [2021-10-12T00:17:00.066Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:17:00.328Z] ---> Running in ff3d051eb9cf [2021-10-12T00:17:00.591Z] Removing intermediate container ff3d051eb9cf [2021-10-12T00:17:00.591Z] ---> 74b20d185f98 [2021-10-12T00:17:00.591Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T00:17:00.591Z] ---> Running in ed5eb25c3250 [2021-10-12T00:17:00.853Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:17:01.794Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:17:02.055Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T00:17:02.316Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T00:17:02.316Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T00:17:02.316Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-12T00:17:02.577Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T00:17:02.577Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T00:17:02.577Z] OK: 8 MiB in 19 packages [2021-10-12T00:17:02.837Z] Removing intermediate container ed5eb25c3250 [2021-10-12T00:17:02.837Z] ---> a16099fd19fe [2021-10-12T00:17:02.837Z] Step 15/24 : WORKDIR / [2021-10-12T00:17:02.837Z] ---> Running in 9ffaab36c260 [2021-10-12T00:17:03.096Z] Removing intermediate container 9ffaab36c260 [2021-10-12T00:17:03.096Z] ---> 74873c9aa77e [2021-10-12T00:17:03.096Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T00:17:03.096Z] ---> e7f1ae3f3aa5 [2021-10-12T00:17:03.096Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T00:17:03.669Z] ---> c21252015e59 [2021-10-12T00:17:03.669Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T00:17:03.669Z] ---> daca4cc6f27a [2021-10-12T00:17:03.669Z] Step 19/24 : EXPOSE 59999 [2021-10-12T00:17:03.669Z] ---> Running in c8eb4fcfb361 [2021-10-12T00:17:03.669Z] Removing intermediate container c8eb4fcfb361 [2021-10-12T00:17:03.669Z] ---> 761d8b13a6a0 [2021-10-12T00:17:03.669Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T00:17:03.669Z] ---> Running in 3be7be9e15c6 [2021-10-12T00:17:03.930Z] Removing intermediate container 3be7be9e15c6 [2021-10-12T00:17:03.930Z] ---> 1f3dff773154 [2021-10-12T00:17:03.930Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T00:17:03.930Z] ---> Running in 44de716d826e [2021-10-12T00:17:03.930Z] Removing intermediate container 44de716d826e [2021-10-12T00:17:03.930Z] ---> d207da130c4f [2021-10-12T00:17:03.930Z] Step 22/24 : LABEL arch=amd64 [2021-10-12T00:17:03.930Z] ---> Running in 5b1e58894cdd [2021-10-12T00:17:03.930Z] Removing intermediate container 5b1e58894cdd [2021-10-12T00:17:03.930Z] ---> 19f792fd8b7b [2021-10-12T00:17:03.930Z] Step 23/24 : LABEL git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 [2021-10-12T00:17:04.189Z] ---> Running in cf8c6c162744 [2021-10-12T00:17:04.189Z] Removing intermediate container cf8c6c162744 [2021-10-12T00:17:04.189Z] ---> ced1a595cbc1 [2021-10-12T00:17:04.189Z] Step 24/24 : LABEL version=2.0.1-dev.17 [2021-10-12T00:17:04.189Z] ---> Running in 52da9014b184 [2021-10-12T00:17:04.189Z] Removing intermediate container 52da9014b184 [2021-10-12T00:17:04.189Z] ---> 4c2e1c8fab89 [2021-10-12T00:17:04.189Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T00:17:04.189Z] Successfully built 4c2e1c8fab89 [2021-10-12T00:17:04.189Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:17:04.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:17:04.745Z] [2021-10-12T00:17:04.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:17:05.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:17:05.053Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T00:17:05.053Z] b4d181a07f80: Pulling fs layer [2021-10-12T00:17:05.053Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T00:17:05.053Z] ed53099fbce6: Pulling fs layer [2021-10-12T00:17:05.053Z] dc539afda2c1: Pulling fs layer [2021-10-12T00:17:05.053Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T00:17:05.053Z] 9065ff56babe: Pulling fs layer [2021-10-12T00:17:05.053Z] d287ab97295c: Pulling fs layer [2021-10-12T00:17:05.053Z] 77bc0d833cb6: Waiting [2021-10-12T00:17:05.053Z] 9065ff56babe: Waiting [2021-10-12T00:17:05.053Z] d287ab97295c: Waiting [2021-10-12T00:17:05.053Z] dc539afda2c1: Waiting [2021-10-12T00:17:05.053Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T00:17:05.053Z] a1111a8f2ec3: Download complete [2021-10-12T00:17:05.053Z] dc539afda2c1: Verifying Checksum [2021-10-12T00:17:05.053Z] dc539afda2c1: Download complete [2021-10-12T00:17:05.053Z] ed53099fbce6: Verifying Checksum [2021-10-12T00:17:05.053Z] ed53099fbce6: Download complete [2021-10-12T00:17:05.318Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T00:17:05.318Z] 77bc0d833cb6: Download complete [2021-10-12T00:17:05.318Z] 9065ff56babe: Verifying Checksum [2021-10-12T00:17:05.318Z] 9065ff56babe: Download complete [2021-10-12T00:17:05.318Z] b4d181a07f80: Verifying Checksum [2021-10-12T00:17:05.318Z] b4d181a07f80: Download complete [2021-10-12T00:17:05.896Z] d287ab97295c: Verifying Checksum [2021-10-12T00:17:05.896Z] d287ab97295c: Download complete [2021-10-12T00:17:06.868Z] b4d181a07f80: Pull complete [2021-10-12T00:17:06.868Z] a1111a8f2ec3: Pull complete [2021-10-12T00:17:07.440Z] ed53099fbce6: Pull complete [2021-10-12T00:17:07.440Z] dc539afda2c1: Pull complete [2021-10-12T00:17:07.701Z] 77bc0d833cb6: Pull complete [2021-10-12T00:17:07.701Z] 9065ff56babe: Pull complete [2021-10-12T00:17:13.041Z] d287ab97295c: Pull complete [2021-10-12T00:17:13.041Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T00:17:13.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:17:13.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T00:17:13.112Z] prd-centos7-docker-4c-2g-520 does not seem to be running inside a container [2021-10-12T00:17:13.147Z] $ 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/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T00:17:15.550Z] $ docker top 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:17:15.943Z] ---> job-cost.sh [2021-10-12T00:17:15.943Z] lf-activate-venv: SKIPPING [2021-10-12T00:17:15.943Z] INFO: No Stack... [2021-10-12T00:17:16.202Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T00:17:16.461Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T00:17:16.749Z] + cat /w/workspace/device-sdk-go/16/archives/cost.csv [2021-10-12T00:17:16.749Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T00:17:16.778Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [2021-10-12T00:17:16.785Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] did not exist. Created. [2021-10-12T00:17:16.785Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T00:17:17.091Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T00:17:17.128Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T00:17:17.136Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T00:17:17.157Z] $ docker stop --time=1 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 [2021-10-12T00:17:18.309Z] $ docker rm -f 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T00:18:07.392Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-522 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-12T00:18:07.408Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2021-10-12T00:18:07.938Z] Selected Git installation does not exist. Using Default [2021-10-12T00:18:07.938Z] The recommended git tool is: NONE [2021-10-12T00:18:14.569Z] using credential edgex-jenkins-ssh [2021-10-12T00:18:14.588Z] Cloning the remote Git repository [2021-10-12T00:18:14.650Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:14.786Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2021-10-12T00:18:14.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:14.885Z] > git --version # timeout=10 [2021-10-12T00:18:14.911Z] > git --version # 'git version 2.17.1' [2021-10-12T00:18:14.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:15.008Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:17.071Z] Avoid second fetch [2021-10-12T00:18:17.073Z] Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) [2021-10-12T00:18:17.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:18:17.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:17.102Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:18:17.120Z] > git checkout -f c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 [2021-10-12T00:18:21.859Z] Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:18:22.182Z] provisioning config files... [2021-10-12T00:18:22.216Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config7318871388679032627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:18:22.819Z] ---> docker-login.sh [2021-10-12T00:18:22.819Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:18:24.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:25.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:25.451Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:25.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:25.451Z] [2021-10-12T00:18:25.451Z] Login Succeeded [2021-10-12T00:18:25.451Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:18:26.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:26.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:26.085Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:26.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:26.085Z] [2021-10-12T00:18:26.085Z] Login Succeeded [2021-10-12T00:18:26.085Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:18:26.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:26.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:26.698Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:26.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:26.698Z] [2021-10-12T00:18:26.698Z] Login Succeeded [2021-10-12T00:18:26.698Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:18:27.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:27.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:27.324Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:27.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:27.324Z] [2021-10-12T00:18:27.324Z] Login Succeeded [2021-10-12T00:18:27.324Z] docker.io [2021-10-12T00:18:27.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:28.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:28.219Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:28.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:28.219Z] [2021-10-12T00:18:28.219Z] Login Succeeded [2021-10-12T00:18:28.219Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:18:28.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T00:18:28.821Z] ========================================================= [2021-10-12T00:18:28.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T00:18:28.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:18:29.212Z] + 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-12T00:18:29.846Z] Sending build context to Docker daemon 2.667MB [2021-10-12T00:18:29.846Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:18:29.846Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T00:18:30.141Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T00:18:30.141Z] bbf911997326: Pulling fs layer [2021-10-12T00:18:30.141Z] 58ec367f63d7: Pulling fs layer [2021-10-12T00:18:30.141Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T00:18:30.141Z] fc5181fea5dc: Pulling fs layer [2021-10-12T00:18:30.141Z] 9c418107303f: Pulling fs layer [2021-10-12T00:18:30.141Z] 284eca6f2348: Pulling fs layer [2021-10-12T00:18:30.141Z] 842844d905b1: Pulling fs layer [2021-10-12T00:18:30.141Z] 901a3a57568e: Pulling fs layer [2021-10-12T00:18:30.141Z] 284eca6f2348: Waiting [2021-10-12T00:18:30.141Z] 842844d905b1: Waiting [2021-10-12T00:18:30.141Z] 901a3a57568e: Waiting [2021-10-12T00:18:30.141Z] fc5181fea5dc: Waiting [2021-10-12T00:18:30.141Z] 9c418107303f: Waiting [2021-10-12T00:18:30.141Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-12T00:18:30.141Z] 1b4a6ffa7d45: Download complete [2021-10-12T00:18:30.141Z] 58ec367f63d7: Download complete [2021-10-12T00:18:30.141Z] 9c418107303f: Verifying Checksum [2021-10-12T00:18:30.141Z] 9c418107303f: Download complete [2021-10-12T00:18:30.141Z] 284eca6f2348: Verifying Checksum [2021-10-12T00:18:30.141Z] 284eca6f2348: Download complete [2021-10-12T00:18:30.141Z] bbf911997326: Verifying Checksum [2021-10-12T00:18:30.141Z] bbf911997326: Download complete [2021-10-12T00:18:30.141Z] 842844d905b1: Verifying Checksum [2021-10-12T00:18:30.141Z] 842844d905b1: Download complete [2021-10-12T00:18:31.156Z] bbf911997326: Pull complete [2021-10-12T00:18:31.779Z] 58ec367f63d7: Pull complete [2021-10-12T00:18:32.405Z] 1b4a6ffa7d45: Pull complete [2021-10-12T00:18:32.688Z] 901a3a57568e: Verifying Checksum [2021-10-12T00:18:32.688Z] 901a3a57568e: Download complete [2021-10-12T00:18:32.971Z] fc5181fea5dc: Verifying Checksum [2021-10-12T00:18:32.971Z] fc5181fea5dc: Download complete [2021-10-12T00:18:43.206Z] fc5181fea5dc: Pull complete [2021-10-12T00:18:43.487Z] 9c418107303f: Pull complete [2021-10-12T00:18:44.100Z] 284eca6f2348: Pull complete [2021-10-12T00:18:44.386Z] 842844d905b1: Pull complete [2021-10-12T00:18:51.183Z] 901a3a57568e: Pull complete [2021-10-12T00:18:51.183Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T00:18:51.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T00:18:51.183Z] ---> 72ade6ffb461 [2021-10-12T00:18:51.183Z] Step 3/10 : ARG MAKE=make build [2021-10-12T00:18:56.655Z] ---> Running in 54b16b384d7d [2021-10-12T00:18:56.934Z] Removing intermediate container 54b16b384d7d [2021-10-12T00:18:56.934Z] ---> 825e7ac6c16a [2021-10-12T00:18:56.934Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T00:18:57.215Z] ---> Running in 77dd73cc0534 [2021-10-12T00:18:57.829Z] Removing intermediate container 77dd73cc0534 [2021-10-12T00:18:57.829Z] ---> 45fe9b50ffb9 [2021-10-12T00:18:57.829Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:18:58.114Z] ---> Running in b3f914d3c79b [2021-10-12T00:18:58.754Z] Removing intermediate container b3f914d3c79b [2021-10-12T00:18:58.754Z] ---> 2f94cd9f468f [2021-10-12T00:18:58.754Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:18:58.754Z] ---> Running in 9f950e5403e7 [2021-10-12T00:19:02.214Z] Removing intermediate container 9f950e5403e7 [2021-10-12T00:19:02.214Z] ---> 2663793bcae8 [2021-10-12T00:19:02.214Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:19:02.214Z] ---> Running in 28b972814c8a [2021-10-12T00:19:03.241Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:19:04.259Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:19:05.259Z] OK: 218 MiB in 52 packages [2021-10-12T00:19:06.719Z] Removing intermediate container 28b972814c8a [2021-10-12T00:19:06.719Z] ---> 00e35155154b [2021-10-12T00:19:06.719Z] Step 8/10 : COPY . . [2021-10-12T00:19:07.728Z] ---> b19e976cb28b [2021-10-12T00:19:07.728Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:19:08.009Z] ---> Running in d09ab62e083d [2021-10-12T00:20:30.148Z] Removing intermediate container d09ab62e083d [2021-10-12T00:20:30.148Z] ---> 191d020e7533 [2021-10-12T00:20:30.148Z] Step 10/10 : RUN ${MAKE} [2021-10-12T00:20:30.430Z] ---> Running in eaa451c0376f [2021-10-12T00:20:31.432Z] noop [2021-10-12T00:20:32.893Z] Removing intermediate container eaa451c0376f [2021-10-12T00:20:32.893Z] ---> b65a1b67d0c3 [2021-10-12T00:20:32.893Z] Successfully built b65a1b67d0c3 [2021-10-12T00:20:32.893Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:20:33.274Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T00:20:33.274Z] . [Pipeline] withDockerContainer [2021-10-12T00:20:33.608Z] prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container [2021-10-12T00:20:33.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-arm64 cat [2021-10-12T00:20:35.509Z] $ docker top f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:20:36.587Z] + go version [2021-10-12T00:20:36.587Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T00:20:36.609Z] $ docker stop --time=1 f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 [2021-10-12T00:20:38.921Z] $ docker rm -f f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:20:39.670Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T00:20:39.670Z] . [Pipeline] withDockerContainer [2021-10-12T00:20:39.960Z] prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container [2021-10-12T00:20:40.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 ******** ci-base-image-arm64 cat [2021-10-12T00:20:41.768Z] $ docker top f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T00:20:42.811Z] + make test [2021-10-12T00:20:42.811Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T00:21:09.745Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T00:22:18.166Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T00:22:18.166Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T00:22:18.166Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T00:22:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.371s coverage: 23.5% of statements [2021-10-12T00:22:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T00:22:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 28.1% of statements [2021-10-12T00:22:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.227s coverage: 78.9% of statements [2021-10-12T00:22:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.299s coverage: 9.0% of statements [2021-10-12T00:22:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T00:22:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T00:22:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T00:22:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.319s coverage: 28.7% of statements [2021-10-12T00:22:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T00:22:30.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 83.3% of statements [2021-10-12T00:22:30.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T00:22:30.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T00:22:30.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.429s coverage: 57.8% of statements [2021-10-12T00:22:35.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.089s coverage: 89.0% of statements [2021-10-12T00:22:35.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T00:22:35.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 4.9% of statements [2021-10-12T00:22:35.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T00:22:35.941Z] GO111MODULE=on go vet ./... [2021-10-12T00:23:44.136Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T00:23:44.136Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T00:23:44.136Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T00:23:44.153Z] $ docker stop --time=1 f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 [2021-10-12T00:23:46.496Z] $ docker rm -f f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:23:47.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T00:23:47.769Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T00:23:48.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T00:23:48.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T00:23:49.374Z] + ls -al . [2021-10-12T00:23:49.374Z] total 300 [2021-10-12T00:23:49.374Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 00:23 . [2021-10-12T00:23:49.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 .. [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 00:18 .dockerignore [2021-10-12T00:23:49.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 00:18 .git [2021-10-12T00:23:49.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 .github [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 00:18 .gitignore [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 12 00:18 CHANGELOG.md [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 00:18 GOVERNANCE.md [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 00:18 Jenkinsfile [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 00:18 LICENSE [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 12 00:18 Makefile [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 00:18 OWNERS.md [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 12 00:18 README.md [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 00:14 VERSION [2021-10-12T00:23:49.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:18 bin [2021-10-12T00:23:49.374Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 12 00:22 coverage.out [2021-10-12T00:23:49.374Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 example [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 12 00:18 go.mod [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 12 00:18 go.sum [2021-10-12T00:23:49.374Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 00:18 internal [2021-10-12T00:23:49.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 openapi [2021-10-12T00:23:49.374Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 pkg [2021-10-12T00:23:49.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 snap [2021-10-12T00:23:49.374Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 00:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:23:49.752Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 --label arch=arm64 --label version=2.0.1-dev.17 . [2021-10-12T00:23:50.392Z] Sending build context to Docker daemon 2.794MB [2021-10-12T00:23:50.392Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:23:50.392Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T00:23:50.392Z] ---> b65a1b67d0c3 [2021-10-12T00:23:50.392Z] Step 3/24 : ARG MAKE=make build [2021-10-12T00:23:50.702Z] ---> Running in c85b08d606ad [2021-10-12T00:23:51.027Z] Removing intermediate container c85b08d606ad [2021-10-12T00:23:51.027Z] ---> aa427e1c080d [2021-10-12T00:23:51.027Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T00:23:51.309Z] ---> Running in b8dcc9ccc309 [2021-10-12T00:23:51.917Z] Removing intermediate container b8dcc9ccc309 [2021-10-12T00:23:51.917Z] ---> aa56f027edb2 [2021-10-12T00:23:51.917Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:23:51.917Z] ---> Running in 4331b4d06dac [2021-10-12T00:23:52.529Z] Removing intermediate container 4331b4d06dac [2021-10-12T00:23:52.529Z] ---> 54d94f9e2dc3 [2021-10-12T00:23:52.529Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:23:52.529Z] ---> Running in 07e509f81b68 [2021-10-12T00:23:55.176Z] Removing intermediate container 07e509f81b68 [2021-10-12T00:23:55.176Z] ---> 4a1bfaeed086 [2021-10-12T00:23:55.176Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:23:55.176Z] ---> Running in c4ed2bdecae4 [2021-10-12T00:23:56.162Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:23:57.151Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:23:58.163Z] OK: 218 MiB in 52 packages [2021-10-12T00:23:59.164Z] Removing intermediate container c4ed2bdecae4 [2021-10-12T00:23:59.164Z] ---> 5aa6b38161aa [2021-10-12T00:23:59.164Z] Step 8/24 : COPY . . [2021-10-12T00:24:00.632Z] ---> acbf8cef3844 [2021-10-12T00:24:00.632Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:24:00.632Z] ---> Running in 4f632e44a8c8 [2021-10-12T00:24:03.287Z] Removing intermediate container 4f632e44a8c8 [2021-10-12T00:24:03.287Z] ---> 77b39cd18324 [2021-10-12T00:24:03.287Z] Step 10/24 : RUN ${MAKE} [2021-10-12T00:24:03.287Z] ---> Running in 0a0722a15325 [2021-10-12T00:24:04.745Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-12T00:24:43.890Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T00:24:43.890Z] Removing intermediate container 0a0722a15325 [2021-10-12T00:24:43.890Z] ---> 451dbd6abe09 [2021-10-12T00:24:43.890Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T00:24:43.890Z] 3.14: Pulling from library/alpine [2021-10-12T00:24:43.890Z] 552d1f2373af: Pulling fs layer [2021-10-12T00:24:43.890Z] 552d1f2373af: Verifying Checksum [2021-10-12T00:24:43.890Z] 552d1f2373af: Download complete [2021-10-12T00:24:43.890Z] 552d1f2373af: Pull complete [2021-10-12T00:24:43.890Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T00:24:43.890Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T00:24:43.890Z] ---> bb3de5531c18 [2021-10-12T00:24:43.890Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:24:44.172Z] ---> Running in f7a9950e334a [2021-10-12T00:24:44.786Z] Removing intermediate container f7a9950e334a [2021-10-12T00:24:44.786Z] ---> dde9b81df33d [2021-10-12T00:24:44.786Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:24:44.786Z] ---> Running in 1d70839b4561 [2021-10-12T00:24:47.446Z] Removing intermediate container 1d70839b4561 [2021-10-12T00:24:47.446Z] ---> 66ee07cdd8af [2021-10-12T00:24:47.446Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T00:24:47.446Z] ---> Running in 337182d88df2 [2021-10-12T00:24:48.446Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:24:49.906Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:24:50.511Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T00:24:50.511Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T00:24:50.789Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T00:24:50.789Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-12T00:24:50.789Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T00:24:51.067Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T00:24:51.067Z] OK: 8 MiB in 19 packages [2021-10-12T00:24:52.524Z] Removing intermediate container 337182d88df2 [2021-10-12T00:24:52.525Z] ---> c28cb96fc853 [2021-10-12T00:24:52.525Z] Step 15/24 : WORKDIR / [2021-10-12T00:24:52.525Z] ---> Running in 0efc47322f18 [2021-10-12T00:24:53.135Z] Removing intermediate container 0efc47322f18 [2021-10-12T00:24:53.135Z] ---> cb42b8ac5dd5 [2021-10-12T00:24:53.135Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T00:24:54.132Z] ---> ecd354033d46 [2021-10-12T00:24:54.132Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T00:24:55.595Z] ---> 4ff14a24fca8 [2021-10-12T00:24:55.595Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T00:24:56.218Z] ---> 266f3efdce97 [2021-10-12T00:24:56.219Z] Step 19/24 : EXPOSE 59999 [2021-10-12T00:24:56.219Z] ---> Running in 55e65f6bafa3 [2021-10-12T00:24:56.838Z] Removing intermediate container 55e65f6bafa3 [2021-10-12T00:24:56.838Z] ---> ea1576ca0b33 [2021-10-12T00:24:56.838Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T00:24:57.119Z] ---> Running in 25a81b9c85b1 [2021-10-12T00:24:57.399Z] Removing intermediate container 25a81b9c85b1 [2021-10-12T00:24:57.399Z] ---> c002dad7490b [2021-10-12T00:24:57.399Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T00:24:57.678Z] ---> Running in f13fa751bd47 [2021-10-12T00:24:58.288Z] Removing intermediate container f13fa751bd47 [2021-10-12T00:24:58.288Z] ---> 959220dc1f4f [2021-10-12T00:24:58.288Z] Step 22/24 : LABEL arch=arm64 [2021-10-12T00:24:58.288Z] ---> Running in 842adefa4f54 [2021-10-12T00:24:58.897Z] Removing intermediate container 842adefa4f54 [2021-10-12T00:24:58.897Z] ---> 792963e766a0 [2021-10-12T00:24:58.897Z] Step 23/24 : LABEL git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 [2021-10-12T00:24:58.897Z] ---> Running in 039f8d3d0f87 [2021-10-12T00:24:59.506Z] Removing intermediate container 039f8d3d0f87 [2021-10-12T00:24:59.506Z] ---> 173562d8c135 [2021-10-12T00:24:59.506Z] Step 24/24 : LABEL version=2.0.1-dev.17 [2021-10-12T00:24:59.506Z] ---> Running in cd2581402a52 [2021-10-12T00:25:00.109Z] Removing intermediate container cd2581402a52 [2021-10-12T00:25:00.109Z] ---> a3440e111b81 [2021-10-12T00:25:00.109Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T00:25:00.109Z] Successfully built a3440e111b81 [2021-10-12T00:25:00.109Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:25:00.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:01.224Z] [2021-10-12T00:25:01.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:25:01.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:01.878Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T00:25:01.878Z] 448f6bf000e3: Pulling fs layer [2021-10-12T00:25:01.878Z] f757da607395: Pulling fs layer [2021-10-12T00:25:01.878Z] 05883995daec: Pulling fs layer [2021-10-12T00:25:01.879Z] 8603b9c90790: Pulling fs layer [2021-10-12T00:25:01.879Z] 1560dd03e051: Pulling fs layer [2021-10-12T00:25:01.879Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T00:25:01.879Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T00:25:01.879Z] 1560dd03e051: Waiting [2021-10-12T00:25:01.879Z] 27f5ce0e4adf: Waiting [2021-10-12T00:25:01.879Z] c2d8d7efcc4b: Waiting [2021-10-12T00:25:01.879Z] 8603b9c90790: Waiting [2021-10-12T00:25:02.160Z] f757da607395: Verifying Checksum [2021-10-12T00:25:02.160Z] f757da607395: Download complete [2021-10-12T00:25:02.160Z] 8603b9c90790: Download complete [2021-10-12T00:25:02.442Z] 05883995daec: Verifying Checksum [2021-10-12T00:25:02.442Z] 05883995daec: Download complete [2021-10-12T00:25:02.442Z] 27f5ce0e4adf: Download complete [2021-10-12T00:25:02.442Z] 1560dd03e051: Verifying Checksum [2021-10-12T00:25:02.442Z] 1560dd03e051: Download complete [2021-10-12T00:25:03.057Z] 448f6bf000e3: Verifying Checksum [2021-10-12T00:25:03.057Z] 448f6bf000e3: Download complete [2021-10-12T00:25:05.719Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T00:25:05.719Z] c2d8d7efcc4b: Download complete [2021-10-12T00:25:06.713Z] 448f6bf000e3: Pull complete [2021-10-12T00:25:07.716Z] f757da607395: Pull complete [2021-10-12T00:25:09.171Z] 05883995daec: Pull complete [2021-10-12T00:25:09.450Z] 8603b9c90790: Pull complete [2021-10-12T00:25:10.444Z] 1560dd03e051: Pull complete [2021-10-12T00:25:10.723Z] 27f5ce0e4adf: Pull complete [2021-10-12T00:25:25.900Z] c2d8d7efcc4b: Pull complete [2021-10-12T00:25:25.900Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T00:25:25.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:25.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T00:25:26.158Z] prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container [2021-10-12T00:25:26.255Z] $ 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/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-12T00:25:31.011Z] $ docker top 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:25:32.088Z] ---> job-cost.sh [2021-10-12T00:25:32.088Z] lf-activate-venv: SKIPPING [2021-10-12T00:25:32.088Z] INFO: No Stack... [2021-10-12T00:26:04.555Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T00:26:04.555Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T00:26:05.239Z] + cut -d, -f6 [2021-10-12T00:26:05.239Z] + cat /w/workspace/device-sdk-go/16/archives/cost.csv [Pipeline] lock [2021-10-12T00:26:05.316Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [2021-10-12T00:26:05.321Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] did not exist. Created. [2021-10-12T00:26:05.321Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T00:26:06.012Z] /w/workspace/device-sdk-go/16@tmp/durable-b4cbd680/script.sh: 1: /w/workspace/device-sdk-go/16@tmp/durable-b4cbd680/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T00:26:06.695Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T00:26:06.724Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T00:26:06.792Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T00:26:06.797Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T00:26:06.802Z] $ docker stop --time=1 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 [2021-10-12T00:26:08.419Z] $ docker rm -f 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-12T00:26:09.073Z] provisioning config files... [2021-10-12T00:26:09.083Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config677575191959152201tmp [Pipeline] { [Pipeline] sh [2021-10-12T00:26:09.407Z] + set +x [2021-10-12T00:26:09.408Z] + curl -s https://codecov.io/bash [2021-10-12T00:26:09.408Z] + bash -s -- [2021-10-12T00:26:09.408Z] [2021-10-12T00:26:09.408Z] _____ _ [2021-10-12T00:26:09.408Z] / ____| | | [2021-10-12T00:26:09.408Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T00:26:09.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T00:26:09.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T00:26:09.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T00:26:09.408Z] Bash-1.0.6 [2021-10-12T00:26:09.408Z] [2021-10-12T00:26:09.408Z] [2021-10-12T00:26:09.408Z] ==> git version 2.24.4 found [2021-10-12T00:26:09.408Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-12T00:26:09.408Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T00:26:09.408Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T00:26:09.408Z] ==> Jenkins CI detected. [2021-10-12T00:26:09.408Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:26:09.408Z] project root: . [2021-10-12T00:26:09.408Z] --> token set from env [2021-10-12T00:26:09.408Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T00:26:09.670Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T00:26:09.670Z] ==> Python coveragepy not found [2021-10-12T00:26:09.670Z] ==> Searching for coverage reports in: [2021-10-12T00:26:09.670Z] + . [2021-10-12T00:26:09.670Z] -> Found 1 reports [2021-10-12T00:26:09.670Z] ==> Detecting git/mercurial file structure [2021-10-12T00:26:09.670Z] ==> Reading reports [2021-10-12T00:26:09.670Z] + ./coverage.out bytes=126432 [2021-10-12T00:26:09.670Z] ==> Appending adjustments [2021-10-12T00:26:09.670Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T00:26:09.932Z] + Found adjustments [2021-10-12T00:26:09.932Z] ==> Gzipping contents [2021-10-12T00:26:09.932Z] 16K /tmp/codecov.T4seWu.gz [2021-10-12T00:26:09.932Z] ==> Uploading reports [2021-10-12T00:26:09.932Z] url: https://codecov.io [2021-10-12T00:26:09.932Z] query: branch=main&commit=c02be292122d13d9a203aa1f23c4b78b0968bab2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T00:26:09.932Z] -> Pinging Codecov [2021-10-12T00:26:09.932Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=c02be292122d13d9a203aa1f23c4b78b0968bab2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T00:26:10.504Z] -> Uploading to [2021-10-12T00:26:10.504Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-12/7E55EF52A471D76F132DFD9A03CDDE97/c02be292122d13d9a203aa1f23c4b78b0968bab2/200be1bd-98a9-4a05-93ed-a95d8d2fc59d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T002610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3062a488cbca9bc00ea68dffbb4e65d20f2c4cd03942db11e1309e9f60c69862 [2021-10-12T00:26:10.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T00:26:10.504Z] Dload Upload Total Spent Left Speed [2021-10-12T00:26:10.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16086 0 0 100 16086 0 57037 --:--:-- --:--:-- --:--:-- 57042 [2021-10-12T00:26:10.765Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] } [2021-10-12T00:26:10.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-12T00:26:11.157Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-12T00:26:11.174Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:11.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T00:26:11.488Z] [2021-10-12T00:26:11.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:11.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T00:26:11.806Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-12T00:26:11.806Z] 188c0c94c7c5: Pulling fs layer [2021-10-12T00:26:11.806Z] 0ef7d3d256c8: Pulling fs layer [2021-10-12T00:26:11.806Z] de9db76c5a1d: Pulling fs layer [2021-10-12T00:26:11.806Z] 0eba1c9be4d2: Pulling fs layer [2021-10-12T00:26:11.806Z] 0d57e429df01: Pulling fs layer [2021-10-12T00:26:11.806Z] 4e4be7b47b0d: Pulling fs layer [2021-10-12T00:26:11.806Z] e1f770b5df2f: Pulling fs layer [2021-10-12T00:26:11.806Z] 85a0685a4137: Pulling fs layer [2021-10-12T00:26:11.806Z] 0eba1c9be4d2: Waiting [2021-10-12T00:26:11.806Z] 0d57e429df01: Waiting [2021-10-12T00:26:11.806Z] 4e4be7b47b0d: Waiting [2021-10-12T00:26:11.806Z] e1f770b5df2f: Waiting [2021-10-12T00:26:11.806Z] 85a0685a4137: Waiting [2021-10-12T00:26:11.806Z] de9db76c5a1d: Download complete [2021-10-12T00:26:11.806Z] 0ef7d3d256c8: Verifying Checksum [2021-10-12T00:26:11.806Z] 0ef7d3d256c8: Download complete [2021-10-12T00:26:11.806Z] 0d57e429df01: Verifying Checksum [2021-10-12T00:26:11.806Z] 0d57e429df01: Download complete [2021-10-12T00:26:11.806Z] 4e4be7b47b0d: Verifying Checksum [2021-10-12T00:26:11.806Z] 4e4be7b47b0d: Download complete [2021-10-12T00:26:11.806Z] 188c0c94c7c5: Verifying Checksum [2021-10-12T00:26:11.806Z] 188c0c94c7c5: Download complete [2021-10-12T00:26:12.068Z] e1f770b5df2f: Verifying Checksum [2021-10-12T00:26:12.068Z] e1f770b5df2f: Download complete [2021-10-12T00:26:12.330Z] 188c0c94c7c5: Pull complete [2021-10-12T00:26:12.330Z] 0ef7d3d256c8: Pull complete [2021-10-12T00:26:12.330Z] 0eba1c9be4d2: Verifying Checksum [2021-10-12T00:26:12.330Z] 0eba1c9be4d2: Download complete [2021-10-12T00:26:12.330Z] de9db76c5a1d: Pull complete [2021-10-12T00:26:12.911Z] 85a0685a4137: Verifying Checksum [2021-10-12T00:26:12.911Z] 85a0685a4137: Download complete [2021-10-12T00:26:16.256Z] 0eba1c9be4d2: Pull complete [2021-10-12T00:26:16.525Z] 0d57e429df01: Pull complete [2021-10-12T00:26:16.526Z] 4e4be7b47b0d: Pull complete [2021-10-12T00:26:16.788Z] e1f770b5df2f: Pull complete [2021-10-12T00:26:20.104Z] 85a0685a4137: Pull complete [2021-10-12T00:26:20.104Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-12T00:26:20.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T00:26:20.104Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-12T00:26:20.177Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:26:20.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-12T00:26:22.157Z] $ docker top 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-12T00:26:22.237Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-12T00:26:22.523Z] + set -o pipefail [2021-10-12T00:26:22.523Z] + snyk monitor '--org=edgex-jenkins' [2021-10-12T00:26:27.827Z] [2021-10-12T00:26:27.828Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-12T00:26:27.828Z] [2021-10-12T00:26:27.828Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/cd149ec8-949a-4141-8313-c59cd1466ccf [2021-10-12T00:26:27.828Z] [2021-10-12T00:26:27.828Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-12T00:26:27.828Z] [2021-10-12T00:26:27.828Z] [2021-10-12T00:26:27.828Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-12T00:26:27.828Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-12T00:26:27.838Z] $ docker stop --time=1 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a [2021-10-12T00:26:29.672Z] $ docker rm -f 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-10-12T00:26:30.278Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:26:30.306Z] provisioning config files... [2021-10-12T00:26:30.316Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1947947067183395222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:30.622Z] --> edgex-publish-swagger.sh [2021-10-12T00:26:30.622Z] === Publish openapi/v2 API === [2021-10-12T00:26:30.622Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-12T00:26:30.622Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-12T00:26:30.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T00:26:30.622Z] Dload Upload Total Spent Left Speed [2021-10-12T00:26:31.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 59397 --:--:-- --:--:-- --:--:-- 59451 [2021-10-12T00:26:31.567Z] [2021-10-12T00:26:31.567Z] [Pipeline] } [2021-10-12T00:26:31.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T00:26:32.012Z] + git log --format=format:%s -1 c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:32.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:26:32.312Z] . [Pipeline] withDockerContainer [2021-10-12T00:26:32.376Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:26:32.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T00:26:32.781Z] $ docker top ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T00:26:32.874Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:26:32.874Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:26:32.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:26:32.982Z] $ docker exec ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 ssh-agent [2021-10-12T00:26:33.086Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLLDgke/agent.14 [2021-10-12T00:26:33.086Z] SSH_AGENT_PID=21 [2021-10-12T00:26:33.089Z] Running ssh-add (command line suppressed) [2021-10-12T00:26:33.180Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3769270882412217253.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3769270882412217253.key) [2021-10-12T00:26:33.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:26:33.483Z] + git semver tag [2021-10-12T00:26:33.483Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T00:26:33.483Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-12T00:26:33.483Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:26:33.483Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T00:26:33.483Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T00:26:33.483Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T00:26:33.483Z] # $SEMVER_BRANCH = main [2021-10-12T00:26:33.483Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-12T00:26:33.483Z] # c02be292122d13d9a203aa1f23c4b78b0968bab2 HEAD [2021-10-12T00:26:33.483Z] # -> Force: false [2021-10-12T00:26:33.483Z] # 3c8ce51f4871431a74d4ae0d31a99f5e627a0b8e refs/tags/v2.0.1-dev.17 [Pipeline] } [2021-10-12T00:26:33.503Z] $ docker exec --env ******** --env ******** ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 ssh-agent -k [2021-10-12T00:26:33.598Z] unset SSH_AUTH_SOCK; [2021-10-12T00:26:33.598Z] unset SSH_AGENT_PID; [2021-10-12T00:26:33.598Z] echo Agent pid 21 killed; [2021-10-12T00:26:33.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T00:26:33.920Z] + git semver [Pipeline] } [2021-10-12T00:26:33.933Z] $ docker stop --time=1 ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 [2021-10-12T00:26:35.118Z] $ docker rm -f ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:35.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T00:26:35.517Z] [2021-10-12T00:26:35.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:35.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T00:26:35.830Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-12T00:26:35.830Z] ab5ef0e58194: Pulling fs layer [2021-10-12T00:26:35.830Z] 9712f1f96733: Pulling fs layer [2021-10-12T00:26:35.830Z] 63f879dbbcfc: Pulling fs layer [2021-10-12T00:26:35.830Z] 0d9ebad4ef96: Pulling fs layer [2021-10-12T00:26:35.830Z] e9a5061849ea: Pulling fs layer [2021-10-12T00:26:35.830Z] d747dcd14b5f: Pulling fs layer [2021-10-12T00:26:35.830Z] 2de7ff778b66: Pulling fs layer [2021-10-12T00:26:35.830Z] e9a5061849ea: Waiting [2021-10-12T00:26:35.830Z] d747dcd14b5f: Waiting [2021-10-12T00:26:35.830Z] 2de7ff778b66: Waiting [2021-10-12T00:26:35.830Z] 0d9ebad4ef96: Waiting [2021-10-12T00:26:35.830Z] 9712f1f96733: Verifying Checksum [2021-10-12T00:26:35.830Z] 9712f1f96733: Download complete [2021-10-12T00:26:36.107Z] 63f879dbbcfc: Verifying Checksum [2021-10-12T00:26:36.107Z] 63f879dbbcfc: Download complete [2021-10-12T00:26:36.376Z] e9a5061849ea: Verifying Checksum [2021-10-12T00:26:36.376Z] e9a5061849ea: Download complete [2021-10-12T00:26:36.376Z] ab5ef0e58194: Verifying Checksum [2021-10-12T00:26:36.376Z] ab5ef0e58194: Download complete [2021-10-12T00:26:36.376Z] d747dcd14b5f: Verifying Checksum [2021-10-12T00:26:36.376Z] d747dcd14b5f: Download complete [2021-10-12T00:26:36.637Z] 2de7ff778b66: Verifying Checksum [2021-10-12T00:26:36.637Z] 2de7ff778b66: Download complete [2021-10-12T00:26:36.637Z] 0d9ebad4ef96: Verifying Checksum [2021-10-12T00:26:36.637Z] 0d9ebad4ef96: Download complete [2021-10-12T00:26:39.200Z] ab5ef0e58194: Pull complete [2021-10-12T00:26:39.200Z] 9712f1f96733: Pull complete [2021-10-12T00:26:40.160Z] 63f879dbbcfc: Pull complete [2021-10-12T00:26:44.442Z] 0d9ebad4ef96: Pull complete [2021-10-12T00:26:44.704Z] e9a5061849ea: Pull complete [2021-10-12T00:26:44.704Z] d747dcd14b5f: Pull complete [2021-10-12T00:26:46.125Z] 2de7ff778b66: Pull complete [2021-10-12T00:26:46.125Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-12T00:26:46.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T00:26:46.125Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-12T00:26:46.193Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:26:46.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-12T00:26:49.055Z] $ docker top 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:26:49.131Z] provisioning config files... [2021-10-12T00:26:49.139Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1779939942832992724tmp [2021-10-12T00:26:49.151Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2610204984147949217tmp [2021-10-12T00:26:49.161Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3064973404870401688tmp [Pipeline] { [Pipeline] echo [2021-10-12T00:26:49.176Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:49.464Z] ---> sigul-configuration.sh [2021-10-12T00:26:49.464Z] gpg: directory `/root/.gnupg' created [2021-10-12T00:26:49.464Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-12T00:26:49.464Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-12T00:26:49.464Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-12T00:26:49.464Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-12T00:26:49.464Z] gpg: CAST5 encrypted data [2021-10-12T00:26:49.464Z] gpg: encrypted with 1 passphrase [2021-10-12T00:26:49.464Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-12T00:26:49.751Z] + mkdir /home/jenkins [2021-10-12T00:26:49.751Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-12T00:26:50.043Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-12T00:26:50.052Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:50.342Z] ---> sigul-install.sh [2021-10-12T00:26:50.342Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-12T00:26:50.643Z] + git tag --list [2021-10-12T00:26:50.643Z] 0.7.1 [2021-10-12T00:26:50.643Z] delhi-tag [2021-10-12T00:26:50.643Z] v1.0.0 [2021-10-12T00:26:50.643Z] v1.1.0 [2021-10-12T00:26:50.643Z] v1.1.1 [2021-10-12T00:26:50.643Z] v1.1.2 [2021-10-12T00:26:50.643Z] v1.2.0 [2021-10-12T00:26:50.643Z] v1.2.1 [2021-10-12T00:26:50.643Z] v1.2.2 [2021-10-12T00:26:50.643Z] v1.2.3 [2021-10-12T00:26:50.643Z] v1.3.0 [2021-10-12T00:26:50.643Z] v1.4.0 [2021-10-12T00:26:50.643Z] v2.0.0 [2021-10-12T00:26:50.643Z] v2.0.1-dev.1 [2021-10-12T00:26:50.643Z] v2.0.1-dev.10 [2021-10-12T00:26:50.643Z] v2.0.1-dev.11 [2021-10-12T00:26:50.643Z] v2.0.1-dev.12 [2021-10-12T00:26:50.643Z] v2.0.1-dev.13 [2021-10-12T00:26:50.643Z] v2.0.1-dev.14 [2021-10-12T00:26:50.643Z] v2.0.1-dev.15 [2021-10-12T00:26:50.643Z] v2.0.1-dev.16 [2021-10-12T00:26:50.643Z] v2.0.1-dev.17 [2021-10-12T00:26:50.643Z] v2.0.1-dev.2 [2021-10-12T00:26:50.643Z] v2.0.1-dev.3 [2021-10-12T00:26:50.643Z] v2.0.1-dev.4 [2021-10-12T00:26:50.643Z] v2.0.1-dev.5 [2021-10-12T00:26:50.643Z] v2.0.1-dev.6 [2021-10-12T00:26:50.643Z] v2.0.1-dev.7 [2021-10-12T00:26:50.643Z] v2.0.1-dev.8 [2021-10-12T00:26:50.643Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-12T00:26:50.962Z] + lftools sign git-tag v2.0.1-dev.17 [2021-10-12T00:26:51.534Z] Signing Git tag with Sigul... [2021-10-12T00:26:51.534Z] Signing v2.0.1-dev.17 [Pipeline] echo [2021-10-12T00:26:52.481Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:52.769Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-12T00:26:52.776Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-12T00:26:52.793Z] $ docker stop --time=1 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f [2021-10-12T00:26:53.978Z] $ docker rm -f 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:54.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:26:54.604Z] . [Pipeline] withDockerContainer [2021-10-12T00:26:54.667Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:26:54.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T00:26:55.066Z] $ docker top ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T00:26:55.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:26:55.148Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:26:55.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:26:55.257Z] $ docker exec ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 ssh-agent [2021-10-12T00:26:55.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbGOkGe/agent.14 [2021-10-12T00:26:55.358Z] SSH_AGENT_PID=21 [2021-10-12T00:26:55.364Z] Running ssh-add (command line suppressed) [2021-10-12T00:26:55.463Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2901703194390367962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2901703194390367962.key) [2021-10-12T00:26:55.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:26:55.768Z] + git semver bump pre [2021-10-12T00:26:55.768Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T00:26:55.768Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-12T00:26:55.768Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:26:55.768Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T00:26:55.768Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T00:26:55.768Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T00:26:55.768Z] # $SEMVER_BRANCH = main [2021-10-12T00:26:55.768Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-12T00:26:55.768Z] 2.0.1-dev.18 [Pipeline] } [2021-10-12T00:26:55.777Z] $ docker exec --env ******** --env ******** ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 ssh-agent -k [2021-10-12T00:26:55.869Z] unset SSH_AUTH_SOCK; [2021-10-12T00:26:55.869Z] unset SSH_AGENT_PID; [2021-10-12T00:26:55.869Z] echo Agent pid 21 killed; [2021-10-12T00:26:55.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T00:26:56.184Z] + git semver [Pipeline] } [2021-10-12T00:26:56.260Z] $ docker stop --time=1 ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 [2021-10-12T00:26:57.502Z] $ docker rm -f ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:58.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:26:58.038Z] . [Pipeline] withDockerContainer [2021-10-12T00:26:58.105Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:26:58.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T00:26:58.499Z] $ docker top 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T00:26:58.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:26:58.585Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:26:58.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:26:58.696Z] $ docker exec 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 ssh-agent [2021-10-12T00:26:58.793Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDnICBM/agent.14 [2021-10-12T00:26:58.793Z] SSH_AGENT_PID=21 [2021-10-12T00:26:58.798Z] Running ssh-add (command line suppressed) [2021-10-12T00:26:58.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6004832999539606309.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6004832999539606309.key) [2021-10-12T00:26:58.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:26:59.188Z] + git semver push [2021-10-12T00:26:59.188Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T00:26:59.188Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-12T00:26:59.188Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:26:59.188Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T00:26:59.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T00:26:59.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T00:26:59.188Z] # $SEMVER_BRANCH = main [2021-10-12T00:26:59.188Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-12T00:27:01.105Z] $ docker exec --env ******** --env ******** 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 ssh-agent -k [2021-10-12T00:27:01.198Z] unset SSH_AUTH_SOCK; [2021-10-12T00:27:01.198Z] unset SSH_AGENT_PID; [2021-10-12T00:27:01.198Z] echo Agent pid 21 killed; [2021-10-12T00:27:01.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T00:27:01.508Z] + git semver [Pipeline] } [2021-10-12T00:27:01.521Z] $ docker stop --time=1 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 [2021-10-12T00:27:02.729Z] $ docker rm -f 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-12T00:27:03.494Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:03.797Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:04.358Z] ---> package-listing.sh [2021-10-12T00:27:04.358Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T00:27:04.358Z] ++ facter osfamily [2021-10-12T00:27:04.621Z] + OS_FAMILY=redhat [2021-10-12T00:27:04.621Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-12T00:27:04.621Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T00:27:04.621Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T00:27:04.621Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T00:27:04.621Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T00:27:04.621Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-12T00:27:04.621Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T00:27:04.621Z] + case "${OS_FAMILY}" in [2021-10-12T00:27:04.621Z] + rpm -qa [2021-10-12T00:27:04.621Z] + sort [2021-10-12T00:27:05.193Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T00:27:05.193Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T00:27:05.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T00:27:05.193Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-12T00:27:05.193Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-12T00:27:05.193Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-10-12T00:27:05.205Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-12T00:27:05.491Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:27:06.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:27:06.048Z] [2021-10-12T00:27:06.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:27:06.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:27:06.348Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T00:27:06.348Z] b4d181a07f80: Pulling fs layer [2021-10-12T00:27:06.348Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T00:27:06.348Z] ed53099fbce6: Pulling fs layer [2021-10-12T00:27:06.348Z] dc539afda2c1: Pulling fs layer [2021-10-12T00:27:06.348Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T00:27:06.348Z] 9065ff56babe: Pulling fs layer [2021-10-12T00:27:06.348Z] d287ab97295c: Pulling fs layer [2021-10-12T00:27:06.348Z] dc539afda2c1: Waiting [2021-10-12T00:27:06.348Z] 77bc0d833cb6: Waiting [2021-10-12T00:27:06.348Z] 9065ff56babe: Waiting [2021-10-12T00:27:06.348Z] d287ab97295c: Waiting [2021-10-12T00:27:06.348Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T00:27:06.348Z] a1111a8f2ec3: Download complete [2021-10-12T00:27:06.348Z] dc539afda2c1: Download complete [2021-10-12T00:27:06.348Z] ed53099fbce6: Verifying Checksum [2021-10-12T00:27:06.348Z] ed53099fbce6: Download complete [2021-10-12T00:27:06.348Z] 9065ff56babe: Verifying Checksum [2021-10-12T00:27:06.348Z] 9065ff56babe: Download complete [2021-10-12T00:27:06.621Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T00:27:06.621Z] 77bc0d833cb6: Download complete [2021-10-12T00:27:06.621Z] b4d181a07f80: Verifying Checksum [2021-10-12T00:27:06.621Z] b4d181a07f80: Download complete [2021-10-12T00:27:07.199Z] d287ab97295c: Verifying Checksum [2021-10-12T00:27:07.199Z] d287ab97295c: Download complete [2021-10-12T00:27:08.156Z] b4d181a07f80: Pull complete [2021-10-12T00:27:08.156Z] a1111a8f2ec3: Pull complete [2021-10-12T00:27:08.739Z] ed53099fbce6: Pull complete [2021-10-12T00:27:08.739Z] dc539afda2c1: Pull complete [2021-10-12T00:27:09.316Z] 77bc0d833cb6: Pull complete [2021-10-12T00:27:09.316Z] 9065ff56babe: Pull complete [2021-10-12T00:27:15.962Z] d287ab97295c: Pull complete [2021-10-12T00:27:15.962Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T00:27:15.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:27:15.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T00:27:16.034Z] prd-centos7-docker-4c-2g-517 does not seem to be running inside a container [2021-10-12T00:27:16.080Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T00:27:18.458Z] $ docker top 6c812fad144d641a523f8747121de63da6642ac494c2c53264a9a17a1afedbf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:27:18.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T00:27:19.109Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T00:27:19.419Z] + ls /var/log/sa-host [2021-10-12T00:27:19.419Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T00:27:19.419Z] file_magic: OK [2021-10-12T00:27:19.419Z] HZ: Using current value: 100 [2021-10-12T00:27:19.419Z] file_header: OK [2021-10-12T00:27:19.419Z] 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-12T00:27:19.419Z] Statistics: [2021-10-12T00:27:19.419Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...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-12T00:27:19.419Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T00:27:19.419Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T00:27:19.419Z] file_magic: OK [2021-10-12T00:27:19.419Z] HZ: Using current value: 100 [2021-10-12T00:27:19.419Z] file_header: OK [2021-10-12T00:27:19.419Z] 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-12T00:27:19.419Z] Statistics: [2021-10-12T00:27:19.419Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T00:27:19.419Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:27:19.496Z] provisioning config files... [2021-10-12T00:27:19.504Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4832638511323705935tmp [Pipeline] { [Pipeline] echo [2021-10-12T00:27:19.520Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:19.806Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T00:27:19.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:20.140Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T00:27:20.149Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:20.440Z] ---> sudo-logs.sh [2021-10-12T00:27:20.440Z] Archiving 'sudo' log.. [2021-10-12T00:27:20.440Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-517.novalocal: Name or service not known [2021-10-12T00:27:20.440Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-517.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T00:27:20.460Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:20.751Z] ---> job-cost.sh [2021-10-12T00:27:20.752Z] lf-activate-venv: SKIPPING [2021-10-12T00:27:20.752Z] DEBUG: total: 0.10999999940395355 [2021-10-12T00:27:20.752Z] INFO: Retrieving Stack Cost... [2021-10-12T00:27:27.331Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T00:27:27.331Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T00:27:27.345Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:27:27.635Z] ---> logs-deploy.sh [2021-10-12T00:27:27.635Z] lf-activate-venv: SKIPPING [2021-10-12T00:27:27.635Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/16 [2021-10-12T00:27:27.635Z] INFO: archiving workspace using pattern(s): [2021-10-12T00:27:28.209Z] Archives upload complete. [2021-10-12T00:27:28.471Z] INFO: archiving logs to Nexus