Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b27552b3734ae7c2a4c3808c2aff026acc83385 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-ssh1899803355105997047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8413360554396873946.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-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-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3223023745677900040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4508496624970148861.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-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-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13467730135298969171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63054 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9b27552b3734ae7c2a4c3808c2aff026acc83385 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" > git rev-list --no-walk 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T05:49:27.536Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T05:49:27.599Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T05:49:27.622Z] ========================================================= [2022-05-11T05:49:27.622Z] EdgeX Global Pipelines Version Info [2022-05-11T05:49:27.622Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:49:28.366Z] ------------------- [2022-05-11T05:49:28.366Z] stable info: [2022-05-11T05:49:28.366Z] ------------------- [2022-05-11T05:49:28.366Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:49:28.366Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:49:28.366Z] Message: update stable to v1.0.230 [2022-05-11T05:49:28.940Z] ------------------- [2022-05-11T05:49:28.940Z] experimental info: [2022-05-11T05:49:28.940Z] ------------------- [2022-05-11T05:49:28.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:49:28.940Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:49:28.940Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T05:49:29.078Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-05-11T05:49:29.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-05-11T05:49:29.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T05:49:29.119Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T05:49:29.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T05:49:29.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T05:49:29.257Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T05:49:29.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T05:49:29.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T05:49:29.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T05:49:29.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T05:49:29.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-05-11T05:49:29.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T05:49:29.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T05:49:29.400Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:49:29.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:49:29.435Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:49:29.450Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:49:29.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T05:49:29.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T05:49:29.492Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T05:49:29.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T05:49:29.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T05:49:29.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T05:49:29.576Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T05:49:29.592Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T05:49:29.608Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T05:49:29.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T05:49:29.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T05:49:29.659Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo [2022-05-11T05:49:29.678Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b27552 [Pipeline] echo [2022-05-11T05:49:29.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:49:29.745Z] provisioning config files... [2022-05-11T05:49:29.758Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5333519263050126971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:49:30.101Z] ---> docker-login.sh [2022-05-11T05:49:30.101Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:49:30.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:30.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:30.361Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:30.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:30.361Z] [2022-05-11T05:49:30.361Z] Login Succeeded [2022-05-11T05:49:30.361Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:49:30.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:30.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:30.625Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:30.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:30.625Z] [2022-05-11T05:49:30.625Z] Login Succeeded [2022-05-11T05:49:30.625Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:49:30.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:30.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:30.625Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:30.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:30.625Z] [2022-05-11T05:49:30.625Z] Login Succeeded [2022-05-11T05:49:30.625Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:49:30.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:30.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:30.886Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:30.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:30.886Z] [2022-05-11T05:49:30.886Z] Login Succeeded [2022-05-11T05:49:30.886Z] docker.io [2022-05-11T05:49:30.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:31.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:31.149Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:31.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:31.149Z] [2022-05-11T05:49:31.149Z] Login Succeeded [2022-05-11T05:49:31.149Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:49:31.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T05:49:31.559Z] + git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo [2022-05-11T05:49:31.677Z] -----------> git rev-list -1 --merges 9b27552b3734ae7c2a4c3808c2aff026acc83385~1..9b27552b3734ae7c2a4c3808c2aff026acc83385 9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:49:31.677Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385 [false] [Pipeline] sh [2022-05-11T05:49:31.983Z] + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo [2022-05-11T05:49:32.002Z] ========================================================= [2022-05-11T05:49:32.002Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T05:49:32.002Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:49:32.338Z] + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] echo [2022-05-11T05:49:32.349Z] [semverPrep] GIT_COMMIT: 9b27552b3734ae7c2a4c3808c2aff026acc83385, Commit Message: Merge pull request #285 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T05:49:32.359Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T05:49:32.732Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T05:49:32.732Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T05:49:32.732Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T05:49:32.732Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T05:49:32.732Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T05:49:32.732Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T05:49:32.732Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:49:33.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:49:33.089Z] [2022-05-11T05:49:33.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:49:33.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:49:33.398Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T05:49:33.398Z] 1fe172e4850f: Pulling fs layer [2022-05-11T05:49:33.398Z] caf521ccaac6: Pulling fs layer [2022-05-11T05:49:33.398Z] 3ead6fa29328: Pulling fs layer [2022-05-11T05:49:33.398Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T05:49:33.398Z] a8d5f1318db7: Pulling fs layer [2022-05-11T05:49:33.398Z] c427282e49a2: Pulling fs layer [2022-05-11T05:49:33.398Z] 1827001aaf11: Pulling fs layer [2022-05-11T05:49:33.398Z] 0714d37db230: Pulling fs layer [2022-05-11T05:49:33.398Z] ac28cf19c067: Pulling fs layer [2022-05-11T05:49:33.398Z] ca983d60f3e2: Pulling fs layer [2022-05-11T05:49:33.398Z] 9f894cec8388: Pulling fs layer [2022-05-11T05:49:33.398Z] 5c2a1cbceb83: Waiting [2022-05-11T05:49:33.398Z] a8d5f1318db7: Waiting [2022-05-11T05:49:33.398Z] c427282e49a2: Waiting [2022-05-11T05:49:33.398Z] 1827001aaf11: Waiting [2022-05-11T05:49:33.398Z] 0714d37db230: Waiting [2022-05-11T05:49:33.398Z] 9f894cec8388: Waiting [2022-05-11T05:49:33.398Z] ca983d60f3e2: Waiting [2022-05-11T05:49:33.398Z] ac28cf19c067: Waiting [2022-05-11T05:49:33.398Z] caf521ccaac6: Verifying Checksum [2022-05-11T05:49:33.398Z] caf521ccaac6: Download complete [2022-05-11T05:49:33.398Z] 5c2a1cbceb83: Download complete [2022-05-11T05:49:33.661Z] 3ead6fa29328: Verifying Checksum [2022-05-11T05:49:33.661Z] 3ead6fa29328: Download complete [2022-05-11T05:49:33.661Z] c427282e49a2: Download complete [2022-05-11T05:49:33.661Z] a8d5f1318db7: Verifying Checksum [2022-05-11T05:49:33.661Z] a8d5f1318db7: Download complete [2022-05-11T05:49:33.661Z] 0714d37db230: Verifying Checksum [2022-05-11T05:49:33.661Z] 0714d37db230: Download complete [2022-05-11T05:49:33.661Z] ac28cf19c067: Verifying Checksum [2022-05-11T05:49:33.661Z] ac28cf19c067: Download complete [2022-05-11T05:49:33.661Z] ca983d60f3e2: Download complete [2022-05-11T05:49:33.661Z] 9f894cec8388: Download complete [2022-05-11T05:49:33.661Z] 1fe172e4850f: Download complete [2022-05-11T05:49:33.920Z] 1827001aaf11: Verifying Checksum [2022-05-11T05:49:33.920Z] 1827001aaf11: Download complete [2022-05-11T05:49:35.304Z] 1fe172e4850f: Pull complete [2022-05-11T05:49:35.304Z] caf521ccaac6: Pull complete [2022-05-11T05:49:35.876Z] 3ead6fa29328: Pull complete [2022-05-11T05:49:35.876Z] 5c2a1cbceb83: Pull complete [2022-05-11T05:49:36.138Z] a8d5f1318db7: Pull complete [2022-05-11T05:49:36.138Z] c427282e49a2: Pull complete [2022-05-11T05:49:38.685Z] 1827001aaf11: Pull complete [2022-05-11T05:49:38.685Z] 0714d37db230: Pull complete [2022-05-11T05:49:38.685Z] ac28cf19c067: Pull complete [2022-05-11T05:49:38.685Z] ca983d60f3e2: Pull complete [2022-05-11T05:49:38.685Z] 9f894cec8388: Pull complete [2022-05-11T05:49:38.685Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T05:49:38.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:49:38.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T05:49:38.769Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T05:49:38.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T05:49:40.179Z] $ docker top 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 -eo pid,comm [2022-05-11T05:49:40.260Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-11T05:49:40.260Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T05:49:40.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:49:40.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:49:40.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:49:40.422Z] $ docker exec 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent [2022-05-11T05:49:40.562Z] SSH_AUTH_SOCK=/tmp/ssh-mv80HILqJj9G/agent.33 [2022-05-11T05:49:40.562Z] SSH_AGENT_PID=40 [2022-05-11T05:49:40.574Z] Running ssh-add (command line suppressed) [2022-05-11T05:49:40.693Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7309870027008945222.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7309870027008945222.key) [2022-05-11T05:49:40.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:49:41.014Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T05:49:41.024Z] $ docker exec --env ******** --env ******** 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent -k [2022-05-11T05:49:41.139Z] unset SSH_AUTH_SOCK; [2022-05-11T05:49:41.140Z] unset SSH_AGENT_PID; [2022-05-11T05:49:41.140Z] echo Agent pid 40 killed; [2022-05-11T05:49:41.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T05:49:41.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:49:41.189Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:49:41.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:49:41.319Z] $ docker exec 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent [2022-05-11T05:49:41.455Z] SSH_AUTH_SOCK=/tmp/ssh-MIfsYhLLVELg/agent.73 [2022-05-11T05:49:41.455Z] SSH_AGENT_PID=79 [2022-05-11T05:49:41.461Z] Running ssh-add (command line suppressed) [2022-05-11T05:49:41.566Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1361616627140499805.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1361616627140499805.key) [2022-05-11T05:49:41.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:49:41.887Z] + git semver init [2022-05-11T05:49:42.150Z] 2022-05-11 05:49:42,074 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T05:49:42.150Z] 2022-05-11 05:49:42,074 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-11T05:49:42.150Z] 2022-05-11 05:49:42,075 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-11T05:49:42.150Z] 2022-05-11 05:49:42,075 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T05:49:43.535Z] 2022-05-11 05:49:43,149 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-05-11T05:49:43.535Z] 2022-05-11 05:49:43,149 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-05-11T05:49:43.535Z] 2022-05-11 05:49:43,149 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T05:49:43.535Z] 2022-05-11 05:49:43,150 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T05:49:43.535Z] 2.2.0-dev.18 [Pipeline] } [2022-05-11T05:49:43.535Z] $ docker exec --env ******** --env ******** 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 ssh-agent -k [2022-05-11T05:49:43.652Z] unset SSH_AUTH_SOCK; [2022-05-11T05:49:43.652Z] unset SSH_AGENT_PID; [2022-05-11T05:49:43.652Z] echo Agent pid 79 killed; [2022-05-11T05:49:43.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T05:49:44.001Z] + git semver [Pipeline] } [2022-05-11T05:49:44.267Z] $ docker stop --time=1 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 [2022-05-11T05:49:45.574Z] $ docker rm -f 744030b519699e09663264810e39689d7007e5170270f9af2dd82fd2c485cd17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:49:45.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T05:49:46.187Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T05:49:46.191Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:49:46.359Z] provisioning config files... [2022-05-11T05:49:46.371Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4401468762599834468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:49:46.669Z] ---> docker-login.sh [2022-05-11T05:49:46.669Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:49:46.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:46.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:46.669Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:46.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:46.669Z] [2022-05-11T05:49:46.669Z] Login Succeeded [2022-05-11T05:49:46.669Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:49:46.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:46.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:46.928Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:46.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:46.928Z] [2022-05-11T05:49:46.928Z] Login Succeeded [2022-05-11T05:49:46.928Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:49:46.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:46.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:46.928Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:46.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:46.928Z] [2022-05-11T05:49:46.928Z] Login Succeeded [2022-05-11T05:49:46.929Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:49:46.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:47.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:47.188Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:47.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:47.188Z] [2022-05-11T05:49:47.188Z] Login Succeeded [2022-05-11T05:49:47.188Z] docker.io [2022-05-11T05:49:47.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:49:47.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:49:47.449Z] Configure a credential helper to remove this warning. See [2022-05-11T05:49:47.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:49:47.449Z] [2022-05-11T05:49:47.449Z] Login Succeeded [2022-05-11T05:49:47.449Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:49:47.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:49:47.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:49:47.534Z] ========================================================= [2022-05-11T05:49:47.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T05:49:47.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:49:47.841Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:49:47.841Z] Sending build context to Docker daemon 22.93MB [2022-05-11T05:49:47.841Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:49:47.841Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:49:47.841Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T05:49:47.841Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T05:49:47.841Z] 666ba61612fd: Pulling fs layer [2022-05-11T05:49:47.841Z] 8ed8ca486205: Pulling fs layer [2022-05-11T05:49:47.841Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T05:49:47.841Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T05:49:47.841Z] ca2b28591e48: Pulling fs layer [2022-05-11T05:49:47.841Z] a51346096db8: Pulling fs layer [2022-05-11T05:49:47.841Z] daebc70d1ce1: Pulling fs layer [2022-05-11T05:49:47.841Z] 0e18a0eac166: Pulling fs layer [2022-05-11T05:49:47.841Z] ca2b28591e48: Waiting [2022-05-11T05:49:47.841Z] a51346096db8: Waiting [2022-05-11T05:49:47.841Z] daebc70d1ce1: Waiting [2022-05-11T05:49:47.841Z] 0e18a0eac166: Waiting [2022-05-11T05:49:47.841Z] 4fe6c5a15a65: Waiting [2022-05-11T05:49:47.841Z] 22a0e8bec74d: Waiting [2022-05-11T05:49:48.102Z] 8ed8ca486205: Verifying Checksum [2022-05-11T05:49:48.102Z] 8ed8ca486205: Download complete [2022-05-11T05:49:48.102Z] 666ba61612fd: Verifying Checksum [2022-05-11T05:49:48.102Z] 666ba61612fd: Download complete [2022-05-11T05:49:48.102Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T05:49:48.102Z] 22a0e8bec74d: Download complete [2022-05-11T05:49:48.102Z] ca2b28591e48: Verifying Checksum [2022-05-11T05:49:48.103Z] ca2b28591e48: Download complete [2022-05-11T05:49:48.103Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T05:49:48.103Z] a51346096db8: Verifying Checksum [2022-05-11T05:49:48.103Z] a51346096db8: Download complete [2022-05-11T05:49:48.103Z] daebc70d1ce1: Verifying Checksum [2022-05-11T05:49:48.103Z] daebc70d1ce1: Download complete [2022-05-11T05:49:48.103Z] 59bf1c3509f3: Pull complete [2022-05-11T05:49:48.369Z] 666ba61612fd: Pull complete [2022-05-11T05:49:48.369Z] 8ed8ca486205: Pull complete [2022-05-11T05:49:48.632Z] 0e18a0eac166: Verifying Checksum [2022-05-11T05:49:48.632Z] 0e18a0eac166: Download complete [2022-05-11T05:49:48.890Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T05:49:48.890Z] 4fe6c5a15a65: Download complete [2022-05-11T05:49:53.082Z] 4fe6c5a15a65: Pull complete [2022-05-11T05:49:53.082Z] 22a0e8bec74d: Pull complete [2022-05-11T05:49:53.082Z] ca2b28591e48: Pull complete [2022-05-11T05:49:53.082Z] a51346096db8: Pull complete [2022-05-11T05:49:53.082Z] daebc70d1ce1: Pull complete [2022-05-11T05:49:55.004Z] 0e18a0eac166: Pull complete [2022-05-11T05:49:55.004Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T05:49:55.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T05:49:55.004Z] ---> f018257e8ee9 [2022-05-11T05:49:55.004Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:49:56.389Z] ---> Running in 5309cfd8da6f [2022-05-11T05:49:56.389Z] Removing intermediate container 5309cfd8da6f [2022-05-11T05:49:56.389Z] ---> eb0f53463533 [2022-05-11T05:49:56.389Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:49:56.389Z] ---> Running in e4aa5dd1d3b8 [2022-05-11T05:49:56.652Z] Removing intermediate container e4aa5dd1d3b8 [2022-05-11T05:49:56.652Z] ---> a2236d4c2a98 [2022-05-11T05:49:56.652Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-11T05:49:56.652Z] ---> Running in dbbc296d9057 [2022-05-11T05:49:56.652Z] Removing intermediate container dbbc296d9057 [2022-05-11T05:49:56.652Z] ---> 9cf42b58c9c0 [2022-05-11T05:49:56.652Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:49:56.652Z] ---> Running in 00a2efc009db [2022-05-11T05:49:57.224Z] Removing intermediate container 00a2efc009db [2022-05-11T05:49:57.224Z] ---> 3c0c92f3d380 [2022-05-11T05:49:57.224Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:49:57.486Z] ---> Running in ae272488ee6c [2022-05-11T05:49:57.755Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:49:58.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:49:58.701Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:49:58.963Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:49:58.963Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:49:58.963Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:49:59.224Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:49:59.224Z] OK: 224 MiB in 56 packages [2022-05-11T05:49:59.796Z] Removing intermediate container ae272488ee6c [2022-05-11T05:49:59.796Z] ---> d153ef211ef5 [2022-05-11T05:49:59.796Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-11T05:49:59.796Z] ---> 00f62829bad3 [2022-05-11T05:49:59.796Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:49:59.796Z] ---> Running in d9c3313a1c99 [2022-05-11T05:50:01.307Z] Still waiting to schedule task [2022-05-11T05:50:01.307Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-11T05:50:14.708Z] Removing intermediate container d9c3313a1c99 [2022-05-11T05:50:14.708Z] ---> 8571dc11828f [2022-05-11T05:50:14.708Z] Step 10/12 : COPY . . [2022-05-11T05:50:14.708Z] ---> a2ac2d908ece [2022-05-11T05:50:14.708Z] Step 11/12 : ARG MAKE='make build' [2022-05-11T05:50:14.708Z] ---> Running in f63e13f84a8b [2022-05-11T05:50:14.708Z] Removing intermediate container f63e13f84a8b [2022-05-11T05:50:14.708Z] ---> 6b30ed7a02de [2022-05-11T05:50:14.708Z] Step 12/12 : RUN $MAKE [2022-05-11T05:50:14.708Z] ---> Running in 392cddb00bbf [2022-05-11T05:50:14.708Z] noop [2022-05-11T05:50:14.708Z] Removing intermediate container 392cddb00bbf [2022-05-11T05:50:14.708Z] ---> 4a119803b0c1 [2022-05-11T05:50:14.708Z] Successfully built 4a119803b0c1 [2022-05-11T05:50:14.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:15.119Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:15.119Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:15.187Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T05:50:15.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:50:15.646Z] $ docker top 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:50:16.013Z] + go version [2022-05-11T05:50:16.013Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T05:50:16.027Z] $ docker stop --time=1 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d [2022-05-11T05:50:17.321Z] $ docker rm -f 89bc8df2f7beaa31be8aef5ddbe26b71f2629e9a17c0520790c7e6a33193200d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:17.733Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:50:17.733Z] . [Pipeline] withDockerContainer [2022-05-11T05:50:17.803Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T05:50:17.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T05:50:18.250Z] $ docker top 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:50:18.663Z] + make test [2022-05-11T05:50:18.663Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:50:18.923Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-11T05:50:28.929Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-11T05:50:28.929Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-05-11T05:50:37.074Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:50:41.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:50:41.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:50:41.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:50:41.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:50:41.575Z] $ docker stop --time=1 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe [2022-05-11T05:50:43.404Z] $ docker rm -f 730541f98e6f29ed8affe799ef1cfcaa5bad1713ce50e2f21270425e791deefe [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:50:43.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:50:43.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T05:50:44.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:50:44.723Z] + ls -al . [2022-05-11T05:50:44.723Z] total 188 [2022-05-11T05:50:44.723Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:50 . [2022-05-11T05:50:44.723Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:49 .. [2022-05-11T05:50:44.723Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:49 .git [2022-05-11T05:50:44.723Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 .github [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:49 .gitignore [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:49 .golangci.yml [2022-05-11T05:50:44.723Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:49 .semver [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:49 Attribution.txt [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:49 CHANGELOG.md [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:49 Dockerfile [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:49 GOVERNANCE.md [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:49 Jenkinsfile [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:49 LICENSE [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:49 Makefile [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:49 OWNERS.md [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:49 README.md [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:49 VERSION [2022-05-11T05:50:44.723Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:49 bin [2022-05-11T05:50:44.723Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 cmd [2022-05-11T05:50:44.723Z] -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:50 coverage.out [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:49 go.mod [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:49 go.sum [2022-05-11T05:50:44.723Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:49 internal [2022-05-11T05:50:44.723Z] -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:50:45.044Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=amd64 --label version=2.2.0-dev.18 . [2022-05-11T05:50:45.044Z] Sending build context to Docker daemon 22.98MB [2022-05-11T05:50:45.044Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:50:45.044Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-11T05:50:45.044Z] ---> 4a119803b0c1 [2022-05-11T05:50:45.044Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:50:45.304Z] ---> Running in f5743cfe3949 [2022-05-11T05:50:45.304Z] Removing intermediate container f5743cfe3949 [2022-05-11T05:50:45.304Z] ---> 92be7fdcc831 [2022-05-11T05:50:45.304Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:50:45.304Z] ---> Running in cc9c61218f47 [2022-05-11T05:50:45.565Z] Removing intermediate container cc9c61218f47 [2022-05-11T05:50:45.565Z] ---> 8a431f33deee [2022-05-11T05:50:45.565Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-11T05:50:45.565Z] ---> Running in 7a48d1736dcf [2022-05-11T05:50:45.565Z] Removing intermediate container 7a48d1736dcf [2022-05-11T05:50:45.565Z] ---> af2a9308a400 [2022-05-11T05:50:45.565Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:50:45.565Z] ---> Running in a4269642ecdb [2022-05-11T05:50:46.135Z] Removing intermediate container a4269642ecdb [2022-05-11T05:50:46.135Z] ---> d45f60faa00b [2022-05-11T05:50:46.135Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:50:46.395Z] ---> Running in 200337232d66 [2022-05-11T05:50:46.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:47.612Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:50:47.612Z] OK: 224 MiB in 56 packages [2022-05-11T05:50:48.182Z] Removing intermediate container 200337232d66 [2022-05-11T05:50:48.182Z] ---> da46ea07e3b7 [2022-05-11T05:50:48.182Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-11T05:50:48.182Z] ---> 928ec392fa85 [2022-05-11T05:50:48.182Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:50:48.182Z] ---> Running in a2bc185da13e [2022-05-11T05:50:49.131Z] Removing intermediate container a2bc185da13e [2022-05-11T05:50:49.131Z] ---> 9fdb3dc4e869 [2022-05-11T05:50:49.131Z] Step 10/26 : COPY . . [2022-05-11T05:50:49.392Z] ---> 7a463e64eee6 [2022-05-11T05:50:49.392Z] Step 11/26 : ARG MAKE='make build' [2022-05-11T05:50:49.392Z] ---> Running in 3e6ad09cba3a [2022-05-11T05:50:49.652Z] Removing intermediate container 3e6ad09cba3a [2022-05-11T05:50:49.652Z] ---> 5cd6d1f31c67 [2022-05-11T05:50:49.652Z] Step 12/26 : RUN $MAKE [2022-05-11T05:50:49.652Z] ---> Running in a81789c5a17b [2022-05-11T05:50:49.912Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-11T05:51:11.861Z] Removing intermediate container a81789c5a17b [2022-05-11T05:51:11.861Z] ---> 2cd5d392b404 [2022-05-11T05:51:11.861Z] Step 13/26 : FROM alpine:3.14 [2022-05-11T05:51:11.861Z] 3.14: Pulling from library/alpine [2022-05-11T05:51:11.861Z] 8663204ce13b: Pulling fs layer [2022-05-11T05:51:11.861Z] 8663204ce13b: Verifying Checksum [2022-05-11T05:51:11.861Z] 8663204ce13b: Download complete [2022-05-11T05:51:11.861Z] 8663204ce13b: Pull complete [2022-05-11T05:51:11.861Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:51:11.861Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:51:11.861Z] ---> e04c818066af [2022-05-11T05:51:11.861Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-11T05:51:11.861Z] ---> Running in 657f4865c9d5 [2022-05-11T05:51:11.861Z] Removing intermediate container 657f4865c9d5 [2022-05-11T05:51:11.861Z] ---> ac0824b16e59 [2022-05-11T05:51:11.861Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:51:11.861Z] ---> Running in 13f278e69a75 [2022-05-11T05:51:11.861Z] Removing intermediate container 13f278e69a75 [2022-05-11T05:51:11.861Z] ---> f0ee8734676f [2022-05-11T05:51:11.861Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:51:11.861Z] ---> Running in bea3431d5ca5 [2022-05-11T05:51:11.861Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:12.810Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:51:13.072Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:51:13.072Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:51:13.332Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:51:13.332Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:51:13.332Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:51:13.593Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:51:13.593Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:51:13.593Z] OK: 8 MiB in 20 packages [2022-05-11T05:51:14.168Z] Removing intermediate container bea3431d5ca5 [2022-05-11T05:51:14.168Z] ---> 232d0251dcf5 [2022-05-11T05:51:14.168Z] Step 17/26 : WORKDIR / [2022-05-11T05:51:14.168Z] ---> Running in fa0a5650169e [2022-05-11T05:51:14.168Z] Removing intermediate container fa0a5650169e [2022-05-11T05:51:14.168Z] ---> 9f1e2e8338d6 [2022-05-11T05:51:14.168Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-11T05:51:14.427Z] ---> 6978c7bfeba1 [2022-05-11T05:51:14.427Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-11T05:51:14.427Z] ---> e8f84212a427 [2022-05-11T05:51:14.427Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-11T05:51:14.996Z] ---> 9fd5d9db7316 [2022-05-11T05:51:14.996Z] Step 21/26 : EXPOSE 59900 [2022-05-11T05:51:14.996Z] ---> Running in 9a2a362251b5 [2022-05-11T05:51:15.257Z] Removing intermediate container 9a2a362251b5 [2022-05-11T05:51:15.257Z] ---> 01c0798ad0f0 [2022-05-11T05:51:15.257Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-11T05:51:15.257Z] ---> Running in 2b65576c996c [2022-05-11T05:51:15.257Z] Removing intermediate container 2b65576c996c [2022-05-11T05:51:15.257Z] ---> 5a0b5d1be151 [2022-05-11T05:51:15.257Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T05:51:15.517Z] ---> Running in 9bf728a399f2 [2022-05-11T05:51:15.517Z] Removing intermediate container 9bf728a399f2 [2022-05-11T05:51:15.517Z] ---> 1f091a0e64a8 [2022-05-11T05:51:15.517Z] Step 24/26 : LABEL arch=amd64 [2022-05-11T05:51:15.517Z] ---> Running in 6a985639932d [2022-05-11T05:51:15.517Z] Removing intermediate container 6a985639932d [2022-05-11T05:51:15.517Z] ---> d6360dbbe1d8 [2022-05-11T05:51:15.517Z] Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:51:15.779Z] ---> Running in be327fe243d5 [2022-05-11T05:51:15.779Z] Removing intermediate container be327fe243d5 [2022-05-11T05:51:15.779Z] ---> af1ca0718ed9 [2022-05-11T05:51:15.779Z] Step 26/26 : LABEL version=2.2.0-dev.18 [2022-05-11T05:51:15.779Z] ---> Running in 9e0aa951842c [2022-05-11T05:51:15.779Z] Removing intermediate container 9e0aa951842c [2022-05-11T05:51:15.779Z] ---> d8dc250ae8c0 [2022-05-11T05:51:15.779Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:51:16.041Z] Successfully built d8dc250ae8c0 [2022-05-11T05:51:16.041Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:51:16.139Z] provisioning config files... [2022-05-11T05:51:16.148Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4094540490447279915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:51:16.458Z] ---> docker-login.sh [2022-05-11T05:51:16.458Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:51:16.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:16.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:16.458Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:16.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:16.458Z] [2022-05-11T05:51:16.458Z] Login Succeeded [2022-05-11T05:51:16.458Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:51:16.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:16.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:16.718Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:16.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:16.718Z] [2022-05-11T05:51:16.718Z] Login Succeeded [2022-05-11T05:51:16.718Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:51:16.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:16.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:16.718Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:16.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:16.718Z] [2022-05-11T05:51:16.718Z] Login Succeeded [2022-05-11T05:51:16.718Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:51:16.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:16.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:16.977Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:16.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:16.977Z] [2022-05-11T05:51:16.977Z] Login Succeeded [2022-05-11T05:51:16.977Z] docker.io [2022-05-11T05:51:16.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:51:17.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:51:17.237Z] Configure a credential helper to remove this warning. See [2022-05-11T05:51:17.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:51:17.237Z] [2022-05-11T05:51:17.237Z] Login Succeeded [2022-05-11T05:51:17.237Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:51:17.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:17.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:51:17.318Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-05-11T05:51:17.318Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:51:17.318Z] latest [2022-05-11T05:51:17.318Z] 2.2.0-dev.18 [2022-05-11T05:51:17.318Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:51:17.318Z] main [2022-05-11T05:51:17.318Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:17.653Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:17.954Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:51:17.954Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-11T05:51:17.954Z] e70cc11a7f91: Preparing [2022-05-11T05:51:17.954Z] 019ccd6b07d5: Preparing [2022-05-11T05:51:17.954Z] 645dccbe3422: Preparing [2022-05-11T05:51:17.954Z] 6c06eb96305d: Preparing [2022-05-11T05:51:17.954Z] b9a842252afc: Preparing [2022-05-11T05:51:17.954Z] b541d28bf3b4: Preparing [2022-05-11T05:51:17.954Z] b541d28bf3b4: Waiting [2022-05-11T05:51:17.954Z] b9a842252afc: Pushed [2022-05-11T05:51:17.954Z] 019ccd6b07d5: Pushed [2022-05-11T05:51:17.954Z] 645dccbe3422: Pushed [2022-05-11T05:51:17.954Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:18.214Z] 6c06eb96305d: Pushed [2022-05-11T05:51:20.753Z] e70cc11a7f91: Pushed [2022-05-11T05:51:21.013Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:21.311Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:21.605Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-11T05:51:21.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-11T05:51:21.605Z] e70cc11a7f91: Preparing [2022-05-11T05:51:21.605Z] 019ccd6b07d5: Preparing [2022-05-11T05:51:21.605Z] 645dccbe3422: Preparing [2022-05-11T05:51:21.605Z] 6c06eb96305d: Preparing [2022-05-11T05:51:21.605Z] b9a842252afc: Preparing [2022-05-11T05:51:21.605Z] b541d28bf3b4: Preparing [2022-05-11T05:51:21.605Z] b541d28bf3b4: Waiting [2022-05-11T05:51:21.605Z] 6c06eb96305d: Layer already exists [2022-05-11T05:51:21.605Z] 019ccd6b07d5: Layer already exists [2022-05-11T05:51:21.605Z] b9a842252afc: Layer already exists [2022-05-11T05:51:21.605Z] 645dccbe3422: Layer already exists [2022-05-11T05:51:21.605Z] e70cc11a7f91: Layer already exists [2022-05-11T05:51:21.605Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:21.605Z] latest: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:21.905Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:22.199Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 [2022-05-11T05:51:22.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-11T05:51:22.199Z] e70cc11a7f91: Preparing [2022-05-11T05:51:22.199Z] 019ccd6b07d5: Preparing [2022-05-11T05:51:22.199Z] 645dccbe3422: Preparing [2022-05-11T05:51:22.199Z] 6c06eb96305d: Preparing [2022-05-11T05:51:22.199Z] b9a842252afc: Preparing [2022-05-11T05:51:22.199Z] b541d28bf3b4: Preparing [2022-05-11T05:51:22.199Z] b541d28bf3b4: Waiting [2022-05-11T05:51:22.199Z] 019ccd6b07d5: Layer already exists [2022-05-11T05:51:22.199Z] b9a842252afc: Layer already exists [2022-05-11T05:51:22.199Z] e70cc11a7f91: Layer already exists [2022-05-11T05:51:22.199Z] 645dccbe3422: Layer already exists [2022-05-11T05:51:22.199Z] 6c06eb96305d: Layer already exists [2022-05-11T05:51:22.199Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:22.199Z] 2.2.0-dev.18: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:22.498Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:22.792Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:51:22.792Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-11T05:51:22.792Z] e70cc11a7f91: Preparing [2022-05-11T05:51:22.792Z] 019ccd6b07d5: Preparing [2022-05-11T05:51:22.792Z] 645dccbe3422: Preparing [2022-05-11T05:51:22.792Z] 6c06eb96305d: Preparing [2022-05-11T05:51:22.792Z] b9a842252afc: Preparing [2022-05-11T05:51:22.792Z] b541d28bf3b4: Preparing [2022-05-11T05:51:22.792Z] b541d28bf3b4: Waiting [2022-05-11T05:51:22.792Z] 6c06eb96305d: Layer already exists [2022-05-11T05:51:22.792Z] e70cc11a7f91: Layer already exists [2022-05-11T05:51:22.792Z] b9a842252afc: Layer already exists [2022-05-11T05:51:22.792Z] 645dccbe3422: Layer already exists [2022-05-11T05:51:22.792Z] 019ccd6b07d5: Layer already exists [2022-05-11T05:51:22.792Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:22.792Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:23.097Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:23.393Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-05-11T05:51:23.393Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-11T05:51:23.393Z] e70cc11a7f91: Preparing [2022-05-11T05:51:23.393Z] 019ccd6b07d5: Preparing [2022-05-11T05:51:23.393Z] 645dccbe3422: Preparing [2022-05-11T05:51:23.393Z] 6c06eb96305d: Preparing [2022-05-11T05:51:23.393Z] b9a842252afc: Preparing [2022-05-11T05:51:23.393Z] b541d28bf3b4: Preparing [2022-05-11T05:51:23.393Z] b541d28bf3b4: Waiting [2022-05-11T05:51:23.393Z] 019ccd6b07d5: Layer already exists [2022-05-11T05:51:23.393Z] 6c06eb96305d: Layer already exists [2022-05-11T05:51:23.393Z] 645dccbe3422: Layer already exists [2022-05-11T05:51:23.393Z] b9a842252afc: Layer already exists [2022-05-11T05:51:23.393Z] e70cc11a7f91: Layer already exists [2022-05-11T05:51:23.393Z] b541d28bf3b4: Layer already exists [2022-05-11T05:51:23.393Z] main: digest: sha256:6cc660e33ac766cf171ed003d88f9cc67d948f9e66808a699c246d087301b8a2 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:51:23.435Z] ===================================================== [Pipeline] echo [2022-05-11T05:51:23.447Z] taggedImages: [2022-05-11T05:51:23.447Z] - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:51:23.447Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-11T05:51:23.447Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.18 [2022-05-11T05:51:23.447Z] - nexus3.edgexfoundry.org:10004/device-virtual:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:51:23.447Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [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 [2022-05-11T05:51:23.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:23.826Z] [2022-05-11T05:51:23.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:51:24.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:24.129Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T05:51:24.129Z] 5eb5b503b376: Pulling fs layer [2022-05-11T05:51:24.129Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T05:51:24.129Z] ec43610c2a17: Pulling fs layer [2022-05-11T05:51:24.129Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T05:51:24.129Z] 33b1e0a273af: Pulling fs layer [2022-05-11T05:51:24.129Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T05:51:24.129Z] 2f39f015ded8: Pulling fs layer [2022-05-11T05:51:24.129Z] 5d3b04190fa2: Waiting [2022-05-11T05:51:24.129Z] 33b1e0a273af: Waiting [2022-05-11T05:51:24.129Z] 3a2ae6a8a46f: Waiting [2022-05-11T05:51:24.129Z] 5c69ac0246d0: Download complete [2022-05-11T05:51:24.129Z] 3a2ae6a8a46f: Download complete [2022-05-11T05:51:24.129Z] 33b1e0a273af: Verifying Checksum [2022-05-11T05:51:24.129Z] 33b1e0a273af: Download complete [2022-05-11T05:51:24.129Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T05:51:24.129Z] 5d3b04190fa2: Download complete [2022-05-11T05:51:24.129Z] ec43610c2a17: Verifying Checksum [2022-05-11T05:51:24.129Z] ec43610c2a17: Download complete [2022-05-11T05:51:24.390Z] 5eb5b503b376: Verifying Checksum [2022-05-11T05:51:24.390Z] 5eb5b503b376: Download complete [2022-05-11T05:51:24.960Z] 2f39f015ded8: Download complete [2022-05-11T05:51:25.897Z] 5eb5b503b376: Pull complete [2022-05-11T05:51:25.897Z] 5c69ac0246d0: Pull complete [2022-05-11T05:51:26.157Z] ec43610c2a17: Pull complete [2022-05-11T05:51:26.417Z] 3a2ae6a8a46f: Pull complete [2022-05-11T05:51:26.676Z] 33b1e0a273af: Pull complete [2022-05-11T05:51:26.676Z] 5d3b04190fa2: Pull complete [2022-05-11T05:51:32.036Z] 2f39f015ded8: Pull complete [2022-05-11T05:51:32.036Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T05:51:32.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:51:32.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T05:51:32.118Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T05:51:32.162Z] $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T05:51:33.994Z] $ docker top b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:51:34.397Z] ---> job-cost.sh [2022-05-11T05:51:34.397Z] lf-activate-venv: SKIPPING [2022-05-11T05:51:34.397Z] INFO: No Stack... [2022-05-11T05:51:34.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:51:35.229Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:51:35.527Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-05-11T05:51:35.527Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:51:35.544Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [2022-05-11T05:51:35.550Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] did not exist. Created. [2022-05-11T05:51:35.550Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:51:35.855Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T05:51:35.880Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:51:35.886Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:51:35.911Z] $ docker stop --time=1 b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 [2022-05-11T05:51:37.082Z] $ docker rm -f b983bde5a60b5e20f48a92934319e09cb369f7e45f35b3d99e2b7309c17a7237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T05:52:37.328Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63058 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-05-11T05:52:37.342Z] Running in /w/workspace/device-virtual-go/34 [Pipeline] { [Pipeline] checkout [2022-05-11T05:52:37.718Z] The recommended git tool is: git [2022-05-11T05:52:44.842Z] using credential edgex-jenkins-ssh [2022-05-11T05:52:44.866Z] Cloning the remote Git repository [2022-05-11T05:52:44.922Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-05-11T05:52:45.016Z] > git init /w/workspace/device-virtual-go/34 # timeout=10 [2022-05-11T05:52:45.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-05-11T05:52:45.107Z] > git --version # timeout=10 [2022-05-11T05:52:45.124Z] > git --version # 'git version 2.25.1' [2022-05-11T05:52:45.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:52:45.214Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:52:47.334Z] Avoid second fetch [2022-05-11T05:52:47.334Z] Checking out Revision 9b27552b3734ae7c2a4c3808c2aff026acc83385 (main) [2022-05-11T05:52:47.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-05-11T05:52:47.305Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:52:47.363Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:52:47.431Z] > git checkout -f 9b27552b3734ae7c2a4c3808c2aff026acc83385 # timeout=10 [2022-05-11T05:52:51.856Z] Commit message: "Merge pull request #285 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:52:52.711Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T05:52:52.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:52:52.711Z] Dload Upload Total Spent Left Speed [2022-05-11T05:52:52.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65794 0 --:--:-- --:--:-- --:--:-- 65794 [Pipeline] sh [2022-05-11T05:52:53.284Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T05:52:53.644Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T05:52:53.645Z] + sudo tee /etc/docker/daemon.new [2022-05-11T05:52:53.645Z] { [2022-05-11T05:52:53.645Z] "registry-mirrors": [ [2022-05-11T05:52:53.645Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T05:52:53.645Z] ], [2022-05-11T05:52:53.645Z] "bip": "10.250.0.254/24", [2022-05-11T05:52:53.645Z] "hosts": [ [2022-05-11T05:52:53.645Z] "tcp://0.0.0.0:5555", [2022-05-11T05:52:53.645Z] "unix:///var/run/docker.sock" [2022-05-11T05:52:53.645Z] ], [2022-05-11T05:52:53.645Z] "mtu": 1458, [2022-05-11T05:52:53.645Z] "selinux-enabled": true, [2022-05-11T05:52:53.645Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T05:52:53.645Z] } [Pipeline] sh [2022-05-11T05:52:54.014Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T05:52:54.378Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:53:12.765Z] provisioning config files... [2022-05-11T05:53:12.793Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config3258073234554989716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:53:13.259Z] ---> docker-login.sh [2022-05-11T05:53:13.259Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:53:13.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:53:14.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:53:14.149Z] Configure a credential helper to remove this warning. See [2022-05-11T05:53:14.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:53:14.149Z] [2022-05-11T05:53:14.149Z] Login Succeeded [2022-05-11T05:53:14.149Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:53:14.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:53:14.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:53:14.700Z] Configure a credential helper to remove this warning. See [2022-05-11T05:53:14.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:53:14.700Z] [2022-05-11T05:53:14.700Z] Login Succeeded [2022-05-11T05:53:14.700Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:53:14.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:53:15.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:53:15.252Z] Configure a credential helper to remove this warning. See [2022-05-11T05:53:15.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:53:15.252Z] [2022-05-11T05:53:15.252Z] Login Succeeded [2022-05-11T05:53:15.252Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:53:15.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:53:15.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:53:15.800Z] Configure a credential helper to remove this warning. See [2022-05-11T05:53:15.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:53:15.800Z] [2022-05-11T05:53:15.800Z] Login Succeeded [2022-05-11T05:53:15.800Z] docker.io [2022-05-11T05:53:16.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:53:16.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:53:16.345Z] Configure a credential helper to remove this warning. See [2022-05-11T05:53:16.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:53:16.345Z] [2022-05-11T05:53:16.345Z] Login Succeeded [2022-05-11T05:53:16.345Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:53:16.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:53:16.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:53:16.882Z] ========================================================= [2022-05-11T05:53:16.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T05:53:16.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:53:17.246Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:53:17.525Z] Sending build context to Docker daemon 11.59MB [2022-05-11T05:53:17.809Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:53:17.809Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:53:17.809Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T05:53:17.809Z] 9b3977197b4f: Pulling fs layer [2022-05-11T05:53:17.809Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T05:53:17.809Z] 94645a83ff95: Pulling fs layer [2022-05-11T05:53:17.809Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T05:53:17.809Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T05:53:17.809Z] 3096ccb668a1: Pulling fs layer [2022-05-11T05:53:17.809Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T05:53:17.809Z] a4caa8a26152: Pulling fs layer [2022-05-11T05:53:17.809Z] 3f3a8bcf1eab: Waiting [2022-05-11T05:53:17.810Z] 3096ccb668a1: Waiting [2022-05-11T05:53:17.810Z] e8cf19c19ddd: Waiting [2022-05-11T05:53:17.810Z] 0c92f367c5e7: Waiting [2022-05-11T05:53:17.810Z] a4caa8a26152: Waiting [2022-05-11T05:53:17.810Z] 94645a83ff95: Verifying Checksum [2022-05-11T05:53:17.810Z] 94645a83ff95: Download complete [2022-05-11T05:53:17.810Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T05:53:17.810Z] 1a89e8eeedd5: Download complete [2022-05-11T05:53:18.090Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T05:53:18.090Z] 0c92f367c5e7: Download complete [2022-05-11T05:53:18.090Z] 3096ccb668a1: Verifying Checksum [2022-05-11T05:53:18.090Z] 3096ccb668a1: Download complete [2022-05-11T05:53:18.090Z] 9b3977197b4f: Verifying Checksum [2022-05-11T05:53:18.090Z] 9b3977197b4f: Download complete [2022-05-11T05:53:18.090Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T05:53:18.090Z] e8cf19c19ddd: Download complete [2022-05-11T05:53:18.698Z] 9b3977197b4f: Pull complete [2022-05-11T05:53:19.315Z] 1a89e8eeedd5: Pull complete [2022-05-11T05:53:19.596Z] 94645a83ff95: Pull complete [2022-05-11T05:53:20.200Z] a4caa8a26152: Download complete [2022-05-11T05:53:20.810Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T05:53:20.810Z] 3f3a8bcf1eab: Download complete [2022-05-11T05:53:33.248Z] 3f3a8bcf1eab: Pull complete [2022-05-11T05:53:33.527Z] 0c92f367c5e7: Pull complete [2022-05-11T05:53:33.808Z] 3096ccb668a1: Pull complete [2022-05-11T05:53:34.084Z] e8cf19c19ddd: Pull complete [2022-05-11T05:53:40.844Z] a4caa8a26152: Pull complete [2022-05-11T05:53:40.844Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T05:53:40.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T05:53:40.844Z] ---> 725f1c02e7f9 [2022-05-11T05:53:40.844Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:53:41.841Z] ---> Running in bb164678d038 [2022-05-11T05:53:42.130Z] Removing intermediate container bb164678d038 [2022-05-11T05:53:42.130Z] ---> a6241ffaf9c7 [2022-05-11T05:53:42.130Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:53:42.130Z] ---> Running in 37eb2e12212e [2022-05-11T05:53:42.412Z] Removing intermediate container 37eb2e12212e [2022-05-11T05:53:42.412Z] ---> 5813d1226325 [2022-05-11T05:53:42.412Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-11T05:53:42.412Z] ---> Running in eccf8fe8a2ee [2022-05-11T05:53:42.696Z] Removing intermediate container eccf8fe8a2ee [2022-05-11T05:53:42.696Z] ---> 95d781771c1c [2022-05-11T05:53:42.696Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:53:42.975Z] ---> Running in b7d007634e3d [2022-05-11T05:53:44.969Z] Removing intermediate container b7d007634e3d [2022-05-11T05:53:44.969Z] ---> 60fefcc34805 [2022-05-11T05:53:44.969Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:53:44.969Z] ---> Running in 38971fe13ba9 [2022-05-11T05:53:45.966Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:53:46.963Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:53:47.953Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:53:47.953Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:53:47.953Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:53:48.229Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:53:48.229Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:53:48.505Z] OK: 224 MiB in 56 packages [2022-05-11T05:53:49.491Z] Removing intermediate container 38971fe13ba9 [2022-05-11T05:53:49.491Z] ---> 31d39cb3fc92 [2022-05-11T05:53:49.491Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-11T05:53:50.102Z] ---> 768813841f79 [2022-05-11T05:53:50.102Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:53:50.102Z] ---> Running in e480d1351ee9 [2022-05-11T05:54:37.173Z] Removing intermediate container e480d1351ee9 [2022-05-11T05:54:37.173Z] ---> 3b3faad0acfc [2022-05-11T05:54:37.173Z] Step 10/12 : COPY . . [2022-05-11T05:54:38.156Z] ---> ce055423b0cd [2022-05-11T05:54:38.156Z] Step 11/12 : ARG MAKE='make build' [2022-05-11T05:54:38.156Z] ---> Running in 93087f0ec7bb [2022-05-11T05:54:38.433Z] Removing intermediate container 93087f0ec7bb [2022-05-11T05:54:38.433Z] ---> 6b5828139eb4 [2022-05-11T05:54:38.433Z] Step 12/12 : RUN $MAKE [2022-05-11T05:54:38.433Z] ---> Running in 00545f3bc830 [2022-05-11T05:54:39.886Z] noop [2022-05-11T05:54:40.160Z] Removing intermediate container 00545f3bc830 [2022-05-11T05:54:40.160Z] ---> e2d860b3cba0 [2022-05-11T05:54:40.160Z] Successfully built e2d860b3cba0 [2022-05-11T05:54:40.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:54:40.519Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:54:40.519Z] . [Pipeline] withDockerContainer [2022-05-11T05:54:40.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container [2022-05-11T05:54:40.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 [2022-05-11T05:54:42.247Z] $ docker top 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:54:43.194Z] + go version [2022-05-11T05:54:43.195Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T05:54:43.220Z] $ docker stop --time=1 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 [2022-05-11T05:54:44.901Z] $ docker rm -f 74a90b34cd1560b2720e23599187f8f920d243ca2b63e6cc5b9b80acde01d1f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:54:45.559Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:54:45.559Z] . [Pipeline] withDockerContainer [2022-05-11T05:54:45.801Z] prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container [2022-05-11T05:54:45.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 [2022-05-11T05:54:47.254Z] $ docker top 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:54:48.223Z] + make test [2022-05-11T05:54:48.223Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-11T05:54:50.213Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-11T05:56:27.167Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-11T05:56:27.167Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 65.7% of statements [2022-05-11T05:56:27.167Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T05:56:27.167Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:56:49.395Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:56:49.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:56:49.395Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:56:52.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:56:52.830Z] $ docker stop --time=1 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec [2022-05-11T05:56:54.686Z] $ docker rm -f 3d1aa36597c3721411c0d2ec6755a31d64770c7c73a1f7ef57da5cd338f139ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:56:55.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:56:55.722Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T05:56:56.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:56:56.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:56:57.038Z] + ls -al . [2022-05-11T05:56:57.038Z] total 184 [2022-05-11T05:56:57.038Z] drwxrwxr-x 7 jenkins jenkins 4096 May 11 05:56 . [2022-05-11T05:56:57.038Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:52 .. [2022-05-11T05:56:57.038Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:52 .git [2022-05-11T05:56:57.038Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:52 .github [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 270 May 11 05:52 .gitignore [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:52 .golangci.yml [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 11 05:52 Attribution.txt [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 11 05:52 CHANGELOG.md [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 11 05:52 Dockerfile [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:52 GOVERNANCE.md [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 660 May 11 05:52 Jenkinsfile [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:52 LICENSE [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 11 05:52 Makefile [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 623 May 11 05:52 OWNERS.md [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 11 05:52 README.md [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:49 VERSION [2022-05-11T05:56:57.038Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:52 bin [2022-05-11T05:56:57.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:52 cmd [2022-05-11T05:56:57.038Z] -rw-r--r-- 1 jenkins jenkins 44128 May 11 05:56 coverage.out [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 3139 May 11 05:52 go.mod [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 35006 May 11 05:52 go.sum [2022-05-11T05:56:57.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:52 internal [2022-05-11T05:56:57.038Z] -rw-rw-r-- 1 jenkins jenkins 235 May 11 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:56:57.404Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 --label arch=arm64 --label version=2.2.0-dev.18 . [2022-05-11T05:56:58.082Z] Sending build context to Docker daemon 11.64MB [2022-05-11T05:56:58.082Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:56:58.082Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-11T05:56:58.082Z] ---> e2d860b3cba0 [2022-05-11T05:56:58.082Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:56:58.082Z] ---> Running in df1d1446cc2b [2022-05-11T05:56:58.754Z] Removing intermediate container df1d1446cc2b [2022-05-11T05:56:58.754Z] ---> 98f5af990584 [2022-05-11T05:56:58.754Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:56:58.754Z] ---> Running in d930b04c5614 [2022-05-11T05:56:59.054Z] Removing intermediate container d930b04c5614 [2022-05-11T05:56:59.054Z] ---> 8e590f7ecdaa [2022-05-11T05:56:59.054Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-11T05:56:59.348Z] ---> Running in 1c4c7632f458 [2022-05-11T05:56:59.653Z] Removing intermediate container 1c4c7632f458 [2022-05-11T05:56:59.653Z] ---> 77233f3f01c1 [2022-05-11T05:56:59.653Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:56:59.653Z] ---> Running in 025bfa25af45 [2022-05-11T05:57:01.723Z] Removing intermediate container 025bfa25af45 [2022-05-11T05:57:01.723Z] ---> e0c6ee4a5eef [2022-05-11T05:57:01.723Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:57:01.723Z] ---> Running in fb4104e9df88 [2022-05-11T05:57:02.711Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:57:03.692Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:57:04.294Z] OK: 224 MiB in 56 packages [2022-05-11T05:57:05.277Z] Removing intermediate container fb4104e9df88 [2022-05-11T05:57:05.277Z] ---> 4df6518fc887 [2022-05-11T05:57:05.277Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-11T05:57:05.888Z] ---> 911fe42f3d47 [2022-05-11T05:57:05.888Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:57:05.888Z] ---> Running in f7d48481bd59 [2022-05-11T05:57:07.879Z] Removing intermediate container f7d48481bd59 [2022-05-11T05:57:07.879Z] ---> 50f1eec3a469 [2022-05-11T05:57:07.879Z] Step 10/26 : COPY . . [2022-05-11T05:57:09.325Z] ---> fa0d3c0c81de [2022-05-11T05:57:09.325Z] Step 11/26 : ARG MAKE='make build' [2022-05-11T05:57:09.325Z] ---> Running in e4e666aac4dc [2022-05-11T05:57:09.603Z] Removing intermediate container e4e666aac4dc [2022-05-11T05:57:09.603Z] ---> 2d57b9821a47 [2022-05-11T05:57:09.603Z] Step 12/26 : RUN $MAKE [2022-05-11T05:57:09.881Z] ---> Running in 07b1b9763dcb [2022-05-11T05:57:10.865Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-11T05:59:32.750Z] Removing intermediate container 07b1b9763dcb [2022-05-11T05:59:32.750Z] ---> 5a6b981ca2d2 [2022-05-11T05:59:32.750Z] Step 13/26 : FROM alpine:3.14 [2022-05-11T05:59:32.750Z] 3.14: Pulling from library/alpine [2022-05-11T05:59:32.750Z] 455c02918c45: Pulling fs layer [2022-05-11T05:59:32.750Z] 455c02918c45: Verifying Checksum [2022-05-11T05:59:32.750Z] 455c02918c45: Download complete [2022-05-11T05:59:32.750Z] 455c02918c45: Pull complete [2022-05-11T05:59:32.750Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:59:32.751Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:59:32.751Z] ---> ac73e934f311 [2022-05-11T05:59:32.751Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-11T05:59:32.751Z] ---> Running in 026a59339624 [2022-05-11T05:59:32.751Z] Removing intermediate container 026a59339624 [2022-05-11T05:59:32.751Z] ---> f0e84250ad20 [2022-05-11T05:59:32.751Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:59:32.751Z] ---> Running in 8f213c77b61a [2022-05-11T05:59:32.751Z] Removing intermediate container 8f213c77b61a [2022-05-11T05:59:32.751Z] ---> 8ff2dd7d9d63 [2022-05-11T05:59:32.751Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:59:32.751Z] ---> Running in 4577f192eddc [2022-05-11T05:59:33.727Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:59:34.699Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:59:35.674Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:59:35.944Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:59:35.944Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:59:35.944Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:59:36.214Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:59:36.214Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:59:36.485Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:59:36.485Z] OK: 8 MiB in 20 packages [2022-05-11T05:59:37.464Z] Removing intermediate container 4577f192eddc [2022-05-11T05:59:37.464Z] ---> d711357f5513 [2022-05-11T05:59:37.464Z] Step 17/26 : WORKDIR / [2022-05-11T05:59:37.464Z] ---> Running in 307b8a4c215c [2022-05-11T05:59:37.737Z] Removing intermediate container 307b8a4c215c [2022-05-11T05:59:37.737Z] ---> 49542d4217ab [2022-05-11T05:59:37.737Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-11T05:59:38.328Z] ---> 6d500981618a [2022-05-11T05:59:38.328Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-11T05:59:38.923Z] ---> 4283c9ebcd73 [2022-05-11T05:59:38.923Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-11T05:59:40.361Z] ---> 8a1adf2376b3 [2022-05-11T05:59:40.361Z] Step 21/26 : EXPOSE 59900 [2022-05-11T05:59:40.361Z] ---> Running in 60e02a254cf8 [2022-05-11T05:59:40.644Z] Removing intermediate container 60e02a254cf8 [2022-05-11T05:59:40.644Z] ---> 4da172435355 [2022-05-11T05:59:40.644Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-11T05:59:40.918Z] ---> Running in e525c893169e [2022-05-11T05:59:41.193Z] Removing intermediate container e525c893169e [2022-05-11T05:59:41.193Z] ---> 427063a58116 [2022-05-11T05:59:41.193Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-11T05:59:41.193Z] ---> Running in 786fac59a501 [2022-05-11T05:59:41.794Z] Removing intermediate container 786fac59a501 [2022-05-11T05:59:41.794Z] ---> 37a2b42932a6 [2022-05-11T05:59:41.794Z] Step 24/26 : LABEL arch=arm64 [2022-05-11T05:59:41.794Z] ---> Running in fa9d4a7e749c [2022-05-11T05:59:42.069Z] Removing intermediate container fa9d4a7e749c [2022-05-11T05:59:42.069Z] ---> d804b4d83a52 [2022-05-11T05:59:42.069Z] Step 25/26 : LABEL git_sha=9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:59:42.069Z] ---> Running in 4518fa4d94f1 [2022-05-11T05:59:42.344Z] Removing intermediate container 4518fa4d94f1 [2022-05-11T05:59:42.344Z] ---> 5fb19b3f8c6f [2022-05-11T05:59:42.344Z] Step 26/26 : LABEL version=2.2.0-dev.18 [2022-05-11T05:59:42.618Z] ---> Running in bb1109b4f326 [2022-05-11T05:59:42.893Z] Removing intermediate container bb1109b4f326 [2022-05-11T05:59:42.894Z] ---> 8114279d4909 [2022-05-11T05:59:42.894Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:59:42.894Z] Successfully built 8114279d4909 [2022-05-11T05:59:42.894Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:59:43.018Z] provisioning config files... [2022-05-11T05:59:43.040Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/34@tmp/config1842305989398819544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:59:43.405Z] ---> docker-login.sh [2022-05-11T05:59:43.405Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:59:43.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:59:43.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:59:43.680Z] Configure a credential helper to remove this warning. See [2022-05-11T05:59:43.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:59:43.680Z] [2022-05-11T05:59:43.680Z] Login Succeeded [2022-05-11T05:59:43.680Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:59:44.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:59:44.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:59:44.281Z] Configure a credential helper to remove this warning. See [2022-05-11T05:59:44.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:59:44.281Z] [2022-05-11T05:59:44.281Z] Login Succeeded [2022-05-11T05:59:44.281Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:59:44.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:59:44.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:59:44.879Z] Configure a credential helper to remove this warning. See [2022-05-11T05:59:44.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:59:44.879Z] [2022-05-11T05:59:44.879Z] Login Succeeded [2022-05-11T05:59:44.879Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:59:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:59:45.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:59:45.426Z] Configure a credential helper to remove this warning. See [2022-05-11T05:59:45.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:59:45.426Z] [2022-05-11T05:59:45.426Z] Login Succeeded [2022-05-11T05:59:45.426Z] docker.io [2022-05-11T05:59:45.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:59:46.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:59:46.296Z] Configure a credential helper to remove this warning. See [2022-05-11T05:59:46.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:59:46.296Z] [2022-05-11T05:59:46.296Z] Login Succeeded [2022-05-11T05:59:46.296Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:59:46.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:59:46.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:59:46.377Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-05-11T05:59:46.377Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:59:46.377Z] latest [2022-05-11T05:59:46.377Z] 2.2.0-dev.18 [2022-05-11T05:59:46.377Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:59:46.377Z] main [2022-05-11T05:59:46.377Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:46.743Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:47.103Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:59:47.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-11T05:59:47.103Z] f16a1d21750f: Preparing [2022-05-11T05:59:47.103Z] 538ffd8a5fbc: Preparing [2022-05-11T05:59:47.103Z] 7ae2e6c33238: Preparing [2022-05-11T05:59:47.103Z] d8b3f6aebbf5: Preparing [2022-05-11T05:59:47.103Z] 0e827845f895: Preparing [2022-05-11T05:59:47.103Z] f73e7dbfee58: Preparing [2022-05-11T05:59:47.103Z] f73e7dbfee58: Waiting [2022-05-11T05:59:47.375Z] 7ae2e6c33238: Pushed [2022-05-11T05:59:47.375Z] 0e827845f895: Pushed [2022-05-11T05:59:47.375Z] 538ffd8a5fbc: Pushed [2022-05-11T05:59:47.375Z] f73e7dbfee58: Layer already exists [2022-05-11T05:59:47.976Z] d8b3f6aebbf5: Pushed [2022-05-11T05:59:53.377Z] f16a1d21750f: Pushed [2022-05-11T05:59:53.377Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:53.730Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:54.077Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-11T05:59:54.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-11T05:59:54.078Z] f16a1d21750f: Preparing [2022-05-11T05:59:54.078Z] 538ffd8a5fbc: Preparing [2022-05-11T05:59:54.078Z] 7ae2e6c33238: Preparing [2022-05-11T05:59:54.078Z] d8b3f6aebbf5: Preparing [2022-05-11T05:59:54.078Z] 0e827845f895: Preparing [2022-05-11T05:59:54.078Z] f73e7dbfee58: Preparing [2022-05-11T05:59:54.078Z] f73e7dbfee58: Waiting [2022-05-11T05:59:54.078Z] f16a1d21750f: Layer already exists [2022-05-11T05:59:54.078Z] d8b3f6aebbf5: Layer already exists [2022-05-11T05:59:54.078Z] 0e827845f895: Layer already exists [2022-05-11T05:59:54.078Z] 538ffd8a5fbc: Layer already exists [2022-05-11T05:59:54.078Z] 7ae2e6c33238: Layer already exists [2022-05-11T05:59:54.351Z] f73e7dbfee58: Layer already exists [2022-05-11T05:59:54.351Z] latest: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:54.705Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:55.057Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 [2022-05-11T05:59:55.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-11T05:59:55.057Z] f16a1d21750f: Preparing [2022-05-11T05:59:55.057Z] 538ffd8a5fbc: Preparing [2022-05-11T05:59:55.057Z] 7ae2e6c33238: Preparing [2022-05-11T05:59:55.057Z] d8b3f6aebbf5: Preparing [2022-05-11T05:59:55.057Z] 0e827845f895: Preparing [2022-05-11T05:59:55.057Z] f73e7dbfee58: Preparing [2022-05-11T05:59:55.057Z] f73e7dbfee58: Waiting [2022-05-11T05:59:55.057Z] f16a1d21750f: Layer already exists [2022-05-11T05:59:55.057Z] 538ffd8a5fbc: Layer already exists [2022-05-11T05:59:55.057Z] d8b3f6aebbf5: Layer already exists [2022-05-11T05:59:55.057Z] 0e827845f895: Layer already exists [2022-05-11T05:59:55.057Z] 7ae2e6c33238: Layer already exists [2022-05-11T05:59:55.330Z] f73e7dbfee58: Layer already exists [2022-05-11T05:59:55.330Z] 2.2.0-dev.18: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:55.681Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:56.027Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:59:56.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-11T05:59:56.027Z] f16a1d21750f: Preparing [2022-05-11T05:59:56.027Z] 538ffd8a5fbc: Preparing [2022-05-11T05:59:56.027Z] 7ae2e6c33238: Preparing [2022-05-11T05:59:56.027Z] d8b3f6aebbf5: Preparing [2022-05-11T05:59:56.027Z] 0e827845f895: Preparing [2022-05-11T05:59:56.027Z] f73e7dbfee58: Preparing [2022-05-11T05:59:56.027Z] f73e7dbfee58: Waiting [2022-05-11T05:59:56.027Z] 7ae2e6c33238: Layer already exists [2022-05-11T05:59:56.027Z] d8b3f6aebbf5: Layer already exists [2022-05-11T05:59:56.027Z] 538ffd8a5fbc: Layer already exists [2022-05-11T05:59:56.027Z] f16a1d21750f: Layer already exists [2022-05-11T05:59:56.027Z] 0e827845f895: Layer already exists [2022-05-11T05:59:56.300Z] f73e7dbfee58: Layer already exists [2022-05-11T05:59:56.300Z] 9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:56.654Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:57.005Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-05-11T05:59:57.005Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-11T05:59:57.005Z] f16a1d21750f: Preparing [2022-05-11T05:59:57.005Z] 538ffd8a5fbc: Preparing [2022-05-11T05:59:57.005Z] 7ae2e6c33238: Preparing [2022-05-11T05:59:57.005Z] d8b3f6aebbf5: Preparing [2022-05-11T05:59:57.005Z] 0e827845f895: Preparing [2022-05-11T05:59:57.005Z] f73e7dbfee58: Preparing [2022-05-11T05:59:57.005Z] f73e7dbfee58: Waiting [2022-05-11T05:59:57.005Z] d8b3f6aebbf5: Layer already exists [2022-05-11T05:59:57.279Z] 7ae2e6c33238: Layer already exists [2022-05-11T05:59:57.279Z] 0e827845f895: Layer already exists [2022-05-11T05:59:57.279Z] 538ffd8a5fbc: Layer already exists [2022-05-11T05:59:57.279Z] f16a1d21750f: Layer already exists [2022-05-11T05:59:57.279Z] f73e7dbfee58: Layer already exists [2022-05-11T05:59:57.279Z] main: digest: sha256:9a6592571d70978cc45c6f5a28a6fe52ffe684034e0668ad7df171f1df9c90e9 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T05:59:57.342Z] ===================================================== [Pipeline] echo [2022-05-11T05:59:57.354Z] taggedImages: [2022-05-11T05:59:57.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385 [2022-05-11T05:59:57.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-11T05:59:57.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.18 [2022-05-11T05:59:57.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9b27552b3734ae7c2a4c3808c2aff026acc83385-2.2.0-dev.18 [2022-05-11T05:59:57.354Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:57.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:59:57.737Z] [2022-05-11T05:59:57.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:59:58.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:59:58.425Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T05:59:58.425Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T05:59:58.425Z] 04944245beec: Pulling fs layer [2022-05-11T05:59:58.425Z] 699f458cf7ca: Pulling fs layer [2022-05-11T05:59:58.425Z] 765212b225bb: Pulling fs layer [2022-05-11T05:59:58.425Z] f23df028b6ca: Pulling fs layer [2022-05-11T05:59:58.425Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T05:59:58.425Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T05:59:58.425Z] 765212b225bb: Waiting [2022-05-11T05:59:58.425Z] f23df028b6ca: Waiting [2022-05-11T05:59:58.425Z] d65c8cfc05b1: Waiting [2022-05-11T05:59:58.425Z] 2437ff75d9bd: Waiting [2022-05-11T05:59:58.425Z] 04944245beec: Verifying Checksum [2022-05-11T05:59:58.425Z] 04944245beec: Download complete [2022-05-11T05:59:58.425Z] 765212b225bb: Verifying Checksum [2022-05-11T05:59:58.425Z] 765212b225bb: Download complete [2022-05-11T05:59:58.714Z] f23df028b6ca: Verifying Checksum [2022-05-11T05:59:58.714Z] f23df028b6ca: Download complete [2022-05-11T05:59:58.714Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T05:59:58.714Z] d65c8cfc05b1: Download complete [2022-05-11T05:59:58.714Z] 699f458cf7ca: Verifying Checksum [2022-05-11T05:59:58.714Z] 699f458cf7ca: Download complete [2022-05-11T05:59:59.330Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T05:59:59.330Z] 8998bd30e6a1: Download complete [2022-05-11T06:00:01.966Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T06:00:01.966Z] 2437ff75d9bd: Download complete [2022-05-11T06:00:03.398Z] 8998bd30e6a1: Pull complete [2022-05-11T06:00:03.996Z] 04944245beec: Pull complete [2022-05-11T06:00:05.436Z] 699f458cf7ca: Pull complete [2022-05-11T06:00:05.709Z] 765212b225bb: Pull complete [2022-05-11T06:00:06.694Z] f23df028b6ca: Pull complete [2022-05-11T06:00:06.969Z] d65c8cfc05b1: Pull complete [2022-05-11T06:00:22.073Z] 2437ff75d9bd: Pull complete [2022-05-11T06:00:22.073Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T06:00:22.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T06:00:22.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T06:00:22.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-63058 does not seem to be running inside a container [2022-05-11T06:00:22.403Z] $ 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-virtual-go/34 -v /w/workspace/device-virtual-go/34:/w/workspace/device-virtual-go/34:rw,z -v /w/workspace/device-virtual-go/34@tmp:/w/workspace/device-virtual-go/34@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 [2022-05-11T06:00:25.271Z] $ docker top aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:00:26.241Z] ---> job-cost.sh [2022-05-11T06:00:26.241Z] lf-activate-venv: SKIPPING [2022-05-11T06:00:26.241Z] INFO: No Stack... [2022-05-11T06:00:26.839Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T06:00:27.438Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T06:00:28.117Z] + cut -d, -f6 [2022-05-11T06:00:28.117Z] + cat /w/workspace/device-virtual-go/34/archives/cost.csv [Pipeline] lock [2022-05-11T06:00:28.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [2022-05-11T06:00:28.192Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] did not exist. Created. [2022-05-11T06:00:28.192Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:00:28.879Z] /w/workspace/device-virtual-go/34@tmp/durable-22f45640/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T06:00:29.570Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T06:00:29.601Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T06:00:29.647Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T06:00:29.656Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T06:00:29.675Z] $ docker stop --time=1 aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 [2022-05-11T06:00:31.239Z] $ docker rm -f aa66dbbf3b610f901c7ef86c524f68b767c4bf851a6f8e07f819acf4f7adfae9 [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 [2022-05-11T06:00:31.779Z] provisioning config files... [2022-05-11T06:00:31.788Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7453166951936017739tmp [Pipeline] { [Pipeline] sh [2022-05-11T06:00:32.094Z] + set +x [2022-05-11T06:00:32.094Z] + + bash -s -- [2022-05-11T06:00:32.094Z] curl -s https://codecov.io/bash [2022-05-11T06:00:32.094Z] [2022-05-11T06:00:32.094Z] _____ _ [2022-05-11T06:00:32.094Z] / ____| | | [2022-05-11T06:00:32.094Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T06:00:32.094Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T06:00:32.094Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T06:00:32.094Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T06:00:32.094Z] Bash-1.0.6 [2022-05-11T06:00:32.094Z] [2022-05-11T06:00:32.094Z] [2022-05-11T06:00:32.094Z] ==> git version 2.25.1 found [2022-05-11T06:00:32.094Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-11T06:00:32.094Z] Release-Date: 2020-01-08 [2022-05-11T06:00:32.094Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-11T06:00:32.094Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T06:00:32.094Z] ==> Jenkins CI detected. [2022-05-11T06:00:32.094Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-05-11T06:00:32.094Z] project root: . [2022-05-11T06:00:32.094Z] --> token set from env [2022-05-11T06:00:32.094Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T06:00:32.094Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T06:00:32.094Z] ==> Python coveragepy not found [2022-05-11T06:00:32.094Z] ==> Searching for coverage reports in: [2022-05-11T06:00:32.094Z] + . [2022-05-11T06:00:32.094Z] -> Found 1 reports [2022-05-11T06:00:32.094Z] ==> Detecting git/mercurial file structure [2022-05-11T06:00:32.094Z] ==> Reading reports [2022-05-11T06:00:32.094Z] + ./coverage.out bytes=44128 [2022-05-11T06:00:32.094Z] ==> Appending adjustments [2022-05-11T06:00:32.094Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T06:00:32.357Z] + Found adjustments [2022-05-11T06:00:32.357Z] ==> Gzipping contents [2022-05-11T06:00:32.357Z] 8.0K /tmp/codecov.5CxOzf.gz [2022-05-11T06:00:32.357Z] ==> Uploading reports [2022-05-11T06:00:32.357Z] url: https://codecov.io [2022-05-11T06:00:32.357Z] query: branch=main&commit=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:00:32.357Z] -> Pinging Codecov [2022-05-11T06:00:32.357Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=9b27552b3734ae7c2a4c3808c2aff026acc83385&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T06:00:32.619Z] -> Uploading to [2022-05-11T06:00:32.619Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/5E52B4B073DB2E39498172D8E973AA87/9b27552b3734ae7c2a4c3808c2aff026acc83385/bc5e28c1-072e-41e7-a93a-7eb422f0402a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T060032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bbe3904a51af8024647afb45a53750fd42adc405fab49268997a8f313c4972b2 [2022-05-11T06:00:32.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T06:00:32.619Z] Dload Upload Total Spent Left Speed [2022-05-11T06:00:32.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5286 0 0 100 5286 0 23918 --:--:-- --:--:-- --:--:-- 23810 100 5286 0 0 100 5286 0 18164 --:--:-- --:--:-- --:--:-- 18164 [2022-05-11T06:00:32.882Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] } [2022-05-11T06:00:32.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T06:00:33.201Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T06:00:33.217Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:33.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:00:33.525Z] [2022-05-11T06:00:33.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:33.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:00:33.835Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T06:00:33.835Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T06:00:33.835Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T06:00:33.835Z] de9db76c5a1d: Pulling fs layer [2022-05-11T06:00:33.835Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T06:00:33.835Z] 0d57e429df01: Pulling fs layer [2022-05-11T06:00:33.835Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T06:00:33.835Z] e1f770b5df2f: Pulling fs layer [2022-05-11T06:00:33.835Z] 85a0685a4137: Pulling fs layer [2022-05-11T06:00:33.835Z] 0d57e429df01: Waiting [2022-05-11T06:00:33.835Z] 4e4be7b47b0d: Waiting [2022-05-11T06:00:33.835Z] e1f770b5df2f: Waiting [2022-05-11T06:00:33.835Z] 85a0685a4137: Waiting [2022-05-11T06:00:33.835Z] 0eba1c9be4d2: Waiting [2022-05-11T06:00:33.835Z] 0ef7d3d256c8: Download complete [2022-05-11T06:00:33.835Z] 0d57e429df01: Download complete [2022-05-11T06:00:33.835Z] 4e4be7b47b0d: Verifying Checksum [2022-05-11T06:00:33.835Z] 4e4be7b47b0d: Download complete [2022-05-11T06:00:33.835Z] 188c0c94c7c5: Verifying Checksum [2022-05-11T06:00:33.835Z] 188c0c94c7c5: Download complete [2022-05-11T06:00:34.096Z] 188c0c94c7c5: Pull complete [2022-05-11T06:00:34.096Z] e1f770b5df2f: Verifying Checksum [2022-05-11T06:00:34.096Z] e1f770b5df2f: Download complete [2022-05-11T06:00:34.096Z] 0ef7d3d256c8: Pull complete [2022-05-11T06:00:34.096Z] de9db76c5a1d: Pull complete [2022-05-11T06:00:34.667Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T06:00:34.668Z] 0eba1c9be4d2: Download complete [2022-05-11T06:00:34.668Z] 85a0685a4137: Verifying Checksum [2022-05-11T06:00:34.668Z] 85a0685a4137: Download complete [2022-05-11T06:00:37.960Z] 0eba1c9be4d2: Pull complete [2022-05-11T06:00:37.960Z] 0d57e429df01: Pull complete [2022-05-11T06:00:37.960Z] 4e4be7b47b0d: Pull complete [2022-05-11T06:00:38.530Z] e1f770b5df2f: Pull complete [2022-05-11T06:00:41.826Z] 85a0685a4137: Pull complete [2022-05-11T06:00:41.826Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T06:00:41.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T06:00:41.826Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T06:00:41.894Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:00:41.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-11T06:00:43.789Z] $ docker top bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T06:00:43.878Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T06:00:44.168Z] + set -o pipefail [2022-05-11T06:00:44.168Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T06:00:54.182Z] [2022-05-11T06:00:54.182Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-05-11T06:00:54.182Z] [2022-05-11T06:00:54.182Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/7c594099-2208-4e2e-bf16-e36cf8f82d76 [2022-05-11T06:00:54.182Z] [2022-05-11T06:00:54.182Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T06:00:54.182Z] [2022-05-11T06:00:54.182Z] [Pipeline] } [2022-05-11T06:00:54.214Z] $ docker stop --time=1 bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 [2022-05-11T06:00:56.346Z] $ docker rm -f bd7087afcf62346e7228793063c4d0a91e04cce040d428edce84f24b4c4712c7 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T06:00:57.143Z] + git log --format=format:%s -1 9b27552b3734ae7c2a4c3808c2aff026acc83385 [Pipeline] sh [2022-05-11T06:00:57.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:00:57.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:00:57.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:00:57.781Z] . [Pipeline] withDockerContainer [2022-05-11T06:00:57.867Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:00:57.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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/py-git-semver:latest cat [2022-05-11T06:00:58.353Z] $ docker top 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:00:58.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:00:58.459Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:00:58.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:00:58.606Z] $ docker exec 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 ssh-agent [2022-05-11T06:00:58.728Z] SSH_AUTH_SOCK=/tmp/ssh-hvjvrNtBSwDI/agent.33 [2022-05-11T06:00:58.728Z] SSH_AGENT_PID=39 [2022-05-11T06:00:58.736Z] Running ssh-add (command line suppressed) [2022-05-11T06:00:58.866Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4894969184567851804.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4894969184567851804.key) [2022-05-11T06:00:58.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:00:59.185Z] + git semver tag [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,395 [run_tag] DEBUG tag force:False [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,395 [check_head_tag] DEBUG check head tag [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,396 [execute] INFO git cat-file --batch-check [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,400 [execute] INFO git cat-file --batch [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,418 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,419 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,419 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:00:59.447Z] 2022-05-11 06:00:59,422 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:00:59.447Z] 2.2.0-dev.18 [Pipeline] } [2022-05-11T06:00:59.467Z] $ docker exec --env ******** --env ******** 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 ssh-agent -k [2022-05-11T06:00:59.588Z] unset SSH_AUTH_SOCK; [2022-05-11T06:00:59.589Z] unset SSH_AGENT_PID; [2022-05-11T06:00:59.589Z] echo Agent pid 39 killed; [2022-05-11T06:00:59.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:00:59.931Z] + git semver [Pipeline] } [2022-05-11T06:01:00.217Z] $ docker stop --time=1 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 [2022-05-11T06:01:01.496Z] $ docker rm -f 0b242d68a7ddf06a859e21b307490a3b3b9b55bc49dd8bcda1fc9aa67b74bb11 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:01.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:01:01.927Z] [2022-05-11T06:01:01.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:02.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:01:02.238Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T06:01:02.238Z] ab5ef0e58194: Pulling fs layer [2022-05-11T06:01:02.238Z] 9712f1f96733: Pulling fs layer [2022-05-11T06:01:02.238Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T06:01:02.238Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T06:01:02.238Z] e9a5061849ea: Pulling fs layer [2022-05-11T06:01:02.238Z] d747dcd14b5f: Pulling fs layer [2022-05-11T06:01:02.238Z] 2de7ff778b66: Pulling fs layer [2022-05-11T06:01:02.238Z] 0d9ebad4ef96: Waiting [2022-05-11T06:01:02.238Z] e9a5061849ea: Waiting [2022-05-11T06:01:02.238Z] d747dcd14b5f: Waiting [2022-05-11T06:01:02.238Z] 2de7ff778b66: Waiting [2022-05-11T06:01:02.839Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T06:01:02.839Z] 63f879dbbcfc: Download complete [2022-05-11T06:01:02.839Z] e9a5061849ea: Verifying Checksum [2022-05-11T06:01:02.839Z] e9a5061849ea: Download complete [2022-05-11T06:01:02.839Z] d747dcd14b5f: Download complete [2022-05-11T06:01:03.107Z] ab5ef0e58194: Verifying Checksum [2022-05-11T06:01:03.107Z] ab5ef0e58194: Download complete [2022-05-11T06:01:03.107Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T06:01:03.107Z] 0d9ebad4ef96: Download complete [2022-05-11T06:01:03.107Z] 2de7ff778b66: Verifying Checksum [2022-05-11T06:01:03.107Z] 2de7ff778b66: Download complete [2022-05-11T06:01:05.675Z] ab5ef0e58194: Pull complete [2022-05-11T06:01:05.675Z] 9712f1f96733: Pull complete [2022-05-11T06:01:06.611Z] 63f879dbbcfc: Pull complete [2022-05-11T06:01:10.802Z] 0d9ebad4ef96: Pull complete [2022-05-11T06:01:10.802Z] e9a5061849ea: Pull complete [2022-05-11T06:01:10.802Z] d747dcd14b5f: Pull complete [2022-05-11T06:01:11.370Z] 2de7ff778b66: Pull complete [2022-05-11T06:01:11.370Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T06:01:11.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T06:01:11.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T06:01:11.431Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:01:11.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-11T06:01:14.007Z] $ docker top 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:01:14.083Z] provisioning config files... [2022-05-11T06:01:14.093Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4134183291021683786tmp [2022-05-11T06:01:14.104Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6197049086104912338tmp [2022-05-11T06:01:14.116Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7764747449822252791tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:01:14.132Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:14.419Z] ---> sigul-configuration.sh [2022-05-11T06:01:14.420Z] gpg: directory `/root/.gnupg' created [2022-05-11T06:01:14.420Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T06:01:14.420Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T06:01:14.420Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T06:01:14.420Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T06:01:14.420Z] gpg: CAST5 encrypted data [2022-05-11T06:01:14.420Z] gpg: encrypted with 1 passphrase [2022-05-11T06:01:14.420Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T06:01:14.709Z] + mkdir /home/jenkins [2022-05-11T06:01:14.710Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T06:01:15.005Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-05-11T06:01:15.017Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:15.311Z] ---> sigul-install.sh [2022-05-11T06:01:15.311Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T06:01:15.600Z] + git tag --list [2022-05-11T06:01:15.600Z] v1.0.0 [2022-05-11T06:01:15.600Z] v1.1.0 [2022-05-11T06:01:15.601Z] v1.1.1 [2022-05-11T06:01:15.601Z] v1.2.1 [2022-05-11T06:01:15.601Z] v1.2.2 [2022-05-11T06:01:15.601Z] v1.2.3 [2022-05-11T06:01:15.601Z] v1.3.0 [2022-05-11T06:01:15.601Z] v1.3.1 [2022-05-11T06:01:15.601Z] v2.0.0 [2022-05-11T06:01:15.601Z] v2.0.1-dev.1 [2022-05-11T06:01:15.601Z] v2.0.1-dev.10 [2022-05-11T06:01:15.601Z] v2.0.1-dev.11 [2022-05-11T06:01:15.601Z] v2.0.1-dev.12 [2022-05-11T06:01:15.601Z] v2.0.1-dev.13 [2022-05-11T06:01:15.601Z] v2.0.1-dev.14 [2022-05-11T06:01:15.601Z] v2.0.1-dev.15 [2022-05-11T06:01:15.601Z] v2.0.1-dev.2 [2022-05-11T06:01:15.601Z] v2.0.1-dev.3 [2022-05-11T06:01:15.601Z] v2.0.1-dev.4 [2022-05-11T06:01:15.601Z] v2.0.1-dev.5 [2022-05-11T06:01:15.601Z] v2.0.1-dev.6 [2022-05-11T06:01:15.601Z] v2.0.1-dev.7 [2022-05-11T06:01:15.601Z] v2.0.1-dev.8 [2022-05-11T06:01:15.601Z] v2.0.1-dev.9 [2022-05-11T06:01:15.601Z] v2.1.0 [2022-05-11T06:01:15.601Z] v2.2.0-dev.1 [2022-05-11T06:01:15.601Z] v2.2.0-dev.10 [2022-05-11T06:01:15.601Z] v2.2.0-dev.11 [2022-05-11T06:01:15.601Z] v2.2.0-dev.12 [2022-05-11T06:01:15.601Z] v2.2.0-dev.13 [2022-05-11T06:01:15.601Z] v2.2.0-dev.14 [2022-05-11T06:01:15.601Z] v2.2.0-dev.15 [2022-05-11T06:01:15.601Z] v2.2.0-dev.16 [2022-05-11T06:01:15.601Z] v2.2.0-dev.17 [2022-05-11T06:01:15.601Z] v2.2.0-dev.18 [2022-05-11T06:01:15.601Z] v2.2.0-dev.2 [2022-05-11T06:01:15.601Z] v2.2.0-dev.3 [2022-05-11T06:01:15.601Z] v2.2.0-dev.4 [2022-05-11T06:01:15.601Z] v2.2.0-dev.5 [2022-05-11T06:01:15.601Z] v2.2.0-dev.6 [2022-05-11T06:01:15.601Z] v2.2.0-dev.7 [2022-05-11T06:01:15.601Z] v2.2.0-dev.8 [2022-05-11T06:01:15.601Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T06:01:15.891Z] + lftools sign git-tag v2.2.0-dev.18 [2022-05-11T06:01:16.460Z] Signing Git tag with Sigul... [2022-05-11T06:01:16.460Z] Signing v2.2.0-dev.18 [Pipeline] echo [2022-05-11T06:01:17.041Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:17.327Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T06:01:17.334Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T06:01:17.361Z] $ docker stop --time=1 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b [2022-05-11T06:01:18.738Z] $ docker rm -f 925e51459fc07325d48e1cdd53675c8aa6a99bb7477311b6faf9d0126d1e238b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T06:01:19.146Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:01:19.146Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:19.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:01:19.441Z] . [Pipeline] withDockerContainer [2022-05-11T06:01:19.510Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:01:19.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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/py-git-semver:latest cat [2022-05-11T06:01:25.122Z] $ docker top 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:01:25.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:01:25.204Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:01:25.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:01:25.345Z] $ docker exec 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 ssh-agent [2022-05-11T06:01:25.453Z] SSH_AUTH_SOCK=/tmp/ssh-19rvHd1sAj06/agent.33 [2022-05-11T06:01:25.453Z] SSH_AGENT_PID=40 [2022-05-11T06:01:25.459Z] Running ssh-add (command line suppressed) [2022-05-11T06:01:25.587Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5464749787807912736.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5464749787807912736.key) [2022-05-11T06:01:25.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:01:25.890Z] + git semver bump pre [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,111 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,111 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,111 [bump_version] DEBUG bumped version:2.2.0-dev.19 [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,112 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,112 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,112 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,114 [execute] INFO git cat-file --batch-check [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,119 [execute] INFO git cat-file --batch [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T06:01:26.151Z] 2022-05-11 06:01:26,124 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:01:26.151Z] 2.2.0-dev.19 [Pipeline] } [2022-05-11T06:01:26.170Z] $ docker exec --env ******** --env ******** 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 ssh-agent -k [2022-05-11T06:01:26.281Z] unset SSH_AUTH_SOCK; [2022-05-11T06:01:26.282Z] unset SSH_AGENT_PID; [2022-05-11T06:01:26.284Z] echo Agent pid 40 killed; [2022-05-11T06:01:26.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:01:26.595Z] + git semver [Pipeline] } [2022-05-11T06:01:26.879Z] $ docker stop --time=1 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 [2022-05-11T06:01:28.186Z] $ docker rm -f 909bae9300f066dfa657b17eca36e539d97ff30624dcfd908b1e166bbb29af20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T06:01:28.619Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T06:01:28.619Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:28.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T06:01:28.915Z] . [Pipeline] withDockerContainer [2022-05-11T06:01:28.991Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:01:29.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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/py-git-semver:latest cat [2022-05-11T06:01:29.447Z] $ docker top 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T06:01:29.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T06:01:29.549Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T06:01:29.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T06:01:29.707Z] $ docker exec 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 ssh-agent [2022-05-11T06:01:29.832Z] SSH_AUTH_SOCK=/tmp/ssh-lxLGtzTRZyrf/agent.33 [2022-05-11T06:01:29.832Z] SSH_AGENT_PID=39 [2022-05-11T06:01:29.839Z] Running ssh-add (command line suppressed) [2022-05-11T06:01:29.969Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7142541957739254272.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7142541957739254272.key) [2022-05-11T06:01:29.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T06:01:30.274Z] + git semver push [2022-05-11T06:01:30.535Z] 2022-05-11 06:01:30,471 [run_push] DEBUG push [2022-05-11T06:01:30.535Z] 2022-05-11 06:01:30,471 [execute] INFO git push origin semver [2022-05-11T06:01:30.536Z] 2022-05-11 06:01:30,472 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:01:31.479Z] 2022-05-11 06:01:31,272 [run_push] DEBUG push all version tags [2022-05-11T06:01:31.479Z] 2022-05-11 06:01:31,273 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-11T06:01:31.479Z] 2022-05-11 06:01:31,274 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-11T06:01:32.052Z] 2022-05-11 06:01:32,059 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-11T06:01:32.052Z] 2.2.0-dev.19 [Pipeline] } [2022-05-11T06:01:32.336Z] $ docker exec --env ******** --env ******** 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 ssh-agent -k [2022-05-11T06:01:32.453Z] unset SSH_AUTH_SOCK; [2022-05-11T06:01:32.453Z] unset SSH_AGENT_PID; [2022-05-11T06:01:32.453Z] echo Agent pid 39 killed; [2022-05-11T06:01:32.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T06:01:32.770Z] + git semver [Pipeline] } [2022-05-11T06:01:33.056Z] $ docker stop --time=1 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 [2022-05-11T06:01:34.369Z] $ docker rm -f 8065497e61db2e5f1f596b52f10a87788171b1d2e391393cd2496b038647f237 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-11T06:01:34.982Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-05-11T06:01:34.982Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-11T06:01:34.982Z] total 16 [2022-05-11T06:01:34.982Z] drwxr-xr-x 3 root root 4096 May 11 05:51 . [2022-05-11T06:01:34.982Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:01 .. [2022-05-11T06:01:34.982Z] drwxr-xr-x 2 root root 4096 May 11 05:51 cost [2022-05-11T06:01:34.982Z] -rw-r--r-- 1 root root 87 May 11 05:51 cost.csv [2022-05-11T06:01:34.982Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-11T06:01:34.982Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-11T06:01:34.982Z] total 16 [2022-05-11T06:01:34.982Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:51 . [2022-05-11T06:01:34.982Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:01 .. [2022-05-11T06:01:34.982Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:51 cost [2022-05-11T06:01:34.982Z] -rw-r--r-- 1 jenkins jenkins 87 May 11 05:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:35.276Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:36.150Z] ---> package-listing.sh [2022-05-11T06:01:36.150Z] ++ facter osfamily [2022-05-11T06:01:36.150Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T06:01:36.411Z] + OS_FAMILY=debian [2022-05-11T06:01:36.411Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-05-11T06:01:36.411Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T06:01:36.411Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T06:01:36.411Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T06:01:36.411Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T06:01:36.411Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-11T06:01:36.411Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T06:01:36.411Z] + case "${OS_FAMILY}" in [2022-05-11T06:01:36.411Z] + dpkg -l [2022-05-11T06:01:36.411Z] + grep '^ii' [2022-05-11T06:01:36.411Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T06:01:36.411Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T06:01:36.411Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T06:01:36.411Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-11T06:01:36.411Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-05-11T06:01:36.411Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-05-11T06:01:36.427Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T06:01:36.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T06:01:37.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T06:01:37.266Z] . [Pipeline] withDockerContainer [2022-05-11T06:01:37.331Z] prd-ubuntu20.04-docker-8c-8g-63054 does not seem to be running inside a container [2022-05-11T06:01:37.377Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T06:01:37.608Z] $ docker top c2c399bfbd9f0d98416f9b8af7e95e768a8ce37c132e75e0a339a900adf7d5b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T06:01:37.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T06:01:38.247Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T06:01:38.535Z] + ls /var/log/sa-host [2022-05-11T06:01:38.535Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T06:01:38.626Z] provisioning config files... [2022-05-11T06:01:38.634Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6787303028529219049tmp [Pipeline] { [Pipeline] echo [2022-05-11T06:01:38.646Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:38.931Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T06:01:38.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:39.294Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T06:01:39.305Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:39.592Z] ---> sudo-logs.sh [2022-05-11T06:01:39.593Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T06:01:39.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:39.903Z] ---> job-cost.sh [2022-05-11T06:01:39.903Z] lf-activate-venv: SKIPPING [2022-05-11T06:01:39.903Z] DEBUG: total: 0.2199999988079071 [2022-05-11T06:01:39.903Z] INFO: Retrieving Stack Cost... [2022-05-11T06:01:40.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T06:01:40.733Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T06:01:40.745Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T06:01:41.034Z] ---> logs-deploy.sh [2022-05-11T06:01:41.034Z] lf-activate-venv: SKIPPING [2022-05-11T06:01:41.034Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/34 [2022-05-11T06:01:41.034Z] INFO: archiving workspace using pattern(s): [2022-05-11T06:01:41.976Z] Archives upload complete. [2022-05-11T06:01:41.976Z] INFO: archiving logs to Nexus