Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65791aa66105356d7211b84a08e8523cbf0bcc17 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-ssh2802996798045184806.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-ssh909900617177247668.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-ssh4538657054118139869.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-ssh5150720463208421009.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-ssh3164572163476901201.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 ‘prd-centos7-docker-4c-2g-1373’ Running on prd-centos7-docker-4c-2g-1379 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh7668117782107039474.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65791aa66105356d7211b84a08e8523cbf0bcc17 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 Commit message: "Merge pull request #1034 from cherrycl/issue-1015" > git rev-list --no-walk 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T08:35:26.750Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T08:35:26.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T08:35:26.806Z] ========================================================= [2021-10-14T08:35:26.806Z] EdgeX Global Pipelines Version Info [2021-10-14T08:35:26.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:35:27.926Z] ------------------- [2021-10-14T08:35:27.926Z] stable info: [2021-10-14T08:35:27.926Z] ------------------- [2021-10-14T08:35:27.926Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T08:35:27.926Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:35:27.926Z] Message: update stable to v1.0.210 [2021-10-14T08:35:28.493Z] ------------------- [2021-10-14T08:35:28.493Z] experimental info: [2021-10-14T08:35:28.493Z] ------------------- [2021-10-14T08:35:28.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T08:35:28.493Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:35:28.493Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T08:35:28.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T08:35:28.583Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T08:35:28.592Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T08:35:28.602Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T08:35:28.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T08:35:28.624Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T08:35:28.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T08:35:28.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T08:35:28.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T08:35:28.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T08:35:28.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T08:35:28.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T08:35:28.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T08:35:28.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T08:35:28.744Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:35:28.752Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:35:28.762Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:35:28.772Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:35:28.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T08:35:28.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T08:35:28.804Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T08:35:28.816Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T08:35:28.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T08:35:28.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T08:35:28.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T08:35:28.852Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T08:35:28.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T08:35:28.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T08:35:28.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T08:35:28.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65791aa66105356d7211b84a08e8523cbf0bcc17 [Pipeline] echo [2021-10-14T08:35:28.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65791aa [Pipeline] echo [2021-10-14T08:35:28.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:35:28.953Z] provisioning config files... [2021-10-14T08:35:28.966Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config315922734743851099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:35:29.278Z] ---> docker-login.sh [2021-10-14T08:35:29.278Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:35:29.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:29.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:29.543Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:29.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:29.543Z] [2021-10-14T08:35:29.543Z] Login Succeeded [2021-10-14T08:35:29.543Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:35:29.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:29.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:29.543Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:29.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:29.543Z] [2021-10-14T08:35:29.543Z] Login Succeeded [2021-10-14T08:35:29.543Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:35:29.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:29.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:29.543Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:29.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:29.543Z] [2021-10-14T08:35:29.543Z] Login Succeeded [2021-10-14T08:35:29.543Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:35:29.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:29.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:29.802Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:29.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:29.802Z] [2021-10-14T08:35:29.802Z] Login Succeeded [2021-10-14T08:35:29.802Z] docker.io [2021-10-14T08:35:29.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:30.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:30.062Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:30.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:30.062Z] [2021-10-14T08:35:30.062Z] Login Succeeded [2021-10-14T08:35:30.062Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:35:30.068Z] 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-14T08:35:30.506Z] + git log --format=format:%s -1 65791aa66105356d7211b84a08e8523cbf0bcc17 [Pipeline] echo [2021-10-14T08:35:30.542Z] GIT_COMMIT: 65791aa66105356d7211b84a08e8523cbf0bcc17, Commit Message: Merge pull request #1034 from cherrycl/issue-1015 [Pipeline] echo [2021-10-14T08:35:30.551Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:35:30.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:35:30.977Z] [2021-10-14T08:35:30.977Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:35:31.275Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:35:31.275Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T08:35:31.275Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:35:31.275Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T08:35:31.275Z] 4c7163046ea9: Pulling fs layer [2021-10-14T08:35:31.275Z] 0c2d73faf560: Pulling fs layer [2021-10-14T08:35:31.275Z] 0c2d73faf560: Waiting [2021-10-14T08:35:31.275Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T08:35:31.275Z] 3e5f54012d9b: Download complete [2021-10-14T08:35:31.275Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:35:31.275Z] a0d0a0d46f8b: Download complete [2021-10-14T08:35:31.275Z] 4c7163046ea9: Verifying Checksum [2021-10-14T08:35:31.275Z] 4c7163046ea9: Download complete [2021-10-14T08:35:31.275Z] 0c2d73faf560: Verifying Checksum [2021-10-14T08:35:31.275Z] 0c2d73faf560: Download complete [2021-10-14T08:35:31.544Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:35:31.544Z] 3e5f54012d9b: Pull complete [2021-10-14T08:35:31.803Z] 4c7163046ea9: Pull complete [2021-10-14T08:35:32.061Z] 0c2d73faf560: Pull complete [2021-10-14T08:35:32.061Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T08:35:32.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:35:32.061Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T08:35:32.123Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:35:31.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:35:32.467Z] $ docker top bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:35:32.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:35:32.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:35:32.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:35:32.677Z] $ docker exec bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 ssh-agent [2021-10-14T08:35:33.067Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoplKmD/agent.14 [2021-10-14T08:35:33.067Z] SSH_AGENT_PID=21 [2021-10-14T08:35:33.073Z] Running ssh-add (command line suppressed) [2021-10-14T08:35:32.881Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8742046274572251171.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8742046274572251171.key) [2021-10-14T08:35:33.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:35:33.479Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T08:35:33.240Z] $ docker exec --env ******** --env ******** bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 ssh-agent -k [2021-10-14T08:35:33.333Z] unset SSH_AUTH_SOCK; [2021-10-14T08:35:33.335Z] unset SSH_AGENT_PID; [2021-10-14T08:35:33.335Z] echo Agent pid 21 killed; [2021-10-14T08:35:33.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T08:35:33.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:35:33.613Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:35:33.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:35:33.478Z] $ docker exec bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 ssh-agent [2021-10-14T08:35:33.800Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLJJjG/agent.55 [2021-10-14T08:35:33.800Z] SSH_AGENT_PID=62 [2021-10-14T08:35:33.805Z] Running ssh-add (command line suppressed) [2021-10-14T08:35:33.673Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6692550708002625634.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6692550708002625634.key) [2021-10-14T08:35:33.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:35:34.193Z] + git semver init [2021-10-14T08:35:34.193Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:35:34.193Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T08:35:34.193Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:35:34.193Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:35:34.193Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:35:34.193Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:35:34.193Z] # $SEMVER_BRANCH = main [2021-10-14T08:35:34.193Z] # $SEMVER_TEMP = /tmp/semver-477163603 [2021-10-14T08:35:34.193Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T08:35:34.765Z] # '/tmp/semver-477163603' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-14T08:35:34.765Z] # -> Force: false [2021-10-14T08:35:34.765Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T08:35:34.636Z] $ docker exec --env ******** --env ******** bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 ssh-agent -k [2021-10-14T08:35:34.729Z] unset SSH_AUTH_SOCK; [2021-10-14T08:35:34.730Z] unset SSH_AGENT_PID; [2021-10-14T08:35:34.730Z] echo Agent pid 62 killed; [2021-10-14T08:35:34.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:35:35.185Z] + git semver [Pipeline] } [2021-10-14T08:35:35.089Z] $ docker stop --time=1 bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 [2021-10-14T08:35:36.299Z] $ docker rm -f bb562fbdcaacd2233cdf96f45a73d023d83b2443b2b1d6a64129fb961d5db490 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:35:36.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T08:35:36.873Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T08:35:36.876Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.19 [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-14T08:35:52.048Z] Still waiting to schedule task [2021-10-14T08:35:52.049Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T08:35:52.050Z] Still waiting to schedule task [2021-10-14T08:35:52.051Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T08:40:43.045Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1392 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:40:43.058Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-10-14T08:40:43.358Z] Selected Git installation does not exist. Using Default [2021-10-14T08:40:43.358Z] The recommended git tool is: NONE [2021-10-14T08:40:51.640Z] using credential edgex-jenkins-ssh [2021-10-14T08:40:51.684Z] Cloning the remote Git repository [2021-10-14T08:40:51.771Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:40:51.912Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2021-10-14T08:40:52.040Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:40:52.041Z] > git --version # timeout=10 [2021-10-14T08:40:52.072Z] > git --version # 'git version 2.17.1' [2021-10-14T08:40:52.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:40:52.201Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:40:53.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:40:53.799Z] Avoid second fetch [2021-10-14T08:40:53.800Z] Checking out Revision 65791aa66105356d7211b84a08e8523cbf0bcc17 (main) [2021-10-14T08:40:53.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:40:53.831Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:40:53.853Z] > git checkout -f 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T08:40:58.906Z] Commit message: "Merge pull request #1034 from cherrycl/issue-1015" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:41:00.110Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T08:41:00.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:41:00.110Z] Dload Upload Total Spent Left Speed [2021-10-14T08:41:00.110Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 156k 0 --:--:-- --:--:-- --:--:-- 156k [Pipeline] sh [2021-10-14T08:41:00.607Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T08:41:00.992Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T08:41:00.993Z] + sudo tee /etc/docker/daemon.new [2021-10-14T08:41:00.993Z] { [2021-10-14T08:41:00.993Z] "registry-mirrors": [ [2021-10-14T08:41:00.993Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T08:41:00.993Z] ], [2021-10-14T08:41:00.993Z] "bip": "10.250.0.254/24", [2021-10-14T08:41:00.993Z] "hosts": [ [2021-10-14T08:41:00.993Z] "tcp://0.0.0.0:5555", [2021-10-14T08:41:00.993Z] "unix:///var/run/docker.sock" [2021-10-14T08:41:00.993Z] ], [2021-10-14T08:41:00.993Z] "mtu": 1458, [2021-10-14T08:41:00.993Z] "selinux-enabled": true, [2021-10-14T08:41:00.993Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T08:41:00.993Z] } [Pipeline] sh [2021-10-14T08:41:01.385Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T08:41:01.770Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:41:20.259Z] provisioning config files... [2021-10-14T08:41:20.364Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/18@tmp/config602690724269891728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:41:20.826Z] ---> docker-login.sh [2021-10-14T08:41:20.826Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:41:22.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:41:22.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:41:22.926Z] Configure a credential helper to remove this warning. See [2021-10-14T08:41:22.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:41:22.926Z] [2021-10-14T08:41:22.926Z] Login Succeeded [2021-10-14T08:41:22.926Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:41:23.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:41:23.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:41:23.555Z] Configure a credential helper to remove this warning. See [2021-10-14T08:41:23.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:41:23.555Z] [2021-10-14T08:41:23.555Z] Login Succeeded [2021-10-14T08:41:23.837Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:41:24.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:41:24.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:41:24.403Z] Configure a credential helper to remove this warning. See [2021-10-14T08:41:24.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:41:24.403Z] [2021-10-14T08:41:24.403Z] Login Succeeded [2021-10-14T08:41:24.403Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:41:25.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:41:25.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:41:25.028Z] Configure a credential helper to remove this warning. See [2021-10-14T08:41:25.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:41:25.028Z] [2021-10-14T08:41:25.028Z] Login Succeeded [2021-10-14T08:41:25.028Z] docker.io [2021-10-14T08:41:25.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:41:26.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:41:26.263Z] Configure a credential helper to remove this warning. See [2021-10-14T08:41:26.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:41:26.263Z] [2021-10-14T08:41:26.263Z] Login Succeeded [2021-10-14T08:41:26.263Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:41:26.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:41:26.697Z] ========================================================= [2021-10-14T08:41:26.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T08:41:26.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:41:27.085Z] + 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-14T08:41:27.702Z] Sending build context to Docker daemon 2.674MB [2021-10-14T08:41:27.702Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:41:27.702Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T08:41:27.983Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T08:41:27.983Z] 552d1f2373af: Pulling fs layer [2021-10-14T08:41:27.983Z] ea3f2d53f512: Pulling fs layer [2021-10-14T08:41:27.983Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T08:41:27.983Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T08:41:27.983Z] 72dc09318566: Pulling fs layer [2021-10-14T08:41:27.983Z] f4f7b4309257: Pulling fs layer [2021-10-14T08:41:27.983Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T08:41:27.983Z] b78e95d17946: Pulling fs layer [2021-10-14T08:41:27.983Z] 7a9cfe048b4a: Waiting [2021-10-14T08:41:27.983Z] 72dc09318566: Waiting [2021-10-14T08:41:27.983Z] f4f7b4309257: Waiting [2021-10-14T08:41:27.983Z] 0ac9a79272e3: Waiting [2021-10-14T08:41:27.983Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T08:41:27.983Z] 9e70ebbbe112: Download complete [2021-10-14T08:41:27.983Z] ea3f2d53f512: Download complete [2021-10-14T08:41:27.983Z] 72dc09318566: Verifying Checksum [2021-10-14T08:41:27.983Z] 72dc09318566: Download complete [2021-10-14T08:41:27.983Z] f4f7b4309257: Verifying Checksum [2021-10-14T08:41:27.983Z] f4f7b4309257: Download complete [2021-10-14T08:41:27.983Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T08:41:27.983Z] 0ac9a79272e3: Download complete [2021-10-14T08:41:28.270Z] 552d1f2373af: Verifying Checksum [2021-10-14T08:41:28.270Z] 552d1f2373af: Download complete [2021-10-14T08:41:29.301Z] 552d1f2373af: Pull complete [2021-10-14T08:41:29.923Z] ea3f2d53f512: Pull complete [2021-10-14T08:41:30.574Z] 9e70ebbbe112: Pull complete [2021-10-14T08:41:30.574Z] b78e95d17946: Verifying Checksum [2021-10-14T08:41:30.574Z] b78e95d17946: Download complete [2021-10-14T08:41:30.855Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T08:41:30.855Z] 7a9cfe048b4a: Download complete [2021-10-14T08:41:43.343Z] 7a9cfe048b4a: Pull complete [2021-10-14T08:41:43.343Z] 72dc09318566: Pull complete [2021-10-14T08:41:43.343Z] f4f7b4309257: Pull complete [2021-10-14T08:41:43.343Z] 0ac9a79272e3: Pull complete [2021-10-14T08:41:49.053Z] b78e95d17946: Pull complete [2021-10-14T08:41:49.053Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T08:41:49.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T08:41:49.053Z] ---> 8b459fc5aaf0 [2021-10-14T08:41:49.053Z] Step 3/10 : ARG MAKE=make build [2021-10-14T08:41:54.612Z] ---> Running in 6d1fad769895 [2021-10-14T08:41:54.612Z] Removing intermediate container 6d1fad769895 [2021-10-14T08:41:54.612Z] ---> 919640420707 [2021-10-14T08:41:54.612Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T08:41:54.612Z] ---> Running in 07fa77dd515d [2021-10-14T08:41:55.616Z] Removing intermediate container 07fa77dd515d [2021-10-14T08:41:55.616Z] ---> e4365af46e93 [2021-10-14T08:41:55.616Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:41:55.616Z] ---> Running in fd7a5116473d [2021-10-14T08:41:55.893Z] Removing intermediate container fd7a5116473d [2021-10-14T08:41:55.893Z] ---> 31b33bcf2da1 [2021-10-14T08:41:55.893Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:41:56.181Z] ---> Running in 89e5da7a48a5 [2021-10-14T08:41:56.345Z] Running on prd-centos7-docker-4c-2g-1395 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:41:56.360Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-10-14T08:41:56.446Z] Selected Git installation does not exist. Using Default [2021-10-14T08:41:56.446Z] The recommended git tool is: NONE [2021-10-14T08:41:58.413Z] using credential edgex-jenkins-ssh [2021-10-14T08:41:58.429Z] Cloning the remote Git repository [2021-10-14T08:41:58.017Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:41:58.066Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2021-10-14T08:41:58.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:41:58.096Z] > git --version # timeout=10 [2021-10-14T08:41:58.107Z] > git --version # 'git version 2.24.4' [2021-10-14T08:41:58.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:41:58.129Z] [INFO] Currently running in a labeled security context [2021-10-14T08:41:58.129Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:41:58.130Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/18@tmp/jenkins-gitclient-ssh6789158209871552879.key [2021-10-14T08:41:58.149Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:41:59.374Z] Avoid second fetch [2021-10-14T08:41:59.374Z] Checking out Revision 65791aa66105356d7211b84a08e8523cbf0bcc17 (main) [2021-10-14T08:41:59.650Z] Removing intermediate container 89e5da7a48a5 [2021-10-14T08:41:59.650Z] ---> e62de1ce854c [2021-10-14T08:41:59.650Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:41:59.650Z] ---> Running in c6bad8092ba0 [2021-10-14T08:41:58.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:41:58.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:41:58.955Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:41:58.965Z] > git checkout -f 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T08:42:00.650Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:01.670Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:02.663Z] OK: 219 MiB in 52 packages [2021-10-14T08:42:03.028Z] Commit message: "Merge pull request #1034 from cherrycl/issue-1015" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:42:03.466Z] provisioning config files... [2021-10-14T08:42:03.485Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/18@tmp/config7280415102471356782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:42:03.886Z] ---> docker-login.sh [2021-10-14T08:42:03.886Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:42:03.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:42:03.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:42:03.886Z] Configure a credential helper to remove this warning. See [2021-10-14T08:42:03.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:42:03.886Z] [2021-10-14T08:42:03.886Z] Login Succeeded [2021-10-14T08:42:03.886Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:42:04.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:42:04.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:42:04.150Z] Configure a credential helper to remove this warning. See [2021-10-14T08:42:04.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:42:04.150Z] [2021-10-14T08:42:04.150Z] Login Succeeded [2021-10-14T08:42:04.150Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:42:04.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:42:04.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:42:04.150Z] Configure a credential helper to remove this warning. See [2021-10-14T08:42:04.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:42:04.150Z] [2021-10-14T08:42:04.150Z] Login Succeeded [2021-10-14T08:42:04.150Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:42:04.151Z] Removing intermediate container c6bad8092ba0 [2021-10-14T08:42:04.151Z] ---> 05fff7d8f14f [2021-10-14T08:42:04.151Z] Step 8/10 : COPY . . [2021-10-14T08:42:04.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:42:04.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:42:04.412Z] Configure a credential helper to remove this warning. See [2021-10-14T08:42:04.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:42:04.412Z] [2021-10-14T08:42:04.412Z] Login Succeeded [2021-10-14T08:42:04.412Z] docker.io [2021-10-14T08:42:04.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:42:04.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:42:04.680Z] Configure a credential helper to remove this warning. See [2021-10-14T08:42:04.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:42:04.680Z] [2021-10-14T08:42:04.680Z] Login Succeeded [2021-10-14T08:42:04.680Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:42:04.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:42:04.853Z] ========================================================= [2021-10-14T08:42:04.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:42:04.853Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:05.164Z] + 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-14T08:42:05.164Z] Sending build context to Docker daemon 2.674MB [2021-10-14T08:42:05.164Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:42:05.164Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T08:42:05.164Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:42:05.164Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:42:05.164Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:42:05.164Z] b8b176561691: Pulling fs layer [2021-10-14T08:42:05.164Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:42:05.164Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:42:05.164Z] e0aca202a116: Pulling fs layer [2021-10-14T08:42:05.164Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:42:05.164Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:42:05.164Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:42:05.164Z] 4527c011a84f: Waiting [2021-10-14T08:42:05.164Z] e0aca202a116: Waiting [2021-10-14T08:42:05.164Z] 3a43be97a3b4: Waiting [2021-10-14T08:42:05.164Z] 34cad66bf833: Waiting [2021-10-14T08:42:05.164Z] b4e3c513aaa6: Waiting [2021-10-14T08:42:05.164Z] 5d74067f8e1e: Waiting [2021-10-14T08:42:05.164Z] b8b176561691: Verifying Checksum [2021-10-14T08:42:05.164Z] b8b176561691: Download complete [2021-10-14T08:42:05.164Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:42:05.164Z] 31adcdaf11c8: Download complete [2021-10-14T08:42:05.164Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:42:05.164Z] 5d74067f8e1e: Download complete [2021-10-14T08:42:05.429Z] e0aca202a116: Verifying Checksum [2021-10-14T08:42:05.429Z] e0aca202a116: Download complete [2021-10-14T08:42:05.429Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:42:05.429Z] a0d0a0d46f8b: Download complete [2021-10-14T08:42:05.429Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:42:05.429Z] 3a43be97a3b4: Download complete [2021-10-14T08:42:05.429Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:42:05.429Z] 34cad66bf833: Download complete [2021-10-14T08:42:05.619Z] ---> c88f08de2feb [2021-10-14T08:42:05.619Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:42:05.619Z] ---> Running in ab2be3a95cd2 [2021-10-14T08:42:05.692Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:42:05.956Z] 31adcdaf11c8: Pull complete [2021-10-14T08:42:05.956Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:42:05.956Z] 4527c011a84f: Download complete [2021-10-14T08:42:05.956Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:42:05.956Z] b4e3c513aaa6: Download complete [2021-10-14T08:42:05.956Z] b8b176561691: Pull complete [2021-10-14T08:42:10.204Z] 4527c011a84f: Pull complete [2021-10-14T08:42:10.204Z] 5d74067f8e1e: Pull complete [2021-10-14T08:42:10.204Z] e0aca202a116: Pull complete [2021-10-14T08:42:10.204Z] 3a43be97a3b4: Pull complete [2021-10-14T08:42:10.204Z] 34cad66bf833: Pull complete [2021-10-14T08:42:12.772Z] b4e3c513aaa6: Pull complete [2021-10-14T08:42:12.772Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:42:12.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:42:12.772Z] ---> 9f6097aaca64 [2021-10-14T08:42:12.772Z] Step 3/10 : ARG MAKE=make build [2021-10-14T08:42:16.091Z] ---> Running in 86fa5e55495f [2021-10-14T08:42:16.091Z] Removing intermediate container 86fa5e55495f [2021-10-14T08:42:16.091Z] ---> 3fd2d3d8e512 [2021-10-14T08:42:16.091Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T08:42:16.091Z] ---> Running in 6ecc64d8192a [2021-10-14T08:42:16.091Z] Removing intermediate container 6ecc64d8192a [2021-10-14T08:42:16.091Z] ---> e76c1ce631f4 [2021-10-14T08:42:16.091Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:42:16.091Z] ---> Running in 806298434a21 [2021-10-14T08:42:16.352Z] Removing intermediate container 806298434a21 [2021-10-14T08:42:16.352Z] ---> 4b2fa932ff63 [2021-10-14T08:42:16.352Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:42:16.352Z] ---> Running in d526a339cbba [2021-10-14T08:42:16.926Z] Removing intermediate container d526a339cbba [2021-10-14T08:42:16.927Z] ---> 2368861b8523 [2021-10-14T08:42:16.927Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:42:16.927Z] ---> Running in 2068bca2e427 [2021-10-14T08:42:17.187Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:42:18.145Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:42:18.407Z] OK: 220 MiB in 52 packages [2021-10-14T08:42:18.671Z] Removing intermediate container 2068bca2e427 [2021-10-14T08:42:18.671Z] ---> e7356c9019a8 [2021-10-14T08:42:18.671Z] Step 8/10 : COPY . . [2021-10-14T08:42:18.932Z] ---> 88ba460e2f9a [2021-10-14T08:42:18.932Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:42:18.932Z] ---> Running in 17decd9951b2 [2021-10-14T08:42:51.106Z] Removing intermediate container 17decd9951b2 [2021-10-14T08:42:51.106Z] ---> a9e7498dde67 [2021-10-14T08:42:51.106Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:42:51.106Z] ---> Running in 570d5156902e [2021-10-14T08:42:51.106Z] noop [2021-10-14T08:42:51.106Z] Removing intermediate container 570d5156902e [2021-10-14T08:42:51.106Z] ---> 60ad14df5720 [2021-10-14T08:42:51.106Z] Successfully built 60ad14df5720 [2021-10-14T08:42:51.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:51.410Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:42:51.410Z] . [Pipeline] withDockerContainer [2021-10-14T08:42:51.496Z] prd-centos7-docker-4c-2g-1395 does not seem to be running inside a container [2021-10-14T08:42:51.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T08:42:51.927Z] $ docker top 39ddd2f1c473f920fab67710a4d7804c584c5f4a2589224df6b4877aafa4254d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:42:52.323Z] + go version [2021-10-14T08:42:52.323Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:42:52.338Z] $ docker stop --time=1 39ddd2f1c473f920fab67710a4d7804c584c5f4a2589224df6b4877aafa4254d [2021-10-14T08:42:53.516Z] $ docker rm -f 39ddd2f1c473f920fab67710a4d7804c584c5f4a2589224df6b4877aafa4254d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:54.155Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:42:54.155Z] . [Pipeline] withDockerContainer [2021-10-14T08:42:54.220Z] prd-centos7-docker-4c-2g-1395 does not seem to be running inside a container [2021-10-14T08:42:54.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T08:42:54.595Z] $ docker top 18e59c1d35fba62956173898cadfd1c3b8750d5cd44da44e1904a546dab98eef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:42:54.966Z] + make test [2021-10-14T08:42:54.966Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:43:00.302Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:43:27.020Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.5% of statements [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:43:27.020Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements [2021-10-14T08:43:27.020Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-10-14T08:43:27.020Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:43:27.020Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:43:27.618Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-10-14T08:43:27.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:43:28.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 83.3% of statements [2021-10-14T08:43:28.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:43:28.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:43:28.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 57.8% of statements [2021-10-14T08:43:29.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.888s coverage: 89.0% of statements [2021-10-14T08:43:29.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:43:29.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.9% of statements [2021-10-14T08:43:29.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:43:29.989Z] GO111MODULE=on go vet ./... [2021-10-14T08:43:42.585Z] Removing intermediate container ab2be3a95cd2 [2021-10-14T08:43:42.585Z] ---> c6ae61c7351a [2021-10-14T08:43:42.585Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:43:42.585Z] ---> Running in b7163b85720c [2021-10-14T08:43:42.585Z] noop [2021-10-14T08:43:42.585Z] Removing intermediate container b7163b85720c [2021-10-14T08:43:42.585Z] ---> 8748ed766cc3 [2021-10-14T08:43:42.585Z] Successfully built 8748ed766cc3 [2021-10-14T08:43:42.585Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:42.960Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:43:42.960Z] . [Pipeline] withDockerContainer [2021-10-14T08:43:43.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-1392 does not seem to be running inside a container [2021-10-14T08:43:43.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T08:43:45.093Z] $ docker top e21f8d94a9d699bf1fd2c49163de7e9fd51d532372d850f28d973cd227327cfc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:43:46.121Z] + go version [2021-10-14T08:43:46.121Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:43:46.150Z] $ docker stop --time=1 e21f8d94a9d699bf1fd2c49163de7e9fd51d532372d850f28d973cd227327cfc [2021-10-14T08:43:48.049Z] $ docker rm -f e21f8d94a9d699bf1fd2c49163de7e9fd51d532372d850f28d973cd227327cfc [2021-10-14T08:43:48.179Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:43:48.179Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:43:48.179Z] ./bin/test-attribution-txt.sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-10-14T08:43:48.305Z] $ docker stop --time=1 18e59c1d35fba62956173898cadfd1c3b8750d5cd44da44e1904a546dab98eef [2021-10-14T08:43:49.879Z] $ docker rm -f 18e59c1d35fba62956173898cadfd1c3b8750d5cd44da44e1904a546dab98eef [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:50.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:43:50.486Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:43:50.486Z] . [Pipeline] withDockerContainer [2021-10-14T08:43:50.536Z] Stashed 1 file(s) [2021-10-14T08:43:50.804Z] prd-ubuntu18.04-docker-arm64-4c-16g-1392 does not seem to be running inside a container [2021-10-14T08:43:50.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T08:43:52.717Z] $ docker top 7d645dbc43a149d27ccec41e54be79c31919384d6d0d3240d68bd6832f81a3d1 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] fileExists [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:43:53.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:43:53.847Z] + make test [2021-10-14T08:43:53.847Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:43:54.084Z] + ls -al . [2021-10-14T08:43:54.084Z] total 264 [2021-10-14T08:43:54.084Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 08:43 . [2021-10-14T08:43:54.084Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 08:41 .. [2021-10-14T08:43:54.084Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 08:41 bin [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 08:41 CHANGELOG.md [2021-10-14T08:43:54.084Z] -rw-r--r--. 1 jenkins jenkins 126433 Oct 14 08:43 coverage.out [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 08:41 .dockerignore [2021-10-14T08:43:54.084Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 08:41 example [2021-10-14T08:43:54.084Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 08:42 .git [2021-10-14T08:43:54.084Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 08:41 .github [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 08:41 .gitignore [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 08:41 go.mod [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 08:41 go.sum [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:41 GOVERNANCE.md [2021-10-14T08:43:54.084Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 08:41 internal [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 08:41 Jenkinsfile [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 08:41 LICENSE [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 08:41 Makefile [2021-10-14T08:43:54.084Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 08:41 openapi [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 08:41 OWNERS.md [2021-10-14T08:43:54.084Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 08:41 pkg [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 08:41 README.md [2021-10-14T08:43:54.084Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 08:41 snap [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 08:35 VERSION [2021-10-14T08:43:54.084Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 08:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:54.399Z] + 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=65791aa66105356d7211b84a08e8523cbf0bcc17 --label arch=amd64 --label version=2.0.1-dev.19 . [2021-10-14T08:43:54.399Z] Sending build context to Docker daemon 2.801MB [2021-10-14T08:43:54.399Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:43:54.399Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:43:54.399Z] ---> 60ad14df5720 [2021-10-14T08:43:54.399Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:43:54.399Z] ---> Running in e8a0d2f16113 [2021-10-14T08:43:54.660Z] Removing intermediate container e8a0d2f16113 [2021-10-14T08:43:54.660Z] ---> 4cb445c636fb [2021-10-14T08:43:54.660Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:43:54.660Z] ---> Running in 0b4fae6f8923 [2021-10-14T08:43:54.660Z] Removing intermediate container 0b4fae6f8923 [2021-10-14T08:43:54.660Z] ---> cdd44c4ef3c4 [2021-10-14T08:43:54.660Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:43:54.660Z] ---> Running in f949ced6ac14 [2021-10-14T08:43:54.660Z] Removing intermediate container f949ced6ac14 [2021-10-14T08:43:54.660Z] ---> 0adccfd7d314 [2021-10-14T08:43:54.660Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:43:54.922Z] ---> Running in 2507324f7317 [2021-10-14T08:43:55.182Z] Removing intermediate container 2507324f7317 [2021-10-14T08:43:55.182Z] ---> 9b373f93a78b [2021-10-14T08:43:55.182Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:43:55.182Z] ---> Running in 0498968f0e80 [2021-10-14T08:43:55.442Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:43:56.380Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:43:56.952Z] OK: 220 MiB in 52 packages [2021-10-14T08:43:57.211Z] Removing intermediate container 0498968f0e80 [2021-10-14T08:43:57.211Z] ---> a9f14e7a8bd2 [2021-10-14T08:43:57.211Z] Step 8/24 : COPY . . [2021-10-14T08:43:57.477Z] ---> 47fc5adaed5e [2021-10-14T08:43:57.477Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:43:57.477Z] ---> Running in 31698c2c2e0c [2021-10-14T08:43:58.049Z] Removing intermediate container 31698c2c2e0c [2021-10-14T08:43:58.049Z] ---> 7a3207aa48cb [2021-10-14T08:43:58.049Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:43:58.049Z] ---> Running in ee2e3c458e38 [2021-10-14T08:43:58.319Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T08:44:08.420Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:44:09.366Z] Removing intermediate container ee2e3c458e38 [2021-10-14T08:44:09.366Z] ---> 6f65d4521965 [2021-10-14T08:44:09.366Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:44:09.938Z] 3.14: Pulling from library/alpine [2021-10-14T08:44:09.938Z] a0d0a0d46f8b: Already exists [2021-10-14T08:44:10.199Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:44:10.199Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:44:10.199Z] ---> 14119a10abf4 [2021-10-14T08:44:10.199Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:44:10.199Z] ---> Running in a16f07f71eb9 [2021-10-14T08:44:10.199Z] Removing intermediate container a16f07f71eb9 [2021-10-14T08:44:10.199Z] ---> c6f858af3047 [2021-10-14T08:44:10.199Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:44:10.464Z] ---> Running in 242fd91824d8 [2021-10-14T08:44:10.733Z] Removing intermediate container 242fd91824d8 [2021-10-14T08:44:10.733Z] ---> 7ad980bb5e0e [2021-10-14T08:44:10.733Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:44:10.733Z] ---> Running in e180c85c239e [2021-10-14T08:44:11.309Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:44:11.878Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:44:12.453Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:44:12.453Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:44:12.713Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:44:12.713Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:44:12.713Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:44:12.975Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:44:12.975Z] OK: 8 MiB in 19 packages [2021-10-14T08:44:13.234Z] Removing intermediate container e180c85c239e [2021-10-14T08:44:13.234Z] ---> 245842a75ea7 [2021-10-14T08:44:13.234Z] Step 15/24 : WORKDIR / [2021-10-14T08:44:13.234Z] ---> Running in 0cc9c4c34a6c [2021-10-14T08:44:13.234Z] Removing intermediate container 0cc9c4c34a6c [2021-10-14T08:44:13.234Z] ---> 766ce8eaf4a9 [2021-10-14T08:44:13.234Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:44:13.492Z] ---> 3787c3fb41fd [2021-10-14T08:44:13.492Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:44:13.750Z] ---> a11237949da9 [2021-10-14T08:44:13.750Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:44:13.750Z] ---> 2c621ee87105 [2021-10-14T08:44:13.750Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:44:14.012Z] ---> Running in 1ed5124b9d9d [2021-10-14T08:44:14.012Z] Removing intermediate container 1ed5124b9d9d [2021-10-14T08:44:14.012Z] ---> c3976676f344 [2021-10-14T08:44:14.012Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:44:14.012Z] ---> Running in 7a0d1baa0cec [2021-10-14T08:44:14.012Z] Removing intermediate container 7a0d1baa0cec [2021-10-14T08:44:14.012Z] ---> ee30bb2cd484 [2021-10-14T08:44:14.012Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:44:14.012Z] ---> Running in 4307c9cf8c94 [2021-10-14T08:44:14.272Z] Removing intermediate container 4307c9cf8c94 [2021-10-14T08:44:14.272Z] ---> b119e6f27c57 [2021-10-14T08:44:14.272Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T08:44:14.272Z] ---> Running in c7302a558598 [2021-10-14T08:44:14.272Z] Removing intermediate container c7302a558598 [2021-10-14T08:44:14.272Z] ---> 94f7aea6f990 [2021-10-14T08:44:14.272Z] Step 23/24 : LABEL git_sha=65791aa66105356d7211b84a08e8523cbf0bcc17 [2021-10-14T08:44:14.272Z] ---> Running in 3b1bd6a0124e [2021-10-14T08:44:14.272Z] Removing intermediate container 3b1bd6a0124e [2021-10-14T08:44:14.272Z] ---> 0ab852efa085 [2021-10-14T08:44:14.272Z] Step 24/24 : LABEL version=2.0.1-dev.19 [2021-10-14T08:44:14.272Z] ---> Running in 0d327cf3ebc6 [2021-10-14T08:44:14.532Z] Removing intermediate container 0d327cf3ebc6 [2021-10-14T08:44:14.532Z] ---> 905d69bda7e6 [2021-10-14T08:44:14.532Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:44:14.532Z] Successfully built 905d69bda7e6 [2021-10-14T08:44:14.532Z] 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-14T08:44:15.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:44:15.072Z] [2021-10-14T08:44:15.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:15.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:44:15.373Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:44:15.373Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:44:15.373Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:44:15.373Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:44:15.373Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:44:15.373Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:44:15.373Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:44:15.373Z] d287ab97295c: Pulling fs layer [2021-10-14T08:44:15.373Z] dc539afda2c1: Waiting [2021-10-14T08:44:15.373Z] 77bc0d833cb6: Waiting [2021-10-14T08:44:15.373Z] 9065ff56babe: Waiting [2021-10-14T08:44:15.373Z] d287ab97295c: Waiting [2021-10-14T08:44:15.373Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:44:15.373Z] a1111a8f2ec3: Download complete [2021-10-14T08:44:15.373Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:44:15.373Z] dc539afda2c1: Download complete [2021-10-14T08:44:15.373Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:44:15.373Z] ed53099fbce6: Download complete [2021-10-14T08:44:15.638Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:44:15.638Z] 9065ff56babe: Download complete [2021-10-14T08:44:15.638Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:44:15.638Z] 77bc0d833cb6: Download complete [2021-10-14T08:44:15.638Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:44:15.638Z] b4d181a07f80: Download complete [2021-10-14T08:44:16.214Z] d287ab97295c: Verifying Checksum [2021-10-14T08:44:16.214Z] d287ab97295c: Download complete [2021-10-14T08:44:17.166Z] b4d181a07f80: Pull complete [2021-10-14T08:44:17.433Z] a1111a8f2ec3: Pull complete [2021-10-14T08:44:18.009Z] ed53099fbce6: Pull complete [2021-10-14T08:44:18.009Z] dc539afda2c1: Pull complete [2021-10-14T08:44:18.277Z] 77bc0d833cb6: Pull complete [2021-10-14T08:44:18.277Z] 9065ff56babe: Pull complete [2021-10-14T08:44:20.751Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:44:23.610Z] d287ab97295c: Pull complete [2021-10-14T08:44:23.610Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:44:23.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:44:23.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:44:23.679Z] prd-centos7-docker-4c-2g-1395 does not seem to be running inside a container [2021-10-14T08:44:23.716Z] $ 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/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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-14T08:44:26.371Z] $ docker top 3e44e95e800a588f87c3801c2b78e827d0fd2800a18f0d0c43df62cf22b90e94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:26.755Z] ---> job-cost.sh [2021-10-14T08:44:26.755Z] lf-activate-venv: SKIPPING [2021-10-14T08:44:26.755Z] INFO: No Stack... [2021-10-14T08:44:27.015Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:44:27.588Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:44:27.888Z] + cut -d, -f6 [2021-10-14T08:44:27.888Z] + cat /w/workspace/device-sdk-go/18/archives/cost.csv [Pipeline] lock [2021-10-14T08:44:27.953Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [2021-10-14T08:44:27.960Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] did not exist. Created. [2021-10-14T08:44:27.960Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:44:28.266Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:44:28.295Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:44:28.300Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:44:28.321Z] $ docker stop --time=1 3e44e95e800a588f87c3801c2b78e827d0fd2800a18f0d0c43df62cf22b90e94 [2021-10-14T08:44:29.463Z] $ docker rm -f 3e44e95e800a588f87c3801c2b78e827d0fd2800a18f0d0c43df62cf22b90e94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T08:45:28.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:45:28.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:45:28.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:45:33.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.293s coverage: 23.5% of statements [2021-10-14T08:45:33.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:45:33.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.216s coverage: 28.1% of statements [2021-10-14T08:45:33.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.263s coverage: 78.9% of statements [2021-10-14T08:45:33.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.180s coverage: 9.0% of statements [2021-10-14T08:45:33.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:45:33.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:45:33.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:45:33.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 28.7% of statements [2021-10-14T08:45:33.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:45:34.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.314s coverage: 83.3% of statements [2021-10-14T08:45:34.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:45:34.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:45:35.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.341s coverage: 57.8% of statements [2021-10-14T08:45:39.929Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.933s coverage: 89.0% of statements [2021-10-14T08:45:39.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:45:39.929Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 4.9% of statements [2021-10-14T08:45:39.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:45:40.208Z] GO111MODULE=on go vet ./... [2021-10-14T08:46:36.877Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:46:36.877Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:46:36.877Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:46:37.898Z] $ docker stop --time=1 7d645dbc43a149d27ccec41e54be79c31919384d6d0d3240d68bd6832f81a3d1 [2021-10-14T08:46:39.989Z] $ docker rm -f 7d645dbc43a149d27ccec41e54be79c31919384d6d0d3240d68bd6832f81a3d1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:46:41.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:46:41.175Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:46:42.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:46:42.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:46:42.934Z] + ls -al . [2021-10-14T08:46:42.934Z] total 300 [2021-10-14T08:46:42.934Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:46 . [2021-10-14T08:46:42.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:40 .. [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:40 .dockerignore [2021-10-14T08:46:42.934Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:40 .git [2021-10-14T08:46:42.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:40 .github [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 08:40 .gitignore [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 08:40 CHANGELOG.md [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:40 GOVERNANCE.md [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 08:40 Jenkinsfile [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 08:40 LICENSE [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 08:40 Makefile [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 08:40 OWNERS.md [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 08:40 README.md [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:35 VERSION [2021-10-14T08:46:42.934Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:40 bin [2021-10-14T08:46:42.934Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 14 08:45 coverage.out [2021-10-14T08:46:42.934Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:40 example [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 08:40 go.mod [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 08:40 go.sum [2021-10-14T08:46:42.934Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 08:40 internal [2021-10-14T08:46:42.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:40 openapi [2021-10-14T08:46:42.934Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:40 pkg [2021-10-14T08:46:42.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:40 snap [2021-10-14T08:46:42.934Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 08:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:46:43.304Z] + 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=65791aa66105356d7211b84a08e8523cbf0bcc17 --label arch=arm64 --label version=2.0.1-dev.19 . [2021-10-14T08:46:43.991Z] Sending build context to Docker daemon 2.801MB [2021-10-14T08:46:43.991Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:46:43.991Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:46:43.991Z] ---> 8748ed766cc3 [2021-10-14T08:46:43.991Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:46:43.991Z] ---> Running in 1973c381b3ea [2021-10-14T08:46:44.601Z] Removing intermediate container 1973c381b3ea [2021-10-14T08:46:44.601Z] ---> 476ce4fafb32 [2021-10-14T08:46:44.601Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:46:44.601Z] ---> Running in 42f794eb0d3c [2021-10-14T08:46:45.208Z] Removing intermediate container 42f794eb0d3c [2021-10-14T08:46:45.208Z] ---> 42010cbc1ef4 [2021-10-14T08:46:45.208Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:46:45.484Z] ---> Running in b8e86dab9637 [2021-10-14T08:46:45.762Z] Removing intermediate container b8e86dab9637 [2021-10-14T08:46:45.762Z] ---> 2c5576e50492 [2021-10-14T08:46:45.762Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:46:46.040Z] ---> Running in f4ad0887420f [2021-10-14T08:46:48.034Z] Removing intermediate container f4ad0887420f [2021-10-14T08:46:48.034Z] ---> 2a435e9df59c [2021-10-14T08:46:48.034Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:46:48.317Z] ---> Running in e17ab9d9ce10 [2021-10-14T08:46:49.772Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:46:50.764Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:46:51.369Z] OK: 219 MiB in 52 packages [2021-10-14T08:46:52.358Z] Removing intermediate container e17ab9d9ce10 [2021-10-14T08:46:52.358Z] ---> 5322dc55778a [2021-10-14T08:46:52.358Z] Step 8/24 : COPY . . [2021-10-14T08:46:53.813Z] ---> 2c4db960ccbe [2021-10-14T08:46:53.813Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:46:53.813Z] ---> Running in 0cc2132cc1c3 [2021-10-14T08:46:56.465Z] Removing intermediate container 0cc2132cc1c3 [2021-10-14T08:46:56.465Z] ---> 39979f2f55d7 [2021-10-14T08:46:56.465Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:46:56.465Z] ---> Running in b0bf2759940f [2021-10-14T08:46:57.915Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T08:47:30.366Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:47:32.355Z] Removing intermediate container b0bf2759940f [2021-10-14T08:47:32.355Z] ---> 2a0ba9e94cb7 [2021-10-14T08:47:32.355Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:47:32.954Z] 3.14: Pulling from library/alpine [2021-10-14T08:47:33.229Z] 552d1f2373af: Already exists [2021-10-14T08:47:33.505Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:47:33.505Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:47:33.505Z] ---> bb3de5531c18 [2021-10-14T08:47:33.505Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:47:33.782Z] ---> Running in 3c33b955a1f9 [2021-10-14T08:47:34.055Z] Removing intermediate container 3c33b955a1f9 [2021-10-14T08:47:34.055Z] ---> 2fc1ff95481a [2021-10-14T08:47:34.055Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:47:34.335Z] ---> Running in 391915fd5696 [2021-10-14T08:47:36.327Z] Removing intermediate container 391915fd5696 [2021-10-14T08:47:36.327Z] ---> eca887ac5185 [2021-10-14T08:47:36.327Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:47:36.327Z] ---> Running in 1bf6eae59eab [2021-10-14T08:47:37.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:47:38.300Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:47:39.284Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:47:39.284Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:47:39.284Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:47:39.558Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:47:39.558Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:47:39.558Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:47:39.834Z] OK: 8 MiB in 19 packages [2021-10-14T08:47:40.823Z] Removing intermediate container 1bf6eae59eab [2021-10-14T08:47:40.823Z] ---> ab0789dc20b9 [2021-10-14T08:47:40.823Z] Step 15/24 : WORKDIR / [2021-10-14T08:47:41.108Z] ---> Running in 9882e184a476 [2021-10-14T08:47:41.385Z] Removing intermediate container 9882e184a476 [2021-10-14T08:47:41.385Z] ---> 335ffb0bb0d8 [2021-10-14T08:47:41.385Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:47:42.373Z] ---> f65ea1c3ed52 [2021-10-14T08:47:42.373Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:47:43.355Z] ---> 1393e54d0f04 [2021-10-14T08:47:43.355Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:47:43.959Z] ---> fb852e3420be [2021-10-14T08:47:43.959Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:47:44.251Z] ---> Running in d2ab6560075c [2021-10-14T08:47:44.528Z] Removing intermediate container d2ab6560075c [2021-10-14T08:47:44.528Z] ---> af1a822139ee [2021-10-14T08:47:44.528Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:47:44.806Z] ---> Running in d1d7349d36c6 [2021-10-14T08:47:45.083Z] Removing intermediate container d1d7349d36c6 [2021-10-14T08:47:45.083Z] ---> 0050e8f8c703 [2021-10-14T08:47:45.083Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:47:45.362Z] ---> Running in 061c27094c88 [2021-10-14T08:47:45.966Z] Removing intermediate container 061c27094c88 [2021-10-14T08:47:45.966Z] ---> 598b03e18bf9 [2021-10-14T08:47:45.966Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T08:47:45.966Z] ---> Running in 400eacbe0883 [2021-10-14T08:47:46.571Z] Removing intermediate container 400eacbe0883 [2021-10-14T08:47:46.571Z] ---> e42f4e487753 [2021-10-14T08:47:46.571Z] Step 23/24 : LABEL git_sha=65791aa66105356d7211b84a08e8523cbf0bcc17 [2021-10-14T08:47:46.571Z] ---> Running in 1e6398a95ad6 [2021-10-14T08:47:47.175Z] Removing intermediate container 1e6398a95ad6 [2021-10-14T08:47:47.175Z] ---> ad435ee505d8 [2021-10-14T08:47:47.175Z] Step 24/24 : LABEL version=2.0.1-dev.19 [2021-10-14T08:47:47.175Z] ---> Running in f4d42c541eff [2021-10-14T08:47:47.781Z] Removing intermediate container f4d42c541eff [2021-10-14T08:47:47.781Z] ---> eb67252115d8 [2021-10-14T08:47:47.781Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:47:47.781Z] Successfully built eb67252115d8 [2021-10-14T08:47:47.781Z] 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-14T08:47:48.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:47:48.609Z] [2021-10-14T08:47:48.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:47:48.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:47:49.258Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:47:49.258Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:47:49.258Z] f757da607395: Pulling fs layer [2021-10-14T08:47:49.258Z] 05883995daec: Pulling fs layer [2021-10-14T08:47:49.258Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:47:49.258Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:47:49.258Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:47:49.258Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:47:49.258Z] 8603b9c90790: Waiting [2021-10-14T08:47:49.258Z] 1560dd03e051: Waiting [2021-10-14T08:47:49.258Z] 27f5ce0e4adf: Waiting [2021-10-14T08:47:49.258Z] c2d8d7efcc4b: Waiting [2021-10-14T08:47:49.258Z] f757da607395: Verifying Checksum [2021-10-14T08:47:49.258Z] f757da607395: Download complete [2021-10-14T08:47:49.536Z] 8603b9c90790: Download complete [2021-10-14T08:47:49.536Z] 05883995daec: Verifying Checksum [2021-10-14T08:47:49.536Z] 05883995daec: Download complete [2021-10-14T08:47:49.536Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:47:49.536Z] 1560dd03e051: Download complete [2021-10-14T08:47:49.536Z] 27f5ce0e4adf: Download complete [2021-10-14T08:47:50.139Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:47:50.139Z] 448f6bf000e3: Download complete [2021-10-14T08:47:52.782Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:47:52.782Z] c2d8d7efcc4b: Download complete [2021-10-14T08:47:53.382Z] 448f6bf000e3: Pull complete [2021-10-14T08:47:53.980Z] f757da607395: Pull complete [2021-10-14T08:47:55.422Z] 05883995daec: Pull complete [2021-10-14T08:47:55.700Z] 8603b9c90790: Pull complete [2021-10-14T08:47:56.692Z] 1560dd03e051: Pull complete [2021-10-14T08:47:56.970Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:48:12.148Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:48:12.148Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:48:12.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:48:12.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:48:12.427Z] prd-ubuntu18.04-docker-arm64-4c-16g-1392 does not seem to be running inside a container [2021-10-14T08:48:12.540Z] $ 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/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T08:48:16.565Z] $ docker top dde5eac78b269841913dc9ad6e2a8cdc65e36956ae8ca9d256ca3cb80b49de34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:48:17.611Z] ---> job-cost.sh [2021-10-14T08:48:17.611Z] lf-activate-venv: SKIPPING [2021-10-14T08:48:17.611Z] INFO: No Stack... [2021-10-14T08:48:18.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:48:18.490Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:48:19.166Z] + + catcut /w/workspace/device-sdk-go/18/archives/cost.csv -d, [2021-10-14T08:48:19.166Z] -f6 [Pipeline] lock [2021-10-14T08:48:19.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [2021-10-14T08:48:19.241Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] did not exist. Created. [2021-10-14T08:48:19.241Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:48:19.930Z] /w/workspace/device-sdk-go/18@tmp/durable-90e27b70/script.sh: 1: /w/workspace/device-sdk-go/18@tmp/durable-90e27b70/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:48:20.617Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:48:20.645Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:48:20.706Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:48:20.715Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:48:20.732Z] $ docker stop --time=1 dde5eac78b269841913dc9ad6e2a8cdc65e36956ae8ca9d256ca3cb80b49de34 [2021-10-14T08:48:22.409Z] $ docker rm -f dde5eac78b269841913dc9ad6e2a8cdc65e36956ae8ca9d256ca3cb80b49de34 [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-14T08:48:23.064Z] provisioning config files... [2021-10-14T08:48:23.073Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2276203362822294749tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:48:23.379Z] + set +x [2021-10-14T08:48:23.379Z] + bash -s -- [2021-10-14T08:48:23.379Z] + curl -s https://codecov.io/bash [2021-10-14T08:48:23.379Z] [2021-10-14T08:48:23.379Z] _____ _ [2021-10-14T08:48:23.379Z] / ____| | | [2021-10-14T08:48:23.379Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:48:23.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:48:23.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:48:23.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:48:23.379Z] Bash-1.0.6 [2021-10-14T08:48:23.379Z] [2021-10-14T08:48:23.379Z] [2021-10-14T08:48:23.379Z] ==> git version 2.24.4 found [2021-10-14T08:48:23.379Z] ==> 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-14T08:48:23.379Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:48:23.379Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:48:23.379Z] ==> Jenkins CI detected. [2021-10-14T08:48:23.379Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:48:23.379Z] project root: . [2021-10-14T08:48:23.379Z] --> token set from env [2021-10-14T08:48:23.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:48:23.380Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:48:23.380Z] ==> Python coveragepy not found [2021-10-14T08:48:23.380Z] ==> Searching for coverage reports in: [2021-10-14T08:48:23.380Z] + . [2021-10-14T08:48:23.380Z] -> Found 1 reports [2021-10-14T08:48:23.380Z] ==> Detecting git/mercurial file structure [2021-10-14T08:48:23.380Z] ==> Reading reports [2021-10-14T08:48:23.380Z] + ./coverage.out bytes=126432 [2021-10-14T08:48:23.380Z] ==> Appending adjustments [2021-10-14T08:48:23.380Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:48:23.641Z] + Found adjustments [2021-10-14T08:48:23.641Z] ==> Gzipping contents [2021-10-14T08:48:23.901Z] 16K /tmp/codecov.kokqnf.gz [2021-10-14T08:48:23.901Z] ==> Uploading reports [2021-10-14T08:48:23.901Z] url: https://codecov.io [2021-10-14T08:48:23.901Z] query: branch=main&commit=65791aa66105356d7211b84a08e8523cbf0bcc17&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:48:23.901Z] -> Pinging Codecov [2021-10-14T08:48:23.901Z] 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=65791aa66105356d7211b84a08e8523cbf0bcc17&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:48:24.170Z] -> Uploading to [2021-10-14T08:48:24.170Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/65791aa66105356d7211b84a08e8523cbf0bcc17/457dd5b6-b13b-4271-a0a5-c30a20c0f958.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T084823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f53d7f7564c1ea3a0a0a3671c26a4d88786ac3eecc4b761741ccccece343055 [2021-10-14T08:48:24.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:48:24.170Z] Dload Upload Total Spent Left Speed [2021-10-14T08:48:24.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16063 0 0 100 16063 0 50651 --:--:-- --:--:-- --:--:-- 50832 [2021-10-14T08:48:24.432Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/65791aa66105356d7211b84a08e8523cbf0bcc17 [Pipeline] } [2021-10-14T08:48:24.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T08:48:24.628Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T08:48:24.636Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:48:24.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:48:24.936Z] [2021-10-14T08:48:24.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:48:25.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:48:25.251Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T08:48:25.251Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T08:48:25.251Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T08:48:25.251Z] de9db76c5a1d: Pulling fs layer [2021-10-14T08:48:25.251Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T08:48:25.251Z] 0d57e429df01: Pulling fs layer [2021-10-14T08:48:25.251Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T08:48:25.251Z] e1f770b5df2f: Pulling fs layer [2021-10-14T08:48:25.251Z] 85a0685a4137: Pulling fs layer [2021-10-14T08:48:25.251Z] 0eba1c9be4d2: Waiting [2021-10-14T08:48:25.251Z] 0d57e429df01: Waiting [2021-10-14T08:48:25.251Z] 4e4be7b47b0d: Waiting [2021-10-14T08:48:25.251Z] e1f770b5df2f: Waiting [2021-10-14T08:48:25.251Z] 85a0685a4137: Waiting [2021-10-14T08:48:25.251Z] de9db76c5a1d: Verifying Checksum [2021-10-14T08:48:25.251Z] de9db76c5a1d: Download complete [2021-10-14T08:48:25.251Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T08:48:25.251Z] 0ef7d3d256c8: Download complete [2021-10-14T08:48:25.251Z] 0d57e429df01: Verifying Checksum [2021-10-14T08:48:25.251Z] 0d57e429df01: Download complete [2021-10-14T08:48:25.251Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T08:48:25.251Z] 4e4be7b47b0d: Download complete [2021-10-14T08:48:25.251Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T08:48:25.251Z] 188c0c94c7c5: Download complete [2021-10-14T08:48:25.516Z] e1f770b5df2f: Verifying Checksum [2021-10-14T08:48:25.516Z] e1f770b5df2f: Download complete [2021-10-14T08:48:25.784Z] 188c0c94c7c5: Pull complete [2021-10-14T08:48:25.784Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T08:48:25.784Z] 0eba1c9be4d2: Download complete [2021-10-14T08:48:26.048Z] 0ef7d3d256c8: Pull complete [2021-10-14T08:48:26.048Z] de9db76c5a1d: Pull complete [2021-10-14T08:48:26.315Z] 85a0685a4137: Verifying Checksum [2021-10-14T08:48:26.315Z] 85a0685a4137: Download complete [2021-10-14T08:48:29.676Z] 0eba1c9be4d2: Pull complete [2021-10-14T08:48:29.936Z] 0d57e429df01: Pull complete [2021-10-14T08:48:29.936Z] 4e4be7b47b0d: Pull complete [2021-10-14T08:48:30.510Z] e1f770b5df2f: Pull complete [2021-10-14T08:48:34.734Z] 85a0685a4137: Pull complete [2021-10-14T08:48:34.734Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T08:48:34.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:48:34.734Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T08:48:34.803Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:48:34.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-14T08:48:38.700Z] $ docker top 57051d855ffa607ea1f60c9a588bd5316087b2764c68c518310d2f29d5b42ac3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T08:48:38.808Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T08:48:39.161Z] + set -o pipefail [2021-10-14T08:48:39.161Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T08:48:44.483Z] [2021-10-14T08:48:44.483Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-14T08:48:44.483Z] [2021-10-14T08:48:44.483Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/59a89d0f-e3ef-40ea-9d30-3f975cec833a [2021-10-14T08:48:44.483Z] [2021-10-14T08:48:44.483Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T08:48:44.483Z] [2021-10-14T08:48:44.483Z] [2021-10-14T08:48:44.483Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T08:48:44.483Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T08:48:44.496Z] $ docker stop --time=1 57051d855ffa607ea1f60c9a588bd5316087b2764c68c518310d2f29d5b42ac3 [2021-10-14T08:48:46.664Z] $ docker rm -f 57051d855ffa607ea1f60c9a588bd5316087b2764c68c518310d2f29d5b42ac3 [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-14T08:48:47.157Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:48:47.166Z] provisioning config files... [2021-10-14T08:48:47.174Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5047050840861828216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:48:47.470Z] --> edgex-publish-swagger.sh [2021-10-14T08:48:47.471Z] === Publish openapi/v2 API === [2021-10-14T08:48:47.471Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-14T08:48:47.471Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-14T08:48:47.471Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:48:47.471Z] Dload Upload Total Spent Left Speed [2021-10-14T08:48:48.045Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 66646 --:--:-- --:--:-- --:--:-- 66570 [2021-10-14T08:48:48.045Z] [2021-10-14T08:48:48.045Z] [Pipeline] } [2021-10-14T08:48:48.052Z] 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-14T08:48:48.490Z] + git log --format=format:%s -1 65791aa66105356d7211b84a08e8523cbf0bcc17 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:48:48.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:48:48.794Z] . [Pipeline] withDockerContainer [2021-10-14T08:48:48.855Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:48:48.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:48:49.217Z] $ docker top 87ab75b2bd69eb2e377a645aa4608f5ff26b193cb053d11a43379660a8968f6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:48:49.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:48:49.299Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:48:49.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:48:49.423Z] $ docker exec 87ab75b2bd69eb2e377a645aa4608f5ff26b193cb053d11a43379660a8968f6b ssh-agent [2021-10-14T08:48:49.557Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFEmOF/agent.15 [2021-10-14T08:48:49.557Z] SSH_AGENT_PID=22 [2021-10-14T08:48:49.562Z] Running ssh-add (command line suppressed) [2021-10-14T08:48:49.675Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8807754108131168926.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8807754108131168926.key) [2021-10-14T08:48:49.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:48:49.982Z] + git semver tag [2021-10-14T08:48:49.982Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:48:49.982Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T08:48:49.982Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:48:49.982Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:48:49.982Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:48:49.982Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:48:49.982Z] # $SEMVER_BRANCH = main [2021-10-14T08:48:49.982Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T08:48:49.982Z] # 65791aa66105356d7211b84a08e8523cbf0bcc17 HEAD [2021-10-14T08:48:49.982Z] # -> Force: false [2021-10-14T08:48:49.982Z] # 096e995557c2f5e5ded5a00614e2c449ad2f35ee refs/tags/v2.0.1-dev.19 [Pipeline] } [2021-10-14T08:48:49.995Z] $ docker exec --env ******** --env ******** 87ab75b2bd69eb2e377a645aa4608f5ff26b193cb053d11a43379660a8968f6b ssh-agent -k [2021-10-14T08:48:50.097Z] unset SSH_AUTH_SOCK; [2021-10-14T08:48:50.097Z] unset SSH_AGENT_PID; [2021-10-14T08:48:50.097Z] echo Agent pid 22 killed; [2021-10-14T08:48:50.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:48:50.413Z] + git semver [Pipeline] } [2021-10-14T08:48:50.427Z] $ docker stop --time=1 87ab75b2bd69eb2e377a645aa4608f5ff26b193cb053d11a43379660a8968f6b [2021-10-14T08:48:51.604Z] $ docker rm -f 87ab75b2bd69eb2e377a645aa4608f5ff26b193cb053d11a43379660a8968f6b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:48:51.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:48:51.990Z] [2021-10-14T08:48:51.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:48:52.298Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:48:52.298Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T08:48:52.298Z] ab5ef0e58194: Pulling fs layer [2021-10-14T08:48:52.298Z] 9712f1f96733: Pulling fs layer [2021-10-14T08:48:52.298Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T08:48:52.298Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T08:48:52.298Z] e9a5061849ea: Pulling fs layer [2021-10-14T08:48:52.298Z] d747dcd14b5f: Pulling fs layer [2021-10-14T08:48:52.298Z] 2de7ff778b66: Pulling fs layer [2021-10-14T08:48:52.298Z] e9a5061849ea: Waiting [2021-10-14T08:48:52.298Z] d747dcd14b5f: Waiting [2021-10-14T08:48:52.298Z] 2de7ff778b66: Waiting [2021-10-14T08:48:52.298Z] 0d9ebad4ef96: Waiting [2021-10-14T08:48:52.298Z] 9712f1f96733: Verifying Checksum [2021-10-14T08:48:52.298Z] 9712f1f96733: Download complete [2021-10-14T08:48:52.560Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T08:48:52.560Z] 63f879dbbcfc: Download complete [2021-10-14T08:48:52.843Z] ab5ef0e58194: Verifying Checksum [2021-10-14T08:48:52.843Z] ab5ef0e58194: Download complete [2021-10-14T08:48:53.144Z] d747dcd14b5f: Verifying Checksum [2021-10-14T08:48:53.144Z] d747dcd14b5f: Download complete [2021-10-14T08:48:53.144Z] e9a5061849ea: Verifying Checksum [2021-10-14T08:48:53.144Z] e9a5061849ea: Download complete [2021-10-14T08:48:53.144Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T08:48:53.144Z] 0d9ebad4ef96: Download complete [2021-10-14T08:48:53.144Z] 2de7ff778b66: Verifying Checksum [2021-10-14T08:48:53.144Z] 2de7ff778b66: Download complete [2021-10-14T08:48:55.715Z] ab5ef0e58194: Pull complete [2021-10-14T08:48:55.716Z] 9712f1f96733: Pull complete [2021-10-14T08:48:56.662Z] 63f879dbbcfc: Pull complete [2021-10-14T08:49:00.901Z] 0d9ebad4ef96: Pull complete [2021-10-14T08:49:00.901Z] e9a5061849ea: Pull complete [2021-10-14T08:49:00.901Z] d747dcd14b5f: Pull complete [2021-10-14T08:49:01.859Z] 2de7ff778b66: Pull complete [2021-10-14T08:49:01.859Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T08:49:01.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:49:01.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T08:49:01.924Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:49:01.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-14T08:49:05.489Z] $ docker top 76e1ccab88967e66f5d81b444213fa1c01ba03426a54fcd2fc609fe2f9964228 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:49:05.577Z] provisioning config files... [2021-10-14T08:49:05.585Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1808304831089506156tmp [2021-10-14T08:49:05.597Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config715794549362308335tmp [2021-10-14T08:49:05.612Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2452432640558251828tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:49:05.629Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:05.918Z] ---> sigul-configuration.sh [2021-10-14T08:49:05.918Z] gpg: directory `/root/.gnupg' created [2021-10-14T08:49:05.918Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T08:49:05.918Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T08:49:05.918Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T08:49:05.918Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T08:49:05.918Z] gpg: CAST5 encrypted data [2021-10-14T08:49:05.918Z] gpg: encrypted with 1 passphrase [2021-10-14T08:49:05.918Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T08:49:06.209Z] + mkdir /home/jenkins [2021-10-14T08:49:06.209Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T08:49:06.499Z] + 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-14T08:49:06.509Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:06.800Z] ---> sigul-install.sh [2021-10-14T08:49:06.800Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T08:49:07.092Z] + git tag --list [2021-10-14T08:49:07.092Z] 0.7.1 [2021-10-14T08:49:07.092Z] delhi-tag [2021-10-14T08:49:07.092Z] v1.0.0 [2021-10-14T08:49:07.092Z] v1.1.0 [2021-10-14T08:49:07.092Z] v1.1.1 [2021-10-14T08:49:07.092Z] v1.1.2 [2021-10-14T08:49:07.092Z] v1.2.0 [2021-10-14T08:49:07.092Z] v1.2.1 [2021-10-14T08:49:07.092Z] v1.2.2 [2021-10-14T08:49:07.092Z] v1.2.3 [2021-10-14T08:49:07.092Z] v1.3.0 [2021-10-14T08:49:07.092Z] v1.4.0 [2021-10-14T08:49:07.092Z] v2.0.0 [2021-10-14T08:49:07.092Z] v2.0.1-dev.1 [2021-10-14T08:49:07.092Z] v2.0.1-dev.10 [2021-10-14T08:49:07.092Z] v2.0.1-dev.11 [2021-10-14T08:49:07.092Z] v2.0.1-dev.12 [2021-10-14T08:49:07.092Z] v2.0.1-dev.13 [2021-10-14T08:49:07.092Z] v2.0.1-dev.14 [2021-10-14T08:49:07.092Z] v2.0.1-dev.15 [2021-10-14T08:49:07.092Z] v2.0.1-dev.16 [2021-10-14T08:49:07.092Z] v2.0.1-dev.17 [2021-10-14T08:49:07.092Z] v2.0.1-dev.18 [2021-10-14T08:49:07.092Z] v2.0.1-dev.19 [2021-10-14T08:49:07.092Z] v2.0.1-dev.2 [2021-10-14T08:49:07.092Z] v2.0.1-dev.3 [2021-10-14T08:49:07.092Z] v2.0.1-dev.4 [2021-10-14T08:49:07.092Z] v2.0.1-dev.5 [2021-10-14T08:49:07.092Z] v2.0.1-dev.6 [2021-10-14T08:49:07.092Z] v2.0.1-dev.7 [2021-10-14T08:49:07.092Z] v2.0.1-dev.8 [2021-10-14T08:49:07.092Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-14T08:49:07.384Z] + lftools sign git-tag v2.0.1-dev.19 [2021-10-14T08:49:07.953Z] Signing Git tag with Sigul... [2021-10-14T08:49:07.953Z] Signing v2.0.1-dev.19 [Pipeline] echo [2021-10-14T08:49:09.878Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:10.172Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T08:49:10.179Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T08:49:10.197Z] $ docker stop --time=1 76e1ccab88967e66f5d81b444213fa1c01ba03426a54fcd2fc609fe2f9964228 [2021-10-14T08:49:11.394Z] $ docker rm -f 76e1ccab88967e66f5d81b444213fa1c01ba03426a54fcd2fc609fe2f9964228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:12.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:49:12.172Z] . [Pipeline] withDockerContainer [2021-10-14T08:49:12.241Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:49:12.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:49:12.653Z] $ docker top 6c4c6c35445456b09e7c04b67749e5b20ba1ceba70816409fed0c4601777cac5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:49:12.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:49:12.746Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:49:12.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:49:12.856Z] $ docker exec 6c4c6c35445456b09e7c04b67749e5b20ba1ceba70816409fed0c4601777cac5 ssh-agent [2021-10-14T08:49:12.961Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNCiPGG/agent.14 [2021-10-14T08:49:12.961Z] SSH_AGENT_PID=21 [2021-10-14T08:49:12.966Z] Running ssh-add (command line suppressed) [2021-10-14T08:49:13.091Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_150516487587203619.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_150516487587203619.key) [2021-10-14T08:49:13.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:49:13.965Z] + git semver bump pre [2021-10-14T08:49:13.965Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:49:13.965Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T08:49:13.965Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:49:13.965Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:49:13.965Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:49:13.965Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:49:13.965Z] # $SEMVER_BRANCH = main [2021-10-14T08:49:13.965Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T08:49:13.965Z] 2.0.1-dev.20 [Pipeline] } [2021-10-14T08:49:13.975Z] $ docker exec --env ******** --env ******** 6c4c6c35445456b09e7c04b67749e5b20ba1ceba70816409fed0c4601777cac5 ssh-agent -k [2021-10-14T08:49:14.067Z] unset SSH_AUTH_SOCK; [2021-10-14T08:49:14.067Z] unset SSH_AGENT_PID; [2021-10-14T08:49:14.067Z] echo Agent pid 21 killed; [2021-10-14T08:49:14.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:49:14.392Z] + git semver [Pipeline] } [2021-10-14T08:49:14.404Z] $ docker stop --time=1 6c4c6c35445456b09e7c04b67749e5b20ba1ceba70816409fed0c4601777cac5 [2021-10-14T08:49:15.591Z] $ docker rm -f 6c4c6c35445456b09e7c04b67749e5b20ba1ceba70816409fed0c4601777cac5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:15.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:49:15.951Z] . [Pipeline] withDockerContainer [2021-10-14T08:49:16.011Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:49:16.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:49:16.412Z] $ docker top 4db2aeb692877de474e136e31fa5647525db5aa9b085e456b8491baee22041ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:49:16.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:49:16.501Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:49:16.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:49:16.610Z] $ docker exec 4db2aeb692877de474e136e31fa5647525db5aa9b085e456b8491baee22041ca ssh-agent [2021-10-14T08:49:16.716Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEhajEI/agent.13 [2021-10-14T08:49:16.716Z] SSH_AGENT_PID=19 [2021-10-14T08:49:16.721Z] Running ssh-add (command line suppressed) [2021-10-14T08:49:16.816Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7692073891929060326.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7692073891929060326.key) [2021-10-14T08:49:16.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:49:17.119Z] + git semver push [2021-10-14T08:49:17.119Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:49:17.119Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T08:49:17.119Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:49:17.119Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:49:17.119Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:49:17.119Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:49:17.119Z] # $SEMVER_BRANCH = main [2021-10-14T08:49:17.119Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T08:49:19.039Z] $ docker exec --env ******** --env ******** 4db2aeb692877de474e136e31fa5647525db5aa9b085e456b8491baee22041ca ssh-agent -k [2021-10-14T08:49:19.126Z] unset SSH_AUTH_SOCK; [2021-10-14T08:49:19.127Z] unset SSH_AGENT_PID; [2021-10-14T08:49:19.127Z] echo Agent pid 19 killed; [2021-10-14T08:49:19.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:49:19.435Z] + git semver [Pipeline] } [2021-10-14T08:49:19.448Z] $ docker stop --time=1 4db2aeb692877de474e136e31fa5647525db5aa9b085e456b8491baee22041ca [2021-10-14T08:49:20.636Z] $ docker rm -f 4db2aeb692877de474e136e31fa5647525db5aa9b085e456b8491baee22041ca [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-14T08:49:21.346Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:21.649Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:22.204Z] ---> package-listing.sh [2021-10-14T08:49:22.204Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:49:22.204Z] ++ facter osfamily [2021-10-14T08:49:22.465Z] + OS_FAMILY=redhat [2021-10-14T08:49:22.465Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T08:49:22.465Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:49:22.465Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:49:22.465Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:49:22.465Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:49:22.465Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T08:49:22.465Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:49:22.465Z] + case "${OS_FAMILY}" in [2021-10-14T08:49:22.465Z] + rpm -qa [2021-10-14T08:49:22.465Z] + sort [2021-10-14T08:49:23.036Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:49:23.036Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:49:23.036Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:49:23.036Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T08:49:23.036Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-14T08:49:23.036Z] + 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-14T08:49:23.053Z] 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-14T08:49:23.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:23.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:49:23.892Z] [2021-10-14T08:49:23.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:24.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:49:24.198Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:49:24.198Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:49:24.198Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:49:24.198Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:49:24.198Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:49:24.198Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:49:24.198Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:49:24.198Z] d287ab97295c: Pulling fs layer [2021-10-14T08:49:24.198Z] 77bc0d833cb6: Waiting [2021-10-14T08:49:24.198Z] 9065ff56babe: Waiting [2021-10-14T08:49:24.198Z] d287ab97295c: Waiting [2021-10-14T08:49:24.198Z] dc539afda2c1: Waiting [2021-10-14T08:49:24.198Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:49:24.198Z] a1111a8f2ec3: Download complete [2021-10-14T08:49:24.198Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:49:24.198Z] dc539afda2c1: Download complete [2021-10-14T08:49:24.198Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:49:24.198Z] ed53099fbce6: Download complete [2021-10-14T08:49:24.466Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:49:24.466Z] 77bc0d833cb6: Download complete [2021-10-14T08:49:24.466Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:49:24.466Z] 9065ff56babe: Download complete [2021-10-14T08:49:24.466Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:49:24.466Z] b4d181a07f80: Download complete [2021-10-14T08:49:25.043Z] d287ab97295c: Verifying Checksum [2021-10-14T08:49:25.043Z] d287ab97295c: Download complete [2021-10-14T08:49:26.002Z] b4d181a07f80: Pull complete [2021-10-14T08:49:26.002Z] a1111a8f2ec3: Pull complete [2021-10-14T08:49:26.595Z] ed53099fbce6: Pull complete [2021-10-14T08:49:26.595Z] dc539afda2c1: Pull complete [2021-10-14T08:49:26.854Z] 77bc0d833cb6: Pull complete [2021-10-14T08:49:26.854Z] 9065ff56babe: Pull complete [2021-10-14T08:49:32.153Z] d287ab97295c: Pull complete [2021-10-14T08:49:32.153Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:49:32.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:49:32.153Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:49:32.227Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2021-10-14T08:49:32.265Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:49:35.796Z] $ docker top 0727418d6cc8a5e6b32638f99adb8b0b137590c0e38f05762603b97e6bff15cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:49:36.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:49:36.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:49:36.784Z] + ls /var/log/sa-host [2021-10-14T08:49:36.784Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:49:36.784Z] file_magic: OK [2021-10-14T08:49:36.784Z] HZ: Using current value: 100 [2021-10-14T08:49:36.784Z] file_header: OK [2021-10-14T08:49:36.784Z] 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-14T08:49:36.784Z] Statistics: [2021-10-14T08:49:36.784Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:49:36.784Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:49:36.784Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:49:36.784Z] file_magic: OK [2021-10-14T08:49:36.784Z] HZ: Using current value: 100 [2021-10-14T08:49:36.784Z] file_header: OK [2021-10-14T08:49:36.784Z] 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-14T08:49:36.784Z] Statistics: [2021-10-14T08:49:36.784Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:49:36.784Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:49:36.862Z] provisioning config files... [2021-10-14T08:49:36.873Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config605375342129283451tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:49:36.885Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:37.180Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:49:37.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:37.510Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:49:37.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:37.809Z] ---> sudo-logs.sh [2021-10-14T08:49:37.809Z] Archiving 'sudo' log.. [2021-10-14T08:49:37.809Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1379.novalocal: Name or service not known [2021-10-14T08:49:37.809Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1379.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:49:37.828Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:38.115Z] ---> job-cost.sh [2021-10-14T08:49:38.115Z] lf-activate-venv: SKIPPING [2021-10-14T08:49:38.115Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:49:38.115Z] INFO: Retrieving Stack Cost... [2021-10-14T08:49:42.323Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:49:42.323Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:49:42.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:42.627Z] ---> logs-deploy.sh [2021-10-14T08:49:42.627Z] lf-activate-venv: SKIPPING [2021-10-14T08:49:42.627Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/18 [2021-10-14T08:49:42.627Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:49:43.198Z] Archives upload complete. [2021-10-14T08:49:43.459Z] INFO: archiving logs to Nexus