Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 668751ae10c747c3d9f58507713cbcf82909e340 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-ssh17864255560228504645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4938057902669746481.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3407982501152838698.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh12548124787918277298.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4069353737034414580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [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-7318 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 > 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 Avoid second fetch Checking out Revision 668751ae10c747c3d9f58507713cbcf82909e340 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" > git config core.sparsecheckout # timeout=10 > git checkout -f 668751ae10c747c3d9f58507713cbcf82909e340 # timeout=10 > git rev-list --no-walk d88ec883ceb54df0c16245cd6a1edd1f53729442 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T01:10:48.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T01:10:48.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T01:10:48.767Z] ========================================================= [2023-02-24T01:10:48.767Z] EdgeX Global Pipelines Version Info [2023-02-24T01:10:48.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:10:49.519Z] ------------------- [2023-02-24T01:10:49.519Z] stable info: [2023-02-24T01:10:49.519Z] ------------------- [2023-02-24T01:10:49.519Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T01:10:49.519Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T01:10:49.519Z] Message: update stable to v1.0.244 [2023-02-24T01:10:50.098Z] ------------------- [2023-02-24T01:10:50.098Z] experimental info: [2023-02-24T01:10:50.098Z] ------------------- [2023-02-24T01:10:50.098Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T01:10:50.098Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T01:10:50.098Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T01:10:50.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-24T01:10:50.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-24T01:10:50.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T01:10:50.336Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T01:10:50.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T01:10:50.353Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T01:10:50.362Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T01:10:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-24T01:10:50.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T01:10:50.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T01:10:50.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T01:10:50.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-24T01:10:50.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T01:10:50.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T01:10:50.430Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T01:10:50.438Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T01:10:50.447Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T01:10:50.455Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T01:10:50.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T01:10:50.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T01:10:50.481Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-24T01:10:50.489Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-24T01:10:50.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T01:10:50.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T01:10:50.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T01:10:50.523Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T01:10:50.531Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T01:10:50.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-24T01:10:50.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-24T01:10:50.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-24T01:10:50.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] echo [2023-02-24T01:10:50.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 668751a [Pipeline] echo [2023-02-24T01:10:50.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:10:50.617Z] provisioning config files... [2023-02-24T01:10:50.631Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4704511934194549881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:10:50.935Z] ---> docker-login.sh [2023-02-24T01:10:50.935Z] nexus3.edgexfoundry.org:10001 [2023-02-24T01:10:51.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:10:51.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:10:51.196Z] Configure a credential helper to remove this warning. See [2023-02-24T01:10:51.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:10:51.196Z] [2023-02-24T01:10:51.196Z] Login Succeeded [2023-02-24T01:10:51.196Z] nexus3.edgexfoundry.org:10002 [2023-02-24T01:10:51.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:10:51.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:10:51.456Z] Configure a credential helper to remove this warning. See [2023-02-24T01:10:51.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:10:51.456Z] [2023-02-24T01:10:51.456Z] Login Succeeded [2023-02-24T01:10:51.456Z] nexus3.edgexfoundry.org:10003 [2023-02-24T01:10:51.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:10:51.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:10:51.456Z] Configure a credential helper to remove this warning. See [2023-02-24T01:10:51.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:10:51.456Z] [2023-02-24T01:10:51.456Z] Login Succeeded [2023-02-24T01:10:51.456Z] nexus3.edgexfoundry.org:10004 [2023-02-24T01:10:51.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:10:51.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:10:51.716Z] Configure a credential helper to remove this warning. See [2023-02-24T01:10:51.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:10:51.716Z] [2023-02-24T01:10:51.716Z] Login Succeeded [2023-02-24T01:10:51.716Z] docker.io [2023-02-24T01:10:51.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:10:51.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:10:51.979Z] Configure a credential helper to remove this warning. See [2023-02-24T01:10:51.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:10:51.979Z] [2023-02-24T01:10:51.979Z] Login Succeeded [2023-02-24T01:10:51.979Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T01:10:51.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T01:10:52.333Z] + git rev-list -1 --merges 668751ae10c747c3d9f58507713cbcf82909e340~1..668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] echo [2023-02-24T01:10:52.379Z] -----------> git rev-list -1 --merges 668751ae10c747c3d9f58507713cbcf82909e340~1..668751ae10c747c3d9f58507713cbcf82909e340 668751ae10c747c3d9f58507713cbcf82909e340 [false] [Pipeline] sh [2023-02-24T01:10:52.668Z] + git log --format=format:%s -1 668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] echo [2023-02-24T01:10:52.684Z] ========================================================= [2023-02-24T01:10:52.684Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T01:10:52.684Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T01:10:53.024Z] + git log --format=format:%s -1 668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] echo [2023-02-24T01:10:53.036Z] [semverPrep] GIT_COMMIT: 668751ae10c747c3d9f58507713cbcf82909e340, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346) [Pipeline] echo [2023-02-24T01:10:53.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T01:10:53.394Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T01:10:53.394Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T01:10:53.394Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T01:10:53.394Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T01:10:53.394Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T01:10:53.394Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T01:10:53.394Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:10:53.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:10:53.786Z] [2023-02-24T01:10:53.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:10:54.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:10:54.086Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T01:10:54.086Z] b85a868b505f: Pulling fs layer [2023-02-24T01:10:54.086Z] e2be974225ed: Pulling fs layer [2023-02-24T01:10:54.086Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T01:10:54.086Z] 988bab9f4d93: Pulling fs layer [2023-02-24T01:10:54.086Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T01:10:54.086Z] eaf3925da568: Pulling fs layer [2023-02-24T01:10:54.086Z] bab4dde63d76: Pulling fs layer [2023-02-24T01:10:54.086Z] bde34c3a00c8: Pulling fs layer [2023-02-24T01:10:54.086Z] b352a97aabf1: Pulling fs layer [2023-02-24T01:10:54.086Z] 4872d77fe225: Pulling fs layer [2023-02-24T01:10:54.086Z] 5851b861e8e6: Pulling fs layer [2023-02-24T01:10:54.086Z] b352a97aabf1: Waiting [2023-02-24T01:10:54.086Z] 1469e6f7b9e6: Waiting [2023-02-24T01:10:54.086Z] 4872d77fe225: Waiting [2023-02-24T01:10:54.086Z] eaf3925da568: Waiting [2023-02-24T01:10:54.086Z] bde34c3a00c8: Waiting [2023-02-24T01:10:54.086Z] 5851b861e8e6: Waiting [2023-02-24T01:10:54.086Z] 988bab9f4d93: Waiting [2023-02-24T01:10:54.086Z] bab4dde63d76: Waiting [2023-02-24T01:10:54.086Z] e2be974225ed: Download complete [2023-02-24T01:10:54.086Z] 988bab9f4d93: Verifying Checksum [2023-02-24T01:10:54.086Z] 988bab9f4d93: Download complete [2023-02-24T01:10:54.346Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T01:10:54.346Z] 1469e6f7b9e6: Download complete [2023-02-24T01:10:54.346Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T01:10:54.346Z] 339a4e72a1f5: Download complete [2023-02-24T01:10:54.346Z] eaf3925da568: Verifying Checksum [2023-02-24T01:10:54.346Z] eaf3925da568: Download complete [2023-02-24T01:10:54.346Z] bde34c3a00c8: Download complete [2023-02-24T01:10:54.346Z] b352a97aabf1: Verifying Checksum [2023-02-24T01:10:54.346Z] b352a97aabf1: Download complete [2023-02-24T01:10:54.346Z] 4872d77fe225: Verifying Checksum [2023-02-24T01:10:54.346Z] 4872d77fe225: Download complete [2023-02-24T01:10:54.346Z] 5851b861e8e6: Verifying Checksum [2023-02-24T01:10:54.346Z] 5851b861e8e6: Download complete [2023-02-24T01:10:54.346Z] b85a868b505f: Verifying Checksum [2023-02-24T01:10:54.346Z] b85a868b505f: Download complete [2023-02-24T01:10:54.605Z] bab4dde63d76: Verifying Checksum [2023-02-24T01:10:54.605Z] bab4dde63d76: Download complete [2023-02-24T01:10:56.000Z] b85a868b505f: Pull complete [2023-02-24T01:10:56.000Z] e2be974225ed: Pull complete [2023-02-24T01:10:56.265Z] 339a4e72a1f5: Pull complete [2023-02-24T01:10:56.538Z] 988bab9f4d93: Pull complete [2023-02-24T01:10:56.801Z] 1469e6f7b9e6: Pull complete [2023-02-24T01:10:56.801Z] eaf3925da568: Pull complete [2023-02-24T01:10:58.720Z] bab4dde63d76: Pull complete [2023-02-24T01:10:58.720Z] bde34c3a00c8: Pull complete [2023-02-24T01:10:58.983Z] b352a97aabf1: Pull complete [2023-02-24T01:10:58.983Z] 4872d77fe225: Pull complete [2023-02-24T01:10:58.983Z] 5851b861e8e6: Pull complete [2023-02-24T01:10:58.983Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T01:10:58.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:10:58.983Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:10:59.083Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:10:59.126Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T01:11:01.292Z] $ docker top 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da -eo pid,comm [2023-02-24T01:11:01.351Z] 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). [2023-02-24T01:11:01.351Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T01:11:01.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T01:11:01.391Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T01:11:01.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T01:11:01.513Z] $ docker exec 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da ssh-agent [2023-02-24T01:11:01.625Z] SSH_AUTH_SOCK=/tmp/ssh-J4jQBJEq6zzi/agent.32 [2023-02-24T01:11:01.625Z] SSH_AGENT_PID=39 [2023-02-24T01:11:01.632Z] Running ssh-add (command line suppressed) [2023-02-24T01:11:01.733Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6227064675769805788.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6227064675769805788.key) [2023-02-24T01:11:01.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T01:11:02.038Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T01:11:02.048Z] $ docker exec --env ******** --env ******** 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da ssh-agent -k [2023-02-24T01:11:02.160Z] unset SSH_AUTH_SOCK; [2023-02-24T01:11:02.161Z] unset SSH_AGENT_PID; [2023-02-24T01:11:02.161Z] echo Agent pid 39 killed; [2023-02-24T01:11:02.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T01:11:02.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T01:11:02.193Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T01:11:02.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T01:11:02.324Z] $ docker exec 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da ssh-agent [2023-02-24T01:11:02.454Z] SSH_AUTH_SOCK=/tmp/ssh-mGDwQFKhvhRp/agent.72 [2023-02-24T01:11:02.454Z] SSH_AGENT_PID=78 [2023-02-24T01:11:02.459Z] Running ssh-add (command line suppressed) [2023-02-24T01:11:02.568Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7231323736383999327.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7231323736383999327.key) [2023-02-24T01:11:02.583Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T01:11:02.871Z] + git semver init [2023-02-24T01:11:03.130Z] 2023-02-24 01:11:03,076 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T01:11:03.130Z] 2023-02-24 01:11:03,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-24T01:11:03.130Z] 2023-02-24 01:11:03,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-24T01:11:03.130Z] 2023-02-24 01:11:03,077 [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) [2023-02-24T01:11:04.506Z] 2023-02-24 01:11:04,304 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-02-24T01:11:04.506Z] 2023-02-24 01:11:04,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-02-24T01:11:04.506Z] 2023-02-24 01:11:04,305 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:11:04.506Z] 2023-02-24 01:11:04,305 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:11:04.506Z] 3.0.0-dev.16 [Pipeline] } [2023-02-24T01:11:04.517Z] $ docker exec --env ******** --env ******** 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da ssh-agent -k [2023-02-24T01:11:04.620Z] unset SSH_AUTH_SOCK; [2023-02-24T01:11:04.620Z] unset SSH_AGENT_PID; [2023-02-24T01:11:04.621Z] echo Agent pid 78 killed; [2023-02-24T01:11:04.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T01:11:04.933Z] + git semver [Pipeline] } [2023-02-24T01:11:05.216Z] $ docker stop --time=1 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da [2023-02-24T01:11:06.538Z] $ docker rm -f --volumes 5122a9551534deeb27ca6b056d75977c4b5b4025a926c6fb8ebeb7edcf0a94da [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T01:11:06.888Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T01:11:07.120Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T01:11:07.123Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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 [2023-02-24T01:11:07.222Z] provisioning config files... [2023-02-24T01:11:07.232Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3007959476661680399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:11:07.531Z] ---> docker-login.sh [2023-02-24T01:11:07.531Z] nexus3.edgexfoundry.org:10001 [2023-02-24T01:11:07.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:11:07.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:11:07.531Z] Configure a credential helper to remove this warning. See [2023-02-24T01:11:07.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:11:07.531Z] [2023-02-24T01:11:07.531Z] Login Succeeded [2023-02-24T01:11:07.531Z] nexus3.edgexfoundry.org:10002 [2023-02-24T01:11:07.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:11:07.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:11:07.531Z] Configure a credential helper to remove this warning. See [2023-02-24T01:11:07.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:11:07.531Z] [2023-02-24T01:11:07.531Z] Login Succeeded [2023-02-24T01:11:07.531Z] nexus3.edgexfoundry.org:10003 [2023-02-24T01:11:07.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:11:07.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:11:07.793Z] Configure a credential helper to remove this warning. See [2023-02-24T01:11:07.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:11:07.793Z] [2023-02-24T01:11:07.793Z] Login Succeeded [2023-02-24T01:11:07.793Z] nexus3.edgexfoundry.org:10004 [2023-02-24T01:11:07.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:11:07.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:11:07.793Z] Configure a credential helper to remove this warning. See [2023-02-24T01:11:07.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:11:07.793Z] [2023-02-24T01:11:07.793Z] Login Succeeded [2023-02-24T01:11:07.793Z] docker.io [2023-02-24T01:11:08.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:11:08.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:11:08.311Z] Configure a credential helper to remove this warning. See [2023-02-24T01:11:08.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:11:08.311Z] [2023-02-24T01:11:08.311Z] Login Succeeded [2023-02-24T01:11:08.311Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T01:11:08.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T01:11:08.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:11:08.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:11:08.394Z] ========================================================= [2023-02-24T01:11:08.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T01:11:08.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:11:08.699Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T01:11:08.699Z] Sending build context to Docker daemon 23.34MB [2023-02-24T01:11:08.699Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T01:11:08.699Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-24T01:11:08.969Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T01:11:08.969Z] 213ec9aee27d: Pulling fs layer [2023-02-24T01:11:08.969Z] 4583459ba037: Pulling fs layer [2023-02-24T01:11:08.969Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T01:11:08.969Z] 53926ce57604: Pulling fs layer [2023-02-24T01:11:08.969Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T01:11:08.969Z] 22ff95d597cd: Pulling fs layer [2023-02-24T01:11:08.969Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T01:11:08.969Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T01:11:08.970Z] a7acece74701: Pulling fs layer [2023-02-24T01:11:08.970Z] 53926ce57604: Waiting [2023-02-24T01:11:08.970Z] 21b2b0c7a3f4: Waiting [2023-02-24T01:11:08.970Z] 22ff95d597cd: Waiting [2023-02-24T01:11:08.970Z] 12d6caf4c0d1: Waiting [2023-02-24T01:11:08.970Z] 96b7cbca73a9: Waiting [2023-02-24T01:11:08.970Z] a7acece74701: Waiting [2023-02-24T01:11:08.970Z] 93c1e223e6f2: Verifying Checksum [2023-02-24T01:11:08.970Z] 93c1e223e6f2: Download complete [2023-02-24T01:11:08.970Z] 4583459ba037: Verifying Checksum [2023-02-24T01:11:08.970Z] 4583459ba037: Download complete [2023-02-24T01:11:08.970Z] 21b2b0c7a3f4: Download complete [2023-02-24T01:11:08.970Z] 22ff95d597cd: Download complete [2023-02-24T01:11:08.970Z] 213ec9aee27d: Verifying Checksum [2023-02-24T01:11:08.970Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T01:11:08.970Z] 12d6caf4c0d1: Download complete [2023-02-24T01:11:09.235Z] 213ec9aee27d: Pull complete [2023-02-24T01:11:09.235Z] 4583459ba037: Pull complete [2023-02-24T01:11:09.497Z] 93c1e223e6f2: Pull complete [2023-02-24T01:11:09.497Z] a7acece74701: Verifying Checksum [2023-02-24T01:11:09.497Z] a7acece74701: Download complete [2023-02-24T01:11:09.759Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T01:11:09.759Z] 96b7cbca73a9: Download complete [2023-02-24T01:11:09.759Z] 53926ce57604: Verifying Checksum [2023-02-24T01:11:09.759Z] 53926ce57604: Download complete [2023-02-24T01:11:13.979Z] 53926ce57604: Pull complete [2023-02-24T01:11:13.979Z] 21b2b0c7a3f4: Pull complete [2023-02-24T01:11:13.979Z] 22ff95d597cd: Pull complete [2023-02-24T01:11:13.979Z] 12d6caf4c0d1: Pull complete [2023-02-24T01:11:15.877Z] 96b7cbca73a9: Pull complete [2023-02-24T01:11:16.443Z] a7acece74701: Pull complete [2023-02-24T01:11:16.443Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T01:11:16.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T01:11:16.443Z] ---> db6d94c90886 [2023-02-24T01:11:16.443Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-24T01:11:21.744Z] ---> Running in e70ef3d46ce7 [2023-02-24T01:11:21.744Z] Removing intermediate container e70ef3d46ce7 [2023-02-24T01:11:21.744Z] ---> 595cc4fffb8a [2023-02-24T01:11:21.744Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T01:11:21.744Z] ---> Running in c41fd4aa74be [2023-02-24T01:11:21.744Z] Removing intermediate container c41fd4aa74be [2023-02-24T01:11:21.744Z] ---> 0f259034b7bc [2023-02-24T01:11:21.744Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-24T01:11:21.744Z] ---> Running in 34fbf97f6f93 [2023-02-24T01:11:21.744Z] Removing intermediate container 34fbf97f6f93 [2023-02-24T01:11:21.744Z] ---> 2db0b0cae176 [2023-02-24T01:11:21.744Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-24T01:11:21.744Z] ---> Running in a8ec04874db2 [2023-02-24T01:11:21.744Z] Removing intermediate container a8ec04874db2 [2023-02-24T01:11:21.744Z] ---> f559ef382fd6 [2023-02-24T01:11:21.744Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T01:11:22.003Z] ---> Running in 4a39797a96ec [2023-02-24T01:11:22.193Z] Still waiting to schedule task [2023-02-24T01:11:22.194Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7316’ [2023-02-24T01:11:22.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T01:11:22.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T01:11:22.521Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-24T01:11:22.521Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-24T01:11:22.785Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-24T01:11:22.785Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-24T01:11:22.785Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T01:11:22.785Z] OK: 216 MiB in 55 packages [2023-02-24T01:11:23.051Z] Removing intermediate container 4a39797a96ec [2023-02-24T01:11:23.051Z] ---> 5b4d1e5d97a0 [2023-02-24T01:11:23.051Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-24T01:11:23.310Z] ---> e4e0ec5ccef3 [2023-02-24T01:11:23.310Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T01:11:23.310Z] ---> Running in a6c1d800557a [2023-02-24T01:12:02.037Z] Removing intermediate container a6c1d800557a [2023-02-24T01:12:02.037Z] ---> 4cdf1b6189c1 [2023-02-24T01:12:02.037Z] Step 10/12 : COPY . . [2023-02-24T01:12:02.037Z] ---> c7850a614fba [2023-02-24T01:12:02.037Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T01:12:02.037Z] ---> Running in 77ad7734f810 [2023-02-24T01:12:02.037Z] Removing intermediate container 77ad7734f810 [2023-02-24T01:12:02.037Z] ---> 76a3139005cc [2023-02-24T01:12:02.037Z] Step 12/12 : RUN $MAKE [2023-02-24T01:12:02.037Z] ---> Running in bb7d5b53ae75 [2023-02-24T01:12:02.037Z] noop [2023-02-24T01:12:02.037Z] Removing intermediate container bb7d5b53ae75 [2023-02-24T01:12:02.037Z] ---> 5ba3889c84f4 [2023-02-24T01:12:02.037Z] Successfully built 5ba3889c84f4 [2023-02-24T01:12:02.037Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:12:02.346Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T01:12:02.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:12:02.420Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:12:02.451Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-24T01:12:02.806Z] $ docker top a238025c54dfec773e15833248bb261e5c0c7ac08a7b3d9f316f330fb8e7f4bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T01:12:03.153Z] + go version [2023-02-24T01:12:03.153Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T01:12:03.161Z] $ docker stop --time=1 a238025c54dfec773e15833248bb261e5c0c7ac08a7b3d9f316f330fb8e7f4bf [2023-02-24T01:12:04.414Z] $ docker rm -f --volumes a238025c54dfec773e15833248bb261e5c0c7ac08a7b3d9f316f330fb8e7f4bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:12:04.809Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T01:12:04.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:12:04.884Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:12:04.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-24T01:12:05.242Z] $ docker top f70d886d859e534fd32ea2748631f63906c2a5187be35bedd1000b431fc1523f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T01:12:05.592Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-24T01:12:05.888Z] + make test [2023-02-24T01:12:05.888Z] go test ./... -coverprofile=coverage.out [2023-02-24T01:12:06.145Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-24T01:12:16.107Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-24T01:12:16.107Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2023-02-24T01:12:24.213Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T01:12:24.213Z] go vet ./... [2023-02-24T01:12:26.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T01:12:26.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T01:12:26.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T01:12:26.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T01:12:26.767Z] $ docker stop --time=1 f70d886d859e534fd32ea2748631f63906c2a5187be35bedd1000b431fc1523f [2023-02-24T01:12:29.726Z] $ docker rm -f --volumes f70d886d859e534fd32ea2748631f63906c2a5187be35bedd1000b431fc1523f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T01:12:30.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T01:12:30.236Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T01:12:30.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T01:12:31.029Z] + ls -al . [2023-02-24T01:12:31.029Z] total 192 [2023-02-24T01:12:31.029Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 01:12 . [2023-02-24T01:12:31.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 01:10 .. [2023-02-24T01:12:31.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 01:12 .git [2023-02-24T01:12:31.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:10 .github [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 24 01:10 .gitignore [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 24 01:10 .golangci.yml [2023-02-24T01:12:31.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 01:11 .semver [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 24 01:10 Attribution.txt [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 24 01:10 CHANGELOG.md [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 24 01:10 Dockerfile [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 01:10 GOVERNANCE.md [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 24 01:10 Jenkinsfile [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 24 01:10 LICENSE [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 24 01:10 Makefile [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 24 01:10 OWNERS.md [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 24 01:10 README.md [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 24 01:11 VERSION [2023-02-24T01:12:31.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 01:10 bin [2023-02-24T01:12:31.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:10 cmd [2023-02-24T01:12:31.029Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 24 01:12 coverage.out [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 3253 Feb 24 01:10 go.mod [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 32563 Feb 24 01:10 go.sum [2023-02-24T01:12:31.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:10 internal [2023-02-24T01:12:31.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 01:10 snap [2023-02-24T01:12:31.029Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 24 01:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:12:31.449Z] + 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=668751ae10c747c3d9f58507713cbcf82909e340 --label arch=amd64 --label version=3.0.0-dev.16 . [2023-02-24T01:12:31.449Z] Sending build context to Docker daemon 23.38MB [2023-02-24T01:12:31.449Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T01:12:31.449Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-24T01:12:31.449Z] ---> 5ba3889c84f4 [2023-02-24T01:12:31.449Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-24T01:12:31.710Z] ---> Running in d92a54d728bb [2023-02-24T01:12:31.710Z] Removing intermediate container d92a54d728bb [2023-02-24T01:12:31.710Z] ---> 0a0bb5e580ed [2023-02-24T01:12:31.710Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T01:12:31.710Z] ---> Running in 7803e82d34cd [2023-02-24T01:12:31.710Z] Removing intermediate container 7803e82d34cd [2023-02-24T01:12:31.710Z] ---> d80067471166 [2023-02-24T01:12:31.710Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-24T01:12:31.969Z] ---> Running in fb05f9e86e4a [2023-02-24T01:12:31.969Z] Removing intermediate container fb05f9e86e4a [2023-02-24T01:12:31.969Z] ---> f79bcda63388 [2023-02-24T01:12:31.969Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-24T01:12:31.969Z] ---> Running in 496aae785292 [2023-02-24T01:12:31.969Z] Removing intermediate container 496aae785292 [2023-02-24T01:12:31.969Z] ---> 683997424611 [2023-02-24T01:12:31.969Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T01:12:31.969Z] ---> Running in 935513d693e9 [2023-02-24T01:12:32.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T01:12:32.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T01:12:32.746Z] OK: 216 MiB in 55 packages [2023-02-24T01:12:33.313Z] Removing intermediate container 935513d693e9 [2023-02-24T01:12:33.313Z] ---> f24eb1d05664 [2023-02-24T01:12:33.313Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-24T01:12:33.313Z] ---> f754c3ad0a86 [2023-02-24T01:12:33.313Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T01:12:33.313Z] ---> Running in 409935da7c94 [2023-02-24T01:12:34.250Z] Removing intermediate container 409935da7c94 [2023-02-24T01:12:34.250Z] ---> f28e6d8754c9 [2023-02-24T01:12:34.250Z] Step 10/25 : COPY . . [2023-02-24T01:12:34.817Z] ---> ba79fc9b53b4 [2023-02-24T01:12:34.817Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T01:12:34.817Z] ---> Running in 59033d168cb7 [2023-02-24T01:12:35.077Z] Removing intermediate container 59033d168cb7 [2023-02-24T01:12:35.077Z] ---> 393f90190f66 [2023-02-24T01:12:35.077Z] Step 12/25 : RUN $MAKE [2023-02-24T01:12:35.077Z] ---> Running in 582a8427a3c4 [2023-02-24T01:12:35.335Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-24T01:12:57.263Z] Removing intermediate container 582a8427a3c4 [2023-02-24T01:12:57.263Z] ---> 302a8b0d3df2 [2023-02-24T01:12:57.263Z] Step 13/25 : FROM alpine:3.16 [2023-02-24T01:12:57.263Z] 3.16: Pulling from library/alpine [2023-02-24T01:12:57.263Z] ef5531b6e74e: Pulling fs layer [2023-02-24T01:12:57.263Z] ef5531b6e74e: Verifying Checksum [2023-02-24T01:12:57.263Z] ef5531b6e74e: Download complete [2023-02-24T01:12:57.263Z] ef5531b6e74e: Pull complete [2023-02-24T01:12:57.263Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T01:12:57.263Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T01:12:57.263Z] ---> dfd21b5a31f5 [2023-02-24T01:12:57.263Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-24T01:12:57.263Z] ---> Running in df310b6d7922 [2023-02-24T01:12:57.263Z] Removing intermediate container df310b6d7922 [2023-02-24T01:12:57.263Z] ---> b68aac8cbc5c [2023-02-24T01:12:57.263Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-24T01:12:57.263Z] ---> Running in 3be1a4543ef2 [2023-02-24T01:12:57.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T01:12:57.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T01:12:58.092Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T01:12:58.092Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T01:12:58.092Z] OK: 6 MiB in 15 packages [2023-02-24T01:12:58.351Z] Removing intermediate container 3be1a4543ef2 [2023-02-24T01:12:58.351Z] ---> 3f55928bf266 [2023-02-24T01:12:58.351Z] Step 16/25 : WORKDIR / [2023-02-24T01:12:58.351Z] ---> Running in e1d67d171959 [2023-02-24T01:12:58.351Z] Removing intermediate container e1d67d171959 [2023-02-24T01:12:58.351Z] ---> 76d993224cb0 [2023-02-24T01:12:58.351Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-24T01:12:58.611Z] ---> 7625a6fbe3ad [2023-02-24T01:12:58.611Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-24T01:12:58.611Z] ---> 271e90e54da4 [2023-02-24T01:12:58.611Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-24T01:12:59.563Z] ---> 684f3db10efd [2023-02-24T01:12:59.563Z] Step 20/25 : EXPOSE 59900 [2023-02-24T01:12:59.563Z] ---> Running in 954bf1e29f9b [2023-02-24T01:12:59.563Z] Removing intermediate container 954bf1e29f9b [2023-02-24T01:12:59.563Z] ---> 798469a16d71 [2023-02-24T01:12:59.563Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-24T01:12:59.563Z] ---> Running in 7abf015deea5 [2023-02-24T01:12:59.563Z] Removing intermediate container 7abf015deea5 [2023-02-24T01:12:59.563Z] ---> 55feca3dc499 [2023-02-24T01:12:59.563Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T01:12:59.563Z] ---> Running in 6a0825759dca [2023-02-24T01:12:59.563Z] Removing intermediate container 6a0825759dca [2023-02-24T01:12:59.563Z] ---> f4f158eec18e [2023-02-24T01:12:59.563Z] Step 23/25 : LABEL arch=amd64 [2023-02-24T01:12:59.563Z] ---> Running in 0c2d1d01fc47 [2023-02-24T01:12:59.823Z] Removing intermediate container 0c2d1d01fc47 [2023-02-24T01:12:59.823Z] ---> 2acf9f1e6b98 [2023-02-24T01:12:59.823Z] Step 24/25 : LABEL git_sha=668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:12:59.823Z] ---> Running in ee5994347289 [2023-02-24T01:12:59.823Z] Removing intermediate container ee5994347289 [2023-02-24T01:12:59.823Z] ---> 1def638bb08e [2023-02-24T01:12:59.823Z] Step 25/25 : LABEL version=3.0.0-dev.16 [2023-02-24T01:12:59.823Z] ---> Running in 363a44d8d9ab [2023-02-24T01:12:59.823Z] Removing intermediate container 363a44d8d9ab [2023-02-24T01:12:59.823Z] ---> ff95107dc6df [2023-02-24T01:12:59.823Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T01:13:00.082Z] Successfully built ff95107dc6df [2023-02-24T01:13:00.082Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:13:00.161Z] provisioning config files... [2023-02-24T01:13:00.168Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9053648585731677331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:13:00.466Z] ---> docker-login.sh [2023-02-24T01:13:00.466Z] nexus3.edgexfoundry.org:10001 [2023-02-24T01:13:00.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:13:00.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:13:00.466Z] Configure a credential helper to remove this warning. See [2023-02-24T01:13:00.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:13:00.466Z] [2023-02-24T01:13:00.466Z] Login Succeeded [2023-02-24T01:13:00.466Z] nexus3.edgexfoundry.org:10002 [2023-02-24T01:13:00.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:13:00.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:13:00.726Z] Configure a credential helper to remove this warning. See [2023-02-24T01:13:00.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:13:00.726Z] [2023-02-24T01:13:00.726Z] Login Succeeded [2023-02-24T01:13:00.726Z] nexus3.edgexfoundry.org:10003 [2023-02-24T01:13:00.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:13:00.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:13:00.726Z] Configure a credential helper to remove this warning. See [2023-02-24T01:13:00.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:13:00.726Z] [2023-02-24T01:13:00.726Z] Login Succeeded [2023-02-24T01:13:00.726Z] nexus3.edgexfoundry.org:10004 [2023-02-24T01:13:00.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:13:00.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:13:00.726Z] Configure a credential helper to remove this warning. See [2023-02-24T01:13:00.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:13:00.726Z] [2023-02-24T01:13:00.726Z] Login Succeeded [2023-02-24T01:13:00.726Z] docker.io [2023-02-24T01:13:00.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:13:01.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:13:01.245Z] Configure a credential helper to remove this warning. See [2023-02-24T01:13:01.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:13:01.245Z] [2023-02-24T01:13:01.245Z] Login Succeeded [2023-02-24T01:13:01.245Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T01:13:01.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-24T01:13:01.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:13:01.292Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-02-24T01:13:01.292Z] 668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:13:01.292Z] latest [2023-02-24T01:13:01.292Z] 3.0.0-dev.16 [2023-02-24T01:13:01.292Z] 668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:13:01.292Z] main [2023-02-24T01:13:01.292Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:01.602Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:01.909Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:13:01.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-24T01:13:01.910Z] dcfc29fdcb6c: Preparing [2023-02-24T01:13:01.910Z] b9e173751d56: Preparing [2023-02-24T01:13:01.910Z] f00ed07f52e3: Preparing [2023-02-24T01:13:01.910Z] 6d4fa4d9432e: Preparing [2023-02-24T01:13:01.910Z] aa5968d388b8: Preparing [2023-02-24T01:13:01.910Z] aa5968d388b8: Layer already exists [2023-02-24T01:13:01.910Z] b9e173751d56: Pushed [2023-02-24T01:13:01.910Z] f00ed07f52e3: Pushed [2023-02-24T01:13:01.910Z] 6d4fa4d9432e: Pushed [2023-02-24T01:13:04.611Z] dcfc29fdcb6c: Pushed [2023-02-24T01:13:04.877Z] 668751ae10c747c3d9f58507713cbcf82909e340: digest: sha256:ef99a307307ff640496df01e8ac94c5dd4a6895347a158812185b0fcde9ea511 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:05.237Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:05.542Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-24T01:13:05.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-24T01:13:05.542Z] dcfc29fdcb6c: Preparing [2023-02-24T01:13:05.542Z] b9e173751d56: Preparing [2023-02-24T01:13:05.542Z] f00ed07f52e3: Preparing [2023-02-24T01:13:05.542Z] 6d4fa4d9432e: Preparing [2023-02-24T01:13:05.542Z] aa5968d388b8: Preparing [2023-02-24T01:13:05.542Z] dcfc29fdcb6c: Layer already exists [2023-02-24T01:13:05.542Z] aa5968d388b8: Layer already exists [2023-02-24T01:13:05.542Z] f00ed07f52e3: Layer already exists [2023-02-24T01:13:05.542Z] 6d4fa4d9432e: Layer already exists [2023-02-24T01:13:05.542Z] b9e173751d56: Layer already exists [2023-02-24T01:13:05.542Z] latest: digest: sha256:ef99a307307ff640496df01e8ac94c5dd4a6895347a158812185b0fcde9ea511 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:05.848Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:06.152Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.16 [2023-02-24T01:13:06.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-24T01:13:06.152Z] dcfc29fdcb6c: Preparing [2023-02-24T01:13:06.152Z] b9e173751d56: Preparing [2023-02-24T01:13:06.152Z] f00ed07f52e3: Preparing [2023-02-24T01:13:06.152Z] 6d4fa4d9432e: Preparing [2023-02-24T01:13:06.152Z] aa5968d388b8: Preparing [2023-02-24T01:13:06.152Z] b9e173751d56: Layer already exists [2023-02-24T01:13:06.152Z] f00ed07f52e3: Layer already exists [2023-02-24T01:13:06.152Z] dcfc29fdcb6c: Layer already exists [2023-02-24T01:13:06.152Z] 6d4fa4d9432e: Layer already exists [2023-02-24T01:13:06.152Z] aa5968d388b8: Layer already exists [2023-02-24T01:13:06.152Z] 3.0.0-dev.16: digest: sha256:ef99a307307ff640496df01e8ac94c5dd4a6895347a158812185b0fcde9ea511 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:06.468Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:06.771Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:13:06.771Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-24T01:13:06.771Z] dcfc29fdcb6c: Preparing [2023-02-24T01:13:06.771Z] b9e173751d56: Preparing [2023-02-24T01:13:06.771Z] f00ed07f52e3: Preparing [2023-02-24T01:13:06.771Z] 6d4fa4d9432e: Preparing [2023-02-24T01:13:06.771Z] aa5968d388b8: Preparing [2023-02-24T01:13:06.771Z] 6d4fa4d9432e: Layer already exists [2023-02-24T01:13:06.771Z] f00ed07f52e3: Layer already exists [2023-02-24T01:13:06.771Z] dcfc29fdcb6c: Layer already exists [2023-02-24T01:13:06.771Z] aa5968d388b8: Layer already exists [2023-02-24T01:13:06.771Z] b9e173751d56: Layer already exists [2023-02-24T01:13:06.771Z] 668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16: digest: sha256:ef99a307307ff640496df01e8ac94c5dd4a6895347a158812185b0fcde9ea511 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:07.081Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:07.394Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-02-24T01:13:07.394Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-24T01:13:07.394Z] dcfc29fdcb6c: Preparing [2023-02-24T01:13:07.394Z] b9e173751d56: Preparing [2023-02-24T01:13:07.394Z] f00ed07f52e3: Preparing [2023-02-24T01:13:07.394Z] 6d4fa4d9432e: Preparing [2023-02-24T01:13:07.394Z] aa5968d388b8: Preparing [2023-02-24T01:13:07.394Z] b9e173751d56: Layer already exists [2023-02-24T01:13:07.394Z] dcfc29fdcb6c: Layer already exists [2023-02-24T01:13:07.394Z] 6d4fa4d9432e: Layer already exists [2023-02-24T01:13:07.394Z] aa5968d388b8: Layer already exists [2023-02-24T01:13:07.394Z] f00ed07f52e3: Layer already exists [2023-02-24T01:13:07.394Z] main: digest: sha256:ef99a307307ff640496df01e8ac94c5dd4a6895347a158812185b0fcde9ea511 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-24T01:13:07.433Z] ===================================================== [Pipeline] echo [2023-02-24T01:13:07.438Z] taggedImages: [2023-02-24T01:13:07.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:13:07.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-24T01:13:07.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.16 [2023-02-24T01:13:07.438Z] - nexus3.edgexfoundry.org:10004/device-virtual:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:13:07.438Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:07.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T01:13:07.791Z] [2023-02-24T01:13:07.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:13:08.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T01:13:08.083Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T01:13:08.083Z] 5eb5b503b376: Pulling fs layer [2023-02-24T01:13:08.083Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T01:13:08.083Z] ec43610c2a17: Pulling fs layer [2023-02-24T01:13:08.083Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T01:13:08.083Z] 33b1e0a273af: Pulling fs layer [2023-02-24T01:13:08.083Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T01:13:08.083Z] 2f39f015ded8: Pulling fs layer [2023-02-24T01:13:08.083Z] 5d3b04190fa2: Waiting [2023-02-24T01:13:08.083Z] 33b1e0a273af: Waiting [2023-02-24T01:13:08.083Z] 3a2ae6a8a46f: Waiting [2023-02-24T01:13:08.083Z] 2f39f015ded8: Waiting [2023-02-24T01:13:08.083Z] 5c69ac0246d0: Verifying Checksum [2023-02-24T01:13:08.083Z] 5c69ac0246d0: Download complete [2023-02-24T01:13:08.083Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T01:13:08.083Z] 3a2ae6a8a46f: Download complete [2023-02-24T01:13:08.341Z] 33b1e0a273af: Verifying Checksum [2023-02-24T01:13:08.341Z] 33b1e0a273af: Download complete [2023-02-24T01:13:08.341Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T01:13:08.341Z] 5d3b04190fa2: Download complete [2023-02-24T01:13:08.341Z] ec43610c2a17: Verifying Checksum [2023-02-24T01:13:08.341Z] ec43610c2a17: Download complete [2023-02-24T01:13:08.341Z] 5eb5b503b376: Download complete [2023-02-24T01:13:08.910Z] 2f39f015ded8: Download complete [2023-02-24T01:13:09.863Z] 5eb5b503b376: Pull complete [2023-02-24T01:13:09.863Z] 5c69ac0246d0: Pull complete [2023-02-24T01:13:10.430Z] ec43610c2a17: Pull complete [2023-02-24T01:13:10.430Z] 3a2ae6a8a46f: Pull complete [2023-02-24T01:13:10.689Z] 33b1e0a273af: Pull complete [2023-02-24T01:13:10.689Z] 5d3b04190fa2: Pull complete [2023-02-24T01:13:15.953Z] 2f39f015ded8: Pull complete [2023-02-24T01:13:15.953Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T01:13:15.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T01:13:15.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:13:16.040Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:13:16.072Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-24T01:13:19.714Z] $ docker top 99c685e7323ed050f94196dc73af03ac65d900aa3c0cbde38c6ce6f378518756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:13:20.127Z] ---> job-cost.sh [2023-02-24T01:13:20.127Z] lf-activate-venv: SKIPPING [2023-02-24T01:13:20.127Z] INFO: No Stack... [2023-02-24T01:13:20.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T01:13:20.646Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T01:13:20.934Z] + + cut -d, -f6 [2023-02-24T01:13:20.934Z] cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-02-24T01:13:20.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [2023-02-24T01:13:20.958Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] did not exist. Created. [2023-02-24T01:13:20.958Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T01:13:21.268Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T01:13:21.297Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T01:13:21.303Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T01:13:21.318Z] $ docker stop --time=1 99c685e7323ed050f94196dc73af03ac65d900aa3c0cbde38c6ce6f378518756 [2023-02-24T01:13:22.484Z] $ docker rm -f --volumes 99c685e7323ed050f94196dc73af03ac65d900aa3c0cbde38c6ce6f378518756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T01:14:44.730Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7319 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-02-24T01:14:44.743Z] Running in /w/workspace/device-virtual-go/87 [Pipeline] { [Pipeline] checkout [2023-02-24T01:14:44.776Z] The recommended git tool is: git [2023-02-24T01:14:49.868Z] using credential edgex-jenkins-ssh [2023-02-24T01:14:49.884Z] Cloning the remote Git repository [2023-02-24T01:14:49.930Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-24T01:14:50.005Z] > git init /w/workspace/device-virtual-go/87 # timeout=10 [2023-02-24T01:14:50.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-24T01:14:50.163Z] > git --version # timeout=10 [2023-02-24T01:14:50.182Z] > git --version # 'git version 2.25.1' [2023-02-24T01:14:50.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T01:14:50.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T01:14:53.390Z] Avoid second fetch [2023-02-24T01:14:53.391Z] Checking out Revision 668751ae10c747c3d9f58507713cbcf82909e340 (main) [2023-02-24T01:14:52.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-24T01:14:52.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T01:14:53.406Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T01:14:53.422Z] > git checkout -f 668751ae10c747c3d9f58507713cbcf82909e340 # timeout=10 [2023-02-24T01:14:53.940Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T01:14:54.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T01:14:54.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T01:14:54.985Z] Dload Upload Total Spent Left Speed [2023-02-24T01:14:54.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72862 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh [2023-02-24T01:14:55.613Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T01:14:55.947Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T01:14:55.947Z] + sudo tee /etc/docker/daemon.new [2023-02-24T01:14:55.947Z] { [2023-02-24T01:14:55.947Z] "registry-mirrors": [ [2023-02-24T01:14:55.947Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T01:14:55.947Z] ], [2023-02-24T01:14:55.947Z] "bip": "10.250.0.254/24", [2023-02-24T01:14:55.947Z] "hosts": [ [2023-02-24T01:14:55.947Z] "tcp://0.0.0.0:5555", [2023-02-24T01:14:55.947Z] "unix:///var/run/docker.sock" [2023-02-24T01:14:55.947Z] ], [2023-02-24T01:14:55.947Z] "mtu": 1458, [2023-02-24T01:14:55.947Z] "selinux-enabled": true, [2023-02-24T01:14:55.947Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T01:14:55.947Z] } [Pipeline] sh [2023-02-24T01:14:56.280Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T01:14:56.616Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:15:14.886Z] provisioning config files... [2023-02-24T01:15:14.913Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/87@tmp/config16946727142262570687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:15:15.267Z] ---> docker-login.sh [2023-02-24T01:15:15.267Z] nexus3.edgexfoundry.org:10001 [2023-02-24T01:15:15.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:15:15.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:15:15.806Z] Configure a credential helper to remove this warning. See [2023-02-24T01:15:15.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:15:15.806Z] [2023-02-24T01:15:15.806Z] Login Succeeded [2023-02-24T01:15:15.806Z] nexus3.edgexfoundry.org:10002 [2023-02-24T01:15:16.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:15:16.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:15:16.347Z] Configure a credential helper to remove this warning. See [2023-02-24T01:15:16.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:15:16.347Z] [2023-02-24T01:15:16.347Z] Login Succeeded [2023-02-24T01:15:16.347Z] nexus3.edgexfoundry.org:10003 [2023-02-24T01:15:16.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:15:16.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:15:16.619Z] Configure a credential helper to remove this warning. See [2023-02-24T01:15:16.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:15:16.619Z] [2023-02-24T01:15:16.619Z] Login Succeeded [2023-02-24T01:15:16.619Z] nexus3.edgexfoundry.org:10004 [2023-02-24T01:15:16.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:15:16.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:15:16.893Z] Configure a credential helper to remove this warning. See [2023-02-24T01:15:16.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:15:16.893Z] [2023-02-24T01:15:16.893Z] Login Succeeded [2023-02-24T01:15:16.893Z] docker.io [2023-02-24T01:15:17.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:15:17.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:15:17.434Z] Configure a credential helper to remove this warning. See [2023-02-24T01:15:17.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:15:17.434Z] [2023-02-24T01:15:17.434Z] Login Succeeded [2023-02-24T01:15:17.434Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T01:15:17.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T01:15:17.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:15:17.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:15:17.972Z] ========================================================= [2023-02-24T01:15:17.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T01:15:17.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:15:18.319Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T01:15:18.589Z] Sending build context to Docker daemon 11.82MB [2023-02-24T01:15:18.589Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T01:15:18.589Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-24T01:15:18.860Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T01:15:18.860Z] 9b18e9b68314: Pulling fs layer [2023-02-24T01:15:18.860Z] 35d82f9e3411: Pulling fs layer [2023-02-24T01:15:18.860Z] e16973657156: Pulling fs layer [2023-02-24T01:15:18.860Z] fc693d55d65f: Pulling fs layer [2023-02-24T01:15:18.860Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T01:15:18.860Z] dda99020689f: Pulling fs layer [2023-02-24T01:15:18.860Z] db1c61fa0a46: Pulling fs layer [2023-02-24T01:15:18.860Z] 891c053d2c06: Pulling fs layer [2023-02-24T01:15:18.860Z] fc693d55d65f: Waiting [2023-02-24T01:15:18.860Z] 7e9fc2657dce: Waiting [2023-02-24T01:15:18.860Z] dda99020689f: Waiting [2023-02-24T01:15:18.860Z] db1c61fa0a46: Waiting [2023-02-24T01:15:18.860Z] 891c053d2c06: Waiting [2023-02-24T01:15:18.860Z] e16973657156: Verifying Checksum [2023-02-24T01:15:18.860Z] e16973657156: Download complete [2023-02-24T01:15:18.860Z] 35d82f9e3411: Verifying Checksum [2023-02-24T01:15:18.860Z] 35d82f9e3411: Download complete [2023-02-24T01:15:18.860Z] 7e9fc2657dce: Verifying Checksum [2023-02-24T01:15:18.860Z] dda99020689f: Download complete [2023-02-24T01:15:18.860Z] 9b18e9b68314: Verifying Checksum [2023-02-24T01:15:18.860Z] 9b18e9b68314: Download complete [2023-02-24T01:15:19.831Z] 9b18e9b68314: Pull complete [2023-02-24T01:15:20.452Z] 35d82f9e3411: Pull complete [2023-02-24T01:15:20.452Z] 891c053d2c06: Verifying Checksum [2023-02-24T01:15:20.452Z] 891c053d2c06: Download complete [2023-02-24T01:15:21.420Z] db1c61fa0a46: Download complete [2023-02-24T01:15:22.006Z] fc693d55d65f: Verifying Checksum [2023-02-24T01:15:22.006Z] fc693d55d65f: Download complete [2023-02-24T01:15:22.006Z] e16973657156: Pull complete [2023-02-24T01:15:37.032Z] fc693d55d65f: Pull complete [2023-02-24T01:15:37.032Z] 7e9fc2657dce: Pull complete [2023-02-24T01:15:37.032Z] dda99020689f: Pull complete [2023-02-24T01:15:42.398Z] db1c61fa0a46: Pull complete [2023-02-24T01:15:43.809Z] 891c053d2c06: Pull complete [2023-02-24T01:15:43.809Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T01:15:43.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T01:15:43.809Z] ---> f96f9c87975a [2023-02-24T01:15:43.809Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-24T01:15:45.752Z] ---> Running in c1083cbffc2d [2023-02-24T01:15:46.021Z] Removing intermediate container c1083cbffc2d [2023-02-24T01:15:46.021Z] ---> 6d153dc95c0e [2023-02-24T01:15:46.021Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T01:15:46.021Z] ---> Running in 02d314d4eaec [2023-02-24T01:15:46.289Z] Removing intermediate container 02d314d4eaec [2023-02-24T01:15:46.289Z] ---> eddd5ec62979 [2023-02-24T01:15:46.289Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-24T01:15:46.556Z] ---> Running in 8ea0e35f7be1 [2023-02-24T01:15:46.824Z] Removing intermediate container 8ea0e35f7be1 [2023-02-24T01:15:46.824Z] ---> 193c0e904476 [2023-02-24T01:15:46.824Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-24T01:15:46.824Z] ---> Running in c04aa35350bf [2023-02-24T01:15:47.091Z] Removing intermediate container c04aa35350bf [2023-02-24T01:15:47.091Z] ---> 7304d195935f [2023-02-24T01:15:47.091Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T01:15:47.362Z] ---> Running in d33d60f76bad [2023-02-24T01:15:48.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T01:15:48.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T01:15:49.743Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-24T01:15:49.743Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-24T01:15:50.012Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-24T01:15:50.012Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-24T01:15:50.012Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T01:15:50.012Z] OK: 226 MiB in 55 packages [2023-02-24T01:15:51.425Z] Removing intermediate container d33d60f76bad [2023-02-24T01:15:51.425Z] ---> 78632d2de768 [2023-02-24T01:15:51.425Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-24T01:15:51.700Z] ---> d7e01fc0e5ab [2023-02-24T01:15:51.700Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T01:15:51.700Z] ---> Running in 7f4b88246b2a [2023-02-24T01:16:59.690Z] Removing intermediate container 7f4b88246b2a [2023-02-24T01:16:59.690Z] ---> 1041d1994afc [2023-02-24T01:16:59.690Z] Step 10/12 : COPY . . [2023-02-24T01:16:59.690Z] ---> 87d62d4b1187 [2023-02-24T01:16:59.690Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T01:16:59.690Z] ---> Running in 68af0ccf1ff7 [2023-02-24T01:16:59.690Z] Removing intermediate container 68af0ccf1ff7 [2023-02-24T01:16:59.690Z] ---> be3663f70e58 [2023-02-24T01:16:59.690Z] Step 12/12 : RUN $MAKE [2023-02-24T01:16:59.690Z] ---> Running in c64aea0b44f7 [2023-02-24T01:16:59.690Z] noop [2023-02-24T01:16:59.690Z] Removing intermediate container c64aea0b44f7 [2023-02-24T01:16:59.690Z] ---> f3fcc6923bf0 [2023-02-24T01:16:59.690Z] Successfully built f3fcc6923bf0 [2023-02-24T01:16:59.690Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:17:00.032Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T01:17:00.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:17:00.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2023-02-24T01:17:00.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/87 -v /w/workspace/device-virtual-go/87:/w/workspace/device-virtual-go/87:rw,z -v /w/workspace/device-virtual-go/87@tmp:/w/workspace/device-virtual-go/87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-24T01:17:01.485Z] $ docker top d0a41a6e808e8bfec63dbcbb1f6f50ee1835f6eac772f595a87b3f2ba6e2b272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T01:17:02.296Z] + go version [2023-02-24T01:17:02.297Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T01:17:02.314Z] $ docker stop --time=1 d0a41a6e808e8bfec63dbcbb1f6f50ee1835f6eac772f595a87b3f2ba6e2b272 [2023-02-24T01:17:03.876Z] $ docker rm -f --volumes d0a41a6e808e8bfec63dbcbb1f6f50ee1835f6eac772f595a87b3f2ba6e2b272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:17:04.405Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T01:17:04.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:17:04.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2023-02-24T01:17:04.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/87 -v /w/workspace/device-virtual-go/87:/w/workspace/device-virtual-go/87:rw,z -v /w/workspace/device-virtual-go/87@tmp:/w/workspace/device-virtual-go/87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-24T01:17:05.785Z] $ docker top cdf81f97763760333399ae0f749e09cb54e4b5a7b023e1a2d6ab143bad09c7bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T01:17:06.295Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/87 [Pipeline] fileExists [Pipeline] sh [2023-02-24T01:17:06.626Z] + make test [2023-02-24T01:17:06.626Z] go test ./... -coverprofile=coverage.out [2023-02-24T01:17:08.569Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-24T01:18:30.217Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-24T01:18:30.217Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements [2023-02-24T01:18:30.217Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T01:18:30.217Z] go vet ./... [2023-02-24T01:18:52.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T01:18:52.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T01:18:52.306Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T01:18:52.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T01:18:52.334Z] $ docker stop --time=1 cdf81f97763760333399ae0f749e09cb54e4b5a7b023e1a2d6ab143bad09c7bc [2023-02-24T01:18:54.107Z] $ docker rm -f --volumes cdf81f97763760333399ae0f749e09cb54e4b5a7b023e1a2d6ab143bad09c7bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T01:18:55.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T01:18:55.124Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T01:18:55.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T01:18:56.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T01:18:56.327Z] + ls -al . [2023-02-24T01:18:56.327Z] total 188 [2023-02-24T01:18:56.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 01:17 . [2023-02-24T01:18:56.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 01:14 .. [2023-02-24T01:18:56.327Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 01:14 .git [2023-02-24T01:18:56.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:14 .github [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 24 01:14 .gitignore [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 24 01:14 .golangci.yml [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 24 01:14 Attribution.txt [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 24 01:14 CHANGELOG.md [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 24 01:14 Dockerfile [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 01:14 GOVERNANCE.md [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 24 01:14 Jenkinsfile [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 24 01:14 LICENSE [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 24 01:14 Makefile [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 24 01:14 OWNERS.md [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 24 01:14 README.md [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 24 01:11 VERSION [2023-02-24T01:18:56.327Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 01:14 bin [2023-02-24T01:18:56.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:14 cmd [2023-02-24T01:18:56.327Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 24 01:18 coverage.out [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 3253 Feb 24 01:14 go.mod [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 32563 Feb 24 01:14 go.sum [2023-02-24T01:18:56.327Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 01:14 internal [2023-02-24T01:18:56.327Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 01:14 snap [2023-02-24T01:18:56.327Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 24 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:18:56.667Z] + 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=668751ae10c747c3d9f58507713cbcf82909e340 --label arch=arm64 --label version=3.0.0-dev.16 . [2023-02-24T01:18:56.931Z] Sending build context to Docker daemon 11.86MB [2023-02-24T01:18:56.931Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T01:18:56.931Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-24T01:18:56.931Z] ---> f3fcc6923bf0 [2023-02-24T01:18:56.931Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-24T01:18:57.196Z] ---> Running in 16731b0d2b82 [2023-02-24T01:18:57.461Z] Removing intermediate container 16731b0d2b82 [2023-02-24T01:18:57.461Z] ---> c8afe5378148 [2023-02-24T01:18:57.461Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T01:18:57.461Z] ---> Running in 3eeddf4c27dd [2023-02-24T01:18:57.741Z] Removing intermediate container 3eeddf4c27dd [2023-02-24T01:18:57.742Z] ---> 085bbfa238f0 [2023-02-24T01:18:57.742Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-24T01:18:57.742Z] ---> Running in e085f81d8fc2 [2023-02-24T01:18:58.009Z] Removing intermediate container e085f81d8fc2 [2023-02-24T01:18:58.009Z] ---> 0265966cd5e1 [2023-02-24T01:18:58.009Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-24T01:18:58.275Z] ---> Running in 678cb06ab0b3 [2023-02-24T01:18:58.541Z] Removing intermediate container 678cb06ab0b3 [2023-02-24T01:18:58.541Z] ---> 0ac3ddb4de1b [2023-02-24T01:18:58.541Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T01:18:58.541Z] ---> Running in 337a94037eb2 [2023-02-24T01:18:59.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T01:18:59.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T01:19:00.728Z] OK: 226 MiB in 55 packages [2023-02-24T01:19:01.703Z] Removing intermediate container 337a94037eb2 [2023-02-24T01:19:01.703Z] ---> 8bfbbec59039 [2023-02-24T01:19:01.703Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-24T01:19:04.279Z] ---> a3c067aa8581 [2023-02-24T01:19:04.279Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T01:19:04.279Z] ---> Running in df68629ab0fc [2023-02-24T01:19:06.855Z] Removing intermediate container df68629ab0fc [2023-02-24T01:19:06.855Z] ---> 40340453d75a [2023-02-24T01:19:06.855Z] Step 10/25 : COPY . . [2023-02-24T01:19:08.271Z] ---> 2a2899c91e9f [2023-02-24T01:19:08.271Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T01:19:08.271Z] ---> Running in 2d445436481c [2023-02-24T01:19:08.271Z] Removing intermediate container 2d445436481c [2023-02-24T01:19:08.271Z] ---> 83400c578202 [2023-02-24T01:19:08.271Z] Step 12/25 : RUN $MAKE [2023-02-24T01:19:08.542Z] ---> Running in fe9e0db7c4be [2023-02-24T01:19:09.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-24T01:21:46.337Z] Removing intermediate container fe9e0db7c4be [2023-02-24T01:21:46.337Z] ---> ad1eac3b8cf8 [2023-02-24T01:21:46.337Z] Step 13/25 : FROM alpine:3.16 [2023-02-24T01:21:46.337Z] 3.16: Pulling from library/alpine [2023-02-24T01:21:46.337Z] 3760b48202b3: Pulling fs layer [2023-02-24T01:21:46.337Z] 3760b48202b3: Verifying Checksum [2023-02-24T01:21:46.337Z] 3760b48202b3: Download complete [2023-02-24T01:21:46.337Z] 3760b48202b3: Pull complete [2023-02-24T01:21:46.337Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T01:21:46.337Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T01:21:46.337Z] ---> 4c81e5bf8899 [2023-02-24T01:21:46.337Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-24T01:21:46.337Z] ---> Running in e6b43171301d [2023-02-24T01:21:46.337Z] Removing intermediate container e6b43171301d [2023-02-24T01:21:46.337Z] ---> dfa391a58546 [2023-02-24T01:21:46.337Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-24T01:21:46.337Z] ---> Running in 77c7c095d9d5 [2023-02-24T01:21:46.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T01:21:46.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T01:21:46.337Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T01:21:46.337Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T01:21:46.337Z] OK: 5 MiB in 15 packages [2023-02-24T01:21:46.337Z] Removing intermediate container 77c7c095d9d5 [2023-02-24T01:21:46.337Z] ---> d57780b95db0 [2023-02-24T01:21:46.337Z] Step 16/25 : WORKDIR / [2023-02-24T01:21:46.337Z] ---> Running in ea9d46f82267 [2023-02-24T01:21:46.337Z] Removing intermediate container ea9d46f82267 [2023-02-24T01:21:46.337Z] ---> d63469d8244b [2023-02-24T01:21:46.337Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-24T01:21:46.337Z] ---> c73f1a5adbb5 [2023-02-24T01:21:46.337Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-24T01:21:46.337Z] ---> 824209700ce1 [2023-02-24T01:21:46.337Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-24T01:21:46.337Z] ---> 637a91ba0e23 [2023-02-24T01:21:46.337Z] Step 20/25 : EXPOSE 59900 [2023-02-24T01:21:46.337Z] ---> Running in bd28c0b6fd85 [2023-02-24T01:21:46.337Z] Removing intermediate container bd28c0b6fd85 [2023-02-24T01:21:46.337Z] ---> 6becffb0747f [2023-02-24T01:21:46.337Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-24T01:21:46.337Z] ---> Running in ce562be24fe1 [2023-02-24T01:21:46.337Z] Removing intermediate container ce562be24fe1 [2023-02-24T01:21:46.337Z] ---> 12d6bc29cba1 [2023-02-24T01:21:46.337Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T01:21:46.337Z] ---> Running in beb44c001668 [2023-02-24T01:21:46.337Z] Removing intermediate container beb44c001668 [2023-02-24T01:21:46.337Z] ---> 93ec7ef5a9dc [2023-02-24T01:21:46.337Z] Step 23/25 : LABEL arch=arm64 [2023-02-24T01:21:46.337Z] ---> Running in 87e96b037302 [2023-02-24T01:21:46.337Z] Removing intermediate container 87e96b037302 [2023-02-24T01:21:46.337Z] ---> 89039c5721f8 [2023-02-24T01:21:46.337Z] Step 24/25 : LABEL git_sha=668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:21:46.337Z] ---> Running in 04420a2b271b [2023-02-24T01:21:46.337Z] Removing intermediate container 04420a2b271b [2023-02-24T01:21:46.337Z] ---> 78241ec8343b [2023-02-24T01:21:46.337Z] Step 25/25 : LABEL version=3.0.0-dev.16 [2023-02-24T01:21:46.337Z] ---> Running in 581d02dace26 [2023-02-24T01:21:46.337Z] Removing intermediate container 581d02dace26 [2023-02-24T01:21:46.337Z] ---> 5f3b79569968 [2023-02-24T01:21:46.337Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T01:21:46.337Z] Successfully built 5f3b79569968 [2023-02-24T01:21:46.337Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:21:46.423Z] provisioning config files... [2023-02-24T01:21:46.438Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/87@tmp/config2380251479706484881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:21:46.769Z] ---> docker-login.sh [2023-02-24T01:21:46.769Z] nexus3.edgexfoundry.org:10001 [2023-02-24T01:21:46.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:21:47.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:21:47.036Z] Configure a credential helper to remove this warning. See [2023-02-24T01:21:47.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:21:47.036Z] [2023-02-24T01:21:47.036Z] Login Succeeded [2023-02-24T01:21:47.036Z] nexus3.edgexfoundry.org:10002 [2023-02-24T01:21:47.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:21:47.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:21:47.303Z] Configure a credential helper to remove this warning. See [2023-02-24T01:21:47.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:21:47.303Z] [2023-02-24T01:21:47.303Z] Login Succeeded [2023-02-24T01:21:47.303Z] nexus3.edgexfoundry.org:10003 [2023-02-24T01:21:47.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:21:47.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:21:47.838Z] Configure a credential helper to remove this warning. See [2023-02-24T01:21:47.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:21:47.838Z] [2023-02-24T01:21:47.838Z] Login Succeeded [2023-02-24T01:21:47.838Z] nexus3.edgexfoundry.org:10004 [2023-02-24T01:21:48.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:21:48.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:21:48.106Z] Configure a credential helper to remove this warning. See [2023-02-24T01:21:48.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:21:48.106Z] [2023-02-24T01:21:48.106Z] Login Succeeded [2023-02-24T01:21:48.106Z] docker.io [2023-02-24T01:21:48.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T01:21:48.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T01:21:48.641Z] Configure a credential helper to remove this warning. See [2023-02-24T01:21:48.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T01:21:48.641Z] [2023-02-24T01:21:48.641Z] Login Succeeded [2023-02-24T01:21:48.641Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T01:21:48.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-24T01:21:48.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T01:21:48.700Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-02-24T01:21:48.700Z] 668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:21:48.700Z] latest [2023-02-24T01:21:48.700Z] 3.0.0-dev.16 [2023-02-24T01:21:48.700Z] 668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:21:48.700Z] main [2023-02-24T01:21:48.700Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:49.032Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:49.366Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:21:49.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-24T01:21:49.366Z] 1242cd4a681d: Preparing [2023-02-24T01:21:49.366Z] ccae20a69677: Preparing [2023-02-24T01:21:49.366Z] 624f9abfa7ed: Preparing [2023-02-24T01:21:49.366Z] b69d61c8fac0: Preparing [2023-02-24T01:21:49.366Z] f70ee36035b9: Preparing [2023-02-24T01:21:49.366Z] f70ee36035b9: Layer already exists [2023-02-24T01:21:49.632Z] ccae20a69677: Pushed [2023-02-24T01:21:49.632Z] b69d61c8fac0: Pushed [2023-02-24T01:21:49.632Z] 624f9abfa7ed: Pushed [2023-02-24T01:21:57.836Z] 1242cd4a681d: Pushed [2023-02-24T01:21:57.836Z] 668751ae10c747c3d9f58507713cbcf82909e340: digest: sha256:317fc92565d37f11a0ccce94e9c92c0d0f1c0188b6e2d023014e5ab403b23d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:58.189Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:58.531Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-24T01:21:58.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-24T01:21:58.531Z] 1242cd4a681d: Preparing [2023-02-24T01:21:58.531Z] ccae20a69677: Preparing [2023-02-24T01:21:58.531Z] 624f9abfa7ed: Preparing [2023-02-24T01:21:58.531Z] b69d61c8fac0: Preparing [2023-02-24T01:21:58.531Z] f70ee36035b9: Preparing [2023-02-24T01:21:58.531Z] 1242cd4a681d: Layer already exists [2023-02-24T01:21:58.531Z] ccae20a69677: Layer already exists [2023-02-24T01:21:58.531Z] 624f9abfa7ed: Layer already exists [2023-02-24T01:21:58.531Z] f70ee36035b9: Layer already exists [2023-02-24T01:21:58.531Z] b69d61c8fac0: Layer already exists [2023-02-24T01:21:58.531Z] latest: digest: sha256:317fc92565d37f11a0ccce94e9c92c0d0f1c0188b6e2d023014e5ab403b23d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:59.147Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:21:59.487Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.16 [2023-02-24T01:21:59.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-24T01:21:59.487Z] 1242cd4a681d: Preparing [2023-02-24T01:21:59.487Z] ccae20a69677: Preparing [2023-02-24T01:21:59.487Z] 624f9abfa7ed: Preparing [2023-02-24T01:21:59.487Z] b69d61c8fac0: Preparing [2023-02-24T01:21:59.487Z] f70ee36035b9: Preparing [2023-02-24T01:21:59.487Z] b69d61c8fac0: Layer already exists [2023-02-24T01:21:59.487Z] 624f9abfa7ed: Layer already exists [2023-02-24T01:21:59.487Z] ccae20a69677: Layer already exists [2023-02-24T01:21:59.487Z] f70ee36035b9: Layer already exists [2023-02-24T01:21:59.487Z] 1242cd4a681d: Layer already exists [2023-02-24T01:21:59.487Z] 3.0.0-dev.16: digest: sha256:317fc92565d37f11a0ccce94e9c92c0d0f1c0188b6e2d023014e5ab403b23d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:00.122Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:00.457Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:22:00.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-24T01:22:00.457Z] 1242cd4a681d: Preparing [2023-02-24T01:22:00.457Z] ccae20a69677: Preparing [2023-02-24T01:22:00.457Z] 624f9abfa7ed: Preparing [2023-02-24T01:22:00.457Z] b69d61c8fac0: Preparing [2023-02-24T01:22:00.457Z] f70ee36035b9: Preparing [2023-02-24T01:22:00.457Z] 1242cd4a681d: Layer already exists [2023-02-24T01:22:00.457Z] 624f9abfa7ed: Layer already exists [2023-02-24T01:22:00.457Z] f70ee36035b9: Layer already exists [2023-02-24T01:22:00.457Z] ccae20a69677: Layer already exists [2023-02-24T01:22:00.457Z] b69d61c8fac0: Layer already exists [2023-02-24T01:22:00.457Z] 668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16: digest: sha256:317fc92565d37f11a0ccce94e9c92c0d0f1c0188b6e2d023014e5ab403b23d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:00.797Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:01.145Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-02-24T01:22:01.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-24T01:22:01.145Z] 1242cd4a681d: Preparing [2023-02-24T01:22:01.145Z] ccae20a69677: Preparing [2023-02-24T01:22:01.145Z] 624f9abfa7ed: Preparing [2023-02-24T01:22:01.145Z] b69d61c8fac0: Preparing [2023-02-24T01:22:01.145Z] f70ee36035b9: Preparing [2023-02-24T01:22:01.145Z] 1242cd4a681d: Layer already exists [2023-02-24T01:22:01.145Z] b69d61c8fac0: Layer already exists [2023-02-24T01:22:01.145Z] f70ee36035b9: Layer already exists [2023-02-24T01:22:01.145Z] ccae20a69677: Layer already exists [2023-02-24T01:22:01.145Z] 624f9abfa7ed: Layer already exists [2023-02-24T01:22:01.145Z] main: digest: sha256:317fc92565d37f11a0ccce94e9c92c0d0f1c0188b6e2d023014e5ab403b23d7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-24T01:22:01.188Z] ===================================================== [Pipeline] echo [2023-02-24T01:22:01.195Z] taggedImages: [2023-02-24T01:22:01.195Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340 [2023-02-24T01:22:01.195Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-24T01:22:01.195Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.16 [2023-02-24T01:22:01.195Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:668751ae10c747c3d9f58507713cbcf82909e340-3.0.0-dev.16 [2023-02-24T01:22:01.195Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:01.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T01:22:01.621Z] [2023-02-24T01:22:01.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:01.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T01:22:01.979Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T01:22:01.979Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T01:22:01.979Z] 04944245beec: Pulling fs layer [2023-02-24T01:22:01.979Z] 699f458cf7ca: Pulling fs layer [2023-02-24T01:22:01.979Z] 765212b225bb: Pulling fs layer [2023-02-24T01:22:01.979Z] f23df028b6ca: Pulling fs layer [2023-02-24T01:22:01.979Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T01:22:01.979Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T01:22:01.979Z] 765212b225bb: Waiting [2023-02-24T01:22:01.979Z] f23df028b6ca: Waiting [2023-02-24T01:22:01.979Z] d65c8cfc05b1: Waiting [2023-02-24T01:22:01.979Z] 2437ff75d9bd: Waiting [2023-02-24T01:22:02.263Z] 04944245beec: Verifying Checksum [2023-02-24T01:22:02.263Z] 04944245beec: Download complete [2023-02-24T01:22:02.263Z] 765212b225bb: Verifying Checksum [2023-02-24T01:22:02.263Z] 765212b225bb: Download complete [2023-02-24T01:22:02.263Z] f23df028b6ca: Download complete [2023-02-24T01:22:02.263Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T01:22:02.263Z] d65c8cfc05b1: Download complete [2023-02-24T01:22:02.555Z] 699f458cf7ca: Verifying Checksum [2023-02-24T01:22:02.555Z] 699f458cf7ca: Download complete [2023-02-24T01:22:02.833Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T01:22:02.833Z] 8998bd30e6a1: Download complete [2023-02-24T01:22:05.449Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T01:22:05.449Z] 2437ff75d9bd: Download complete [2023-02-24T01:22:06.857Z] 8998bd30e6a1: Pull complete [2023-02-24T01:22:07.131Z] 04944245beec: Pull complete [2023-02-24T01:22:08.540Z] 699f458cf7ca: Pull complete [2023-02-24T01:22:08.810Z] 765212b225bb: Pull complete [2023-02-24T01:22:09.777Z] f23df028b6ca: Pull complete [2023-02-24T01:22:09.777Z] d65c8cfc05b1: Pull complete [2023-02-24T01:22:24.765Z] 2437ff75d9bd: Pull complete [2023-02-24T01:22:24.765Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T01:22:24.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T01:22:24.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:22:24.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2023-02-24T01:22:25.034Z] $ 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/87 -v /w/workspace/device-virtual-go/87:/w/workspace/device-virtual-go/87:rw,z -v /w/workspace/device-virtual-go/87@tmp:/w/workspace/device-virtual-go/87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-24T01:22:27.604Z] $ docker top e065ddae0cc5809177484d13edf6f9ef050bf77c1c413d6b64de37a35f0d0b6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:22:28.119Z] ---> job-cost.sh [2023-02-24T01:22:28.384Z] lf-activate-venv: SKIPPING [2023-02-24T01:22:28.384Z] INFO: No Stack... [2023-02-24T01:22:28.650Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T01:22:29.605Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T01:22:30.243Z] + cut -d, -f6 [2023-02-24T01:22:30.243Z] + cat /w/workspace/device-virtual-go/87/archives/cost.csv [Pipeline] lock [2023-02-24T01:22:30.314Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [2023-02-24T01:22:30.326Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] did not exist. Created. [2023-02-24T01:22:30.326Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T01:22:30.981Z] /w/workspace/device-virtual-go/87@tmp/durable-f025d65f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T01:22:31.635Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T01:22:31.657Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T01:22:31.711Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T01:22:31.717Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T01:22:31.727Z] $ docker stop --time=1 e065ddae0cc5809177484d13edf6f9ef050bf77c1c413d6b64de37a35f0d0b6a [2023-02-24T01:22:34.265Z] $ docker rm -f --volumes e065ddae0cc5809177484d13edf6f9ef050bf77c1c413d6b64de37a35f0d0b6a [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 [2023-02-24T01:22:34.677Z] provisioning config files... [2023-02-24T01:22:34.684Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12486261725235190662tmp [Pipeline] { [Pipeline] sh [2023-02-24T01:22:34.974Z] + set +x [2023-02-24T01:22:34.974Z] + curl -s https://codecov.io/bash [2023-02-24T01:22:34.974Z] + bash -s -- [2023-02-24T01:22:34.974Z] [2023-02-24T01:22:34.974Z] _____ _ [2023-02-24T01:22:34.974Z] / ____| | | [2023-02-24T01:22:34.974Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T01:22:34.974Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T01:22:34.974Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T01:22:34.974Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T01:22:34.974Z] Bash-1.0.6 [2023-02-24T01:22:34.974Z] [2023-02-24T01:22:34.974Z] [2023-02-24T01:22:34.974Z] ==> git version 2.25.1 found [2023-02-24T01:22:34.974Z] ==> 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 [2023-02-24T01:22:34.974Z] Release-Date: 2020-01-08 [2023-02-24T01:22:34.974Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-24T01:22:34.974Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T01:22:34.974Z] ==> Jenkins CI detected. [2023-02-24T01:22:34.974Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-02-24T01:22:34.974Z] project root: . [2023-02-24T01:22:34.974Z] --> token set from env [2023-02-24T01:22:34.974Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T01:22:35.233Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T01:22:35.233Z] ==> Python coveragepy not found [2023-02-24T01:22:35.233Z] ==> Searching for coverage reports in: [2023-02-24T01:22:35.233Z] + . [2023-02-24T01:22:35.233Z] -> Found 1 reports [2023-02-24T01:22:35.233Z] ==> Detecting git/mercurial file structure [2023-02-24T01:22:35.233Z] ==> Reading reports [2023-02-24T01:22:35.233Z] + ./coverage.out bytes=44128 [2023-02-24T01:22:35.233Z] ==> Appending adjustments [2023-02-24T01:22:35.233Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T01:22:35.233Z] + Found adjustments [2023-02-24T01:22:35.233Z] ==> Gzipping contents [2023-02-24T01:22:35.233Z] 8.0K /tmp/codecov.ToYMoy.gz [2023-02-24T01:22:35.233Z] ==> Uploading reports [2023-02-24T01:22:35.233Z] url: https://codecov.io [2023-02-24T01:22:35.233Z] query: branch=main&commit=668751ae10c747c3d9f58507713cbcf82909e340&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-24T01:22:35.233Z] -> Pinging Codecov [2023-02-24T01:22:35.233Z] 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=668751ae10c747c3d9f58507713cbcf82909e340&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-24T01:22:35.492Z] -> Uploading to [2023-02-24T01:22:35.492Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/5E52B4B073DB2E39498172D8E973AA87/668751ae10c747c3d9f58507713cbcf82909e340/3f8c7c58-52a1-4076-b06d-ae43d22b6d2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T012235Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a37770359ef7b663dbe86d72e5b766e52b8d7b88abc141d20d0fe4a28c53508e [2023-02-24T01:22:35.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T01:22:35.492Z] Dload Upload Total Spent Left Speed [2023-02-24T01:22:35.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 20731 --:--:-- --:--:-- --:--:-- 20731 [2023-02-24T01:22:35.752Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] } [2023-02-24T01:22:35.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-24T01:22:35.962Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-24T01:22:35.975Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:36.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-24T01:22:36.264Z] [2023-02-24T01:22:36.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:22:36.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-24T01:22:36.566Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-24T01:22:36.566Z] df9b9388f04a: Pulling fs layer [2023-02-24T01:22:36.566Z] 52dc419b0ee2: Pulling fs layer [2023-02-24T01:22:36.566Z] 25bc292e5bac: Pulling fs layer [2023-02-24T01:22:36.566Z] 114826534d7a: Pulling fs layer [2023-02-24T01:22:36.566Z] 4657fd5d0bcf: Pulling fs layer [2023-02-24T01:22:36.566Z] 6ad1cebc031e: Pulling fs layer [2023-02-24T01:22:36.566Z] 8a3aa393b2d8: Pulling fs layer [2023-02-24T01:22:36.566Z] 4657fd5d0bcf: Waiting [2023-02-24T01:22:36.566Z] 8a3aa393b2d8: Waiting [2023-02-24T01:22:36.566Z] 114826534d7a: Waiting [2023-02-24T01:22:36.566Z] 6ad1cebc031e: Waiting [2023-02-24T01:22:36.566Z] 25bc292e5bac: Verifying Checksum [2023-02-24T01:22:36.566Z] 25bc292e5bac: Download complete [2023-02-24T01:22:36.566Z] 52dc419b0ee2: Verifying Checksum [2023-02-24T01:22:36.566Z] 52dc419b0ee2: Download complete [2023-02-24T01:22:36.566Z] 4657fd5d0bcf: Verifying Checksum [2023-02-24T01:22:36.566Z] 4657fd5d0bcf: Download complete [2023-02-24T01:22:36.566Z] df9b9388f04a: Download complete [2023-02-24T01:22:36.825Z] df9b9388f04a: Pull complete [2023-02-24T01:22:36.825Z] 6ad1cebc031e: Verifying Checksum [2023-02-24T01:22:36.825Z] 6ad1cebc031e: Download complete [2023-02-24T01:22:36.825Z] 52dc419b0ee2: Pull complete [2023-02-24T01:22:37.085Z] 25bc292e5bac: Pull complete [2023-02-24T01:22:37.344Z] 114826534d7a: Download complete [2023-02-24T01:22:37.601Z] 8a3aa393b2d8: Verifying Checksum [2023-02-24T01:22:37.601Z] 8a3aa393b2d8: Download complete [2023-02-24T01:22:40.883Z] 114826534d7a: Pull complete [2023-02-24T01:22:40.883Z] 4657fd5d0bcf: Pull complete [2023-02-24T01:22:40.883Z] 6ad1cebc031e: Pull complete [2023-02-24T01:22:43.412Z] 8a3aa393b2d8: Pull complete [2023-02-24T01:22:43.672Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-24T01:22:43.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-24T01:22:43.672Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:22:43.754Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:22:43.781Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-24T01:22:47.464Z] $ docker top e2c01c4e8ec64eb246aeba66cd957c538ca8449bf48116798a76854cb08cf0c3 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-24T01:22:47.534Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-02-24T01:22:47.810Z] + set -o pipefail [2023-02-24T01:22:47.810Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/92c3effd-231c-41a6-9346-f42eebf56263 [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] [2023-02-24T01:22:55.931Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-24T01:22:55.931Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-24T01:22:55.931Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-24T01:22:55.934Z] $ docker stop --time=1 e2c01c4e8ec64eb246aeba66cd957c538ca8449bf48116798a76854cb08cf0c3 [2023-02-24T01:22:58.727Z] $ docker rm -f --volumes e2c01c4e8ec64eb246aeba66cd957c538ca8449bf48116798a76854cb08cf0c3 [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 [2023-02-24T01:22:59.412Z] + git log --format=format:%s -1 668751ae10c747c3d9f58507713cbcf82909e340 [Pipeline] sh [2023-02-24T01:22:59.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T01:22:59.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:00.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:23:00.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:23:00.082Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:23:00.104Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T01:23:00.580Z] $ docker top b46852b2727518f1d0f97658b4cee54dcdaab6566245dec1309950e686c9e716 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T01:23:00.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T01:23:00.682Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T01:23:00.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T01:23:00.798Z] $ docker exec b46852b2727518f1d0f97658b4cee54dcdaab6566245dec1309950e686c9e716 ssh-agent [2023-02-24T01:23:00.917Z] SSH_AUTH_SOCK=/tmp/ssh-XHFl01c53Y7l/agent.32 [2023-02-24T01:23:00.917Z] SSH_AGENT_PID=38 [2023-02-24T01:23:00.921Z] Running ssh-add (command line suppressed) [2023-02-24T01:23:01.023Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7472540905942683684.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7472540905942683684.key) [2023-02-24T01:23:01.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T01:23:01.327Z] + git semver tag [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,517 [run_tag] DEBUG tag force:False [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,517 [check_head_tag] DEBUG check head tag [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,518 [execute] INFO git cat-file --batch-check [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,521 [execute] INFO git cat-file --batch [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,541 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,541 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,542 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-24T01:23:01.587Z] 2023-02-24 01:23:01,546 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:01.587Z] 3.0.0-dev.16 [Pipeline] } [2023-02-24T01:23:01.589Z] $ docker exec --env ******** --env ******** b46852b2727518f1d0f97658b4cee54dcdaab6566245dec1309950e686c9e716 ssh-agent -k [2023-02-24T01:23:01.692Z] unset SSH_AUTH_SOCK; [2023-02-24T01:23:01.693Z] unset SSH_AGENT_PID; [2023-02-24T01:23:01.693Z] echo Agent pid 38 killed; [2023-02-24T01:23:01.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T01:23:02.007Z] + git semver [Pipeline] } [2023-02-24T01:23:02.271Z] $ docker stop --time=1 b46852b2727518f1d0f97658b4cee54dcdaab6566245dec1309950e686c9e716 [2023-02-24T01:23:03.568Z] $ docker rm -f --volumes b46852b2727518f1d0f97658b4cee54dcdaab6566245dec1309950e686c9e716 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:04.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-24T01:23:04.002Z] [2023-02-24T01:23:04.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:04.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-24T01:23:04.308Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-24T01:23:04.308Z] ab5ef0e58194: Pulling fs layer [2023-02-24T01:23:04.308Z] 9712f1f96733: Pulling fs layer [2023-02-24T01:23:04.308Z] 63f879dbbcfc: Pulling fs layer [2023-02-24T01:23:04.308Z] 0d9ebad4ef96: Pulling fs layer [2023-02-24T01:23:04.308Z] e9a5061849ea: Pulling fs layer [2023-02-24T01:23:04.308Z] d747dcd14b5f: Pulling fs layer [2023-02-24T01:23:04.308Z] 2de7ff778b66: Pulling fs layer [2023-02-24T01:23:04.308Z] 0d9ebad4ef96: Waiting [2023-02-24T01:23:04.308Z] e9a5061849ea: Waiting [2023-02-24T01:23:04.308Z] d747dcd14b5f: Waiting [2023-02-24T01:23:04.308Z] 2de7ff778b66: Waiting [2023-02-24T01:23:04.308Z] 9712f1f96733: Verifying Checksum [2023-02-24T01:23:04.308Z] 9712f1f96733: Download complete [2023-02-24T01:23:04.888Z] 63f879dbbcfc: Verifying Checksum [2023-02-24T01:23:04.888Z] 63f879dbbcfc: Download complete [2023-02-24T01:23:04.888Z] 0d9ebad4ef96: Verifying Checksum [2023-02-24T01:23:04.888Z] 0d9ebad4ef96: Download complete [2023-02-24T01:23:05.146Z] e9a5061849ea: Verifying Checksum [2023-02-24T01:23:05.146Z] e9a5061849ea: Download complete [2023-02-24T01:23:05.146Z] d747dcd14b5f: Verifying Checksum [2023-02-24T01:23:05.146Z] d747dcd14b5f: Download complete [2023-02-24T01:23:05.146Z] ab5ef0e58194: Verifying Checksum [2023-02-24T01:23:05.146Z] ab5ef0e58194: Download complete [2023-02-24T01:23:05.146Z] 2de7ff778b66: Verifying Checksum [2023-02-24T01:23:05.146Z] 2de7ff778b66: Download complete [2023-02-24T01:23:08.437Z] ab5ef0e58194: Pull complete [2023-02-24T01:23:08.437Z] 9712f1f96733: Pull complete [2023-02-24T01:23:08.694Z] 63f879dbbcfc: Pull complete [2023-02-24T01:23:12.880Z] 0d9ebad4ef96: Pull complete [2023-02-24T01:23:13.138Z] e9a5061849ea: Pull complete [2023-02-24T01:23:13.138Z] d747dcd14b5f: Pull complete [2023-02-24T01:23:14.513Z] 2de7ff778b66: Pull complete [2023-02-24T01:23:14.772Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-24T01:23:15.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-24T01:23:15.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:23:15.116Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:23:15.153Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-24T01:23:21.465Z] $ docker top 85ff8b2caf0116ef90c3fb570983135da715c32cc8413e0e28ccc99b3333d8dd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:23:21.544Z] provisioning config files... [2023-02-24T01:23:21.550Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12444341562769474156tmp [2023-02-24T01:23:21.559Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17391619364113448050tmp [2023-02-24T01:23:21.567Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6193098844201357677tmp [Pipeline] { [Pipeline] echo [2023-02-24T01:23:21.582Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:21.862Z] ---> sigul-configuration.sh [2023-02-24T01:23:21.862Z] gpg: directory `/root/.gnupg' created [2023-02-24T01:23:21.862Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-24T01:23:21.862Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-24T01:23:21.862Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-24T01:23:21.862Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-24T01:23:21.862Z] gpg: CAST5 encrypted data [2023-02-24T01:23:21.862Z] gpg: encrypted with 1 passphrase [2023-02-24T01:23:21.862Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-24T01:23:22.147Z] + mkdir /home/jenkins [2023-02-24T01:23:22.148Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-24T01:23:22.435Z] + 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 [2023-02-24T01:23:22.444Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:22.727Z] ---> sigul-install.sh [2023-02-24T01:23:22.727Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-24T01:23:23.013Z] + git tag --list [2023-02-24T01:23:23.013Z] v1.0.0 [2023-02-24T01:23:23.013Z] v1.1.0 [2023-02-24T01:23:23.013Z] v1.1.1 [2023-02-24T01:23:23.013Z] v1.2.1 [2023-02-24T01:23:23.013Z] v1.2.2 [2023-02-24T01:23:23.013Z] v1.2.3 [2023-02-24T01:23:23.013Z] v1.3.0 [2023-02-24T01:23:23.013Z] v1.3.1 [2023-02-24T01:23:23.013Z] v2.0.0 [2023-02-24T01:23:23.013Z] v2.1.0 [2023-02-24T01:23:23.013Z] v2.1.1 [2023-02-24T01:23:23.013Z] v2.1.1-dev.1 [2023-02-24T01:23:23.013Z] v2.1.1-dev.2 [2023-02-24T01:23:23.013Z] v2.2.0 [2023-02-24T01:23:23.013Z] v2.2.1-dev.1 [2023-02-24T01:23:23.013Z] v2.2.1-dev.2 [2023-02-24T01:23:23.013Z] v2.2.1-dev.3 [2023-02-24T01:23:23.013Z] v2.2.1-dev.4 [2023-02-24T01:23:23.013Z] v2.2.1-dev.5 [2023-02-24T01:23:23.013Z] v2.2.1-dev.6 [2023-02-24T01:23:23.013Z] v2.2.1-dev.7 [2023-02-24T01:23:23.013Z] v2.2.1-dev.8 [2023-02-24T01:23:23.013Z] v2.3.0 [2023-02-24T01:23:23.013Z] v2.3.0-dev.10 [2023-02-24T01:23:23.013Z] v2.3.0-dev.11 [2023-02-24T01:23:23.013Z] v2.3.0-dev.12 [2023-02-24T01:23:23.013Z] v2.3.0-dev.13 [2023-02-24T01:23:23.013Z] v2.3.0-dev.14 [2023-02-24T01:23:23.013Z] v2.3.0-dev.15 [2023-02-24T01:23:23.013Z] v2.3.0-dev.16 [2023-02-24T01:23:23.013Z] v2.3.0-dev.17 [2023-02-24T01:23:23.013Z] v2.3.0-dev.18 [2023-02-24T01:23:23.013Z] v2.3.0-dev.19 [2023-02-24T01:23:23.013Z] v2.3.0-dev.20 [2023-02-24T01:23:23.013Z] v2.3.0-dev.21 [2023-02-24T01:23:23.013Z] v2.3.0-dev.22 [2023-02-24T01:23:23.013Z] v2.3.0-dev.23 [2023-02-24T01:23:23.013Z] v2.3.0-dev.24 [2023-02-24T01:23:23.013Z] v2.3.0-dev.25 [2023-02-24T01:23:23.013Z] v2.3.0-dev.26 [2023-02-24T01:23:23.013Z] v2.3.0-dev.27 [2023-02-24T01:23:23.013Z] v2.3.0-dev.28 [2023-02-24T01:23:23.013Z] v2.3.0-dev.29 [2023-02-24T01:23:23.013Z] v2.3.0-dev.30 [2023-02-24T01:23:23.013Z] v2.3.0-dev.8 [2023-02-24T01:23:23.013Z] v2.3.0-dev.9 [2023-02-24T01:23:23.013Z] v3.0.0-dev.1 [2023-02-24T01:23:23.013Z] v3.0.0-dev.10 [2023-02-24T01:23:23.013Z] v3.0.0-dev.11 [2023-02-24T01:23:23.013Z] v3.0.0-dev.12 [2023-02-24T01:23:23.013Z] v3.0.0-dev.13 [2023-02-24T01:23:23.013Z] v3.0.0-dev.14 [2023-02-24T01:23:23.013Z] v3.0.0-dev.15 [2023-02-24T01:23:23.013Z] v3.0.0-dev.16 [2023-02-24T01:23:23.013Z] v3.0.0-dev.2 [2023-02-24T01:23:23.013Z] v3.0.0-dev.3 [2023-02-24T01:23:23.013Z] v3.0.0-dev.4 [2023-02-24T01:23:23.013Z] v3.0.0-dev.5 [2023-02-24T01:23:23.013Z] v3.0.0-dev.6 [2023-02-24T01:23:23.013Z] v3.0.0-dev.7 [2023-02-24T01:23:23.013Z] v3.0.0-dev.8 [2023-02-24T01:23:23.013Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-24T01:23:23.303Z] + lftools sign git-tag v3.0.0-dev.16 [2023-02-24T01:23:23.872Z] Signing Git tag with Sigul... [2023-02-24T01:23:23.872Z] Signing v3.0.0-dev.16 [Pipeline] echo [2023-02-24T01:23:24.447Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:24.730Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-24T01:23:24.737Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-24T01:23:24.745Z] $ docker stop --time=1 85ff8b2caf0116ef90c3fb570983135da715c32cc8413e0e28ccc99b3333d8dd [2023-02-24T01:23:26.042Z] $ docker rm -f --volumes 85ff8b2caf0116ef90c3fb570983135da715c32cc8413e0e28ccc99b3333d8dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-24T01:23:26.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T01:23:26.445Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:26.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:23:26.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:23:26.810Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:23:26.831Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T01:23:27.191Z] $ docker top ddf14aa38733f4615af965849aba63bc6df81a4c7464715b70e2c7a6bde35a0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T01:23:27.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T01:23:27.287Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T01:23:27.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T01:23:27.390Z] $ docker exec ddf14aa38733f4615af965849aba63bc6df81a4c7464715b70e2c7a6bde35a0c ssh-agent [2023-02-24T01:23:27.514Z] SSH_AUTH_SOCK=/tmp/ssh-DMMCIR8r2gnj/agent.31 [2023-02-24T01:23:27.514Z] SSH_AGENT_PID=37 [2023-02-24T01:23:27.518Z] Running ssh-add (command line suppressed) [2023-02-24T01:23:27.610Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14291743126354319650.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14291743126354319650.key) [2023-02-24T01:23:27.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T01:23:27.912Z] + git semver bump pre [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [bump_version] DEBUG bumped version:3.0.0-dev.17 [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,077 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,079 [execute] INFO git cat-file --batch-check [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,085 [execute] INFO git cat-file --batch [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T01:23:28.171Z] 2023-02-24 01:23:28,090 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:28.171Z] 3.0.0-dev.17 [Pipeline] } [2023-02-24T01:23:28.174Z] $ docker exec --env ******** --env ******** ddf14aa38733f4615af965849aba63bc6df81a4c7464715b70e2c7a6bde35a0c ssh-agent -k [2023-02-24T01:23:28.271Z] unset SSH_AUTH_SOCK; [2023-02-24T01:23:28.271Z] unset SSH_AGENT_PID; [2023-02-24T01:23:28.271Z] echo Agent pid 37 killed; [2023-02-24T01:23:28.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T01:23:28.596Z] + git semver [Pipeline] } [2023-02-24T01:23:28.860Z] $ docker stop --time=1 ddf14aa38733f4615af965849aba63bc6df81a4c7464715b70e2c7a6bde35a0c [2023-02-24T01:23:30.130Z] $ docker rm -f --volumes ddf14aa38733f4615af965849aba63bc6df81a4c7464715b70e2c7a6bde35a0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T01:23:30.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T01:23:30.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:30.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T01:23:30.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:23:30.856Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:23:30.877Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T01:23:31.207Z] $ docker top 5244b6657d21b8a8eff20680ad5e1792f1332082456a2ea7062783a9070163f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T01:23:31.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T01:23:31.304Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T01:23:31.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T01:23:31.426Z] $ docker exec 5244b6657d21b8a8eff20680ad5e1792f1332082456a2ea7062783a9070163f1 ssh-agent [2023-02-24T01:23:31.545Z] SSH_AUTH_SOCK=/tmp/ssh-UFlh3elo67Hw/agent.33 [2023-02-24T01:23:31.545Z] SSH_AGENT_PID=39 [2023-02-24T01:23:31.549Z] Running ssh-add (command line suppressed) [2023-02-24T01:23:31.643Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5456942465743782917.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5456942465743782917.key) [2023-02-24T01:23:31.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T01:23:32.075Z] + git semver push [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,249 [run_push] DEBUG push [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,250 [execute] INFO git cat-file --batch-check [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,254 [execute] INFO git rev-list 429271326710d66077124ee7e6bed4ef1248dc92 -- [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,254 [execute] DEBUG Popen(['git', 'rev-list', '429271326710d66077124ee7e6bed4ef1248dc92', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,263 [execute] INFO git fetch -v origin [2023-02-24T01:23:32.335Z] 2023-02-24 01:23:32,264 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-24T01:23:32.905Z] 2023-02-24 01:23:32,835 [run_push] DEBUG no remote changes detected [2023-02-24T01:23:32.905Z] 2023-02-24 01:23:32,836 [execute] INFO git push origin semver [2023-02-24T01:23:32.905Z] 2023-02-24 01:23:32,836 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-24T01:23:33.842Z] 2023-02-24 01:23:33,633 [run_push] DEBUG push all version tags [2023-02-24T01:23:33.842Z] 2023-02-24 01:23:33,633 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-24T01:23:33.842Z] 2023-02-24 01:23:33,634 [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) [2023-02-24T01:23:34.779Z] 2023-02-24 01:23:34,504 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-24T01:23:34.779Z] 3.0.0-dev.17 [Pipeline] } [2023-02-24T01:23:34.782Z] $ docker exec --env ******** --env ******** 5244b6657d21b8a8eff20680ad5e1792f1332082456a2ea7062783a9070163f1 ssh-agent -k [2023-02-24T01:23:34.875Z] unset SSH_AUTH_SOCK; [2023-02-24T01:23:34.875Z] unset SSH_AGENT_PID; [2023-02-24T01:23:34.875Z] echo Agent pid 39 killed; [2023-02-24T01:23:34.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T01:23:35.201Z] + git semver [Pipeline] } [2023-02-24T01:23:35.462Z] $ docker stop --time=1 5244b6657d21b8a8eff20680ad5e1792f1332082456a2ea7062783a9070163f1 [2023-02-24T01:23:36.752Z] $ docker rm -f --volumes 5244b6657d21b8a8eff20680ad5e1792f1332082456a2ea7062783a9070163f1 [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 [2023-02-24T01:23:37.346Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-02-24T01:23:37.346Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-24T01:23:37.346Z] total 16 [2023-02-24T01:23:37.346Z] drwxr-xr-x 3 root root 4096 Feb 24 01:13 . [2023-02-24T01:23:37.346Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 01:23 .. [2023-02-24T01:23:37.346Z] drwxr-xr-x 2 root root 4096 Feb 24 01:13 cost [2023-02-24T01:23:37.346Z] -rw-r--r-- 1 root root 88 Feb 24 01:13 cost.csv [2023-02-24T01:23:37.346Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-24T01:23:37.346Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-24T01:23:37.346Z] total 16 [2023-02-24T01:23:37.346Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 01:13 . [2023-02-24T01:23:37.346Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 01:23 .. [2023-02-24T01:23:37.346Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 01:13 cost [2023-02-24T01:23:37.346Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 24 01:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:37.637Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:38.571Z] ---> package-listing.sh [2023-02-24T01:23:38.571Z] ++ facter osfamily [2023-02-24T01:23:38.571Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T01:23:38.571Z] + OS_FAMILY=debian [2023-02-24T01:23:38.571Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-02-24T01:23:38.571Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T01:23:38.571Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T01:23:38.571Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T01:23:38.571Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T01:23:38.571Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-24T01:23:38.571Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T01:23:38.571Z] + case "${OS_FAMILY}" in [2023-02-24T01:23:38.571Z] + dpkg -l [2023-02-24T01:23:38.571Z] + grep '^ii' [2023-02-24T01:23:38.571Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T01:23:38.571Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T01:23:38.571Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T01:23:38.571Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-24T01:23:38.571Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-02-24T01:23:38.571Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-02-24T01:23:38.606Z] 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 [2023-02-24T01:23:38.931Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T01:23:39.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T01:23:39.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T01:23:39.321Z] prd-ubuntu20.04-docker-8c-8g-7318 does not seem to be running inside a container [2023-02-24T01:23:39.347Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-24T01:23:39.566Z] $ docker top 03db34cba837fb9710b5beccca7683c062b37342686ccaedefe1169e7c880844 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T01:23:39.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T01:23:40.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T01:23:40.496Z] + ls /var/log/sa-host [2023-02-24T01:23:40.496Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T01:23:40.671Z] provisioning config files... [2023-02-24T01:23:40.679Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config914185220994167230tmp [Pipeline] { [Pipeline] echo [2023-02-24T01:23:40.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:40.978Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T01:23:40.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:41.318Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T01:23:41.328Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:41.613Z] ---> sudo-logs.sh [2023-02-24T01:23:41.613Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T01:23:41.637Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:41.924Z] ---> job-cost.sh [2023-02-24T01:23:41.924Z] lf-activate-venv: SKIPPING [2023-02-24T01:23:41.924Z] DEBUG: total: 0.2199999988079071 [2023-02-24T01:23:41.924Z] INFO: Retrieving Stack Cost... [2023-02-24T01:23:42.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T01:23:42.751Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T01:23:42.764Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T01:23:43.054Z] ---> logs-deploy.sh [2023-02-24T01:23:43.054Z] lf-activate-venv: SKIPPING [2023-02-24T01:23:43.054Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/87 [2023-02-24T01:23:43.054Z] INFO: archiving workspace using pattern(s): [2023-02-24T01:23:43.992Z] Archives upload complete. [2023-02-24T01:23:44.252Z] INFO: archiving logs to Nexus [2023-02-24T01:23:44.821Z] ---> uname -a: [2023-02-24T01:23:44.821Z] Linux prd-ubuntu20-04-docker-8c-8g-7318 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-24T01:23:44.821Z] [2023-02-24T01:23:44.821Z]