Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c 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-ssh974562289662396613.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8921963433165226978.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/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-ssh156085235737735091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6223453811825825423.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-ssh1707376510702325228.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-1472 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 Avoid second fetch Checking out Revision 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c (main) > 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-ssh6516211888628371365.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 Commit message: "Merge pull request #1031 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" > git rev-list --no-walk 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T19:22:41.736Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T19:22:41.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T19:22:41.802Z] ========================================================= [2021-10-14T19:22:41.803Z] EdgeX Global Pipelines Version Info [2021-10-14T19:22:41.803Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:22:42.966Z] ------------------- [2021-10-14T19:22:42.966Z] stable info: [2021-10-14T19:22:42.966Z] ------------------- [2021-10-14T19:22:42.966Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T19:22:42.966Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T19:22:42.966Z] Message: update stable to v1.0.210 [2021-10-14T19:22:43.541Z] ------------------- [2021-10-14T19:22:43.541Z] experimental info: [2021-10-14T19:22:43.541Z] ------------------- [2021-10-14T19:22:43.541Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T19:22:43.541Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T19:22:43.541Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T19:22:43.620Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T19:22:43.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T19:22:43.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T19:22:43.653Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T19:22:43.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T19:22:43.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T19:22:43.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T19:22:43.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T19:22:43.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T19:22:43.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T19:22:43.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T19:22:43.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T19:22:43.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T19:22:43.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T19:22:43.769Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T19:22:43.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T19:22:43.792Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T19:22:43.802Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T19:22:43.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T19:22:43.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T19:22:43.832Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T19:22:43.842Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T19:22:43.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T19:22:43.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T19:22:43.876Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T19:22:43.886Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T19:22:43.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T19:22:43.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T19:22:43.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T19:22:43.929Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [Pipeline] echo [2021-10-14T19:22:43.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d64bf0 [Pipeline] echo [2021-10-14T19:22:43.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:22:43.992Z] provisioning config files... [2021-10-14T19:22:44.006Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2142277674303056446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:22:44.313Z] ---> docker-login.sh [2021-10-14T19:22:44.313Z] nexus3.edgexfoundry.org:10001 [2021-10-14T19:22:44.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:22:44.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:22:44.580Z] Configure a credential helper to remove this warning. See [2021-10-14T19:22:44.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:22:44.580Z] [2021-10-14T19:22:44.580Z] Login Succeeded [2021-10-14T19:22:44.580Z] nexus3.edgexfoundry.org:10002 [2021-10-14T19:22:44.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:22:44.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:22:44.580Z] Configure a credential helper to remove this warning. See [2021-10-14T19:22:44.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:22:44.580Z] [2021-10-14T19:22:44.580Z] Login Succeeded [2021-10-14T19:22:44.580Z] nexus3.edgexfoundry.org:10003 [2021-10-14T19:22:44.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:22:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:22:44.840Z] Configure a credential helper to remove this warning. See [2021-10-14T19:22:44.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:22:44.840Z] [2021-10-14T19:22:44.840Z] Login Succeeded [2021-10-14T19:22:44.840Z] nexus3.edgexfoundry.org:10004 [2021-10-14T19:22:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:22:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:22:44.841Z] Configure a credential helper to remove this warning. See [2021-10-14T19:22:44.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:22:44.841Z] [2021-10-14T19:22:44.841Z] Login Succeeded [2021-10-14T19:22:44.841Z] docker.io [2021-10-14T19:22:44.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:22:45.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:22:45.418Z] Configure a credential helper to remove this warning. See [2021-10-14T19:22:45.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:22:45.418Z] [2021-10-14T19:22:45.418Z] Login Succeeded [2021-10-14T19:22:45.418Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T19:22:45.426Z] 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-14T19:22:45.862Z] + git log --format=format:%s -1 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [Pipeline] echo [2021-10-14T19:22:45.900Z] GIT_COMMIT: 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c, Commit Message: Merge pull request #1031 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20 [Pipeline] echo [2021-10-14T19:22:45.910Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:22:46.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:22:46.612Z] [2021-10-14T19:22:46.612Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:22:46.936Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:22:46.936Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T19:22:46.936Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T19:22:46.936Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T19:22:46.936Z] 4c7163046ea9: Pulling fs layer [2021-10-14T19:22:46.936Z] 0c2d73faf560: Pulling fs layer [2021-10-14T19:22:46.936Z] 0c2d73faf560: Waiting [2021-10-14T19:22:46.936Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T19:22:46.936Z] 3e5f54012d9b: Download complete [2021-10-14T19:22:46.936Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T19:22:46.936Z] a0d0a0d46f8b: Download complete [2021-10-14T19:22:46.936Z] 4c7163046ea9: Verifying Checksum [2021-10-14T19:22:46.936Z] 4c7163046ea9: Download complete [2021-10-14T19:22:46.936Z] 0c2d73faf560: Verifying Checksum [2021-10-14T19:22:46.936Z] 0c2d73faf560: Download complete [2021-10-14T19:22:47.202Z] a0d0a0d46f8b: Pull complete [2021-10-14T19:22:47.202Z] 3e5f54012d9b: Pull complete [2021-10-14T19:22:47.473Z] 4c7163046ea9: Pull complete [2021-10-14T19:22:47.736Z] 0c2d73faf560: Pull complete [2021-10-14T19:22:47.736Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T19:22:47.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:22:47.736Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T19:22:47.809Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:22:47.844Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T19:22:48.378Z] $ docker top d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T19:22:48.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T19:22:48.467Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T19:22:48.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T19:22:48.570Z] $ docker exec d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 ssh-agent [2021-10-14T19:22:48.676Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGkdblI/agent.14 [2021-10-14T19:22:48.676Z] SSH_AGENT_PID=20 [2021-10-14T19:22:48.682Z] Running ssh-add (command line suppressed) [2021-10-14T19:22:48.773Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2826588604894434547.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2826588604894434547.key) [2021-10-14T19:22:48.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T19:22:49.086Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T19:22:49.101Z] $ docker exec --env ******** --env ******** d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 ssh-agent -k [2021-10-14T19:22:49.193Z] unset SSH_AUTH_SOCK; [2021-10-14T19:22:49.193Z] unset SSH_AGENT_PID; [2021-10-14T19:22:49.193Z] echo Agent pid 20 killed; [2021-10-14T19:22:49.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T19:22:49.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T19:22:49.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T19:22:49.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T19:22:49.329Z] $ docker exec d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 ssh-agent [2021-10-14T19:22:49.426Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLkNBgH/agent.54 [2021-10-14T19:22:49.426Z] SSH_AGENT_PID=60 [2021-10-14T19:22:49.432Z] Running ssh-add (command line suppressed) [2021-10-14T19:22:49.534Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_525787576139190163.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_525787576139190163.key) [2021-10-14T19:22:49.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T19:22:49.849Z] + git semver init [2021-10-14T19:22:49.849Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T19:22:49.849Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T19:22:49.849Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:22:49.849Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T19:22:49.849Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T19:22:49.849Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T19:22:49.849Z] # $SEMVER_BRANCH = main [2021-10-14T19:22:49.849Z] # $SEMVER_TEMP = /tmp/semver-680987073 [2021-10-14T19:22:49.849Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T19:22:50.791Z] # '/tmp/semver-680987073' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-14T19:22:50.791Z] # -> Force: false [2021-10-14T19:22:50.791Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T19:22:50.802Z] $ docker exec --env ******** --env ******** d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 ssh-agent -k [2021-10-14T19:22:50.885Z] unset SSH_AUTH_SOCK; [2021-10-14T19:22:50.885Z] unset SSH_AGENT_PID; [2021-10-14T19:22:50.885Z] echo Agent pid 60 killed; [2021-10-14T19:22:50.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T19:22:51.259Z] + git semver [Pipeline] } [2021-10-14T19:22:51.272Z] $ docker stop --time=1 d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 [2021-10-14T19:22:52.465Z] $ docker rm -f d19e3244285f6dd9704b9f82c8c46e4f129d2778123743e6c6ade5b555325fc8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T19:22:52.810Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T19:22:53.037Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T19:22:53.042Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.21 [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-14T19:23:08.247Z] Still waiting to schedule task [2021-10-14T19:23:08.247Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T19:23:08.249Z] Still waiting to schedule task [2021-10-14T19:23:08.249Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1466’ is offline [2021-10-14T19:24:59.803Z] Running on prd-centos7-docker-4c-2g-1476 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T19:24:59.814Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2021-10-14T19:24:59.897Z] Selected Git installation does not exist. Using Default [2021-10-14T19:24:59.898Z] The recommended git tool is: NONE [2021-10-14T19:25:01.892Z] using credential edgex-jenkins-ssh [2021-10-14T19:25:01.924Z] Cloning the remote Git repository [2021-10-14T19:25:01.290Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:25:01.350Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2021-10-14T19:25:01.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:25:01.397Z] > git --version # timeout=10 [2021-10-14T19:25:01.406Z] > git --version # 'git version 2.24.4' [2021-10-14T19:25:01.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T19:25:01.446Z] [INFO] Currently running in a labeled security context [2021-10-14T19:25:01.451Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T19:25:01.451Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/20@tmp/jenkins-gitclient-ssh406368313950615619.key [2021-10-14T19:25:01.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:25:03.335Z] Avoid second fetch [2021-10-14T19:25:03.335Z] Checking out Revision 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c (main) [2021-10-14T19:25:02.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T19:25:02.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:25:02.587Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T19:25:02.602Z] > git checkout -f 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 [2021-10-14T19:25:06.961Z] Commit message: "Merge pull request #1031 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:25:07.280Z] provisioning config files... [2021-10-14T19:25:07.292Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config8962957256140132641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:25:07.683Z] ---> docker-login.sh [2021-10-14T19:25:07.683Z] nexus3.edgexfoundry.org:10001 [2021-10-14T19:25:07.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:25:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:25:07.945Z] Configure a credential helper to remove this warning. See [2021-10-14T19:25:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:25:07.945Z] [2021-10-14T19:25:07.945Z] Login Succeeded [2021-10-14T19:25:07.945Z] nexus3.edgexfoundry.org:10002 [2021-10-14T19:25:07.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:25:07.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:25:07.945Z] Configure a credential helper to remove this warning. See [2021-10-14T19:25:07.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:25:07.945Z] [2021-10-14T19:25:07.945Z] Login Succeeded [2021-10-14T19:25:07.945Z] nexus3.edgexfoundry.org:10003 [2021-10-14T19:25:08.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:25:08.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:25:08.206Z] Configure a credential helper to remove this warning. See [2021-10-14T19:25:08.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:25:08.206Z] [2021-10-14T19:25:08.206Z] Login Succeeded [2021-10-14T19:25:08.206Z] nexus3.edgexfoundry.org:10004 [2021-10-14T19:25:08.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:25:08.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:25:08.206Z] Configure a credential helper to remove this warning. See [2021-10-14T19:25:08.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:25:08.206Z] [2021-10-14T19:25:08.206Z] Login Succeeded [2021-10-14T19:25:08.206Z] docker.io [2021-10-14T19:25:08.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:25:08.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:25:08.728Z] Configure a credential helper to remove this warning. See [2021-10-14T19:25:08.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:25:08.728Z] [2021-10-14T19:25:08.728Z] Login Succeeded [2021-10-14T19:25:08.728Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T19:25:08.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T19:25:08.899Z] ========================================================= [2021-10-14T19:25:08.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T19:25:08.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:25:09.212Z] + 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-14T19:25:09.212Z] Sending build context to Docker daemon 2.675MB [2021-10-14T19:25:09.212Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:25:09.212Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T19:25:09.212Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T19:25:09.212Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T19:25:09.212Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T19:25:09.212Z] b8b176561691: Pulling fs layer [2021-10-14T19:25:09.212Z] 4527c011a84f: Pulling fs layer [2021-10-14T19:25:09.212Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T19:25:09.212Z] e0aca202a116: Pulling fs layer [2021-10-14T19:25:09.212Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T19:25:09.212Z] 34cad66bf833: Pulling fs layer [2021-10-14T19:25:09.212Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T19:25:09.212Z] 4527c011a84f: Waiting [2021-10-14T19:25:09.212Z] 5d74067f8e1e: Waiting [2021-10-14T19:25:09.212Z] e0aca202a116: Waiting [2021-10-14T19:25:09.212Z] 3a43be97a3b4: Waiting [2021-10-14T19:25:09.212Z] 34cad66bf833: Waiting [2021-10-14T19:25:09.212Z] b4e3c513aaa6: Waiting [2021-10-14T19:25:09.212Z] b8b176561691: Verifying Checksum [2021-10-14T19:25:09.212Z] b8b176561691: Download complete [2021-10-14T19:25:09.212Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T19:25:09.212Z] 31adcdaf11c8: Download complete [2021-10-14T19:25:09.480Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T19:25:09.480Z] 5d74067f8e1e: Download complete [2021-10-14T19:25:09.480Z] e0aca202a116: Verifying Checksum [2021-10-14T19:25:09.480Z] e0aca202a116: Download complete [2021-10-14T19:25:09.480Z] a0d0a0d46f8b: Download complete [2021-10-14T19:25:09.480Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T19:25:09.480Z] 3a43be97a3b4: Download complete [2021-10-14T19:25:09.480Z] 34cad66bf833: Verifying Checksum [2021-10-14T19:25:09.480Z] 34cad66bf833: Download complete [2021-10-14T19:25:09.747Z] a0d0a0d46f8b: Pull complete [2021-10-14T19:25:10.011Z] 4527c011a84f: Verifying Checksum [2021-10-14T19:25:10.011Z] 4527c011a84f: Download complete [2021-10-14T19:25:10.011Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T19:25:10.011Z] b4e3c513aaa6: Download complete [2021-10-14T19:25:10.011Z] 31adcdaf11c8: Pull complete [2021-10-14T19:25:10.011Z] b8b176561691: Pull complete [2021-10-14T19:25:14.276Z] 4527c011a84f: Pull complete [2021-10-14T19:25:14.276Z] 5d74067f8e1e: Pull complete [2021-10-14T19:25:14.276Z] e0aca202a116: Pull complete [2021-10-14T19:25:14.276Z] 3a43be97a3b4: Pull complete [2021-10-14T19:25:14.276Z] 34cad66bf833: Pull complete [2021-10-14T19:25:16.874Z] b4e3c513aaa6: Pull complete [2021-10-14T19:25:16.874Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T19:25:16.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T19:25:16.874Z] ---> 9f6097aaca64 [2021-10-14T19:25:16.874Z] Step 3/10 : ARG MAKE=make build [2021-10-14T19:25:18.796Z] ---> Running in ac16f9a922c5 [2021-10-14T19:25:18.796Z] Removing intermediate container ac16f9a922c5 [2021-10-14T19:25:18.796Z] ---> ff03069ace90 [2021-10-14T19:25:18.796Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T19:25:18.796Z] ---> Running in bc763f9b6b32 [2021-10-14T19:25:18.796Z] Removing intermediate container bc763f9b6b32 [2021-10-14T19:25:18.796Z] ---> 3e981b3f8d42 [2021-10-14T19:25:18.796Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:25:18.796Z] ---> Running in 8cd57e9654e6 [2021-10-14T19:25:18.796Z] Removing intermediate container 8cd57e9654e6 [2021-10-14T19:25:18.796Z] ---> 6b90122c7d64 [2021-10-14T19:25:18.796Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:25:19.060Z] ---> Running in 229b38aa35f9 [2021-10-14T19:25:19.323Z] Removing intermediate container 229b38aa35f9 [2021-10-14T19:25:19.323Z] ---> f1e09e45fb83 [2021-10-14T19:25:19.323Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:25:19.584Z] ---> Running in c2b5091305c3 [2021-10-14T19:25:19.846Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T19:25:20.793Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T19:25:21.056Z] OK: 220 MiB in 52 packages [2021-10-14T19:25:21.320Z] Removing intermediate container c2b5091305c3 [2021-10-14T19:25:21.320Z] ---> 7485305d1ab2 [2021-10-14T19:25:21.320Z] Step 8/10 : COPY . . [2021-10-14T19:25:21.589Z] ---> bd06c1f6268e [2021-10-14T19:25:21.589Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:25:21.589Z] ---> Running in cdb85d586d9f [2021-10-14T19:25:34.725Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1474 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T19:25:34.738Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2021-10-14T19:25:34.944Z] Selected Git installation does not exist. Using Default [2021-10-14T19:25:34.944Z] The recommended git tool is: NONE [2021-10-14T19:25:40.932Z] using credential edgex-jenkins-ssh [2021-10-14T19:25:40.953Z] Cloning the remote Git repository [2021-10-14T19:25:41.019Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:25:41.127Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2021-10-14T19:25:41.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:25:41.230Z] > git --version # timeout=10 [2021-10-14T19:25:41.245Z] > git --version # 'git version 2.17.1' [2021-10-14T19:25:41.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T19:25:41.332Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:25:42.705Z] Avoid second fetch [2021-10-14T19:25:42.705Z] Checking out Revision 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c (main) [2021-10-14T19:25:42.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T19:25:42.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:25:42.728Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T19:25:42.740Z] > git checkout -f 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 [2021-10-14T19:25:47.169Z] Commit message: "Merge pull request #1031 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T19:25:48.019Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T19:25:48.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T19:25:48.019Z] Dload Upload Total Spent Left Speed [2021-10-14T19:25:48.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63569 0 --:--:-- --:--:-- --:--:-- 63913 [Pipeline] sh [2021-10-14T19:25:48.455Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T19:25:48.821Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T19:25:48.821Z] + sudo tee /etc/docker/daemon.new [2021-10-14T19:25:48.821Z] { [2021-10-14T19:25:48.821Z] "registry-mirrors": [ [2021-10-14T19:25:48.821Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T19:25:48.821Z] ], [2021-10-14T19:25:48.821Z] "bip": "10.250.0.254/24", [2021-10-14T19:25:48.821Z] "hosts": [ [2021-10-14T19:25:48.821Z] "tcp://0.0.0.0:5555", [2021-10-14T19:25:48.821Z] "unix:///var/run/docker.sock" [2021-10-14T19:25:48.821Z] ], [2021-10-14T19:25:48.821Z] "mtu": 1458, [2021-10-14T19:25:48.821Z] "selinux-enabled": true, [2021-10-14T19:25:48.821Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T19:25:48.821Z] } [Pipeline] sh [2021-10-14T19:25:49.187Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T19:25:49.615Z] + sudo service docker restart [2021-10-14T19:25:53.785Z] Removing intermediate container cdb85d586d9f [2021-10-14T19:25:53.785Z] ---> d1262f5b8387 [2021-10-14T19:25:53.785Z] Step 10/10 : RUN ${MAKE} [2021-10-14T19:25:53.785Z] ---> Running in 1353a97338b7 [2021-10-14T19:25:53.785Z] noop [2021-10-14T19:25:53.785Z] Removing intermediate container 1353a97338b7 [2021-10-14T19:25:53.785Z] ---> b4f90fe19629 [2021-10-14T19:25:53.785Z] Successfully built b4f90fe19629 [2021-10-14T19:25:53.785Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:25:54.095Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T19:25:54.095Z] . [Pipeline] withDockerContainer [2021-10-14T19:25:54.161Z] prd-centos7-docker-4c-2g-1476 does not seem to be running inside a container [2021-10-14T19:25:54.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-x86_64 cat [2021-10-14T19:25:54.548Z] $ docker top 7d58ec6fa3941c504d009e0d58848cdb09730d25ab70e8c0c0fbc49fabec9f14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T19:25:54.919Z] + go version [2021-10-14T19:25:54.919Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T19:25:54.931Z] $ docker stop --time=1 7d58ec6fa3941c504d009e0d58848cdb09730d25ab70e8c0c0fbc49fabec9f14 [2021-10-14T19:25:56.119Z] $ docker rm -f 7d58ec6fa3941c504d009e0d58848cdb09730d25ab70e8c0c0fbc49fabec9f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:25:56.672Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T19:25:56.672Z] . [Pipeline] withDockerContainer [2021-10-14T19:25:56.736Z] prd-centos7-docker-4c-2g-1476 does not seem to be running inside a container [2021-10-14T19:25:56.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-x86_64 cat [2021-10-14T19:25:57.165Z] $ docker top 814061edb91001a685ddd86311092d7057746834eec9eba43566089d6b7f7535 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T19:25:57.555Z] + make test [2021-10-14T19:25:57.555Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T19:26:04.226Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:26:08.041Z] provisioning config files... [2021-10-14T19:26:08.069Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config3561603026244161310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:26:08.438Z] ---> docker-login.sh [2021-10-14T19:26:08.438Z] nexus3.edgexfoundry.org:10001 [2021-10-14T19:26:09.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:26:10.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:26:10.498Z] Configure a credential helper to remove this warning. See [2021-10-14T19:26:10.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:26:10.498Z] [2021-10-14T19:26:10.498Z] Login Succeeded [2021-10-14T19:26:10.498Z] nexus3.edgexfoundry.org:10002 [2021-10-14T19:26:10.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:26:11.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:26:11.061Z] Configure a credential helper to remove this warning. See [2021-10-14T19:26:11.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:26:11.061Z] [2021-10-14T19:26:11.061Z] Login Succeeded [2021-10-14T19:26:11.061Z] nexus3.edgexfoundry.org:10003 [2021-10-14T19:26:11.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:26:11.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:26:11.625Z] Configure a credential helper to remove this warning. See [2021-10-14T19:26:11.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:26:11.625Z] [2021-10-14T19:26:11.625Z] Login Succeeded [2021-10-14T19:26:11.625Z] nexus3.edgexfoundry.org:10004 [2021-10-14T19:26:11.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:26:12.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:26:12.184Z] Configure a credential helper to remove this warning. See [2021-10-14T19:26:12.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:26:12.184Z] [2021-10-14T19:26:12.184Z] Login Succeeded [2021-10-14T19:26:12.184Z] docker.io [2021-10-14T19:26:12.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:26:13.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:26:13.077Z] Configure a credential helper to remove this warning. See [2021-10-14T19:26:13.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:26:13.077Z] [2021-10-14T19:26:13.077Z] Login Succeeded [2021-10-14T19:26:13.077Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T19:26:13.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T19:26:13.395Z] ========================================================= [2021-10-14T19:26:13.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T19:26:13.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:26:13.753Z] + 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-14T19:26:14.370Z] Sending build context to Docker daemon 2.674MB [2021-10-14T19:26:14.370Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:26:14.370Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T19:26:14.370Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T19:26:14.370Z] 552d1f2373af: Pulling fs layer [2021-10-14T19:26:14.370Z] ea3f2d53f512: Pulling fs layer [2021-10-14T19:26:14.370Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T19:26:14.370Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T19:26:14.370Z] 72dc09318566: Pulling fs layer [2021-10-14T19:26:14.370Z] f4f7b4309257: Pulling fs layer [2021-10-14T19:26:14.370Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T19:26:14.370Z] b78e95d17946: Pulling fs layer [2021-10-14T19:26:14.370Z] f4f7b4309257: Waiting [2021-10-14T19:26:14.370Z] 7a9cfe048b4a: Waiting [2021-10-14T19:26:14.370Z] 72dc09318566: Waiting [2021-10-14T19:26:14.370Z] 0ac9a79272e3: Waiting [2021-10-14T19:26:14.370Z] b78e95d17946: Waiting [2021-10-14T19:26:14.657Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T19:26:14.657Z] 9e70ebbbe112: Download complete [2021-10-14T19:26:14.657Z] ea3f2d53f512: Download complete [2021-10-14T19:26:14.657Z] 72dc09318566: Verifying Checksum [2021-10-14T19:26:14.657Z] f4f7b4309257: Verifying Checksum [2021-10-14T19:26:14.657Z] f4f7b4309257: Download complete [2021-10-14T19:26:14.657Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T19:26:14.657Z] 0ac9a79272e3: Download complete [2021-10-14T19:26:14.657Z] 552d1f2373af: Verifying Checksum [2021-10-14T19:26:14.657Z] 552d1f2373af: Download complete [2021-10-14T19:26:15.694Z] 552d1f2373af: Pull complete [2021-10-14T19:26:16.317Z] ea3f2d53f512: Pull complete [2021-10-14T19:26:16.602Z] 9e70ebbbe112: Pull complete [2021-10-14T19:26:16.883Z] b78e95d17946: Verifying Checksum [2021-10-14T19:26:16.883Z] b78e95d17946: Download complete [2021-10-14T19:26:17.162Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T19:26:17.162Z] 7a9cfe048b4a: Download complete [2021-10-14T19:26:26.241Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T19:26:26.241Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T19:26:26.241Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T19:26:27.433Z] 7a9cfe048b4a: Pull complete [2021-10-14T19:26:27.433Z] 72dc09318566: Pull complete [2021-10-14T19:26:27.433Z] f4f7b4309257: Pull complete [2021-10-14T19:26:27.709Z] 0ac9a79272e3: Pull complete [2021-10-14T19:26:28.187Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 23.5% of statements [2021-10-14T19:26:28.187Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T19:26:28.187Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-10-14T19:26:28.796Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements [2021-10-14T19:26:28.796Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 9.0% of statements [2021-10-14T19:26:28.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T19:26:28.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T19:26:28.796Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T19:26:29.755Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-10-14T19:26:29.755Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T19:26:30.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-10-14T19:26:30.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T19:26:30.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T19:26:30.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-10-14T19:26:32.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.889s coverage: 88.8% of statements [2021-10-14T19:26:32.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T19:26:32.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.9% of statements [2021-10-14T19:26:32.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T19:26:32.354Z] GO111MODULE=on go vet ./... [2021-10-14T19:26:34.761Z] b78e95d17946: Pull complete [2021-10-14T19:26:34.761Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T19:26:34.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T19:26:34.761Z] ---> 8b459fc5aaf0 [2021-10-14T19:26:34.761Z] Step 3/10 : ARG MAKE=make build [2021-10-14T19:26:38.173Z] ---> Running in 6c747c3c0069 [2021-10-14T19:26:38.174Z] Removing intermediate container 6c747c3c0069 [2021-10-14T19:26:38.174Z] ---> d67c090d5aef [2021-10-14T19:26:38.174Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T19:26:38.455Z] ---> Running in bad8fa8ce848 [2021-10-14T19:26:38.735Z] Removing intermediate container bad8fa8ce848 [2021-10-14T19:26:38.735Z] ---> 5fec052080e2 [2021-10-14T19:26:38.735Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:26:39.013Z] ---> Running in f3a2e0fe912e [2021-10-14T19:26:39.295Z] Removing intermediate container f3a2e0fe912e [2021-10-14T19:26:39.295Z] ---> 9906f7a2b6fb [2021-10-14T19:26:39.295Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:26:39.579Z] ---> Running in c8f8fb2c3712 [2021-10-14T19:26:42.240Z] Removing intermediate container c8f8fb2c3712 [2021-10-14T19:26:42.240Z] ---> 063b651094f1 [2021-10-14T19:26:42.240Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:26:42.240Z] ---> Running in d0abd37243cd [2021-10-14T19:26:43.702Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:26:44.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:26:45.307Z] OK: 219 MiB in 52 packages [2021-10-14T19:26:46.792Z] Removing intermediate container d0abd37243cd [2021-10-14T19:26:46.792Z] ---> fc9849446edc [2021-10-14T19:26:46.792Z] Step 8/10 : COPY . . [2021-10-14T19:26:47.815Z] ---> c45a1ae96934 [2021-10-14T19:26:47.815Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:26:47.815Z] ---> Running in 5916953dd966 [2021-10-14T19:26:50.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T19:26:50.549Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T19:26:50.549Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T19:26:50.560Z] $ docker stop --time=1 814061edb91001a685ddd86311092d7057746834eec9eba43566089d6b7f7535 [2021-10-14T19:26:52.123Z] $ docker rm -f 814061edb91001a685ddd86311092d7057746834eec9eba43566089d6b7f7535 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T19:26:52.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T19:26:52.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T19:26:54.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T19:26:54.467Z] + ls -al . [2021-10-14T19:26:54.467Z] total 264 [2021-10-14T19:26:54.467Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 19:26 . [2021-10-14T19:26:54.467Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 19:25 .. [2021-10-14T19:26:54.467Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 19:25 bin [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 19:25 CHANGELOG.md [2021-10-14T19:26:54.467Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 19:26 coverage.out [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 19:25 .dockerignore [2021-10-14T19:26:54.467Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 19:25 example [2021-10-14T19:26:54.467Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 19:25 .git [2021-10-14T19:26:54.467Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 19:25 .github [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 19:25 .gitignore [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 19:25 go.mod [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 19:25 go.sum [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 19:25 GOVERNANCE.md [2021-10-14T19:26:54.467Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 19:25 internal [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 19:25 Jenkinsfile [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 19:25 LICENSE [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 19:25 Makefile [2021-10-14T19:26:54.467Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 19:25 openapi [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 19:25 OWNERS.md [2021-10-14T19:26:54.467Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 19:25 pkg [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 19:25 README.md [2021-10-14T19:26:54.467Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 19:25 snap [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 19:22 VERSION [2021-10-14T19:26:54.467Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 19:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:26:54.771Z] + 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=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c --label arch=amd64 --label version=2.0.1-dev.21 . [2021-10-14T19:26:54.771Z] Sending build context to Docker daemon 2.803MB [2021-10-14T19:26:54.771Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:26:54.771Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T19:26:54.771Z] ---> b4f90fe19629 [2021-10-14T19:26:54.771Z] Step 3/24 : ARG MAKE=make build [2021-10-14T19:26:54.771Z] ---> Running in 083752c10bd0 [2021-10-14T19:26:55.032Z] Removing intermediate container 083752c10bd0 [2021-10-14T19:26:55.032Z] ---> 204a2d1a4611 [2021-10-14T19:26:55.032Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T19:26:55.032Z] ---> Running in 8ea63918c2ad [2021-10-14T19:26:55.032Z] Removing intermediate container 8ea63918c2ad [2021-10-14T19:26:55.032Z] ---> e5514f37f524 [2021-10-14T19:26:55.032Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:26:55.032Z] ---> Running in d849516fcde9 [2021-10-14T19:26:55.294Z] Removing intermediate container d849516fcde9 [2021-10-14T19:26:55.294Z] ---> cfddadc8f62d [2021-10-14T19:26:55.294Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:26:55.294Z] ---> Running in e7cae7e8047f [2021-10-14T19:26:55.873Z] Removing intermediate container e7cae7e8047f [2021-10-14T19:26:55.873Z] ---> 2a94f5ea21ac [2021-10-14T19:26:55.873Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:26:55.873Z] ---> Running in 6a8471892be9 [2021-10-14T19:26:56.142Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T19:26:57.087Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T19:26:57.349Z] OK: 220 MiB in 52 packages [2021-10-14T19:26:57.611Z] Removing intermediate container 6a8471892be9 [2021-10-14T19:26:57.611Z] ---> 3cf3cde1a5d0 [2021-10-14T19:26:57.611Z] Step 8/24 : COPY . . [2021-10-14T19:26:57.873Z] ---> d275888306b8 [2021-10-14T19:26:57.873Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:26:57.873Z] ---> Running in 95156893e476 [2021-10-14T19:26:58.448Z] Removing intermediate container 95156893e476 [2021-10-14T19:26:58.448Z] ---> f484bf42dfd1 [2021-10-14T19:26:58.448Z] Step 10/24 : RUN ${MAKE} [2021-10-14T19:26:58.448Z] ---> Running in fd0460a07312 [2021-10-14T19:26:59.031Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T19:27:09.157Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T19:27:10.545Z] Removing intermediate container fd0460a07312 [2021-10-14T19:27:10.545Z] ---> 1f5f5dfa87f5 [2021-10-14T19:27:10.545Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T19:27:11.118Z] 3.14: Pulling from library/alpine [2021-10-14T19:27:11.118Z] a0d0a0d46f8b: Already exists [2021-10-14T19:27:11.380Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T19:27:11.380Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T19:27:11.380Z] ---> 14119a10abf4 [2021-10-14T19:27:11.380Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:27:11.380Z] ---> Running in fdf184aa35c9 [2021-10-14T19:27:11.646Z] Removing intermediate container fdf184aa35c9 [2021-10-14T19:27:11.646Z] ---> b3190afb4c87 [2021-10-14T19:27:11.646Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:27:11.646Z] ---> Running in 0a22feabed73 [2021-10-14T19:27:12.223Z] Removing intermediate container 0a22feabed73 [2021-10-14T19:27:12.223Z] ---> 477d7a5dccc6 [2021-10-14T19:27:12.223Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T19:27:12.223Z] ---> Running in cf1bc64ace2d [2021-10-14T19:27:12.492Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T19:27:13.881Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T19:27:15.800Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T19:27:15.801Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T19:27:15.801Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T19:27:16.063Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T19:27:16.327Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T19:27:16.327Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T19:27:16.328Z] OK: 8 MiB in 19 packages [2021-10-14T19:27:16.592Z] Removing intermediate container cf1bc64ace2d [2021-10-14T19:27:16.592Z] ---> 2755083769a3 [2021-10-14T19:27:16.592Z] Step 15/24 : WORKDIR / [2021-10-14T19:27:16.592Z] ---> Running in 1a850356a3d4 [2021-10-14T19:27:16.860Z] Removing intermediate container 1a850356a3d4 [2021-10-14T19:27:16.860Z] ---> 46b7c4621d22 [2021-10-14T19:27:16.860Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T19:27:16.860Z] ---> ac189b3819c7 [2021-10-14T19:27:16.860Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T19:27:17.436Z] ---> 2ff3bf3631db [2021-10-14T19:27:17.436Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T19:27:17.436Z] ---> 7b5d985d0d2d [2021-10-14T19:27:17.436Z] Step 19/24 : EXPOSE 59999 [2021-10-14T19:27:17.436Z] ---> Running in fbeb08f29a01 [2021-10-14T19:27:17.436Z] Removing intermediate container fbeb08f29a01 [2021-10-14T19:27:17.436Z] ---> 32cea5fbb1bf [2021-10-14T19:27:17.436Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T19:27:17.436Z] ---> Running in 091b03bcace1 [2021-10-14T19:27:17.698Z] Removing intermediate container 091b03bcace1 [2021-10-14T19:27:17.698Z] ---> 1d379dc6bb3b [2021-10-14T19:27:17.698Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T19:27:17.698Z] ---> Running in be1c17aa3282 [2021-10-14T19:27:17.698Z] Removing intermediate container be1c17aa3282 [2021-10-14T19:27:17.698Z] ---> 38a9aaf6fe26 [2021-10-14T19:27:17.698Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T19:27:17.698Z] ---> Running in 30261d063f63 [2021-10-14T19:27:17.698Z] Removing intermediate container 30261d063f63 [2021-10-14T19:27:17.698Z] ---> 5a34100990af [2021-10-14T19:27:17.698Z] Step 23/24 : LABEL git_sha=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [2021-10-14T19:27:17.966Z] ---> Running in 36a6092275ec [2021-10-14T19:27:17.966Z] Removing intermediate container 36a6092275ec [2021-10-14T19:27:17.966Z] ---> afe15da653b1 [2021-10-14T19:27:17.966Z] Step 24/24 : LABEL version=2.0.1-dev.21 [2021-10-14T19:27:17.966Z] ---> Running in 61ea72a96fec [2021-10-14T19:27:17.966Z] Removing intermediate container 61ea72a96fec [2021-10-14T19:27:17.966Z] ---> fb8d6d81681e [2021-10-14T19:27:17.966Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T19:27:17.966Z] Successfully built fb8d6d81681e [2021-10-14T19:27:17.966Z] 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-14T19:27:18.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:27:18.603Z] [2021-10-14T19:27:18.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:27:18.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:27:18.918Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T19:27:18.918Z] b4d181a07f80: Pulling fs layer [2021-10-14T19:27:18.918Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T19:27:18.918Z] ed53099fbce6: Pulling fs layer [2021-10-14T19:27:18.918Z] dc539afda2c1: Pulling fs layer [2021-10-14T19:27:18.918Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T19:27:18.918Z] 9065ff56babe: Pulling fs layer [2021-10-14T19:27:18.918Z] d287ab97295c: Pulling fs layer [2021-10-14T19:27:18.918Z] dc539afda2c1: Waiting [2021-10-14T19:27:18.918Z] 77bc0d833cb6: Waiting [2021-10-14T19:27:18.918Z] d287ab97295c: Waiting [2021-10-14T19:27:18.918Z] 9065ff56babe: Waiting [2021-10-14T19:27:18.918Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T19:27:18.918Z] a1111a8f2ec3: Download complete [2021-10-14T19:27:18.919Z] dc539afda2c1: Verifying Checksum [2021-10-14T19:27:18.919Z] dc539afda2c1: Download complete [2021-10-14T19:27:18.919Z] ed53099fbce6: Verifying Checksum [2021-10-14T19:27:18.919Z] ed53099fbce6: Download complete [2021-10-14T19:27:19.183Z] 9065ff56babe: Verifying Checksum [2021-10-14T19:27:19.183Z] 9065ff56babe: Download complete [2021-10-14T19:27:19.183Z] b4d181a07f80: Verifying Checksum [2021-10-14T19:27:19.183Z] b4d181a07f80: Download complete [2021-10-14T19:27:19.183Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T19:27:19.183Z] 77bc0d833cb6: Download complete [2021-10-14T19:27:19.774Z] d287ab97295c: Verifying Checksum [2021-10-14T19:27:19.774Z] d287ab97295c: Download complete [2021-10-14T19:27:20.722Z] b4d181a07f80: Pull complete [2021-10-14T19:27:20.722Z] a1111a8f2ec3: Pull complete [2021-10-14T19:27:21.313Z] ed53099fbce6: Pull complete [2021-10-14T19:27:21.574Z] dc539afda2c1: Pull complete [2021-10-14T19:27:21.835Z] 77bc0d833cb6: Pull complete [2021-10-14T19:27:21.835Z] 9065ff56babe: Pull complete [2021-10-14T19:27:27.177Z] d287ab97295c: Pull complete [2021-10-14T19:27:27.177Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T19:27:27.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:27:27.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T19:27:27.249Z] prd-centos7-docker-4c-2g-1476 does not seem to be running inside a container [2021-10-14T19:27:27.296Z] $ 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/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:latest cat [2021-10-14T19:27:30.045Z] $ docker top 68a806af6ef0bded95e25cf2bc4869b2c8fd905de88c551b8a967d172241975d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:27:30.458Z] ---> job-cost.sh [2021-10-14T19:27:30.458Z] lf-activate-venv: SKIPPING [2021-10-14T19:27:30.458Z] INFO: No Stack... [2021-10-14T19:27:48.574Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T19:27:48.574Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T19:27:48.876Z] + cat /w/workspace/device-sdk-go/20/archives/cost.csv [2021-10-14T19:27:48.876Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T19:27:48.905Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [2021-10-14T19:27:48.911Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] did not exist. Created. [2021-10-14T19:27:48.911Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T19:27:49.228Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T19:27:49.272Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T19:27:49.279Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T19:27:49.295Z] $ docker stop --time=1 68a806af6ef0bded95e25cf2bc4869b2c8fd905de88c551b8a967d172241975d [2021-10-14T19:27:50.498Z] $ docker rm -f 68a806af6ef0bded95e25cf2bc4869b2c8fd905de88c551b8a967d172241975d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T19:28:09.740Z] Removing intermediate container 5916953dd966 [2021-10-14T19:28:09.740Z] ---> 84995390be5a [2021-10-14T19:28:09.740Z] Step 10/10 : RUN ${MAKE} [2021-10-14T19:28:09.740Z] ---> Running in 9fa813a57333 [2021-10-14T19:28:09.740Z] noop [2021-10-14T19:28:09.740Z] Removing intermediate container 9fa813a57333 [2021-10-14T19:28:09.740Z] ---> fbd1231260d7 [2021-10-14T19:28:09.740Z] Successfully built fbd1231260d7 [2021-10-14T19:28:09.740Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:28:10.101Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T19:28:10.101Z] . [Pipeline] withDockerContainer [2021-10-14T19:28:10.393Z] prd-ubuntu18.04-docker-arm64-4c-16g-1474 does not seem to be running inside a container [2021-10-14T19:28:10.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-arm64 cat [2021-10-14T19:28:12.198Z] $ docker top e70f50c130930fb3996fba0d0293c7a8c0b5ee4d7753b6f80fbb976005767491 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T19:28:13.181Z] + go version [2021-10-14T19:28:13.181Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T19:28:13.220Z] $ docker stop --time=1 e70f50c130930fb3996fba0d0293c7a8c0b5ee4d7753b6f80fbb976005767491 [2021-10-14T19:28:15.127Z] $ docker rm -f e70f50c130930fb3996fba0d0293c7a8c0b5ee4d7753b6f80fbb976005767491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:28:16.007Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T19:28:16.007Z] . [Pipeline] withDockerContainer [2021-10-14T19:28:16.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-1474 does not seem to be running inside a container [2021-10-14T19:28:16.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-arm64 cat [2021-10-14T19:28:18.085Z] $ docker top 0e71e06451ebce9d8e598617af605dcc359312119794a84518a65439a6a51440 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T19:28:19.085Z] + make test [2021-10-14T19:28:19.085Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T19:28:46.001Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T19:29:54.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T19:29:54.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T19:29:54.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T19:29:57.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.362s coverage: 23.5% of statements [2021-10-14T19:29:57.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T19:29:57.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 28.1% of statements [2021-10-14T19:29:57.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.230s coverage: 78.9% of statements [2021-10-14T19:29:57.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.208s coverage: 9.0% of statements [2021-10-14T19:29:57.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T19:29:57.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T19:29:57.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T19:29:57.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.340s coverage: 28.7% of statements [2021-10-14T19:29:57.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T19:30:00.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.236s coverage: 83.3% of statements [2021-10-14T19:30:00.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T19:30:00.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T19:30:00.286Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.382s coverage: 57.8% of statements [2021-10-14T19:30:02.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.081s coverage: 88.8% of statements [2021-10-14T19:30:02.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T19:30:02.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 4.9% of statements [2021-10-14T19:30:02.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T19:30:02.583Z] GO111MODULE=on go vet ./... [2021-10-14T19:30:59.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T19:30:59.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T19:30:59.280Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T19:30:59.588Z] $ docker stop --time=1 0e71e06451ebce9d8e598617af605dcc359312119794a84518a65439a6a51440 [2021-10-14T19:31:01.973Z] $ docker rm -f 0e71e06451ebce9d8e598617af605dcc359312119794a84518a65439a6a51440 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T19:31:03.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T19:31:03.161Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T19:31:03.982Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T19:31:04.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T19:31:04.957Z] + ls -al . [2021-10-14T19:31:04.957Z] total 300 [2021-10-14T19:31:04.957Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 19:30 . [2021-10-14T19:31:04.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:25 .. [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 19:25 .dockerignore [2021-10-14T19:31:04.957Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 19:25 .git [2021-10-14T19:31:04.957Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:25 .github [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 19:25 .gitignore [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 19:25 CHANGELOG.md [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 19:25 GOVERNANCE.md [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 19:25 Jenkinsfile [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 19:25 LICENSE [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 19:25 Makefile [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 19:25 OWNERS.md [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 19:25 README.md [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 19:22 VERSION [2021-10-14T19:31:04.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 19:25 bin [2021-10-14T19:31:04.957Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 19:30 coverage.out [2021-10-14T19:31:04.957Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:25 example [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 19:25 go.mod [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 19:25 go.sum [2021-10-14T19:31:04.957Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 19:25 internal [2021-10-14T19:31:04.957Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:25 openapi [2021-10-14T19:31:04.957Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:25 pkg [2021-10-14T19:31:04.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:25 snap [2021-10-14T19:31:04.957Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 19:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:31:05.676Z] + 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=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c --label arch=arm64 --label version=2.0.1-dev.21 . [2021-10-14T19:31:06.027Z] Sending build context to Docker daemon 2.802MB [2021-10-14T19:31:06.027Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:31:06.027Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T19:31:06.027Z] ---> fbd1231260d7 [2021-10-14T19:31:06.027Z] Step 3/24 : ARG MAKE=make build [2021-10-14T19:31:06.328Z] ---> Running in 3efd1e7041ed [2021-10-14T19:31:06.940Z] Removing intermediate container 3efd1e7041ed [2021-10-14T19:31:06.940Z] ---> 2a2af3e3b8c4 [2021-10-14T19:31:06.940Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T19:31:06.940Z] ---> Running in 0751e49e4b14 [2021-10-14T19:31:07.551Z] Removing intermediate container 0751e49e4b14 [2021-10-14T19:31:07.551Z] ---> 39c77eabcf08 [2021-10-14T19:31:07.551Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:31:07.830Z] ---> Running in 2615ee148f88 [2021-10-14T19:31:08.437Z] Removing intermediate container 2615ee148f88 [2021-10-14T19:31:08.437Z] ---> 09858a32cc04 [2021-10-14T19:31:08.437Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:31:08.437Z] ---> Running in f3029bd341b1 [2021-10-14T19:31:11.106Z] Removing intermediate container f3029bd341b1 [2021-10-14T19:31:11.106Z] ---> 31a0281a949d [2021-10-14T19:31:11.106Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:31:11.106Z] ---> Running in db93a31a7ae0 [2021-10-14T19:31:12.109Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:31:13.104Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:31:13.711Z] OK: 219 MiB in 52 packages [2021-10-14T19:31:15.168Z] Removing intermediate container db93a31a7ae0 [2021-10-14T19:31:15.168Z] ---> 4866aa5930ef [2021-10-14T19:31:15.168Z] Step 8/24 : COPY . . [2021-10-14T19:31:16.168Z] ---> 16f0079eb211 [2021-10-14T19:31:16.168Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:31:16.448Z] ---> Running in 544e863dc15a [2021-10-14T19:31:19.099Z] Removing intermediate container 544e863dc15a [2021-10-14T19:31:19.099Z] ---> a03d41295b43 [2021-10-14T19:31:19.099Z] Step 10/24 : RUN ${MAKE} [2021-10-14T19:31:19.099Z] ---> Running in f7cf3f74541f [2021-10-14T19:31:20.554Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T19:31:53.348Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T19:31:59.108Z] Removing intermediate container f7cf3f74541f [2021-10-14T19:31:59.108Z] ---> d17622af1feb [2021-10-14T19:31:59.108Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T19:31:59.108Z] 3.14: Pulling from library/alpine [2021-10-14T19:31:59.108Z] 552d1f2373af: Already exists [2021-10-14T19:31:59.108Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T19:31:59.108Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T19:31:59.108Z] ---> bb3de5531c18 [2021-10-14T19:31:59.108Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:31:59.108Z] ---> Running in 5e22ea87f8d3 [2021-10-14T19:31:59.108Z] Removing intermediate container 5e22ea87f8d3 [2021-10-14T19:31:59.108Z] ---> ebec2f4b4ab0 [2021-10-14T19:31:59.108Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:31:59.108Z] ---> Running in 2b84b8ecc01f [2021-10-14T19:32:01.101Z] Removing intermediate container 2b84b8ecc01f [2021-10-14T19:32:01.101Z] ---> f1303ad7faa3 [2021-10-14T19:32:01.101Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T19:32:01.376Z] ---> Running in df190cc664ef [2021-10-14T19:32:02.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:32:03.356Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:32:04.339Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T19:32:04.339Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T19:32:04.339Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T19:32:04.613Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T19:32:04.613Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T19:32:04.888Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T19:32:04.888Z] OK: 8 MiB in 19 packages [2021-10-14T19:32:05.877Z] Removing intermediate container df190cc664ef [2021-10-14T19:32:05.877Z] ---> d1e28f64e87e [2021-10-14T19:32:05.877Z] Step 15/24 : WORKDIR / [2021-10-14T19:32:06.154Z] ---> Running in 937452503ad1 [2021-10-14T19:32:06.759Z] Removing intermediate container 937452503ad1 [2021-10-14T19:32:06.759Z] ---> 546e8d06a851 [2021-10-14T19:32:06.759Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T19:32:07.363Z] ---> ace646955a83 [2021-10-14T19:32:07.363Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T19:32:08.818Z] ---> a66caa03e20f [2021-10-14T19:32:08.818Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T19:32:09.424Z] ---> 76444e175bc9 [2021-10-14T19:32:09.424Z] Step 19/24 : EXPOSE 59999 [2021-10-14T19:32:09.700Z] ---> Running in 67145051b533 [2021-10-14T19:32:09.976Z] Removing intermediate container 67145051b533 [2021-10-14T19:32:09.976Z] ---> 4b05afe50e03 [2021-10-14T19:32:09.976Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T19:32:10.252Z] ---> Running in d4f765af5e8f [2021-10-14T19:32:10.531Z] Removing intermediate container d4f765af5e8f [2021-10-14T19:32:10.531Z] ---> 2d1af6344664 [2021-10-14T19:32:10.531Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T19:32:10.809Z] ---> Running in b7edbd143700 [2021-10-14T19:32:11.416Z] Removing intermediate container b7edbd143700 [2021-10-14T19:32:11.416Z] ---> 0edb6e0e7abf [2021-10-14T19:32:11.416Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T19:32:11.416Z] ---> Running in 0ac59b26bcb6 [2021-10-14T19:32:12.023Z] Removing intermediate container 0ac59b26bcb6 [2021-10-14T19:32:12.023Z] ---> 524e5cbc38bc [2021-10-14T19:32:12.023Z] Step 23/24 : LABEL git_sha=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [2021-10-14T19:32:12.023Z] ---> Running in 89be8128562e [2021-10-14T19:32:12.635Z] Removing intermediate container 89be8128562e [2021-10-14T19:32:12.635Z] ---> 71ba9fbf8c2b [2021-10-14T19:32:12.635Z] Step 24/24 : LABEL version=2.0.1-dev.21 [2021-10-14T19:32:12.635Z] ---> Running in 44628a331e12 [2021-10-14T19:32:13.256Z] Removing intermediate container 44628a331e12 [2021-10-14T19:32:13.256Z] ---> 2682ef0ab9c6 [2021-10-14T19:32:13.256Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T19:32:13.256Z] Successfully built 2682ef0ab9c6 [2021-10-14T19:32:13.256Z] 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-14T19:32:13.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:32:14.217Z] [2021-10-14T19:32:14.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:32:14.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:32:14.872Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T19:32:14.872Z] 448f6bf000e3: Pulling fs layer [2021-10-14T19:32:14.872Z] f757da607395: Pulling fs layer [2021-10-14T19:32:14.872Z] 05883995daec: Pulling fs layer [2021-10-14T19:32:14.872Z] 8603b9c90790: Pulling fs layer [2021-10-14T19:32:14.872Z] 1560dd03e051: Pulling fs layer [2021-10-14T19:32:14.872Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T19:32:14.872Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T19:32:14.872Z] 8603b9c90790: Waiting [2021-10-14T19:32:14.872Z] 27f5ce0e4adf: Waiting [2021-10-14T19:32:14.872Z] c2d8d7efcc4b: Waiting [2021-10-14T19:32:14.872Z] 1560dd03e051: Waiting [2021-10-14T19:32:14.872Z] f757da607395: Verifying Checksum [2021-10-14T19:32:14.872Z] f757da607395: Download complete [2021-10-14T19:32:15.150Z] 8603b9c90790: Verifying Checksum [2021-10-14T19:32:15.150Z] 8603b9c90790: Download complete [2021-10-14T19:32:15.150Z] 1560dd03e051: Verifying Checksum [2021-10-14T19:32:15.150Z] 1560dd03e051: Download complete [2021-10-14T19:32:15.150Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T19:32:15.150Z] 27f5ce0e4adf: Download complete [2021-10-14T19:32:15.431Z] 05883995daec: Verifying Checksum [2021-10-14T19:32:15.431Z] 05883995daec: Download complete [2021-10-14T19:32:15.712Z] 448f6bf000e3: Verifying Checksum [2021-10-14T19:32:15.712Z] 448f6bf000e3: Download complete [2021-10-14T19:32:18.357Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T19:32:18.357Z] c2d8d7efcc4b: Download complete [2021-10-14T19:32:18.963Z] 448f6bf000e3: Pull complete [2021-10-14T19:32:19.564Z] f757da607395: Pull complete [2021-10-14T19:32:21.004Z] 05883995daec: Pull complete [2021-10-14T19:32:21.282Z] 8603b9c90790: Pull complete [2021-10-14T19:32:22.279Z] 1560dd03e051: Pull complete [2021-10-14T19:32:22.279Z] 27f5ce0e4adf: Pull complete [2021-10-14T19:32:37.427Z] c2d8d7efcc4b: Pull complete [2021-10-14T19:32:37.427Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T19:32:37.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:32:37.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T19:32:37.672Z] prd-ubuntu18.04-docker-arm64-4c-16g-1474 does not seem to be running inside a container [2021-10-14T19:32:37.780Z] $ 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/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:arm64 cat [2021-10-14T19:32:42.067Z] $ docker top c9e1b37ba8c922be65070e6e1755ac767bc7a96ba59a492357e7de2e5e8b3734 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:32:43.128Z] ---> job-cost.sh [2021-10-14T19:32:43.128Z] lf-activate-venv: SKIPPING [2021-10-14T19:32:43.128Z] INFO: No Stack... [2021-10-14T19:33:01.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T19:33:01.507Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T19:33:02.196Z] + cut -d, -f6 [2021-10-14T19:33:02.196Z] + cat /w/workspace/device-sdk-go/20/archives/cost.csv [Pipeline] lock [2021-10-14T19:33:02.270Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [2021-10-14T19:33:02.276Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] did not exist. Created. [2021-10-14T19:33:02.276Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T19:33:02.976Z] /w/workspace/device-sdk-go/20@tmp/durable-9d709c4e/script.sh: 1: /w/workspace/device-sdk-go/20@tmp/durable-9d709c4e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T19:33:03.669Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T19:33:03.700Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T19:33:03.762Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T19:33:03.770Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T19:33:03.798Z] $ docker stop --time=1 c9e1b37ba8c922be65070e6e1755ac767bc7a96ba59a492357e7de2e5e8b3734 [2021-10-14T19:33:05.458Z] $ docker rm -f c9e1b37ba8c922be65070e6e1755ac767bc7a96ba59a492357e7de2e5e8b3734 [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-14T19:33:06.076Z] provisioning config files... [2021-10-14T19:33:06.087Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2983188825860004794tmp [Pipeline] { [Pipeline] sh [2021-10-14T19:33:06.393Z] + set +x [2021-10-14T19:33:06.393Z] + bash -s -- [2021-10-14T19:33:06.393Z] + curl -s https://codecov.io/bash [2021-10-14T19:33:06.393Z] [2021-10-14T19:33:06.393Z] _____ _ [2021-10-14T19:33:06.393Z] / ____| | | [2021-10-14T19:33:06.393Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T19:33:06.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T19:33:06.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T19:33:06.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T19:33:06.393Z] Bash-1.0.6 [2021-10-14T19:33:06.393Z] [2021-10-14T19:33:06.393Z] [2021-10-14T19:33:06.393Z] ==> git version 2.24.4 found [2021-10-14T19:33:06.393Z] ==> 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-14T19:33:06.393Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T19:33:06.393Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T19:33:06.393Z] ==> Jenkins CI detected. [2021-10-14T19:33:06.393Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:33:06.393Z] project root: . [2021-10-14T19:33:06.393Z] --> token set from env [2021-10-14T19:33:06.655Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T19:33:06.655Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T19:33:06.655Z] ==> Python coveragepy not found [2021-10-14T19:33:06.655Z] ==> Searching for coverage reports in: [2021-10-14T19:33:06.655Z] + . [2021-10-14T19:33:06.655Z] -> Found 1 reports [2021-10-14T19:33:06.655Z] ==> Detecting git/mercurial file structure [2021-10-14T19:33:06.655Z] ==> Reading reports [2021-10-14T19:33:06.655Z] + ./coverage.out bytes=126693 [2021-10-14T19:33:06.655Z] ==> Appending adjustments [2021-10-14T19:33:06.655Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T19:33:06.916Z] + Found adjustments [2021-10-14T19:33:06.916Z] ==> Gzipping contents [2021-10-14T19:33:06.916Z] 16K /tmp/codecov.bVI5l1.gz [2021-10-14T19:33:06.916Z] ==> Uploading reports [2021-10-14T19:33:06.916Z] url: https://codecov.io [2021-10-14T19:33:06.916Z] query: branch=main&commit=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T19:33:06.916Z] -> Pinging Codecov [2021-10-14T19:33:06.916Z] 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=4d64bf0c03e0fc597f376e2d6bc91811e913bb0c&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T19:33:07.179Z] -> Uploading to [2021-10-14T19:33:07.179Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/4d64bf0c03e0fc597f376e2d6bc91811e913bb0c/6fdda845-83fc-45fc-9747-79c241311ffc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T193307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53c46e4043641eae83384d75295186a981e592e7a52edb73c78113d86241e93e [2021-10-14T19:33:07.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T19:33:07.179Z] Dload Upload Total Spent Left Speed [2021-10-14T19:33:07.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16119 0 0 100 16119 0 52744 --:--:-- --:--:-- --:--:-- 52676 100 16119 0 0 100 16119 0 52711 --:--:-- --:--:-- --:--:-- 52676 [2021-10-14T19:33:07.441Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [Pipeline] } [2021-10-14T19:33:07.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T19:33:07.848Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T19:33:07.866Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:08.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T19:33:08.162Z] [2021-10-14T19:33:08.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:08.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T19:33:08.476Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T19:33:08.476Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T19:33:08.476Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T19:33:08.476Z] de9db76c5a1d: Pulling fs layer [2021-10-14T19:33:08.476Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T19:33:08.476Z] 0d57e429df01: Pulling fs layer [2021-10-14T19:33:08.476Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T19:33:08.476Z] e1f770b5df2f: Pulling fs layer [2021-10-14T19:33:08.476Z] 85a0685a4137: Pulling fs layer [2021-10-14T19:33:08.476Z] 0eba1c9be4d2: Waiting [2021-10-14T19:33:08.476Z] 0d57e429df01: Waiting [2021-10-14T19:33:08.476Z] 4e4be7b47b0d: Waiting [2021-10-14T19:33:08.476Z] e1f770b5df2f: Waiting [2021-10-14T19:33:08.476Z] 85a0685a4137: Waiting [2021-10-14T19:33:08.476Z] de9db76c5a1d: Verifying Checksum [2021-10-14T19:33:08.476Z] de9db76c5a1d: Download complete [2021-10-14T19:33:08.476Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T19:33:08.476Z] 0ef7d3d256c8: Download complete [2021-10-14T19:33:08.476Z] 0d57e429df01: Verifying Checksum [2021-10-14T19:33:08.476Z] 0d57e429df01: Download complete [2021-10-14T19:33:08.476Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T19:33:08.476Z] 4e4be7b47b0d: Download complete [2021-10-14T19:33:08.476Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T19:33:08.476Z] 188c0c94c7c5: Download complete [2021-10-14T19:33:08.743Z] e1f770b5df2f: Verifying Checksum [2021-10-14T19:33:08.743Z] e1f770b5df2f: Download complete [2021-10-14T19:33:09.017Z] 188c0c94c7c5: Pull complete [2021-10-14T19:33:09.291Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T19:33:09.291Z] 0eba1c9be4d2: Download complete [2021-10-14T19:33:09.291Z] 0ef7d3d256c8: Pull complete [2021-10-14T19:33:09.291Z] de9db76c5a1d: Pull complete [2021-10-14T19:33:09.560Z] 85a0685a4137: Verifying Checksum [2021-10-14T19:33:09.560Z] 85a0685a4137: Download complete [2021-10-14T19:33:13.802Z] 0eba1c9be4d2: Pull complete [2021-10-14T19:33:13.802Z] 0d57e429df01: Pull complete [2021-10-14T19:33:13.802Z] 4e4be7b47b0d: Pull complete [2021-10-14T19:33:13.802Z] e1f770b5df2f: Pull complete [2021-10-14T19:33:18.041Z] 85a0685a4137: Pull complete [2021-10-14T19:33:18.041Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T19:33:18.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T19:33:18.041Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T19:33:18.107Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:33:18.142Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-14T19:33:20.028Z] $ docker top 7577eebff426df8a2d39932284cb67d1658a41cbbc21f709a3bf4f4d0f8813ad -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T19:33:20.113Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T19:33:20.392Z] + set -o pipefail [2021-10-14T19:33:20.392Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T19:33:24.613Z] [2021-10-14T19:33:24.613Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-14T19:33:24.613Z] [2021-10-14T19:33:24.613Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/41e460b0-1b30-4e91-81fb-4fec9549251b [2021-10-14T19:33:24.613Z] [2021-10-14T19:33:24.613Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T19:33:24.613Z] [2021-10-14T19:33:24.872Z] [2021-10-14T19:33:24.872Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T19:33:24.872Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T19:33:24.881Z] $ docker stop --time=1 7577eebff426df8a2d39932284cb67d1658a41cbbc21f709a3bf4f4d0f8813ad [2021-10-14T19:33:26.553Z] $ docker rm -f 7577eebff426df8a2d39932284cb67d1658a41cbbc21f709a3bf4f4d0f8813ad [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-14T19:33:27.088Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:33:27.104Z] provisioning config files... [2021-10-14T19:33:27.114Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4235142757318997178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:33:27.418Z] --> edgex-publish-swagger.sh [2021-10-14T19:33:27.418Z] === Publish openapi/v2 API === [2021-10-14T19:33:27.418Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-14T19:33:27.418Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-14T19:33:27.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T19:33:27.418Z] Dload Upload Total Spent Left Speed [2021-10-14T19:33:27.994Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 72300 --:--:-- --:--:-- --:--:-- 72250 100 51659 0 0 100 51659 0 72289 --:--:-- --:--:-- --:--:-- 72250 [2021-10-14T19:33:27.994Z] [2021-10-14T19:33:27.994Z] [Pipeline] } [2021-10-14T19:33:28.001Z] 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-14T19:33:28.439Z] + git log --format=format:%s -1 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:28.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:33:28.754Z] . [Pipeline] withDockerContainer [2021-10-14T19:33:28.819Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:33:28.862Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T19:33:29.226Z] $ docker top 23c2a3307ab302fe1ffb9f2e4d553e2184c5ab623e4744ed26af2bab661bcd2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T19:33:29.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T19:33:29.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T19:33:29.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T19:33:29.437Z] $ docker exec 23c2a3307ab302fe1ffb9f2e4d553e2184c5ab623e4744ed26af2bab661bcd2a ssh-agent [2021-10-14T19:33:29.535Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdeJldp/agent.14 [2021-10-14T19:33:29.535Z] SSH_AGENT_PID=20 [2021-10-14T19:33:29.540Z] Running ssh-add (command line suppressed) [2021-10-14T19:33:29.625Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5381552257858444089.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5381552257858444089.key) [2021-10-14T19:33:29.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T19:33:29.933Z] + git semver tag [2021-10-14T19:33:29.933Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T19:33:29.933Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T19:33:29.933Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:33:29.933Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T19:33:29.933Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T19:33:29.933Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T19:33:29.933Z] # $SEMVER_BRANCH = main [2021-10-14T19:33:29.933Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T19:33:29.933Z] # 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c HEAD [2021-10-14T19:33:29.933Z] # -> Force: false [2021-10-14T19:33:29.933Z] # 26a1aeb7a2b48a8f3285bfc2ecbded93c5639567 refs/tags/v2.0.1-dev.21 [Pipeline] } [2021-10-14T19:33:29.944Z] $ docker exec --env ******** --env ******** 23c2a3307ab302fe1ffb9f2e4d553e2184c5ab623e4744ed26af2bab661bcd2a ssh-agent -k [2021-10-14T19:33:30.027Z] unset SSH_AUTH_SOCK; [2021-10-14T19:33:30.027Z] unset SSH_AGENT_PID; [2021-10-14T19:33:30.027Z] echo Agent pid 20 killed; [2021-10-14T19:33:30.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T19:33:30.353Z] + git semver [Pipeline] } [2021-10-14T19:33:30.368Z] $ docker stop --time=1 23c2a3307ab302fe1ffb9f2e4d553e2184c5ab623e4744ed26af2bab661bcd2a [2021-10-14T19:33:31.542Z] $ docker rm -f 23c2a3307ab302fe1ffb9f2e4d553e2184c5ab623e4744ed26af2bab661bcd2a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:31.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T19:33:31.930Z] [2021-10-14T19:33:31.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:32.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T19:33:32.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T19:33:32.239Z] ab5ef0e58194: Pulling fs layer [2021-10-14T19:33:32.239Z] 9712f1f96733: Pulling fs layer [2021-10-14T19:33:32.239Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T19:33:32.239Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T19:33:32.239Z] e9a5061849ea: Pulling fs layer [2021-10-14T19:33:32.239Z] d747dcd14b5f: Pulling fs layer [2021-10-14T19:33:32.239Z] 2de7ff778b66: Pulling fs layer [2021-10-14T19:33:32.239Z] 0d9ebad4ef96: Waiting [2021-10-14T19:33:32.239Z] e9a5061849ea: Waiting [2021-10-14T19:33:32.239Z] d747dcd14b5f: Waiting [2021-10-14T19:33:32.239Z] 2de7ff778b66: Waiting [2021-10-14T19:33:32.239Z] 9712f1f96733: Verifying Checksum [2021-10-14T19:33:32.239Z] 9712f1f96733: Download complete [2021-10-14T19:33:32.508Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T19:33:32.508Z] 63f879dbbcfc: Download complete [2021-10-14T19:33:32.774Z] ab5ef0e58194: Verifying Checksum [2021-10-14T19:33:32.774Z] ab5ef0e58194: Download complete [2021-10-14T19:33:32.774Z] d747dcd14b5f: Verifying Checksum [2021-10-14T19:33:32.774Z] d747dcd14b5f: Download complete [2021-10-14T19:33:32.774Z] e9a5061849ea: Verifying Checksum [2021-10-14T19:33:32.774Z] e9a5061849ea: Download complete [2021-10-14T19:33:32.774Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T19:33:32.774Z] 0d9ebad4ef96: Download complete [2021-10-14T19:33:33.037Z] 2de7ff778b66: Verifying Checksum [2021-10-14T19:33:33.037Z] 2de7ff778b66: Download complete [2021-10-14T19:33:35.628Z] ab5ef0e58194: Pull complete [2021-10-14T19:33:35.628Z] 9712f1f96733: Pull complete [2021-10-14T19:33:37.024Z] 63f879dbbcfc: Pull complete [2021-10-14T19:33:40.385Z] 0d9ebad4ef96: Pull complete [2021-10-14T19:33:40.648Z] e9a5061849ea: Pull complete [2021-10-14T19:33:40.909Z] d747dcd14b5f: Pull complete [2021-10-14T19:33:41.866Z] 2de7ff778b66: Pull complete [2021-10-14T19:33:41.866Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T19:33:41.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T19:33:41.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T19:33:41.944Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:33:41.976Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-14T19:33:45.035Z] $ docker top 34d60af53fd6608971e2a8da6d42327520109d1b76ce6d3c0b4320e32e5016f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:33:45.102Z] provisioning config files... [2021-10-14T19:33:45.109Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4994717196567654106tmp [2021-10-14T19:33:45.119Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2566308595289961002tmp [2021-10-14T19:33:45.129Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config381594410259133693tmp [Pipeline] { [Pipeline] echo [2021-10-14T19:33:45.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:33:45.426Z] ---> sigul-configuration.sh [2021-10-14T19:33:45.426Z] gpg: directory `/root/.gnupg' created [2021-10-14T19:33:45.426Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T19:33:45.426Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T19:33:45.426Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T19:33:45.426Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T19:33:45.426Z] gpg: CAST5 encrypted data [2021-10-14T19:33:45.426Z] gpg: encrypted with 1 passphrase [2021-10-14T19:33:45.426Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T19:33:45.715Z] + mkdir /home/jenkins [2021-10-14T19:33:45.715Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T19:33:46.005Z] + 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-14T19:33:46.013Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:33:46.301Z] ---> sigul-install.sh [2021-10-14T19:33:46.301Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T19:33:46.591Z] + git tag --list [2021-10-14T19:33:46.591Z] 0.7.1 [2021-10-14T19:33:46.591Z] delhi-tag [2021-10-14T19:33:46.591Z] v1.0.0 [2021-10-14T19:33:46.591Z] v1.1.0 [2021-10-14T19:33:46.591Z] v1.1.1 [2021-10-14T19:33:46.591Z] v1.1.2 [2021-10-14T19:33:46.591Z] v1.2.0 [2021-10-14T19:33:46.591Z] v1.2.1 [2021-10-14T19:33:46.591Z] v1.2.2 [2021-10-14T19:33:46.591Z] v1.2.3 [2021-10-14T19:33:46.591Z] v1.3.0 [2021-10-14T19:33:46.591Z] v1.4.0 [2021-10-14T19:33:46.591Z] v2.0.0 [2021-10-14T19:33:46.591Z] v2.0.1-dev.1 [2021-10-14T19:33:46.591Z] v2.0.1-dev.10 [2021-10-14T19:33:46.591Z] v2.0.1-dev.11 [2021-10-14T19:33:46.591Z] v2.0.1-dev.12 [2021-10-14T19:33:46.591Z] v2.0.1-dev.13 [2021-10-14T19:33:46.591Z] v2.0.1-dev.14 [2021-10-14T19:33:46.591Z] v2.0.1-dev.15 [2021-10-14T19:33:46.591Z] v2.0.1-dev.16 [2021-10-14T19:33:46.591Z] v2.0.1-dev.17 [2021-10-14T19:33:46.591Z] v2.0.1-dev.18 [2021-10-14T19:33:46.591Z] v2.0.1-dev.19 [2021-10-14T19:33:46.591Z] v2.0.1-dev.2 [2021-10-14T19:33:46.591Z] v2.0.1-dev.20 [2021-10-14T19:33:46.591Z] v2.0.1-dev.21 [2021-10-14T19:33:46.591Z] v2.0.1-dev.3 [2021-10-14T19:33:46.591Z] v2.0.1-dev.4 [2021-10-14T19:33:46.591Z] v2.0.1-dev.5 [2021-10-14T19:33:46.591Z] v2.0.1-dev.6 [2021-10-14T19:33:46.591Z] v2.0.1-dev.7 [2021-10-14T19:33:46.591Z] v2.0.1-dev.8 [2021-10-14T19:33:46.591Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-14T19:33:46.885Z] + lftools sign git-tag v2.0.1-dev.21 [2021-10-14T19:33:47.454Z] Signing Git tag with Sigul... [2021-10-14T19:33:47.454Z] Signing v2.0.1-dev.21 [Pipeline] echo [2021-10-14T19:33:48.849Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:33:49.134Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T19:33:49.145Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T19:33:49.162Z] $ docker stop --time=1 34d60af53fd6608971e2a8da6d42327520109d1b76ce6d3c0b4320e32e5016f4 [2021-10-14T19:33:50.352Z] $ docker rm -f 34d60af53fd6608971e2a8da6d42327520109d1b76ce6d3c0b4320e32e5016f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:50.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:33:50.993Z] . [Pipeline] withDockerContainer [2021-10-14T19:33:51.052Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:33:51.084Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T19:33:51.415Z] $ docker top 112baf1150c60690589cfe7400ee3d503e50e4968bcf9bc73758dd0abfa78230 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T19:33:51.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T19:33:51.508Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T19:33:51.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T19:33:51.627Z] $ docker exec 112baf1150c60690589cfe7400ee3d503e50e4968bcf9bc73758dd0abfa78230 ssh-agent [2021-10-14T19:33:51.739Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLlcICp/agent.15 [2021-10-14T19:33:51.739Z] SSH_AGENT_PID=22 [2021-10-14T19:33:51.745Z] Running ssh-add (command line suppressed) [2021-10-14T19:33:51.858Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4257353836494154707.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4257353836494154707.key) [2021-10-14T19:33:51.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T19:33:52.160Z] + git semver bump pre [2021-10-14T19:33:52.160Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T19:33:52.160Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T19:33:52.160Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:33:52.160Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T19:33:52.160Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T19:33:52.160Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T19:33:52.160Z] # $SEMVER_BRANCH = main [2021-10-14T19:33:52.160Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T19:33:52.160Z] 2.0.1-dev.22 [Pipeline] } [2021-10-14T19:33:52.170Z] $ docker exec --env ******** --env ******** 112baf1150c60690589cfe7400ee3d503e50e4968bcf9bc73758dd0abfa78230 ssh-agent -k [2021-10-14T19:33:52.260Z] unset SSH_AUTH_SOCK; [2021-10-14T19:33:52.260Z] unset SSH_AGENT_PID; [2021-10-14T19:33:52.260Z] echo Agent pid 22 killed; [2021-10-14T19:33:52.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T19:33:52.573Z] + git semver [Pipeline] } [2021-10-14T19:33:52.584Z] $ docker stop --time=1 112baf1150c60690589cfe7400ee3d503e50e4968bcf9bc73758dd0abfa78230 [2021-10-14T19:33:53.798Z] $ docker rm -f 112baf1150c60690589cfe7400ee3d503e50e4968bcf9bc73758dd0abfa78230 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:33:54.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T19:33:54.150Z] . [Pipeline] withDockerContainer [2021-10-14T19:33:54.215Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:33:54.257Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T19:33:54.601Z] $ docker top 2bdc0a8aee201e9907ec396871e15699e4b18d1937be8a06433afef0682aec35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T19:33:54.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T19:33:54.767Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T19:33:54.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T19:33:54.915Z] $ docker exec 2bdc0a8aee201e9907ec396871e15699e4b18d1937be8a06433afef0682aec35 ssh-agent [2021-10-14T19:33:55.054Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepHgHa/agent.14 [2021-10-14T19:33:55.054Z] SSH_AGENT_PID=20 [2021-10-14T19:33:55.081Z] Running ssh-add (command line suppressed) [2021-10-14T19:33:55.176Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7530820280314121351.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7530820280314121351.key) [2021-10-14T19:33:55.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T19:33:55.482Z] + git semver push [2021-10-14T19:33:55.482Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T19:33:55.482Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T19:33:55.482Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:33:55.482Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T19:33:55.482Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T19:33:55.482Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T19:33:55.482Z] # $SEMVER_BRANCH = main [2021-10-14T19:33:55.482Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T19:33:57.400Z] $ docker exec --env ******** --env ******** 2bdc0a8aee201e9907ec396871e15699e4b18d1937be8a06433afef0682aec35 ssh-agent -k [2021-10-14T19:33:57.491Z] unset SSH_AUTH_SOCK; [2021-10-14T19:33:57.491Z] unset SSH_AGENT_PID; [2021-10-14T19:33:57.491Z] echo Agent pid 20 killed; [2021-10-14T19:33:57.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T19:33:57.814Z] + git semver [Pipeline] } [2021-10-14T19:33:57.824Z] $ docker stop --time=1 2bdc0a8aee201e9907ec396871e15699e4b18d1937be8a06433afef0682aec35 [2021-10-14T19:33:59.012Z] $ docker rm -f 2bdc0a8aee201e9907ec396871e15699e4b18d1937be8a06433afef0682aec35 [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-14T19:33:59.727Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:00.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:00.589Z] ---> package-listing.sh [2021-10-14T19:34:00.589Z] ++ facter osfamily [2021-10-14T19:34:00.589Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T19:34:00.851Z] + OS_FAMILY=redhat [2021-10-14T19:34:00.851Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T19:34:00.851Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T19:34:00.851Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T19:34:00.851Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T19:34:00.851Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T19:34:00.851Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T19:34:00.851Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T19:34:00.851Z] + case "${OS_FAMILY}" in [2021-10-14T19:34:00.851Z] + rpm -qa [2021-10-14T19:34:00.851Z] + sort [2021-10-14T19:34:01.421Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T19:34:01.421Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T19:34:01.421Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T19:34:01.421Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T19:34:01.421Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-14T19:34:01.421Z] + 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-14T19:34:01.435Z] 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-14T19:34:01.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:34:02.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:34:02.289Z] [2021-10-14T19:34:02.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:34:02.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:34:02.591Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T19:34:02.591Z] b4d181a07f80: Pulling fs layer [2021-10-14T19:34:02.591Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T19:34:02.591Z] ed53099fbce6: Pulling fs layer [2021-10-14T19:34:02.591Z] dc539afda2c1: Pulling fs layer [2021-10-14T19:34:02.591Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T19:34:02.591Z] 9065ff56babe: Pulling fs layer [2021-10-14T19:34:02.591Z] d287ab97295c: Pulling fs layer [2021-10-14T19:34:02.591Z] dc539afda2c1: Waiting [2021-10-14T19:34:02.591Z] 77bc0d833cb6: Waiting [2021-10-14T19:34:02.591Z] 9065ff56babe: Waiting [2021-10-14T19:34:02.591Z] d287ab97295c: Waiting [2021-10-14T19:34:02.591Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T19:34:02.591Z] a1111a8f2ec3: Download complete [2021-10-14T19:34:02.591Z] dc539afda2c1: Verifying Checksum [2021-10-14T19:34:02.591Z] dc539afda2c1: Download complete [2021-10-14T19:34:02.854Z] ed53099fbce6: Verifying Checksum [2021-10-14T19:34:02.854Z] ed53099fbce6: Download complete [2021-10-14T19:34:02.854Z] 9065ff56babe: Verifying Checksum [2021-10-14T19:34:02.854Z] 9065ff56babe: Download complete [2021-10-14T19:34:02.854Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T19:34:02.854Z] 77bc0d833cb6: Download complete [2021-10-14T19:34:02.854Z] b4d181a07f80: Verifying Checksum [2021-10-14T19:34:02.854Z] b4d181a07f80: Download complete [2021-10-14T19:34:03.428Z] d287ab97295c: Verifying Checksum [2021-10-14T19:34:03.428Z] d287ab97295c: Download complete [2021-10-14T19:34:04.373Z] b4d181a07f80: Pull complete [2021-10-14T19:34:04.634Z] a1111a8f2ec3: Pull complete [2021-10-14T19:34:04.899Z] ed53099fbce6: Pull complete [2021-10-14T19:34:05.160Z] dc539afda2c1: Pull complete [2021-10-14T19:34:05.431Z] 77bc0d833cb6: Pull complete [2021-10-14T19:34:05.431Z] 9065ff56babe: Pull complete [2021-10-14T19:34:10.776Z] d287ab97295c: Pull complete [2021-10-14T19:34:10.776Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T19:34:10.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:34:10.776Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T19:34:10.839Z] prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container [2021-10-14T19:34:10.874Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T19:34:12.969Z] $ docker top 80b390022886709a7b5c563882bc4b2829f090ad8738d42b4050b2485199e413 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T19:34:13.321Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T19:34:13.611Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T19:34:13.908Z] + ls /var/log/sa-host [2021-10-14T19:34:13.908Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T19:34:13.908Z] file_magic: OK [2021-10-14T19:34:13.908Z] HZ: Using current value: 100 [2021-10-14T19:34:13.908Z] file_header: OK [2021-10-14T19:34:13.908Z] 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-14T19:34:13.908Z] Statistics: [2021-10-14T19:34:13.908Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T19:34:13.908Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T19:34:13.908Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T19:34:13.908Z] file_magic: OK [2021-10-14T19:34:13.908Z] HZ: Using current value: 100 [2021-10-14T19:34:13.908Z] file_header: OK [2021-10-14T19:34:13.908Z] 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-14T19:34:13.908Z] Statistics: [2021-10-14T19:34:13.908Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T19:34:13.908Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:34:14.055Z] provisioning config files... [2021-10-14T19:34:14.067Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8411024142212786238tmp [Pipeline] { [Pipeline] echo [2021-10-14T19:34:14.080Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:14.364Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T19:34:14.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:14.705Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T19:34:14.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:15.009Z] ---> sudo-logs.sh [2021-10-14T19:34:15.009Z] Archiving 'sudo' log.. [2021-10-14T19:34:15.009Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1472.novalocal: Name or service not known [2021-10-14T19:34:15.009Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1472.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T19:34:15.037Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:15.350Z] ---> job-cost.sh [2021-10-14T19:34:15.350Z] lf-activate-venv: SKIPPING [2021-10-14T19:34:15.350Z] DEBUG: total: 0.10999999940395355 [2021-10-14T19:34:15.350Z] INFO: Retrieving Stack Cost... [2021-10-14T19:34:16.289Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T19:34:16.549Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T19:34:16.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:34:16.842Z] ---> logs-deploy.sh [2021-10-14T19:34:16.842Z] lf-activate-venv: SKIPPING [2021-10-14T19:34:16.842Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/20 [2021-10-14T19:34:16.842Z] INFO: archiving workspace using pattern(s): [2021-10-14T19:34:17.416Z] Archives upload complete. [2021-10-14T19:34:17.678Z] INFO: archiving logs to Nexus