Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bac9b22eb31fd3371358eef67a168645ee27d12 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-ssh5663867026708266650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14577342200353054111.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13905303694827543783.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12924574198920649976.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-ssh17557407440972466486.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.20 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-1542 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8bac9b22eb31fd3371358eef67a168645ee27d12 (main) Commit message: "fix: Add missing SDKVERSION variable in Makefile for version API (#415)" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bac9b22eb31fd3371358eef67a168645ee27d12 # timeout=10 > git rev-list --no-walk 178b9a158c9b2d1c2a09f5efb5db45d99958c0f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T15:15:44.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T15:15:44.619Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T15:15:44.634Z] ========================================================= [2023-07-19T15:15:44.635Z] EdgeX Global Pipelines Version Info [2023-07-19T15:15:44.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:15:45.345Z] ------------------- [2023-07-19T15:15:45.346Z] stable info: [2023-07-19T15:15:45.346Z] ------------------- [2023-07-19T15:15:45.346Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T15:15:45.346Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T15:15:45.346Z] Message: update stable to v1.0.250 [2023-07-19T15:15:45.918Z] ------------------- [2023-07-19T15:15:45.918Z] experimental info: [2023-07-19T15:15:45.918Z] ------------------- [2023-07-19T15:15:45.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T15:15:45.918Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T15:15:45.918Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T15:15:46.085Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-07-19T15:15:46.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-07-19T15:15:46.106Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T15:15:46.123Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T15:15:46.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T15:15:46.157Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T15:15:46.176Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T15:15:46.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-19T15:15:46.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T15:15:46.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T15:15:46.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T15:15:46.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-07-19T15:15:46.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T15:15:46.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T15:15:46.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T15:15:46.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T15:15:46.329Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T15:15:46.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T15:15:46.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T15:15:46.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T15:15:46.389Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-19T15:15:46.402Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-19T15:15:46.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T15:15:46.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T15:15:46.450Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T15:15:46.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T15:15:46.477Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T15:15:46.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-19T15:15:46.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-19T15:15:46.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-19T15:15:46.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] echo [2023-07-19T15:15:46.541Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bac9b2 [Pipeline] echo [2023-07-19T15:15:46.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T15:15:46.595Z] provisioning config files... [2023-07-19T15:15:46.610Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15358462312621115534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:15:46.912Z] ---> docker-login.sh [2023-07-19T15:15:46.913Z] nexus3.edgexfoundry.org:10001 [2023-07-19T15:15:47.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:15:47.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:15:47.175Z] Configure a credential helper to remove this warning. See [2023-07-19T15:15:47.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:15:47.175Z] [2023-07-19T15:15:47.175Z] Login Succeeded [2023-07-19T15:15:47.175Z] nexus3.edgexfoundry.org:10002 [2023-07-19T15:15:47.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:15:47.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:15:47.175Z] Configure a credential helper to remove this warning. See [2023-07-19T15:15:47.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:15:47.175Z] [2023-07-19T15:15:47.175Z] Login Succeeded [2023-07-19T15:15:47.175Z] nexus3.edgexfoundry.org:10003 [2023-07-19T15:15:47.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:15:47.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:15:47.436Z] Configure a credential helper to remove this warning. See [2023-07-19T15:15:47.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:15:47.436Z] [2023-07-19T15:15:47.436Z] Login Succeeded [2023-07-19T15:15:47.436Z] nexus3.edgexfoundry.org:10004 [2023-07-19T15:15:47.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:15:47.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:15:47.436Z] Configure a credential helper to remove this warning. See [2023-07-19T15:15:47.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:15:47.436Z] [2023-07-19T15:15:47.436Z] Login Succeeded [2023-07-19T15:15:47.436Z] docker.io [2023-07-19T15:15:47.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:15:47.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:15:47.697Z] Configure a credential helper to remove this warning. See [2023-07-19T15:15:47.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:15:47.697Z] [2023-07-19T15:15:47.697Z] Login Succeeded [2023-07-19T15:15:47.697Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T15:15:47.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T15:15:48.077Z] + git rev-list -1 --merges 8bac9b22eb31fd3371358eef67a168645ee27d12~1..8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] echo [2023-07-19T15:15:48.128Z] -----------> git rev-list -1 --merges 8bac9b22eb31fd3371358eef67a168645ee27d12~1..8bac9b22eb31fd3371358eef67a168645ee27d12 8bac9b22eb31fd3371358eef67a168645ee27d12 [false] [Pipeline] sh [2023-07-19T15:15:48.415Z] + git log --format=format:%s -1 8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] echo [2023-07-19T15:15:48.428Z] ========================================================= [2023-07-19T15:15:48.428Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T15:15:48.428Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T15:15:48.766Z] + git log --format=format:%s -1 8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] echo [2023-07-19T15:15:48.776Z] [semverPrep] GIT_COMMIT: 8bac9b22eb31fd3371358eef67a168645ee27d12, Commit Message: fix: Add missing SDKVERSION variable in Makefile for version API (#415) [Pipeline] echo [2023-07-19T15:15:48.787Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T15:15:49.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T15:15:49.127Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T15:15:49.127Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T15:15:49.127Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T15:15:49.127Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T15:15:49.127Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T15:15:49.127Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:15:49.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:15:49.467Z] [2023-07-19T15:15:49.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:15:49.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:15:49.761Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T15:15:49.761Z] b85a868b505f: Pulling fs layer [2023-07-19T15:15:49.761Z] e2be974225ed: Pulling fs layer [2023-07-19T15:15:49.761Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T15:15:49.761Z] 988bab9f4d93: Pulling fs layer [2023-07-19T15:15:49.761Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T15:15:49.761Z] eaf3925da568: Pulling fs layer [2023-07-19T15:15:49.761Z] bab4dde63d76: Pulling fs layer [2023-07-19T15:15:49.761Z] bde34c3a00c8: Pulling fs layer [2023-07-19T15:15:49.761Z] b352a97aabf1: Pulling fs layer [2023-07-19T15:15:49.761Z] 4872d77fe225: Pulling fs layer [2023-07-19T15:15:49.761Z] 5851b861e8e6: Pulling fs layer [2023-07-19T15:15:49.761Z] 1469e6f7b9e6: Waiting [2023-07-19T15:15:49.761Z] eaf3925da568: Waiting [2023-07-19T15:15:49.761Z] b352a97aabf1: Waiting [2023-07-19T15:15:49.761Z] 988bab9f4d93: Waiting [2023-07-19T15:15:49.761Z] bab4dde63d76: Waiting [2023-07-19T15:15:49.761Z] 4872d77fe225: Waiting [2023-07-19T15:15:49.761Z] bde34c3a00c8: Waiting [2023-07-19T15:15:49.761Z] 5851b861e8e6: Waiting [2023-07-19T15:15:49.761Z] e2be974225ed: Download complete [2023-07-19T15:15:49.761Z] 988bab9f4d93: Download complete [2023-07-19T15:15:49.761Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T15:15:49.761Z] 1469e6f7b9e6: Download complete [2023-07-19T15:15:49.761Z] eaf3925da568: Verifying Checksum [2023-07-19T15:15:49.761Z] eaf3925da568: Download complete [2023-07-19T15:15:50.021Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T15:15:50.021Z] 339a4e72a1f5: Download complete [2023-07-19T15:15:50.021Z] bde34c3a00c8: Verifying Checksum [2023-07-19T15:15:50.021Z] bde34c3a00c8: Download complete [2023-07-19T15:15:50.021Z] b352a97aabf1: Download complete [2023-07-19T15:15:50.021Z] 4872d77fe225: Verifying Checksum [2023-07-19T15:15:50.021Z] 4872d77fe225: Download complete [2023-07-19T15:15:50.021Z] 5851b861e8e6: Download complete [2023-07-19T15:15:50.021Z] b85a868b505f: Verifying Checksum [2023-07-19T15:15:50.021Z] b85a868b505f: Download complete [2023-07-19T15:15:50.281Z] bab4dde63d76: Verifying Checksum [2023-07-19T15:15:50.281Z] bab4dde63d76: Download complete [2023-07-19T15:15:51.225Z] b85a868b505f: Pull complete [2023-07-19T15:15:51.225Z] e2be974225ed: Pull complete [2023-07-19T15:15:51.792Z] 339a4e72a1f5: Pull complete [2023-07-19T15:15:51.792Z] 988bab9f4d93: Pull complete [2023-07-19T15:15:52.050Z] 1469e6f7b9e6: Pull complete [2023-07-19T15:15:52.050Z] eaf3925da568: Pull complete [2023-07-19T15:15:53.955Z] bab4dde63d76: Pull complete [2023-07-19T15:15:53.955Z] bde34c3a00c8: Pull complete [2023-07-19T15:15:53.955Z] b352a97aabf1: Pull complete [2023-07-19T15:15:54.215Z] 4872d77fe225: Pull complete [2023-07-19T15:15:54.215Z] 5851b861e8e6: Pull complete [2023-07-19T15:15:54.215Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T15:15:54.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:15:54.215Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:15:54.311Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:15:54.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T15:15:58.387Z] $ docker top 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 -eo pid,comm [2023-07-19T15:15:58.430Z] 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-07-19T15:15:58.430Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T15:15:58.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T15:15:58.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T15:15:58.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T15:15:58.592Z] $ docker exec 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 ssh-agent [2023-07-19T15:15:58.690Z] SSH_AUTH_SOCK=/tmp/ssh-nq10Eep1GcCa/agent.31 [2023-07-19T15:15:58.690Z] SSH_AGENT_PID=37 [2023-07-19T15:15:58.697Z] Running ssh-add (command line suppressed) [2023-07-19T15:15:58.813Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_871664677608044258.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_871664677608044258.key) [2023-07-19T15:15:58.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T15:15:59.101Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T15:15:59.128Z] $ docker exec --env ******** --env ******** 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 ssh-agent -k [2023-07-19T15:15:59.212Z] unset SSH_AUTH_SOCK; [2023-07-19T15:15:59.212Z] unset SSH_AGENT_PID; [2023-07-19T15:15:59.212Z] echo Agent pid 37 killed; [2023-07-19T15:15:59.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T15:15:59.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T15:15:59.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T15:15:59.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T15:15:59.355Z] $ docker exec 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 ssh-agent [2023-07-19T15:15:59.452Z] SSH_AUTH_SOCK=/tmp/ssh-JCRJyQKtkdFG/agent.69 [2023-07-19T15:15:59.452Z] SSH_AGENT_PID=75 [2023-07-19T15:15:59.458Z] Running ssh-add (command line suppressed) [2023-07-19T15:15:59.571Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4035121672201903834.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4035121672201903834.key) [2023-07-19T15:15:59.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T15:15:59.861Z] + git semver init [2023-07-19T15:16:00.121Z] 2023-07-19 15:16:00,052 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T15:16:00.121Z] 2023-07-19 15:16:00,053 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-07-19T15:16:00.121Z] 2023-07-19 15:16:00,053 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-07-19T15:16:00.121Z] 2023-07-19 15:16:00,053 [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-07-19T15:16:01.503Z] 2023-07-19 15:16:01,158 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-07-19T15:16:01.503Z] 2023-07-19 15:16:01,159 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-07-19T15:16:01.503Z] 2023-07-19 15:16:01,159 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:16:01.503Z] 2023-07-19 15:16:01,159 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:16:01.503Z] 3.1.0-dev.1 [Pipeline] } [2023-07-19T15:16:01.525Z] $ docker exec --env ******** --env ******** 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 ssh-agent -k [2023-07-19T15:16:01.636Z] unset SSH_AUTH_SOCK; [2023-07-19T15:16:01.637Z] unset SSH_AGENT_PID; [2023-07-19T15:16:01.637Z] echo Agent pid 75 killed; [2023-07-19T15:16:01.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T15:16:01.940Z] + git semver [Pipeline] } [2023-07-19T15:16:02.226Z] $ docker stop --time=1 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 [2023-07-19T15:16:03.516Z] $ docker rm -f --volumes 4cfecdab0b8449c1390693f0cf86d7da779416f53a5bfa3933abd98289c43a49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T15:16:03.860Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T15:16:04.070Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T15:16:04.073Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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-07-19T15:16:04.195Z] provisioning config files... [2023-07-19T15:16:04.203Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2388521878575307332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:16:04.501Z] ---> docker-login.sh [2023-07-19T15:16:04.501Z] nexus3.edgexfoundry.org:10001 [2023-07-19T15:16:04.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:16:04.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:16:04.501Z] Configure a credential helper to remove this warning. See [2023-07-19T15:16:04.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:16:04.501Z] [2023-07-19T15:16:04.501Z] Login Succeeded [2023-07-19T15:16:04.501Z] nexus3.edgexfoundry.org:10002 [2023-07-19T15:16:04.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:16:04.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:16:04.501Z] Configure a credential helper to remove this warning. See [2023-07-19T15:16:04.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:16:04.501Z] [2023-07-19T15:16:04.501Z] Login Succeeded [2023-07-19T15:16:04.501Z] nexus3.edgexfoundry.org:10003 [2023-07-19T15:16:04.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:16:04.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:16:04.760Z] Configure a credential helper to remove this warning. See [2023-07-19T15:16:04.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:16:04.760Z] [2023-07-19T15:16:04.760Z] Login Succeeded [2023-07-19T15:16:04.760Z] nexus3.edgexfoundry.org:10004 [2023-07-19T15:16:04.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:16:04.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:16:04.760Z] Configure a credential helper to remove this warning. See [2023-07-19T15:16:04.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:16:04.760Z] [2023-07-19T15:16:04.760Z] Login Succeeded [2023-07-19T15:16:04.760Z] docker.io [2023-07-19T15:16:05.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:16:05.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:16:05.019Z] Configure a credential helper to remove this warning. See [2023-07-19T15:16:05.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:16:05.019Z] [2023-07-19T15:16:05.019Z] Login Succeeded [2023-07-19T15:16:05.019Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T15:16:05.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T15:16:05.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:16:05.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:16:05.102Z] ========================================================= [2023-07-19T15:16:05.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T15:16:05.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:16:05.403Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T15:16:05.404Z] Sending build context to Docker daemon 23.51MB [2023-07-19T15:16:05.404Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T15:16:05.404Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T15:16:05.663Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T15:16:05.663Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T15:16:05.663Z] 6911f1a30b25: Pulling fs layer [2023-07-19T15:16:05.663Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T15:16:05.663Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T15:16:05.663Z] ec0bb842ea78: Pulling fs layer [2023-07-19T15:16:05.663Z] 40a00589a448: Pulling fs layer [2023-07-19T15:16:05.663Z] 6c08303d61cc: Pulling fs layer [2023-07-19T15:16:05.663Z] 798269fcf238: Pulling fs layer [2023-07-19T15:16:05.663Z] 6863d3e3a2b1: Waiting [2023-07-19T15:16:05.663Z] ec0bb842ea78: Waiting [2023-07-19T15:16:05.663Z] 798269fcf238: Waiting [2023-07-19T15:16:05.663Z] 40a00589a448: Waiting [2023-07-19T15:16:05.663Z] 6c08303d61cc: Waiting [2023-07-19T15:16:05.663Z] 6911f1a30b25: Download complete [2023-07-19T15:16:05.663Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T15:16:05.663Z] 6863d3e3a2b1: Download complete [2023-07-19T15:16:05.663Z] ec0bb842ea78: Verifying Checksum [2023-07-19T15:16:05.663Z] ec0bb842ea78: Download complete [2023-07-19T15:16:05.663Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T15:16:05.663Z] 4db1b89c0bd1: Download complete [2023-07-19T15:16:05.663Z] 40a00589a448: Verifying Checksum [2023-07-19T15:16:05.663Z] 40a00589a448: Download complete [2023-07-19T15:16:05.923Z] 4db1b89c0bd1: Pull complete [2023-07-19T15:16:05.923Z] 6911f1a30b25: Pull complete [2023-07-19T15:16:06.182Z] 798269fcf238: Verifying Checksum [2023-07-19T15:16:06.182Z] 798269fcf238: Download complete [2023-07-19T15:16:06.182Z] e194b8c5c2a9: Verifying Checksum [2023-07-19T15:16:06.182Z] e194b8c5c2a9: Download complete [2023-07-19T15:16:06.441Z] 6c08303d61cc: Verifying Checksum [2023-07-19T15:16:06.441Z] 6c08303d61cc: Download complete [2023-07-19T15:16:09.728Z] e194b8c5c2a9: Pull complete [2023-07-19T15:16:09.728Z] 6863d3e3a2b1: Pull complete [2023-07-19T15:16:09.728Z] ec0bb842ea78: Pull complete [2023-07-19T15:16:09.728Z] 40a00589a448: Pull complete [2023-07-19T15:16:12.265Z] 6c08303d61cc: Pull complete [2023-07-19T15:16:12.834Z] 798269fcf238: Pull complete [2023-07-19T15:16:12.834Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T15:16:12.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T15:16:12.834Z] ---> ec979cd7f677 [2023-07-19T15:16:12.834Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T15:16:19.160Z] Still waiting to schedule task [2023-07-19T15:16:19.160Z] ‘prd-centos7-blackbox-4c-2g-1215’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-19T15:16:19.160Z] ‘prd-centos7-blackbox-4c-2g-1216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-19T15:16:19.161Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1543’ is offline [2023-07-19T15:16:19.520Z] ---> Running in e4149bba71d2 [2023-07-19T15:16:19.520Z] Removing intermediate container e4149bba71d2 [2023-07-19T15:16:19.520Z] ---> d4f304501fdd [2023-07-19T15:16:19.520Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T15:16:19.520Z] ---> Running in d502265571d5 [2023-07-19T15:16:19.520Z] Removing intermediate container d502265571d5 [2023-07-19T15:16:19.520Z] ---> 3c8f54183e99 [2023-07-19T15:16:19.520Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T15:16:19.520Z] ---> Running in fe38730228a5 [2023-07-19T15:16:19.520Z] Removing intermediate container fe38730228a5 [2023-07-19T15:16:19.520Z] ---> 05e72d20d166 [2023-07-19T15:16:19.520Z] Step 6/12 : WORKDIR /device-virtual-go [2023-07-19T15:16:19.520Z] ---> Running in 57e3ed295473 [2023-07-19T15:16:19.520Z] Removing intermediate container 57e3ed295473 [2023-07-19T15:16:19.520Z] ---> 1760932b90a9 [2023-07-19T15:16:19.520Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T15:16:19.520Z] ---> Running in faf4eb645553 [2023-07-19T15:16:19.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T15:16:19.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T15:16:19.520Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-19T15:16:19.787Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-19T15:16:19.787Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-19T15:16:19.787Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-19T15:16:19.787Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T15:16:19.787Z] OK: 269 MiB in 57 packages [2023-07-19T15:16:20.356Z] Removing intermediate container faf4eb645553 [2023-07-19T15:16:20.356Z] ---> cca2c35666fd [2023-07-19T15:16:20.356Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T15:16:20.356Z] ---> bad37ea5518e [2023-07-19T15:16:20.356Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T15:16:20.356Z] ---> Running in 6f5a92dbe2b3 [2023-07-19T15:17:07.042Z] Removing intermediate container 6f5a92dbe2b3 [2023-07-19T15:17:07.043Z] ---> ac0904acda26 [2023-07-19T15:17:07.043Z] Step 10/12 : COPY . . [2023-07-19T15:17:07.043Z] ---> c1c4580538ea [2023-07-19T15:17:07.043Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T15:17:07.043Z] ---> Running in 215b52ce1423 [2023-07-19T15:17:07.043Z] Removing intermediate container 215b52ce1423 [2023-07-19T15:17:07.043Z] ---> 98ceeb16bc68 [2023-07-19T15:17:07.043Z] Step 12/12 : RUN $MAKE [2023-07-19T15:17:07.043Z] ---> Running in 584f8bb6aea3 [2023-07-19T15:17:07.043Z] noop [2023-07-19T15:17:07.043Z] Removing intermediate container 584f8bb6aea3 [2023-07-19T15:17:07.043Z] ---> a9d77d6b64c1 [2023-07-19T15:17:07.043Z] Successfully built a9d77d6b64c1 [2023-07-19T15:17:07.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:17:07.356Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T15:17:07.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:17:07.428Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:17:07.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T15:17:07.788Z] $ docker top f5eca80561a4331ed15f70ae2263a1fac77ff20345fb949fe04bfe9ec17e48c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T15:17:08.128Z] + go version [2023-07-19T15:17:08.128Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T15:17:08.143Z] $ docker stop --time=1 f5eca80561a4331ed15f70ae2263a1fac77ff20345fb949fe04bfe9ec17e48c8 [2023-07-19T15:17:09.392Z] $ docker rm -f --volumes f5eca80561a4331ed15f70ae2263a1fac77ff20345fb949fe04bfe9ec17e48c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:17:09.819Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T15:17:09.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:17:09.893Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:17:09.926Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-19T15:17:10.634Z] $ docker top d3b24ba60918ffd240ee69ac18cfec25d156e225d173f4de39c2319d1847ccf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T15:17:10.970Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-19T15:17:11.270Z] + make test [2023-07-19T15:17:11.270Z] go test ./... -coverprofile=coverage.out [2023-07-19T15:17:15.455Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-07-19T15:17:25.422Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-07-19T15:17:25.422Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.025s coverage: 58.6% of statements [2023-07-19T15:17:31.977Z] go vet ./... [2023-07-19T15:17:35.256Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T15:17:35.256Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T15:17:35.256Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T15:17:35.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T15:17:35.280Z] $ docker stop --time=1 d3b24ba60918ffd240ee69ac18cfec25d156e225d173f4de39c2319d1847ccf5 [2023-07-19T15:17:39.395Z] $ docker rm -f --volumes d3b24ba60918ffd240ee69ac18cfec25d156e225d173f4de39c2319d1847ccf5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T15:17:39.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T15:17:39.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-19T15:17:40.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T15:17:40.582Z] + ls -al . [2023-07-19T15:17:40.582Z] total 200 [2023-07-19T15:17:40.582Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 15:17 . [2023-07-19T15:17:40.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 15:15 .. [2023-07-19T15:17:40.582Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 15:16 .git [2023-07-19T15:17:40.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:15 .github [2023-07-19T15:17:40.582Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 19 15:15 .gitignore [2023-07-19T15:17:40.582Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 15:15 .golangci.yml [2023-07-19T15:17:40.582Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 15:16 .semver [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 9050 Jul 19 15:15 Attribution.txt [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 14372 Jul 19 15:15 CHANGELOG.md [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jul 19 15:15 Dockerfile [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 15:15 GOVERNANCE.md [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 15:15 Jenkinsfile [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 15:15 LICENSE [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 1947 Jul 19 15:15 Makefile [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 15:15 OWNERS.md [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 4111 Jul 19 15:15 README.md [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 15:16 VERSION [2023-07-19T15:17:40.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 15:15 bin [2023-07-19T15:17:40.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:15 cmd [2023-07-19T15:17:40.583Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 19 15:17 coverage.out [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 3375 Jul 19 15:15 go.mod [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 32023 Jul 19 15:15 go.sum [2023-07-19T15:17:40.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:15 internal [2023-07-19T15:17:40.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 15:15 snap [2023-07-19T15:17:40.583Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 15:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:17:40.889Z] + 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=8bac9b22eb31fd3371358eef67a168645ee27d12 --label arch=amd64 --label version=3.1.0-dev.1 . [2023-07-19T15:17:40.889Z] Sending build context to Docker daemon 23.56MB [2023-07-19T15:17:40.889Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T15:17:40.889Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-19T15:17:40.889Z] ---> a9d77d6b64c1 [2023-07-19T15:17:40.889Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T15:17:41.455Z] ---> Running in 19067ec0a49d [2023-07-19T15:17:41.455Z] Removing intermediate container 19067ec0a49d [2023-07-19T15:17:41.455Z] ---> 56ce58b59d9d [2023-07-19T15:17:41.455Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T15:17:41.455Z] ---> Running in f6e86ac86644 [2023-07-19T15:17:41.712Z] Removing intermediate container f6e86ac86644 [2023-07-19T15:17:41.712Z] ---> c8132bf13535 [2023-07-19T15:17:41.712Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-19T15:17:41.712Z] ---> Running in 8e3767bcc857 [2023-07-19T15:17:41.712Z] Removing intermediate container 8e3767bcc857 [2023-07-19T15:17:41.712Z] ---> c935edb3de19 [2023-07-19T15:17:41.712Z] Step 6/25 : WORKDIR /device-virtual-go [2023-07-19T15:17:41.712Z] ---> Running in c7f5ab05e36a [2023-07-19T15:17:41.970Z] Removing intermediate container c7f5ab05e36a [2023-07-19T15:17:41.970Z] ---> df34edcb6877 [2023-07-19T15:17:41.970Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T15:17:41.970Z] ---> Running in 9b0223b678c4 [2023-07-19T15:17:42.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T15:17:42.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T15:17:42.795Z] OK: 269 MiB in 57 packages [2023-07-19T15:17:43.054Z] Removing intermediate container 9b0223b678c4 [2023-07-19T15:17:43.054Z] ---> 5999e2bde965 [2023-07-19T15:17:43.054Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-19T15:17:43.054Z] ---> ccdb4d365149 [2023-07-19T15:17:43.054Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T15:17:43.314Z] ---> Running in 413a43823331 [2023-07-19T15:17:43.880Z] Removing intermediate container 413a43823331 [2023-07-19T15:17:43.880Z] ---> 7680156a035a [2023-07-19T15:17:43.880Z] Step 10/25 : COPY . . [2023-07-19T15:17:44.817Z] ---> a395ef537e18 [2023-07-19T15:17:44.817Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T15:17:44.817Z] ---> Running in 2deba80a6162 [2023-07-19T15:17:44.817Z] Removing intermediate container 2deba80a6162 [2023-07-19T15:17:44.817Z] ---> 33571853740e [2023-07-19T15:17:44.817Z] Step 12/25 : RUN $MAKE [2023-07-19T15:17:44.817Z] ---> Running in ce6d8fd28f5f [2023-07-19T15:17:45.075Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-07-19T15:18:06.996Z] Removing intermediate container ce6d8fd28f5f [2023-07-19T15:18:06.996Z] ---> 76f40188f953 [2023-07-19T15:18:06.996Z] Step 13/25 : FROM alpine:3.17 [2023-07-19T15:18:06.996Z] 3.17: Pulling from library/alpine [2023-07-19T15:18:06.996Z] 4db1b89c0bd1: Already exists [2023-07-19T15:18:06.996Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T15:18:06.996Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T15:18:06.996Z] ---> 1f73a9d63274 [2023-07-19T15:18:06.996Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-07-19T15:18:06.996Z] ---> Running in 989446cc0c2a [2023-07-19T15:18:06.996Z] Removing intermediate container 989446cc0c2a [2023-07-19T15:18:06.996Z] ---> 143ec0d34485 [2023-07-19T15:18:06.996Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-19T15:18:06.996Z] ---> Running in 6d91f8f3b973 [2023-07-19T15:18:06.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T15:18:06.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T15:18:06.996Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-19T15:18:06.996Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T15:18:06.996Z] OK: 7 MiB in 16 packages [2023-07-19T15:18:06.996Z] Removing intermediate container 6d91f8f3b973 [2023-07-19T15:18:06.996Z] ---> 12c0eb50ec19 [2023-07-19T15:18:06.996Z] Step 16/25 : WORKDIR / [2023-07-19T15:18:06.996Z] ---> Running in 9e5090e4fe8e [2023-07-19T15:18:06.996Z] Removing intermediate container 9e5090e4fe8e [2023-07-19T15:18:06.996Z] ---> cc508922f0cb [2023-07-19T15:18:06.996Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-07-19T15:18:06.996Z] ---> 2341053b7ab5 [2023-07-19T15:18:06.996Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-07-19T15:18:07.255Z] ---> f5e3d5734895 [2023-07-19T15:18:07.255Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-07-19T15:18:08.248Z] ---> ce38263d79e3 [2023-07-19T15:18:08.248Z] Step 20/25 : EXPOSE 59900 [2023-07-19T15:18:08.248Z] ---> Running in 02e67b647890 [2023-07-19T15:18:08.248Z] Removing intermediate container 02e67b647890 [2023-07-19T15:18:08.248Z] ---> fb45c1b89aef [2023-07-19T15:18:08.248Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-07-19T15:18:08.248Z] ---> Running in bec7041b0fa4 [2023-07-19T15:18:08.248Z] Removing intermediate container bec7041b0fa4 [2023-07-19T15:18:08.248Z] ---> 3499b8527b96 [2023-07-19T15:18:08.248Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T15:18:08.248Z] ---> Running in 89f6d84ffd34 [2023-07-19T15:18:08.532Z] Removing intermediate container 89f6d84ffd34 [2023-07-19T15:18:08.532Z] ---> de8065fc5ee5 [2023-07-19T15:18:08.532Z] Step 23/25 : LABEL arch=amd64 [2023-07-19T15:18:08.532Z] ---> Running in 4cf8e5dd3704 [2023-07-19T15:18:08.532Z] Removing intermediate container 4cf8e5dd3704 [2023-07-19T15:18:08.532Z] ---> 9ff427fc89bc [2023-07-19T15:18:08.532Z] Step 24/25 : LABEL git_sha=8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:18:08.532Z] ---> Running in 40774537473e [2023-07-19T15:18:08.532Z] Removing intermediate container 40774537473e [2023-07-19T15:18:08.532Z] ---> 17facedac290 [2023-07-19T15:18:08.532Z] Step 25/25 : LABEL version=3.1.0-dev.1 [2023-07-19T15:18:08.532Z] ---> Running in fb9cf21e30df [2023-07-19T15:18:08.822Z] Removing intermediate container fb9cf21e30df [2023-07-19T15:18:08.823Z] ---> ce33b23d35d9 [2023-07-19T15:18:08.823Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T15:18:08.823Z] Successfully built ce33b23d35d9 [2023-07-19T15:18:08.823Z] 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-07-19T15:18:08.959Z] provisioning config files... [2023-07-19T15:18:08.970Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13617746199033190683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:18:09.265Z] ---> docker-login.sh [2023-07-19T15:18:09.265Z] nexus3.edgexfoundry.org:10001 [2023-07-19T15:18:09.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:18:09.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:18:09.265Z] Configure a credential helper to remove this warning. See [2023-07-19T15:18:09.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:18:09.265Z] [2023-07-19T15:18:09.265Z] Login Succeeded [2023-07-19T15:18:09.265Z] nexus3.edgexfoundry.org:10002 [2023-07-19T15:18:09.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:18:09.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:18:09.265Z] Configure a credential helper to remove this warning. See [2023-07-19T15:18:09.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:18:09.265Z] [2023-07-19T15:18:09.265Z] Login Succeeded [2023-07-19T15:18:09.265Z] nexus3.edgexfoundry.org:10003 [2023-07-19T15:18:09.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:18:09.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:18:09.527Z] Configure a credential helper to remove this warning. See [2023-07-19T15:18:09.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:18:09.527Z] [2023-07-19T15:18:09.527Z] Login Succeeded [2023-07-19T15:18:09.527Z] nexus3.edgexfoundry.org:10004 [2023-07-19T15:18:09.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:18:09.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:18:09.527Z] Configure a credential helper to remove this warning. See [2023-07-19T15:18:09.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:18:09.527Z] [2023-07-19T15:18:09.527Z] Login Succeeded [2023-07-19T15:18:09.527Z] docker.io [2023-07-19T15:18:09.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:18:09.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:18:09.787Z] Configure a credential helper to remove this warning. See [2023-07-19T15:18:09.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:18:09.787Z] [2023-07-19T15:18:09.787Z] Login Succeeded [2023-07-19T15:18:09.787Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T15:18:09.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T15:18:09.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:18:09.861Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-07-19T15:18:09.861Z] 8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:18:09.861Z] latest [2023-07-19T15:18:09.861Z] 3.1.0-dev.1 [2023-07-19T15:18:09.861Z] 8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:18:09.861Z] main [2023-07-19T15:18:09.861Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:10.187Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:10.501Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:18:10.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-19T15:18:10.502Z] 928946f68597: Preparing [2023-07-19T15:18:10.502Z] 731569c89bf6: Preparing [2023-07-19T15:18:10.502Z] aad6f9b5658c: Preparing [2023-07-19T15:18:10.502Z] e419d651531a: Preparing [2023-07-19T15:18:10.502Z] 3dab9f8bf2d2: Preparing [2023-07-19T15:18:10.502Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T15:18:10.502Z] 731569c89bf6: Pushed [2023-07-19T15:18:10.502Z] e419d651531a: Pushed [2023-07-19T15:18:10.502Z] aad6f9b5658c: Pushed [2023-07-19T15:18:13.038Z] 928946f68597: Pushed [2023-07-19T15:18:13.038Z] 8bac9b22eb31fd3371358eef67a168645ee27d12: digest: sha256:fc9d9ceba094b75e204c422e689870436ad5c64567e2b505ad95d6bd449e92bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:13.345Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:13.650Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-07-19T15:18:13.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-19T15:18:13.650Z] 928946f68597: Preparing [2023-07-19T15:18:13.650Z] 731569c89bf6: Preparing [2023-07-19T15:18:13.650Z] aad6f9b5658c: Preparing [2023-07-19T15:18:13.650Z] e419d651531a: Preparing [2023-07-19T15:18:13.650Z] 3dab9f8bf2d2: Preparing [2023-07-19T15:18:13.650Z] 731569c89bf6: Layer already exists [2023-07-19T15:18:13.650Z] e419d651531a: Layer already exists [2023-07-19T15:18:13.650Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T15:18:13.650Z] aad6f9b5658c: Layer already exists [2023-07-19T15:18:13.650Z] 928946f68597: Layer already exists [2023-07-19T15:18:13.650Z] latest: digest: sha256:fc9d9ceba094b75e204c422e689870436ad5c64567e2b505ad95d6bd449e92bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:13.974Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:14.277Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.1 [2023-07-19T15:18:14.277Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-19T15:18:14.277Z] 928946f68597: Preparing [2023-07-19T15:18:14.277Z] 731569c89bf6: Preparing [2023-07-19T15:18:14.277Z] aad6f9b5658c: Preparing [2023-07-19T15:18:14.277Z] e419d651531a: Preparing [2023-07-19T15:18:14.277Z] 3dab9f8bf2d2: Preparing [2023-07-19T15:18:14.277Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T15:18:14.277Z] e419d651531a: Layer already exists [2023-07-19T15:18:14.277Z] 731569c89bf6: Layer already exists [2023-07-19T15:18:14.277Z] aad6f9b5658c: Layer already exists [2023-07-19T15:18:14.277Z] 928946f68597: Layer already exists [2023-07-19T15:18:14.277Z] 3.1.0-dev.1: digest: sha256:fc9d9ceba094b75e204c422e689870436ad5c64567e2b505ad95d6bd449e92bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:14.581Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:14.891Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:18:14.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-19T15:18:14.891Z] 928946f68597: Preparing [2023-07-19T15:18:14.891Z] 731569c89bf6: Preparing [2023-07-19T15:18:14.891Z] aad6f9b5658c: Preparing [2023-07-19T15:18:14.891Z] e419d651531a: Preparing [2023-07-19T15:18:14.891Z] 3dab9f8bf2d2: Preparing [2023-07-19T15:18:14.891Z] e419d651531a: Layer already exists [2023-07-19T15:18:14.891Z] 731569c89bf6: Layer already exists [2023-07-19T15:18:14.891Z] aad6f9b5658c: Layer already exists [2023-07-19T15:18:14.891Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T15:18:14.891Z] 928946f68597: Layer already exists [2023-07-19T15:18:14.891Z] 8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1: digest: sha256:fc9d9ceba094b75e204c422e689870436ad5c64567e2b505ad95d6bd449e92bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:15.196Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:15.500Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-07-19T15:18:15.501Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-07-19T15:18:15.501Z] 928946f68597: Preparing [2023-07-19T15:18:15.501Z] 731569c89bf6: Preparing [2023-07-19T15:18:15.501Z] aad6f9b5658c: Preparing [2023-07-19T15:18:15.501Z] e419d651531a: Preparing [2023-07-19T15:18:15.501Z] 3dab9f8bf2d2: Preparing [2023-07-19T15:18:15.501Z] 731569c89bf6: Layer already exists [2023-07-19T15:18:15.501Z] e419d651531a: Layer already exists [2023-07-19T15:18:15.501Z] aad6f9b5658c: Layer already exists [2023-07-19T15:18:15.501Z] 928946f68597: Layer already exists [2023-07-19T15:18:15.501Z] 3dab9f8bf2d2: Layer already exists [2023-07-19T15:18:15.501Z] main: digest: sha256:fc9d9ceba094b75e204c422e689870436ad5c64567e2b505ad95d6bd449e92bd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T15:18:15.540Z] ===================================================== [Pipeline] echo [2023-07-19T15:18:15.547Z] taggedImages: [2023-07-19T15:18:15.547Z] - nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:18:15.547Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-07-19T15:18:15.547Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.1 [2023-07-19T15:18:15.547Z] - nexus3.edgexfoundry.org:10004/device-virtual:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:18:15.547Z] - 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-07-19T15:18:15.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T15:18:15.926Z] [2023-07-19T15:18:15.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:18:16.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T15:18:16.235Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T15:18:16.235Z] 5eb5b503b376: Pulling fs layer [2023-07-19T15:18:16.235Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T15:18:16.235Z] ec43610c2a17: Pulling fs layer [2023-07-19T15:18:16.235Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T15:18:16.235Z] 33b1e0a273af: Pulling fs layer [2023-07-19T15:18:16.235Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T15:18:16.235Z] 2f39f015ded8: Pulling fs layer [2023-07-19T15:18:16.235Z] 5d3b04190fa2: Waiting [2023-07-19T15:18:16.235Z] 2f39f015ded8: Waiting [2023-07-19T15:18:16.235Z] 33b1e0a273af: Waiting [2023-07-19T15:18:16.235Z] 5c69ac0246d0: Verifying Checksum [2023-07-19T15:18:16.235Z] 5c69ac0246d0: Download complete [2023-07-19T15:18:16.235Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T15:18:16.235Z] 3a2ae6a8a46f: Download complete [2023-07-19T15:18:16.235Z] ec43610c2a17: Verifying Checksum [2023-07-19T15:18:16.235Z] ec43610c2a17: Download complete [2023-07-19T15:18:16.235Z] 33b1e0a273af: Verifying Checksum [2023-07-19T15:18:16.235Z] 33b1e0a273af: Download complete [2023-07-19T15:18:16.235Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T15:18:16.235Z] 5d3b04190fa2: Download complete [2023-07-19T15:18:16.493Z] 5eb5b503b376: Verifying Checksum [2023-07-19T15:18:16.493Z] 5eb5b503b376: Download complete [2023-07-19T15:18:17.058Z] 2f39f015ded8: Download complete [2023-07-19T15:18:17.625Z] 5eb5b503b376: Pull complete [2023-07-19T15:18:17.625Z] 5c69ac0246d0: Pull complete [2023-07-19T15:18:18.190Z] ec43610c2a17: Pull complete [2023-07-19T15:18:18.190Z] 3a2ae6a8a46f: Pull complete [2023-07-19T15:18:18.449Z] 33b1e0a273af: Pull complete [2023-07-19T15:18:18.449Z] 5d3b04190fa2: Pull complete [2023-07-19T15:18:22.633Z] 2f39f015ded8: Pull complete [2023-07-19T15:18:22.633Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T15:18:22.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T15:18:22.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:18:22.718Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:18:22.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T15:18:27.602Z] $ docker top ed36593be2c8e5ab294e3b315f8ec0d294d5530cd525f8d7959ef017857b0025 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:18:27.996Z] ---> job-cost.sh [2023-07-19T15:18:27.996Z] lf-activate-venv: SKIPPING [2023-07-19T15:18:27.996Z] INFO: No Stack... [2023-07-19T15:18:28.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T15:18:28.824Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T15:18:29.113Z] + + cut -d, -f6 [2023-07-19T15:18:29.113Z] cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-07-19T15:18:29.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [2023-07-19T15:18:29.132Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] did not exist. Created. [2023-07-19T15:18:29.132Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T15:18:29.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T15:18:29.462Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T15:18:29.471Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T15:18:29.488Z] $ docker stop --time=1 ed36593be2c8e5ab294e3b315f8ec0d294d5530cd525f8d7959ef017857b0025 [2023-07-19T15:18:30.635Z] $ docker rm -f --volumes ed36593be2c8e5ab294e3b315f8ec0d294d5530cd525f8d7959ef017857b0025 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T15:19:06.308Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1544 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-07-19T15:19:06.322Z] Running in /w/workspace/device-virtual-go/127 [Pipeline] { [Pipeline] checkout [2023-07-19T15:19:06.353Z] The recommended git tool is: git [2023-07-19T15:19:12.129Z] using credential edgex-jenkins-ssh [2023-07-19T15:19:12.145Z] Cloning the remote Git repository [2023-07-19T15:19:12.192Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-07-19T15:19:12.293Z] > git init /w/workspace/device-virtual-go/127 # timeout=10 [2023-07-19T15:19:12.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-07-19T15:19:12.452Z] > git --version # timeout=10 [2023-07-19T15:19:12.482Z] > git --version # 'git version 2.25.1' [2023-07-19T15:19:12.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T15:19:12.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T15:19:14.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-07-19T15:19:14.773Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T15:19:15.731Z] Avoid second fetch [2023-07-19T15:19:15.732Z] Checking out Revision 8bac9b22eb31fd3371358eef67a168645ee27d12 (main) [2023-07-19T15:19:16.328Z] Commit message: "fix: Add missing SDKVERSION variable in Makefile for version API (#415)" [2023-07-19T15:19:15.750Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T15:19:15.843Z] > git checkout -f 8bac9b22eb31fd3371358eef67a168645ee27d12 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T15:19:17.301Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T15:19:17.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T15:19:17.301Z] Dload Upload Total Spent Left Speed [2023-07-19T15:19:17.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-07-19T15:19:17.978Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T15:19:18.312Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-07-19T15:19:18.312Z] sudo tee /etc/docker/daemon.new [2023-07-19T15:19:18.312Z] { [2023-07-19T15:19:18.312Z] "registry-mirrors": [ [2023-07-19T15:19:18.312Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T15:19:18.312Z] ], [2023-07-19T15:19:18.312Z] "bip": "10.250.0.254/24", [2023-07-19T15:19:18.312Z] "hosts": [ [2023-07-19T15:19:18.312Z] "tcp://0.0.0.0:5555", [2023-07-19T15:19:18.312Z] "unix:///var/run/docker.sock" [2023-07-19T15:19:18.312Z] ], [2023-07-19T15:19:18.312Z] "mtu": 1458, [2023-07-19T15:19:18.312Z] "selinux-enabled": true, [2023-07-19T15:19:18.312Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T15:19:18.312Z] } [Pipeline] sh [2023-07-19T15:19:18.645Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T15:19:18.986Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T15:19:37.278Z] provisioning config files... [2023-07-19T15:19:37.304Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/127@tmp/config18327214103344886016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:19:37.656Z] ---> docker-login.sh [2023-07-19T15:19:37.657Z] nexus3.edgexfoundry.org:10001 [2023-07-19T15:19:38.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:19:38.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:19:38.242Z] Configure a credential helper to remove this warning. See [2023-07-19T15:19:38.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:19:38.242Z] [2023-07-19T15:19:38.242Z] Login Succeeded [2023-07-19T15:19:38.242Z] nexus3.edgexfoundry.org:10002 [2023-07-19T15:19:38.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:19:38.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:19:38.511Z] Configure a credential helper to remove this warning. See [2023-07-19T15:19:38.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:19:38.511Z] [2023-07-19T15:19:38.511Z] Login Succeeded [2023-07-19T15:19:38.511Z] nexus3.edgexfoundry.org:10003 [2023-07-19T15:19:38.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:19:39.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:19:39.051Z] Configure a credential helper to remove this warning. See [2023-07-19T15:19:39.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:19:39.051Z] [2023-07-19T15:19:39.051Z] Login Succeeded [2023-07-19T15:19:39.051Z] nexus3.edgexfoundry.org:10004 [2023-07-19T15:19:39.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:19:39.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:19:39.320Z] Configure a credential helper to remove this warning. See [2023-07-19T15:19:39.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:19:39.320Z] [2023-07-19T15:19:39.320Z] Login Succeeded [2023-07-19T15:19:39.320Z] docker.io [2023-07-19T15:19:39.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:19:39.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:19:39.870Z] Configure a credential helper to remove this warning. See [2023-07-19T15:19:39.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:19:39.870Z] [2023-07-19T15:19:39.870Z] Login Succeeded [2023-07-19T15:19:39.870Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T15:19:39.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T15:19:40.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:19:40.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:19:40.190Z] ========================================================= [2023-07-19T15:19:40.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T15:19:40.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:19:40.550Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T15:19:40.819Z] Sending build context to Docker daemon 11.88MB [2023-07-19T15:19:40.819Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T15:19:40.819Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T15:19:41.094Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T15:19:41.094Z] edb6bdbacee9: Pulling fs layer [2023-07-19T15:19:41.094Z] 5f9638ab2659: Pulling fs layer [2023-07-19T15:19:41.094Z] 8d51d6327a98: Pulling fs layer [2023-07-19T15:19:41.094Z] 8b374f2dd631: Pulling fs layer [2023-07-19T15:19:41.094Z] ec14aa9079de: Pulling fs layer [2023-07-19T15:19:41.094Z] 2f466654f4bb: Pulling fs layer [2023-07-19T15:19:41.094Z] 554e91adad29: Pulling fs layer [2023-07-19T15:19:41.094Z] 8b374f2dd631: Waiting [2023-07-19T15:19:41.094Z] ec14aa9079de: Waiting [2023-07-19T15:19:41.094Z] 554e91adad29: Waiting [2023-07-19T15:19:41.094Z] 2f466654f4bb: Waiting [2023-07-19T15:19:41.094Z] 5f9638ab2659: Verifying Checksum [2023-07-19T15:19:41.094Z] 5f9638ab2659: Download complete [2023-07-19T15:19:41.094Z] 8b374f2dd631: Verifying Checksum [2023-07-19T15:19:41.094Z] 8b374f2dd631: Download complete [2023-07-19T15:19:41.094Z] ec14aa9079de: Download complete [2023-07-19T15:19:41.094Z] edb6bdbacee9: Verifying Checksum [2023-07-19T15:19:41.094Z] edb6bdbacee9: Download complete [2023-07-19T15:19:42.067Z] edb6bdbacee9: Pull complete [2023-07-19T15:19:42.343Z] 554e91adad29: Verifying Checksum [2023-07-19T15:19:42.343Z] 554e91adad29: Download complete [2023-07-19T15:19:42.622Z] 5f9638ab2659: Pull complete [2023-07-19T15:19:43.815Z] 8d51d6327a98: Verifying Checksum [2023-07-19T15:19:43.815Z] 8d51d6327a98: Download complete [2023-07-19T15:19:43.815Z] 2f466654f4bb: Verifying Checksum [2023-07-19T15:19:43.815Z] 2f466654f4bb: Download complete [2023-07-19T15:19:54.171Z] 8d51d6327a98: Pull complete [2023-07-19T15:19:54.171Z] 8b374f2dd631: Pull complete [2023-07-19T15:19:54.171Z] ec14aa9079de: Pull complete [2023-07-19T15:20:00.953Z] 2f466654f4bb: Pull complete [2023-07-19T15:20:04.353Z] 554e91adad29: Pull complete [2023-07-19T15:20:04.353Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T15:20:04.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T15:20:04.353Z] ---> 1e15ea492957 [2023-07-19T15:20:04.353Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T15:20:05.790Z] ---> Running in c3c2c9fa7304 [2023-07-19T15:20:06.067Z] Removing intermediate container c3c2c9fa7304 [2023-07-19T15:20:06.067Z] ---> 4254f74003b9 [2023-07-19T15:20:06.067Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T15:20:06.067Z] ---> Running in 31541bca2709 [2023-07-19T15:20:06.337Z] Removing intermediate container 31541bca2709 [2023-07-19T15:20:06.337Z] ---> 7735d72a4b20 [2023-07-19T15:20:06.337Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T15:20:06.611Z] ---> Running in 8d1b1051770c [2023-07-19T15:20:06.880Z] Removing intermediate container 8d1b1051770c [2023-07-19T15:20:06.880Z] ---> 380956558f7c [2023-07-19T15:20:06.880Z] Step 6/12 : WORKDIR /device-virtual-go [2023-07-19T15:20:06.880Z] ---> Running in 62961cc8e9d4 [2023-07-19T15:20:07.149Z] Removing intermediate container 62961cc8e9d4 [2023-07-19T15:20:07.149Z] ---> 0897c1362373 [2023-07-19T15:20:07.149Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T15:20:07.418Z] ---> Running in ff11667a6317 [2023-07-19T15:20:08.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T15:20:08.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T15:20:09.930Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-19T15:20:09.930Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-19T15:20:10.199Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-19T15:20:10.199Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-19T15:20:10.199Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T15:20:10.199Z] OK: 268 MiB in 57 packages [2023-07-19T15:20:11.180Z] Removing intermediate container ff11667a6317 [2023-07-19T15:20:11.181Z] ---> 87d978c48698 [2023-07-19T15:20:11.181Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T15:20:11.767Z] ---> f0685e1c0111 [2023-07-19T15:20:11.767Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T15:20:11.767Z] ---> Running in f4dbec0ca466 [2023-07-19T15:21:37.150Z] Removing intermediate container f4dbec0ca466 [2023-07-19T15:21:37.151Z] ---> 0851da1b9d67 [2023-07-19T15:21:37.151Z] Step 10/12 : COPY . . [2023-07-19T15:21:37.151Z] ---> ab8dfa811893 [2023-07-19T15:21:37.151Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T15:21:37.151Z] ---> Running in a89bc89e666d [2023-07-19T15:21:37.151Z] Removing intermediate container a89bc89e666d [2023-07-19T15:21:37.151Z] ---> ac4ffa0eb306 [2023-07-19T15:21:37.151Z] Step 12/12 : RUN $MAKE [2023-07-19T15:21:37.151Z] ---> Running in 494d96813a12 [2023-07-19T15:21:37.151Z] noop [2023-07-19T15:21:37.151Z] Removing intermediate container 494d96813a12 [2023-07-19T15:21:37.151Z] ---> 56585e3135d2 [2023-07-19T15:21:37.151Z] Successfully built 56585e3135d2 [2023-07-19T15:21:37.151Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:21:37.527Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T15:21:37.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:21:37.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-1544 does not seem to be running inside a container [2023-07-19T15:21:37.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/127 -v /w/workspace/device-virtual-go/127:/w/workspace/device-virtual-go/127:rw,z -v /w/workspace/device-virtual-go/127@tmp:/w/workspace/device-virtual-go/127@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-07-19T15:21:39.031Z] $ docker top 0b20fd4ddf27dd2713b6dcf7e2f19f5592631c0c411f6f1d4f64783739ac3d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T15:21:39.881Z] + go version [2023-07-19T15:21:39.881Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T15:21:39.905Z] $ docker stop --time=1 0b20fd4ddf27dd2713b6dcf7e2f19f5592631c0c411f6f1d4f64783739ac3d81 [2023-07-19T15:21:41.574Z] $ docker rm -f --volumes 0b20fd4ddf27dd2713b6dcf7e2f19f5592631c0c411f6f1d4f64783739ac3d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:21:42.149Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T15:21:42.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:21:42.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-1544 does not seem to be running inside a container [2023-07-19T15:21:42.403Z] $ 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/127 -v /w/workspace/device-virtual-go/127:/w/workspace/device-virtual-go/127:rw,z -v /w/workspace/device-virtual-go/127@tmp:/w/workspace/device-virtual-go/127@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-07-19T15:21:43.556Z] $ docker top e9b5790bb821e41fc79b680fe417704d24e448cb85d89836311c54b3027a7b42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T15:21:44.074Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/127 [Pipeline] fileExists [Pipeline] sh [2023-07-19T15:21:44.405Z] + make test [2023-07-19T15:21:44.405Z] go test ./... -coverprofile=coverage.out [2023-07-19T15:22:16.648Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-07-19T15:24:38.333Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-07-19T15:24:38.333Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.098s coverage: 58.4% of statements [2023-07-19T15:24:38.333Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T15:24:38.333Z] go vet ./... [2023-07-19T15:25:10.566Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T15:25:10.566Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T15:25:10.566Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T15:25:10.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T15:25:10.602Z] $ docker stop --time=1 e9b5790bb821e41fc79b680fe417704d24e448cb85d89836311c54b3027a7b42 [2023-07-19T15:25:12.544Z] $ docker rm -f --volumes e9b5790bb821e41fc79b680fe417704d24e448cb85d89836311c54b3027a7b42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T15:25:13.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T15:25:13.734Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T15:25:14.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T15:25:14.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T15:25:14.966Z] + ls -al . [2023-07-19T15:25:14.966Z] total 196 [2023-07-19T15:25:14.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 15:21 . [2023-07-19T15:25:14.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 15:19 .. [2023-07-19T15:25:14.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 15:19 .git [2023-07-19T15:25:14.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:19 .github [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 19 15:19 .gitignore [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 15:19 .golangci.yml [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 9050 Jul 19 15:19 Attribution.txt [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 14372 Jul 19 15:19 CHANGELOG.md [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 1646 Jul 19 15:19 Dockerfile [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 15:19 GOVERNANCE.md [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 15:19 Jenkinsfile [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 15:19 LICENSE [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 1947 Jul 19 15:19 Makefile [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 15:19 OWNERS.md [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 4111 Jul 19 15:19 README.md [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 15:16 VERSION [2023-07-19T15:25:14.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 15:19 bin [2023-07-19T15:25:14.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:19 cmd [2023-07-19T15:25:14.966Z] -rw-r--r-- 1 jenkins jenkins 43063 Jul 19 15:24 coverage.out [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 3375 Jul 19 15:19 go.mod [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 32023 Jul 19 15:19 go.sum [2023-07-19T15:25:14.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 15:19 internal [2023-07-19T15:25:14.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 15:19 snap [2023-07-19T15:25:14.966Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:25:15.308Z] + 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=8bac9b22eb31fd3371358eef67a168645ee27d12 --label arch=arm64 --label version=3.1.0-dev.1 . [2023-07-19T15:25:15.592Z] Sending build context to Docker daemon 11.93MB [2023-07-19T15:25:15.592Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T15:25:15.592Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-19T15:25:15.593Z] ---> 56585e3135d2 [2023-07-19T15:25:15.593Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-19T15:25:15.862Z] ---> Running in b319c3607ac9 [2023-07-19T15:25:16.142Z] Removing intermediate container b319c3607ac9 [2023-07-19T15:25:16.142Z] ---> 0bccda477826 [2023-07-19T15:25:16.142Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T15:25:16.142Z] ---> Running in e5d7c0308b4d [2023-07-19T15:25:16.729Z] Removing intermediate container e5d7c0308b4d [2023-07-19T15:25:16.729Z] ---> 82f41e6f00c2 [2023-07-19T15:25:16.729Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-19T15:25:16.729Z] ---> Running in e98f84563d53 [2023-07-19T15:25:16.998Z] Removing intermediate container e98f84563d53 [2023-07-19T15:25:16.998Z] ---> bfbe4d2bc0b7 [2023-07-19T15:25:16.998Z] Step 6/25 : WORKDIR /device-virtual-go [2023-07-19T15:25:16.998Z] ---> Running in ddabfed49e3c [2023-07-19T15:25:17.267Z] Removing intermediate container ddabfed49e3c [2023-07-19T15:25:17.267Z] ---> afb492bbc25f [2023-07-19T15:25:17.267Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T15:25:17.267Z] ---> Running in 71242644d304 [2023-07-19T15:25:18.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T15:25:18.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T15:25:20.379Z] OK: 268 MiB in 57 packages [2023-07-19T15:25:20.971Z] Removing intermediate container 71242644d304 [2023-07-19T15:25:20.971Z] ---> e3832c985185 [2023-07-19T15:25:20.971Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-19T15:25:21.563Z] ---> d592ac317e31 [2023-07-19T15:25:21.563Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T15:25:21.833Z] ---> Running in 80084a07c0f7 [2023-07-19T15:25:26.103Z] Removing intermediate container 80084a07c0f7 [2023-07-19T15:25:26.103Z] ---> 5a8c1c58162e [2023-07-19T15:25:26.103Z] Step 10/25 : COPY . . [2023-07-19T15:25:26.692Z] ---> 71236867a68c [2023-07-19T15:25:26.692Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T15:25:26.961Z] ---> Running in 8e308cab004d [2023-07-19T15:25:27.229Z] Removing intermediate container 8e308cab004d [2023-07-19T15:25:27.229Z] ---> 4f5256906317 [2023-07-19T15:25:27.229Z] Step 12/25 : RUN $MAKE [2023-07-19T15:25:27.229Z] ---> Running in a7f3ce37f7ea [2023-07-19T15:25:28.193Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-07-19T15:27:49.954Z] Removing intermediate container a7f3ce37f7ea [2023-07-19T15:27:49.954Z] ---> fbc0420593f3 [2023-07-19T15:27:49.954Z] Step 13/25 : FROM alpine:3.17 [2023-07-19T15:27:49.954Z] 3.17: Pulling from library/alpine [2023-07-19T15:27:49.954Z] edb6bdbacee9: Already exists [2023-07-19T15:27:49.954Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T15:27:49.954Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T15:27:49.954Z] ---> 779605e5fbc0 [2023-07-19T15:27:49.954Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-07-19T15:27:49.954Z] ---> Running in 36200770a68a [2023-07-19T15:27:49.954Z] Removing intermediate container 36200770a68a [2023-07-19T15:27:49.954Z] ---> 794c363726ec [2023-07-19T15:27:49.954Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-19T15:27:49.954Z] ---> Running in 24aaf67327ce [2023-07-19T15:27:50.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T15:27:51.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T15:27:52.917Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-19T15:27:52.917Z] Executing busybox-1.35.0-r29.trigger [2023-07-19T15:27:52.917Z] OK: 8 MiB in 16 packages [2023-07-19T15:27:53.501Z] Removing intermediate container 24aaf67327ce [2023-07-19T15:27:53.501Z] ---> d4f28043b01c [2023-07-19T15:27:53.501Z] Step 16/25 : WORKDIR / [2023-07-19T15:27:53.768Z] ---> Running in a01d8ccff32b [2023-07-19T15:27:54.035Z] Removing intermediate container a01d8ccff32b [2023-07-19T15:27:54.035Z] ---> 1cb389375bac [2023-07-19T15:27:54.035Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-07-19T15:27:54.619Z] ---> b192f6b00062 [2023-07-19T15:27:54.619Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-07-19T15:27:54.887Z] ---> 77782d97d548 [2023-07-19T15:27:54.887Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-07-19T15:27:56.299Z] ---> 5b9834039f4a [2023-07-19T15:27:56.299Z] Step 20/25 : EXPOSE 59900 [2023-07-19T15:27:56.299Z] ---> Running in e60189692519 [2023-07-19T15:27:56.883Z] Removing intermediate container e60189692519 [2023-07-19T15:27:56.883Z] ---> b6df16f13fcf [2023-07-19T15:27:56.883Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-07-19T15:27:56.883Z] ---> Running in 1eb3c55ad911 [2023-07-19T15:27:57.150Z] Removing intermediate container 1eb3c55ad911 [2023-07-19T15:27:57.150Z] ---> b14d239eb23b [2023-07-19T15:27:57.150Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T15:27:57.150Z] ---> Running in bb80f0a2f65e [2023-07-19T15:27:57.419Z] Removing intermediate container bb80f0a2f65e [2023-07-19T15:27:57.419Z] ---> dd5e8ac4e961 [2023-07-19T15:27:57.419Z] Step 23/25 : LABEL arch=arm64 [2023-07-19T15:27:57.419Z] ---> Running in d015f5c73754 [2023-07-19T15:27:57.690Z] Removing intermediate container d015f5c73754 [2023-07-19T15:27:57.690Z] ---> 8d9e477017a4 [2023-07-19T15:27:57.690Z] Step 24/25 : LABEL git_sha=8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:27:57.970Z] ---> Running in 9dc1586bce6f [2023-07-19T15:27:58.237Z] Removing intermediate container 9dc1586bce6f [2023-07-19T15:27:58.237Z] ---> 348b450c6130 [2023-07-19T15:27:58.237Z] Step 25/25 : LABEL version=3.1.0-dev.1 [2023-07-19T15:27:58.237Z] ---> Running in 516bdf9ac417 [2023-07-19T15:27:58.503Z] Removing intermediate container 516bdf9ac417 [2023-07-19T15:27:58.503Z] ---> 6963cbee46db [2023-07-19T15:27:58.503Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T15:27:58.503Z] Successfully built 6963cbee46db [2023-07-19T15:27:58.503Z] 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-07-19T15:27:58.603Z] provisioning config files... [2023-07-19T15:27:58.618Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/127@tmp/config13197884273848985919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:27:58.950Z] ---> docker-login.sh [2023-07-19T15:27:58.950Z] nexus3.edgexfoundry.org:10001 [2023-07-19T15:27:58.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:27:59.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:27:59.221Z] Configure a credential helper to remove this warning. See [2023-07-19T15:27:59.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:27:59.221Z] [2023-07-19T15:27:59.221Z] Login Succeeded [2023-07-19T15:27:59.221Z] nexus3.edgexfoundry.org:10002 [2023-07-19T15:27:59.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:27:59.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:27:59.488Z] Configure a credential helper to remove this warning. See [2023-07-19T15:27:59.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:27:59.488Z] [2023-07-19T15:27:59.488Z] Login Succeeded [2023-07-19T15:27:59.488Z] nexus3.edgexfoundry.org:10003 [2023-07-19T15:27:59.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:28:00.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:28:00.024Z] Configure a credential helper to remove this warning. See [2023-07-19T15:28:00.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:28:00.024Z] [2023-07-19T15:28:00.024Z] Login Succeeded [2023-07-19T15:28:00.024Z] nexus3.edgexfoundry.org:10004 [2023-07-19T15:28:00.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:28:00.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:28:00.292Z] Configure a credential helper to remove this warning. See [2023-07-19T15:28:00.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:28:00.292Z] [2023-07-19T15:28:00.292Z] Login Succeeded [2023-07-19T15:28:00.292Z] docker.io [2023-07-19T15:28:00.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T15:28:00.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T15:28:00.826Z] Configure a credential helper to remove this warning. See [2023-07-19T15:28:00.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T15:28:00.826Z] [2023-07-19T15:28:00.826Z] Login Succeeded [2023-07-19T15:28:00.826Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T15:28:00.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T15:28:00.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T15:28:00.896Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-07-19T15:28:00.896Z] 8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:28:00.896Z] latest [2023-07-19T15:28:00.896Z] 3.1.0-dev.1 [2023-07-19T15:28:00.896Z] 8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:28:00.896Z] main [2023-07-19T15:28:00.896Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:01.247Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:01.592Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:28:01.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-19T15:28:01.592Z] ad10e6ad180c: Preparing [2023-07-19T15:28:01.592Z] e7605f6b1179: Preparing [2023-07-19T15:28:01.592Z] 66dcedb21fbc: Preparing [2023-07-19T15:28:01.592Z] 4bab3c50f566: Preparing [2023-07-19T15:28:01.592Z] 9386262d7a74: Preparing [2023-07-19T15:28:01.592Z] 9386262d7a74: Layer already exists [2023-07-19T15:28:01.857Z] e7605f6b1179: Pushed [2023-07-19T15:28:01.857Z] 4bab3c50f566: Pushed [2023-07-19T15:28:01.857Z] 66dcedb21fbc: Pushed [2023-07-19T15:28:06.096Z] ad10e6ad180c: Pushed [2023-07-19T15:28:06.361Z] 8bac9b22eb31fd3371358eef67a168645ee27d12: digest: sha256:b607e6280dbe0008b0be7fcbcab1a12cdaf44c0aa94f646941bc82a2c67229b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:06.768Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:07.122Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-07-19T15:28:07.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-19T15:28:07.122Z] ad10e6ad180c: Preparing [2023-07-19T15:28:07.122Z] e7605f6b1179: Preparing [2023-07-19T15:28:07.122Z] 66dcedb21fbc: Preparing [2023-07-19T15:28:07.122Z] 4bab3c50f566: Preparing [2023-07-19T15:28:07.122Z] 9386262d7a74: Preparing [2023-07-19T15:28:07.122Z] 9386262d7a74: Layer already exists [2023-07-19T15:28:07.122Z] e7605f6b1179: Layer already exists [2023-07-19T15:28:07.122Z] 4bab3c50f566: Layer already exists [2023-07-19T15:28:07.122Z] 66dcedb21fbc: Layer already exists [2023-07-19T15:28:07.122Z] ad10e6ad180c: Layer already exists [2023-07-19T15:28:07.122Z] latest: digest: sha256:b607e6280dbe0008b0be7fcbcab1a12cdaf44c0aa94f646941bc82a2c67229b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:07.479Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:07.818Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.1 [2023-07-19T15:28:07.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-19T15:28:07.818Z] ad10e6ad180c: Preparing [2023-07-19T15:28:07.818Z] e7605f6b1179: Preparing [2023-07-19T15:28:07.818Z] 66dcedb21fbc: Preparing [2023-07-19T15:28:07.818Z] 4bab3c50f566: Preparing [2023-07-19T15:28:07.818Z] 9386262d7a74: Preparing [2023-07-19T15:28:07.818Z] 9386262d7a74: Layer already exists [2023-07-19T15:28:07.818Z] e7605f6b1179: Layer already exists [2023-07-19T15:28:07.818Z] ad10e6ad180c: Layer already exists [2023-07-19T15:28:07.818Z] 4bab3c50f566: Layer already exists [2023-07-19T15:28:07.818Z] 66dcedb21fbc: Layer already exists [2023-07-19T15:28:08.091Z] 3.1.0-dev.1: digest: sha256:b607e6280dbe0008b0be7fcbcab1a12cdaf44c0aa94f646941bc82a2c67229b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:08.450Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:08.800Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:28:08.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-19T15:28:08.800Z] ad10e6ad180c: Preparing [2023-07-19T15:28:08.800Z] e7605f6b1179: Preparing [2023-07-19T15:28:08.800Z] 66dcedb21fbc: Preparing [2023-07-19T15:28:08.800Z] 4bab3c50f566: Preparing [2023-07-19T15:28:08.800Z] 9386262d7a74: Preparing [2023-07-19T15:28:08.800Z] ad10e6ad180c: Layer already exists [2023-07-19T15:28:08.800Z] e7605f6b1179: Layer already exists [2023-07-19T15:28:08.800Z] 9386262d7a74: Layer already exists [2023-07-19T15:28:08.800Z] 66dcedb21fbc: Layer already exists [2023-07-19T15:28:08.800Z] 4bab3c50f566: Layer already exists [2023-07-19T15:28:08.800Z] 8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1: digest: sha256:b607e6280dbe0008b0be7fcbcab1a12cdaf44c0aa94f646941bc82a2c67229b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:09.152Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:09.493Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-07-19T15:28:09.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-07-19T15:28:09.493Z] ad10e6ad180c: Preparing [2023-07-19T15:28:09.493Z] e7605f6b1179: Preparing [2023-07-19T15:28:09.493Z] 66dcedb21fbc: Preparing [2023-07-19T15:28:09.493Z] 4bab3c50f566: Preparing [2023-07-19T15:28:09.493Z] 9386262d7a74: Preparing [2023-07-19T15:28:09.493Z] 66dcedb21fbc: Layer already exists [2023-07-19T15:28:09.493Z] ad10e6ad180c: Layer already exists [2023-07-19T15:28:09.493Z] 9386262d7a74: Layer already exists [2023-07-19T15:28:09.493Z] e7605f6b1179: Layer already exists [2023-07-19T15:28:09.493Z] 4bab3c50f566: Layer already exists [2023-07-19T15:28:09.761Z] main: digest: sha256:b607e6280dbe0008b0be7fcbcab1a12cdaf44c0aa94f646941bc82a2c67229b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-19T15:28:09.811Z] ===================================================== [Pipeline] echo [2023-07-19T15:28:09.819Z] taggedImages: [2023-07-19T15:28:09.819Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12 [2023-07-19T15:28:09.819Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-07-19T15:28:09.819Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.1 [2023-07-19T15:28:09.819Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8bac9b22eb31fd3371358eef67a168645ee27d12-3.1.0-dev.1 [2023-07-19T15:28:09.819Z] - 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-07-19T15:28:10.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T15:28:10.179Z] [2023-07-19T15:28:10.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:10.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T15:28:10.510Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T15:28:10.510Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T15:28:10.510Z] 04944245beec: Pulling fs layer [2023-07-19T15:28:10.510Z] 699f458cf7ca: Pulling fs layer [2023-07-19T15:28:10.510Z] 765212b225bb: Pulling fs layer [2023-07-19T15:28:10.510Z] f23df028b6ca: Pulling fs layer [2023-07-19T15:28:10.510Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T15:28:10.510Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T15:28:10.510Z] f23df028b6ca: Waiting [2023-07-19T15:28:10.510Z] 765212b225bb: Waiting [2023-07-19T15:28:10.510Z] d65c8cfc05b1: Waiting [2023-07-19T15:28:10.510Z] 2437ff75d9bd: Waiting [2023-07-19T15:28:10.780Z] 04944245beec: Verifying Checksum [2023-07-19T15:28:10.780Z] 04944245beec: Download complete [2023-07-19T15:28:10.780Z] 765212b225bb: Verifying Checksum [2023-07-19T15:28:10.780Z] 765212b225bb: Download complete [2023-07-19T15:28:10.780Z] f23df028b6ca: Verifying Checksum [2023-07-19T15:28:10.780Z] f23df028b6ca: Download complete [2023-07-19T15:28:10.780Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T15:28:10.780Z] d65c8cfc05b1: Download complete [2023-07-19T15:28:11.049Z] 699f458cf7ca: Verifying Checksum [2023-07-19T15:28:11.049Z] 699f458cf7ca: Download complete [2023-07-19T15:28:11.324Z] 8998bd30e6a1: Download complete [2023-07-19T15:28:13.902Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T15:28:13.902Z] 2437ff75d9bd: Download complete [2023-07-19T15:28:15.316Z] 8998bd30e6a1: Pull complete [2023-07-19T15:28:15.584Z] 04944245beec: Pull complete [2023-07-19T15:28:16.994Z] 699f458cf7ca: Pull complete [2023-07-19T15:28:17.262Z] 765212b225bb: Pull complete [2023-07-19T15:28:17.846Z] f23df028b6ca: Pull complete [2023-07-19T15:28:18.115Z] d65c8cfc05b1: Pull complete [2023-07-19T15:28:33.105Z] 2437ff75d9bd: Pull complete [2023-07-19T15:28:33.105Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T15:28:33.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T15:28:33.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:28:33.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-1544 does not seem to be running inside a container [2023-07-19T15:28:33.348Z] $ 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/127 -v /w/workspace/device-virtual-go/127:/w/workspace/device-virtual-go/127:rw,z -v /w/workspace/device-virtual-go/127@tmp:/w/workspace/device-virtual-go/127@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-07-19T15:28:36.057Z] $ docker top d131908c1c51124a53246c73291d216710cb9ee152194a37f32d6821f81c1777 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:28:36.886Z] ---> job-cost.sh [2023-07-19T15:28:36.886Z] lf-activate-venv: SKIPPING [2023-07-19T15:28:36.886Z] INFO: No Stack... [2023-07-19T15:28:37.469Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T15:28:38.053Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T15:28:38.372Z] + cat /w/workspace/device-virtual-go/127/archives/cost.csv [2023-07-19T15:28:38.372Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T15:28:38.704Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [2023-07-19T15:28:38.710Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] did not exist. Created. [2023-07-19T15:28:38.710Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T15:28:39.355Z] /w/workspace/device-virtual-go/127@tmp/durable-153a421c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T15:28:39.682Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T15:28:39.704Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T15:28:39.760Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T15:28:39.766Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T15:28:39.784Z] $ docker stop --time=1 d131908c1c51124a53246c73291d216710cb9ee152194a37f32d6821f81c1777 [2023-07-19T15:28:41.282Z] $ docker rm -f --volumes d131908c1c51124a53246c73291d216710cb9ee152194a37f32d6821f81c1777 [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-07-19T15:28:41.629Z] provisioning config files... [2023-07-19T15:28:41.635Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3068027034328664629tmp [Pipeline] { [Pipeline] sh [2023-07-19T15:28:41.922Z] + set +x [2023-07-19T15:28:41.922Z] + curl -s https://codecov.io/bash [2023-07-19T15:28:41.922Z] + bash -s -- [2023-07-19T15:28:41.922Z] [2023-07-19T15:28:41.922Z] _____ _ [2023-07-19T15:28:41.922Z] / ____| | | [2023-07-19T15:28:41.922Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T15:28:41.922Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T15:28:41.922Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T15:28:41.922Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T15:28:41.922Z] Bash-1.0.6 [2023-07-19T15:28:41.922Z] [2023-07-19T15:28:41.922Z] [2023-07-19T15:28:41.922Z] ==> git version 2.25.1 found [2023-07-19T15:28:41.922Z] ==> 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-07-19T15:28:41.922Z] Release-Date: 2020-01-08 [2023-07-19T15:28:41.922Z] 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-07-19T15:28:41.922Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T15:28:41.922Z] ==> Jenkins CI detected. [2023-07-19T15:28:41.922Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-07-19T15:28:41.922Z] project root: . [2023-07-19T15:28:41.922Z] --> token set from env [2023-07-19T15:28:41.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T15:28:41.922Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T15:28:41.922Z] ==> Python coveragepy not found [2023-07-19T15:28:41.922Z] ==> Searching for coverage reports in: [2023-07-19T15:28:41.922Z] + . [2023-07-19T15:28:41.922Z] -> Found 1 reports [2023-07-19T15:28:41.922Z] ==> Detecting git/mercurial file structure [2023-07-19T15:28:41.922Z] ==> Reading reports [2023-07-19T15:28:41.922Z] + ./coverage.out bytes=43063 [2023-07-19T15:28:41.922Z] ==> Appending adjustments [2023-07-19T15:28:41.922Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T15:28:42.180Z] + Found adjustments [2023-07-19T15:28:42.180Z] ==> Gzipping contents [2023-07-19T15:28:42.180Z] 8.0K /tmp/codecov.4UtQiO.gz [2023-07-19T15:28:42.180Z] ==> Uploading reports [2023-07-19T15:28:42.180Z] url: https://codecov.io [2023-07-19T15:28:42.180Z] query: branch=main&commit=8bac9b22eb31fd3371358eef67a168645ee27d12&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T15:28:42.180Z] -> Pinging Codecov [2023-07-19T15:28:42.180Z] 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=8bac9b22eb31fd3371358eef67a168645ee27d12&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-19T15:28:42.180Z] -> Uploading to [2023-07-19T15:28:42.180Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/5E52B4B073DB2E39498172D8E973AA87/8bac9b22eb31fd3371358eef67a168645ee27d12/91cf1455-144e-4a1c-8644-3e963caa945e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T152842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fbe6554e8a445961f4f58c50fdf97ae8b330ccafffa4e2f8eb92b2e60d5f3d7 [2023-07-19T15:28:42.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T15:28:42.180Z] Dload Upload Total Spent Left Speed [2023-07-19T15:28:42.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 29793 --:--:-- --:--:-- --:--:-- 29793 [2023-07-19T15:28:42.439Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] } [2023-07-19T15:28:42.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-19T15:28:42.586Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-19T15:28:42.599Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:42.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T15:28:42.897Z] [2023-07-19T15:28:42.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:28:43.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T15:28:43.192Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-19T15:28:43.192Z] df9b9388f04a: Pulling fs layer [2023-07-19T15:28:43.192Z] 52dc419b0ee2: Pulling fs layer [2023-07-19T15:28:43.192Z] 25bc292e5bac: Pulling fs layer [2023-07-19T15:28:43.192Z] 114826534d7a: Pulling fs layer [2023-07-19T15:28:43.192Z] 4657fd5d0bcf: Pulling fs layer [2023-07-19T15:28:43.192Z] 6ad1cebc031e: Pulling fs layer [2023-07-19T15:28:43.192Z] 8a3aa393b2d8: Pulling fs layer [2023-07-19T15:28:43.192Z] 4657fd5d0bcf: Waiting [2023-07-19T15:28:43.192Z] 114826534d7a: Waiting [2023-07-19T15:28:43.192Z] 6ad1cebc031e: Waiting [2023-07-19T15:28:43.192Z] 52dc419b0ee2: Verifying Checksum [2023-07-19T15:28:43.192Z] 52dc419b0ee2: Download complete [2023-07-19T15:28:43.192Z] 25bc292e5bac: Verifying Checksum [2023-07-19T15:28:43.192Z] 25bc292e5bac: Download complete [2023-07-19T15:28:43.192Z] 4657fd5d0bcf: Verifying Checksum [2023-07-19T15:28:43.192Z] 4657fd5d0bcf: Download complete [2023-07-19T15:28:43.192Z] df9b9388f04a: Verifying Checksum [2023-07-19T15:28:43.192Z] df9b9388f04a: Download complete [2023-07-19T15:28:43.452Z] df9b9388f04a: Pull complete [2023-07-19T15:28:43.452Z] 6ad1cebc031e: Verifying Checksum [2023-07-19T15:28:43.452Z] 6ad1cebc031e: Download complete [2023-07-19T15:28:43.452Z] 52dc419b0ee2: Pull complete [2023-07-19T15:28:43.711Z] 25bc292e5bac: Pull complete [2023-07-19T15:28:43.968Z] 114826534d7a: Verifying Checksum [2023-07-19T15:28:43.968Z] 114826534d7a: Download complete [2023-07-19T15:28:44.226Z] 8a3aa393b2d8: Verifying Checksum [2023-07-19T15:28:44.226Z] 8a3aa393b2d8: Download complete [2023-07-19T15:28:47.503Z] 114826534d7a: Pull complete [2023-07-19T15:28:47.503Z] 4657fd5d0bcf: Pull complete [2023-07-19T15:28:47.503Z] 6ad1cebc031e: Pull complete [2023-07-19T15:28:50.781Z] 8a3aa393b2d8: Pull complete [2023-07-19T15:28:50.781Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-19T15:28:50.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-19T15:28:50.781Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:28:50.844Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:28:50.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-19T15:28:59.990Z] $ docker top ec590f843df460fa7e3aa7beb4d72afd110aae8d6e630e7ba1395fcfa4d5bca0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-19T15:29:00.053Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-07-19T15:29:00.330Z] + set -o pipefail [2023-07-19T15:29:00.330Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/f8e4832d-b4a6-414e-bc7c-acdf6fb91d39 [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] [2023-07-19T15:29:04.523Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-19T15:29:04.523Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-19T15:29:04.523Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-19T15:29:04.534Z] $ docker stop --time=1 ec590f843df460fa7e3aa7beb4d72afd110aae8d6e630e7ba1395fcfa4d5bca0 [2023-07-19T15:29:09.037Z] $ docker rm -f --volumes ec590f843df460fa7e3aa7beb4d72afd110aae8d6e630e7ba1395fcfa4d5bca0 [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-07-19T15:29:09.701Z] + git log --format=format:%s -1 8bac9b22eb31fd3371358eef67a168645ee27d12 [Pipeline] sh [2023-07-19T15:29:09.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T15:29:09.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:10.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:29:10.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:29:10.373Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:29:10.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T15:29:10.863Z] $ docker top 62a4ed292de3921cac0a74477205f6ee41ed853db693b6d500f33abdaad19e6f -eo pid,comm [2023-07-19T15:29:10.907Z] 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-07-19T15:29:10.907Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T15:29:10.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T15:29:10.942Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T15:29:11.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T15:29:11.054Z] $ docker exec 62a4ed292de3921cac0a74477205f6ee41ed853db693b6d500f33abdaad19e6f ssh-agent [2023-07-19T15:29:11.163Z] SSH_AUTH_SOCK=/tmp/ssh-oYaAcI42qIxV/agent.32 [2023-07-19T15:29:11.164Z] SSH_AGENT_PID=38 [2023-07-19T15:29:11.167Z] Running ssh-add (command line suppressed) [2023-07-19T15:29:11.267Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7154191076315405492.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7154191076315405492.key) [2023-07-19T15:29:11.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T15:29:11.566Z] + git semver tag [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,742 [run_tag] DEBUG tag force:False [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,742 [check_head_tag] DEBUG check head tag [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,742 [execute] INFO git cat-file --batch-check [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,746 [execute] INFO git cat-file --batch [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,754 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,754 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,754 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-19T15:29:11.826Z] 2023-07-19 15:29:11,759 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:11.826Z] 3.1.0-dev.1 [Pipeline] } [2023-07-19T15:29:11.834Z] $ docker exec --env ******** --env ******** 62a4ed292de3921cac0a74477205f6ee41ed853db693b6d500f33abdaad19e6f ssh-agent -k [2023-07-19T15:29:11.936Z] unset SSH_AUTH_SOCK; [2023-07-19T15:29:11.937Z] unset SSH_AGENT_PID; [2023-07-19T15:29:11.937Z] echo Agent pid 38 killed; [2023-07-19T15:29:11.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T15:29:12.252Z] + git semver [Pipeline] } [2023-07-19T15:29:12.522Z] $ docker stop --time=1 62a4ed292de3921cac0a74477205f6ee41ed853db693b6d500f33abdaad19e6f [2023-07-19T15:29:13.778Z] $ docker rm -f --volumes 62a4ed292de3921cac0a74477205f6ee41ed853db693b6d500f33abdaad19e6f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:14.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T15:29:14.166Z] [2023-07-19T15:29:14.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:14.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T15:29:14.465Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-19T15:29:14.465Z] ab5ef0e58194: Pulling fs layer [2023-07-19T15:29:14.465Z] 9712f1f96733: Pulling fs layer [2023-07-19T15:29:14.465Z] 63f879dbbcfc: Pulling fs layer [2023-07-19T15:29:14.465Z] 0d9ebad4ef96: Pulling fs layer [2023-07-19T15:29:14.465Z] e9a5061849ea: Pulling fs layer [2023-07-19T15:29:14.465Z] d747dcd14b5f: Pulling fs layer [2023-07-19T15:29:14.465Z] 2de7ff778b66: Pulling fs layer [2023-07-19T15:29:14.465Z] 0d9ebad4ef96: Waiting [2023-07-19T15:29:14.465Z] e9a5061849ea: Waiting [2023-07-19T15:29:14.465Z] d747dcd14b5f: Waiting [2023-07-19T15:29:14.465Z] 2de7ff778b66: Waiting [2023-07-19T15:29:14.465Z] 9712f1f96733: Verifying Checksum [2023-07-19T15:29:14.465Z] 9712f1f96733: Download complete [2023-07-19T15:29:14.725Z] 63f879dbbcfc: Verifying Checksum [2023-07-19T15:29:14.725Z] 63f879dbbcfc: Download complete [2023-07-19T15:29:14.982Z] 0d9ebad4ef96: Verifying Checksum [2023-07-19T15:29:14.982Z] 0d9ebad4ef96: Download complete [2023-07-19T15:29:14.982Z] d747dcd14b5f: Verifying Checksum [2023-07-19T15:29:14.982Z] d747dcd14b5f: Download complete [2023-07-19T15:29:14.982Z] e9a5061849ea: Verifying Checksum [2023-07-19T15:29:14.982Z] ab5ef0e58194: Verifying Checksum [2023-07-19T15:29:14.982Z] ab5ef0e58194: Download complete [2023-07-19T15:29:15.239Z] 2de7ff778b66: Verifying Checksum [2023-07-19T15:29:15.239Z] 2de7ff778b66: Download complete [2023-07-19T15:29:17.764Z] ab5ef0e58194: Pull complete [2023-07-19T15:29:17.764Z] 9712f1f96733: Pull complete [2023-07-19T15:29:18.330Z] 63f879dbbcfc: Pull complete [2023-07-19T15:29:22.509Z] 0d9ebad4ef96: Pull complete [2023-07-19T15:29:22.509Z] e9a5061849ea: Pull complete [2023-07-19T15:29:22.509Z] d747dcd14b5f: Pull complete [2023-07-19T15:29:23.076Z] 2de7ff778b66: Pull complete [2023-07-19T15:29:23.076Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-19T15:29:23.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-19T15:29:23.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:29:23.410Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:29:23.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-19T15:29:30.909Z] $ docker top a584dfa17fc21758d17b6a4e44837130e18a3ccad1ce86273a0b140385970081 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-19T15:29:30.969Z] provisioning config files... [2023-07-19T15:29:30.976Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1958991737911665689tmp [2023-07-19T15:29:30.986Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3323115922353714631tmp [2023-07-19T15:29:30.996Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10196760201563941196tmp [Pipeline] { [Pipeline] echo [2023-07-19T15:29:31.009Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:31.288Z] ---> sigul-configuration.sh [2023-07-19T15:29:31.288Z] gpg: directory `/root/.gnupg' created [2023-07-19T15:29:31.288Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-19T15:29:31.288Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-19T15:29:31.288Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-19T15:29:31.288Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-19T15:29:31.288Z] gpg: CAST5 encrypted data [2023-07-19T15:29:31.288Z] gpg: encrypted with 1 passphrase [2023-07-19T15:29:31.288Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-19T15:29:31.571Z] + mkdir /home/jenkins [2023-07-19T15:29:31.571Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-19T15:29:31.855Z] + 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-07-19T15:29:31.863Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:32.144Z] ---> sigul-install.sh [2023-07-19T15:29:32.144Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-19T15:29:32.435Z] + git tag --list [2023-07-19T15:29:32.435Z] v1.0.0 [2023-07-19T15:29:32.435Z] v1.1.0 [2023-07-19T15:29:32.435Z] v1.1.1 [2023-07-19T15:29:32.435Z] v1.2.1 [2023-07-19T15:29:32.435Z] v1.2.2 [2023-07-19T15:29:32.435Z] v1.2.3 [2023-07-19T15:29:32.435Z] v1.3.0 [2023-07-19T15:29:32.435Z] v1.3.1 [2023-07-19T15:29:32.435Z] v2.0.0 [2023-07-19T15:29:32.435Z] v2.1.0 [2023-07-19T15:29:32.435Z] v2.1.1 [2023-07-19T15:29:32.435Z] v2.2.0 [2023-07-19T15:29:32.435Z] v2.3.0 [2023-07-19T15:29:32.435Z] v3.0 [2023-07-19T15:29:32.435Z] v3.0.0 [2023-07-19T15:29:32.435Z] v3.1.0-dev.1 [Pipeline] sh [2023-07-19T15:29:32.720Z] + lftools sign git-tag v3.1.0-dev.1 [2023-07-19T15:29:33.287Z] Signing Git tag with Sigul... [2023-07-19T15:29:33.287Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-07-19T15:29:33.556Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:33.840Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-19T15:29:33.847Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-19T15:29:33.870Z] $ docker stop --time=1 a584dfa17fc21758d17b6a4e44837130e18a3ccad1ce86273a0b140385970081 [2023-07-19T15:29:35.173Z] $ docker rm -f --volumes a584dfa17fc21758d17b6a4e44837130e18a3ccad1ce86273a0b140385970081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-19T15:29:35.591Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T15:29:35.591Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:35.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:29:35.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:29:35.958Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:29:35.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T15:29:36.313Z] $ docker top 3e48765c9ca13e2fee7cd357a6d98326b8b8f8e35dfdecea5e228ac4ee3e6127 -eo pid,comm [2023-07-19T15:29:36.360Z] 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-07-19T15:29:36.361Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T15:29:36.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T15:29:36.390Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T15:29:36.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T15:29:36.490Z] $ docker exec 3e48765c9ca13e2fee7cd357a6d98326b8b8f8e35dfdecea5e228ac4ee3e6127 ssh-agent [2023-07-19T15:29:36.594Z] SSH_AUTH_SOCK=/tmp/ssh-HxZqc9Xk03pj/agent.32 [2023-07-19T15:29:36.594Z] SSH_AGENT_PID=38 [2023-07-19T15:29:36.598Z] Running ssh-add (command line suppressed) [2023-07-19T15:29:36.690Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9415154503247534935.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9415154503247534935.key) [2023-07-19T15:29:36.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T15:29:36.989Z] + git semver bump pre [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,157 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,157 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,157 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,158 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,159 [execute] INFO git cat-file --batch-check [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,164 [execute] INFO git cat-file --batch [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T15:29:37.248Z] 2023-07-19 15:29:37,170 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:37.248Z] 3.1.0-dev.2 [Pipeline] } [2023-07-19T15:29:37.256Z] $ docker exec --env ******** --env ******** 3e48765c9ca13e2fee7cd357a6d98326b8b8f8e35dfdecea5e228ac4ee3e6127 ssh-agent -k [2023-07-19T15:29:37.351Z] unset SSH_AUTH_SOCK; [2023-07-19T15:29:37.352Z] unset SSH_AGENT_PID; [2023-07-19T15:29:37.352Z] echo Agent pid 38 killed; [2023-07-19T15:29:37.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T15:29:37.670Z] + git semver [Pipeline] } [2023-07-19T15:29:37.937Z] $ docker stop --time=1 3e48765c9ca13e2fee7cd357a6d98326b8b8f8e35dfdecea5e228ac4ee3e6127 [2023-07-19T15:29:39.195Z] $ docker rm -f --volumes 3e48765c9ca13e2fee7cd357a6d98326b8b8f8e35dfdecea5e228ac4ee3e6127 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T15:29:39.535Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T15:29:39.535Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:39.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T15:29:39.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:29:39.897Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:29:39.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T15:29:40.276Z] $ docker top 1ddedbfb69c49849d524da858ce6853e305030f5bfb2cf2ee3a1d3bfb9fd0167 -eo pid,comm [2023-07-19T15:29:40.324Z] 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-07-19T15:29:40.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T15:29:40.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T15:29:40.364Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T15:29:40.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T15:29:40.467Z] $ docker exec 1ddedbfb69c49849d524da858ce6853e305030f5bfb2cf2ee3a1d3bfb9fd0167 ssh-agent [2023-07-19T15:29:40.568Z] SSH_AUTH_SOCK=/tmp/ssh-TG3iZEJWGhPx/agent.32 [2023-07-19T15:29:40.568Z] SSH_AGENT_PID=38 [2023-07-19T15:29:40.573Z] Running ssh-add (command line suppressed) [2023-07-19T15:29:40.667Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12089540088315866463.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12089540088315866463.key) [2023-07-19T15:29:40.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T15:29:40.964Z] + git semver push [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,135 [run_push] DEBUG push [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,135 [execute] INFO git cat-file --batch-check [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,140 [execute] INFO git rev-list bc31ae6dcc143158a91b04f23202968d9dcc4131 -- [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,140 [execute] DEBUG Popen(['git', 'rev-list', 'bc31ae6dcc143158a91b04f23202968d9dcc4131', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,149 [execute] INFO git fetch -v origin [2023-07-19T15:29:41.224Z] 2023-07-19 15:29:41,149 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-19T15:29:41.791Z] 2023-07-19 15:29:41,610 [run_push] DEBUG no remote changes detected [2023-07-19T15:29:41.791Z] 2023-07-19 15:29:41,611 [execute] INFO git push origin semver [2023-07-19T15:29:41.791Z] 2023-07-19 15:29:41,611 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-19T15:29:42.728Z] 2023-07-19 15:29:42,358 [run_push] DEBUG push all version tags [2023-07-19T15:29:42.728Z] 2023-07-19 15:29:42,359 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-19T15:29:42.728Z] 2023-07-19 15:29:42,359 [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-07-19T15:29:43.296Z] 2023-07-19 15:29:43,115 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-07-19T15:29:43.296Z] 3.1.0-dev.2 [Pipeline] } [2023-07-19T15:29:43.305Z] $ docker exec --env ******** --env ******** 1ddedbfb69c49849d524da858ce6853e305030f5bfb2cf2ee3a1d3bfb9fd0167 ssh-agent -k [2023-07-19T15:29:43.402Z] unset SSH_AUTH_SOCK; [2023-07-19T15:29:43.402Z] unset SSH_AGENT_PID; [2023-07-19T15:29:43.402Z] echo Agent pid 38 killed; [2023-07-19T15:29:43.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T15:29:43.722Z] + git semver [Pipeline] } [2023-07-19T15:29:43.991Z] $ docker stop --time=1 1ddedbfb69c49849d524da858ce6853e305030f5bfb2cf2ee3a1d3bfb9fd0167 [2023-07-19T15:29:45.292Z] $ docker rm -f --volumes 1ddedbfb69c49849d524da858ce6853e305030f5bfb2cf2ee3a1d3bfb9fd0167 [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-07-19T15:29:45.827Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-07-19T15:29:45.827Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-19T15:29:45.827Z] total 16 [2023-07-19T15:29:45.827Z] drwxr-xr-x 3 root root 4096 Jul 19 15:18 . [2023-07-19T15:29:45.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 15:29 .. [2023-07-19T15:29:45.827Z] drwxr-xr-x 2 root root 4096 Jul 19 15:18 cost [2023-07-19T15:29:45.827Z] -rw-r--r-- 1 root root 89 Jul 19 15:18 cost.csv [2023-07-19T15:29:45.827Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-19T15:29:45.827Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-07-19T15:29:45.827Z] total 16 [2023-07-19T15:29:45.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 15:18 . [2023-07-19T15:29:45.827Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 15:29 .. [2023-07-19T15:29:45.827Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 15:18 cost [2023-07-19T15:29:45.827Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 19 15:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:46.109Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:46.957Z] ---> package-listing.sh [2023-07-19T15:29:46.957Z] ++ facter osfamily [2023-07-19T15:29:46.957Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T15:29:47.217Z] + OS_FAMILY=debian [2023-07-19T15:29:47.217Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-07-19T15:29:47.217Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T15:29:47.217Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T15:29:47.217Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T15:29:47.217Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T15:29:47.217Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-07-19T15:29:47.217Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T15:29:47.217Z] + case "${OS_FAMILY}" in [2023-07-19T15:29:47.217Z] + dpkg -l [2023-07-19T15:29:47.217Z] + grep '^ii' [2023-07-19T15:29:47.217Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T15:29:47.217Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T15:29:47.217Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T15:29:47.217Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-07-19T15:29:47.217Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-07-19T15:29:47.217Z] + 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-07-19T15:29:47.228Z] 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-07-19T15:29:47.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T15:29:48.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T15:29:48.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T15:29:48.133Z] prd-ubuntu20.04-docker-8c-8g-1542 does not seem to be running inside a container [2023-07-19T15:29:48.282Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T15:29:48.519Z] $ docker top f5b5f96adda17233f378fedfabdf807ea2d70bbe7769cbf4da581063b3dbc8ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T15:29:48.883Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T15:29:49.175Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T15:29:49.457Z] + ls /var/log/sa-host [2023-07-19T15:29:49.457Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T15:29:49.533Z] provisioning config files... [2023-07-19T15:29:49.542Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17899498125842285442tmp [Pipeline] { [Pipeline] echo [2023-07-19T15:29:49.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:49.838Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T15:29:49.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:50.171Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T15:29:50.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:50.453Z] ---> sudo-logs.sh [2023-07-19T15:29:50.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T15:29:50.485Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:50.764Z] ---> job-cost.sh [2023-07-19T15:29:50.764Z] lf-activate-venv: SKIPPING [2023-07-19T15:29:50.764Z] DEBUG: total: 0.2199999988079071 [2023-07-19T15:29:50.764Z] INFO: Retrieving Stack Cost... [2023-07-19T15:29:51.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T15:29:51.587Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T15:29:51.596Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T15:29:51.877Z] ---> logs-deploy.sh [2023-07-19T15:29:51.877Z] lf-activate-venv: SKIPPING [2023-07-19T15:29:51.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/127 [2023-07-19T15:29:51.877Z] INFO: archiving workspace using pattern(s): [2023-07-19T15:29:52.811Z] Archives upload complete. [2023-07-19T15:29:52.811Z] INFO: archiving logs to Nexus [2023-07-19T15:29:53.379Z] ---> uname -a: [2023-07-19T15:29:53.379Z] Linux prd-ubuntu20-04-docker-8c-8g-1542 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-19T15:29:53.379Z] [2023-07-19T15:29:53.379Z]