Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a04d26f76890061c899b2731a9aad77e3e4418b 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-ssh10440778341273161313.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11159897435379841230.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13302081945751919565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14221555349208935511.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-ssh17872295241765984071.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 ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-850’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-853 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 5a04d26f76890061c899b2731a9aad77e3e4418b (main) Commit message: "ci: Change dependabot gomod schedule to daily (#359)" > 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 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 > git rev-list --no-walk 96a5dbd4cf59e276ad3c0925590d8fa28104ff38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:10:52.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:10:52.330Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:10:52.345Z] ========================================================= [2023-03-15T16:10:52.345Z] EdgeX Global Pipelines Version Info [2023-03-15T16:10:52.345Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:10:53.068Z] ------------------- [2023-03-15T16:10:53.068Z] stable info: [2023-03-15T16:10:53.068Z] ------------------- [2023-03-15T16:10:53.068Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:10:53.068Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:10:53.068Z] Message: update stable to v1.0.245 [2023-03-15T16:10:53.639Z] ------------------- [2023-03-15T16:10:53.639Z] experimental info: [2023-03-15T16:10:53.639Z] ------------------- [2023-03-15T16:10:53.639Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:10:53.639Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:10:53.639Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:10:53.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-15T16:10:53.793Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-15T16:10:53.801Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:10:53.809Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:10:53.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:10:53.834Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:10:53.842Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:10:53.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:10:53.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:10:53.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:10:53.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:10:53.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-15T16:10:53.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:10:53.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:10:53.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:10:53.918Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:10:53.928Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:10:53.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:10:53.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:10:53.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:10:53.961Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:10:53.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:10:53.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:10:53.987Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:10:53.996Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:10:54.004Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:10:54.014Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:10:54.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T16:10:54.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T16:10:54.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T16:10:54.069Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] echo [2023-03-15T16:10:54.083Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a04d26 [Pipeline] echo [2023-03-15T16:10:54.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:10:54.126Z] provisioning config files... [2023-03-15T16:10:54.140Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17149022300447197874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:10:54.435Z] ---> docker-login.sh [2023-03-15T16:10:54.436Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:10:54.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:54.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:54.696Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:54.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:54.696Z] [2023-03-15T16:10:54.696Z] Login Succeeded [2023-03-15T16:10:54.696Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:10:54.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:54.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:54.955Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:54.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:54.955Z] [2023-03-15T16:10:54.955Z] Login Succeeded [2023-03-15T16:10:54.955Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:10:54.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:54.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:54.955Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:54.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:54.955Z] [2023-03-15T16:10:54.955Z] Login Succeeded [2023-03-15T16:10:54.955Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:10:54.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:54.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:54.955Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:54.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:54.955Z] [2023-03-15T16:10:54.955Z] Login Succeeded [2023-03-15T16:10:54.955Z] docker.io [2023-03-15T16:10:55.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:10:55.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:10:55.472Z] Configure a credential helper to remove this warning. See [2023-03-15T16:10:55.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:10:55.472Z] [2023-03-15T16:10:55.472Z] Login Succeeded [2023-03-15T16:10:55.472Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:10:55.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:10:55.830Z] + git rev-list -1 --merges 5a04d26f76890061c899b2731a9aad77e3e4418b~1..5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] echo [2023-03-15T16:10:55.879Z] -----------> git rev-list -1 --merges 5a04d26f76890061c899b2731a9aad77e3e4418b~1..5a04d26f76890061c899b2731a9aad77e3e4418b 5a04d26f76890061c899b2731a9aad77e3e4418b [false] [Pipeline] sh [2023-03-15T16:10:56.166Z] + git log --format=format:%s -1 5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] echo [2023-03-15T16:10:56.183Z] ========================================================= [2023-03-15T16:10:56.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:10:56.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:10:56.508Z] + git log --format=format:%s -1 5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] echo [2023-03-15T16:10:56.520Z] [semverPrep] GIT_COMMIT: 5a04d26f76890061c899b2731a9aad77e3e4418b, Commit Message: ci: Change dependabot gomod schedule to daily (#359) [Pipeline] echo [2023-03-15T16:10:56.526Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:10:56.885Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:10:56.885Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:10:56.885Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:10:56.885Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:10:56.885Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:10:56.885Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:10:56.885Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:57.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:10:57.313Z] [2023-03-15T16:10:57.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:10:57.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:10:57.614Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:10:57.614Z] b85a868b505f: Pulling fs layer [2023-03-15T16:10:57.614Z] e2be974225ed: Pulling fs layer [2023-03-15T16:10:57.614Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:10:57.614Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:10:57.614Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:10:57.614Z] eaf3925da568: Pulling fs layer [2023-03-15T16:10:57.614Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:10:57.614Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:10:57.614Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:10:57.614Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:10:57.614Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:10:57.614Z] bab4dde63d76: Waiting [2023-03-15T16:10:57.614Z] bde34c3a00c8: Waiting [2023-03-15T16:10:57.614Z] 4872d77fe225: Waiting [2023-03-15T16:10:57.614Z] 5851b861e8e6: Waiting [2023-03-15T16:10:57.614Z] 1469e6f7b9e6: Waiting [2023-03-15T16:10:57.614Z] 988bab9f4d93: Waiting [2023-03-15T16:10:57.614Z] eaf3925da568: Waiting [2023-03-15T16:10:57.614Z] b352a97aabf1: Waiting [2023-03-15T16:10:57.614Z] e2be974225ed: Verifying Checksum [2023-03-15T16:10:57.614Z] e2be974225ed: Download complete [2023-03-15T16:10:57.614Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:10:57.614Z] 988bab9f4d93: Download complete [2023-03-15T16:10:57.875Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:10:57.875Z] 1469e6f7b9e6: Download complete [2023-03-15T16:10:57.875Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:10:57.875Z] 339a4e72a1f5: Download complete [2023-03-15T16:10:57.875Z] eaf3925da568: Download complete [2023-03-15T16:10:57.875Z] bde34c3a00c8: Download complete [2023-03-15T16:10:57.875Z] b352a97aabf1: Download complete [2023-03-15T16:10:57.875Z] 4872d77fe225: Download complete [2023-03-15T16:10:57.875Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:10:57.875Z] 5851b861e8e6: Download complete [2023-03-15T16:10:57.875Z] b85a868b505f: Verifying Checksum [2023-03-15T16:10:57.875Z] b85a868b505f: Download complete [2023-03-15T16:10:58.441Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:10:58.441Z] bab4dde63d76: Download complete [2023-03-15T16:10:59.380Z] b85a868b505f: Pull complete [2023-03-15T16:10:59.380Z] e2be974225ed: Pull complete [2023-03-15T16:10:59.637Z] 339a4e72a1f5: Pull complete [2023-03-15T16:10:59.895Z] 988bab9f4d93: Pull complete [2023-03-15T16:11:00.153Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:11:00.153Z] eaf3925da568: Pull complete [2023-03-15T16:11:02.075Z] bab4dde63d76: Pull complete [2023-03-15T16:11:02.076Z] bde34c3a00c8: Pull complete [2023-03-15T16:11:02.076Z] b352a97aabf1: Pull complete [2023-03-15T16:11:02.076Z] 4872d77fe225: Pull complete [2023-03-15T16:11:02.333Z] 5851b861e8e6: Pull complete [2023-03-15T16:11:02.333Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:11:02.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:02.333Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:02.437Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:11:02.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:11:03.920Z] $ docker top bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 -eo pid,comm [2023-03-15T16:11:03.985Z] 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-03-15T16:11:03.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:11:04.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:04.015Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:04.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:04.136Z] $ docker exec bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 ssh-agent [2023-03-15T16:11:04.263Z] SSH_AUTH_SOCK=/tmp/ssh-4omeZraX7wz7/agent.32 [2023-03-15T16:11:04.263Z] SSH_AGENT_PID=38 [2023-03-15T16:11:04.271Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:04.363Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14601140369930220642.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14601140369930220642.key) [2023-03-15T16:11:04.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:04.675Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:11:04.679Z] $ docker exec --env ******** --env ******** bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 ssh-agent -k [2023-03-15T16:11:04.773Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:04.773Z] unset SSH_AGENT_PID; [2023-03-15T16:11:04.773Z] echo Agent pid 38 killed; [2023-03-15T16:11:04.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:11:04.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:11:04.830Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:11:04.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:11:04.940Z] $ docker exec bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 ssh-agent [2023-03-15T16:11:05.064Z] SSH_AUTH_SOCK=/tmp/ssh-fOPvJgQfqxSS/agent.70 [2023-03-15T16:11:05.064Z] SSH_AGENT_PID=76 [2023-03-15T16:11:05.069Z] Running ssh-add (command line suppressed) [2023-03-15T16:11:05.172Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1881537030968162012.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1881537030968162012.key) [2023-03-15T16:11:05.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:11:05.481Z] + git semver init [2023-03-15T16:11:05.739Z] 2023-03-15 16:11:05,661 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:11:05.739Z] 2023-03-15 16:11:05,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T16:11:05.739Z] 2023-03-15 16:11:05,662 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T16:11:05.739Z] 2023-03-15 16:11:05,662 [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-03-15T16:11:06.678Z] 2023-03-15 16:11:06,624 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-03-15T16:11:06.678Z] 2023-03-15 16:11:06,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-03-15T16:11:06.678Z] 2023-03-15 16:11:06,625 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:11:06.678Z] 2023-03-15 16:11:06,625 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:11:06.678Z] 3.0.0-dev.23 [Pipeline] } [2023-03-15T16:11:06.678Z] $ docker exec --env ******** --env ******** bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 ssh-agent -k [2023-03-15T16:11:06.786Z] unset SSH_AUTH_SOCK; [2023-03-15T16:11:06.787Z] unset SSH_AGENT_PID; [2023-03-15T16:11:06.788Z] echo Agent pid 76 killed; [2023-03-15T16:11:06.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:11:07.114Z] + git semver [Pipeline] } [2023-03-15T16:11:07.378Z] $ docker stop --time=1 bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 [2023-03-15T16:11:08.813Z] $ docker rm -f --volumes bb0ddc81f5ebb66ed4112cc031f0902b02f7173019740eb1a63cc6f42b531c46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:11:09.170Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:11:09.404Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:11:09.406Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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-03-15T16:11:09.519Z] provisioning config files... [2023-03-15T16:11:09.529Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5338172627270596632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:09.827Z] ---> docker-login.sh [2023-03-15T16:11:09.827Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:09.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:09.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:09.827Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:09.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:09.827Z] [2023-03-15T16:11:09.827Z] Login Succeeded [2023-03-15T16:11:09.827Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:09.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:09.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:09.827Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:09.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:09.827Z] [2023-03-15T16:11:09.827Z] Login Succeeded [2023-03-15T16:11:09.827Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:10.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:10.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:10.085Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:10.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:10.085Z] [2023-03-15T16:11:10.085Z] Login Succeeded [2023-03-15T16:11:10.085Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:10.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:10.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:10.085Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:10.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:10.085Z] [2023-03-15T16:11:10.085Z] Login Succeeded [2023-03-15T16:11:10.085Z] docker.io [2023-03-15T16:11:10.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:10.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:10.342Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:10.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:10.342Z] [2023-03-15T16:11:10.342Z] Login Succeeded [2023-03-15T16:11:10.342Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:10.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:11:10.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:10.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:11:10.429Z] ========================================================= [2023-03-15T16:11:10.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:11:10.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:10.731Z] + 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-03-15T16:11:10.731Z] Sending build context to Docker daemon 23.5MB [2023-03-15T16:11:10.731Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:11:10.731Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:11:10.731Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:11:10.731Z] 63b65145d645: Pulling fs layer [2023-03-15T16:11:10.731Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:11:10.731Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:11:10.731Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:11:10.731Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:11:10.731Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:11:10.731Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:11:10.731Z] f25807f1079a: Pulling fs layer [2023-03-15T16:11:10.731Z] 6808be2612f2: Waiting [2023-03-15T16:11:10.731Z] 30dea6a524f1: Waiting [2023-03-15T16:11:10.731Z] f25807f1079a: Waiting [2023-03-15T16:11:10.731Z] a2aff8979fd8: Waiting [2023-03-15T16:11:10.731Z] 94cc34f8dd06: Waiting [2023-03-15T16:11:10.989Z] a2d21d5440eb: Verifying Checksum [2023-03-15T16:11:10.989Z] a2d21d5440eb: Download complete [2023-03-15T16:11:10.989Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:11:10.989Z] 94cc34f8dd06: Download complete [2023-03-15T16:11:10.989Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:11:10.989Z] 30dea6a524f1: Download complete [2023-03-15T16:11:10.989Z] 63b65145d645: Verifying Checksum [2023-03-15T16:11:10.989Z] 63b65145d645: Download complete [2023-03-15T16:11:10.989Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:11:10.989Z] a2aff8979fd8: Download complete [2023-03-15T16:11:11.255Z] 63b65145d645: Pull complete [2023-03-15T16:11:11.255Z] a2d21d5440eb: Pull complete [2023-03-15T16:11:11.516Z] f25807f1079a: Verifying Checksum [2023-03-15T16:11:11.516Z] f25807f1079a: Download complete [2023-03-15T16:11:11.774Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:11:11.774Z] 935e6c44a52c: Download complete [2023-03-15T16:11:12.031Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:11:12.031Z] 6808be2612f2: Download complete [2023-03-15T16:11:15.316Z] 935e6c44a52c: Pull complete [2023-03-15T16:11:15.316Z] 94cc34f8dd06: Pull complete [2023-03-15T16:11:15.316Z] 30dea6a524f1: Pull complete [2023-03-15T16:11:15.316Z] a2aff8979fd8: Pull complete [2023-03-15T16:11:17.212Z] 6808be2612f2: Pull complete [2023-03-15T16:11:18.145Z] f25807f1079a: Pull complete [2023-03-15T16:11:18.145Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:11:18.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:11:18.145Z] ---> 3b553350e43f [2023-03-15T16:11:18.145Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:11:20.683Z] ---> Running in 3500320ab630 [2023-03-15T16:11:20.683Z] Removing intermediate container 3500320ab630 [2023-03-15T16:11:20.683Z] ---> 512018cd29d5 [2023-03-15T16:11:20.683Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:11:20.683Z] ---> Running in ae7180398c3d [2023-03-15T16:11:20.941Z] Removing intermediate container ae7180398c3d [2023-03-15T16:11:20.941Z] ---> d124211f11ef [2023-03-15T16:11:20.941Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:11:20.941Z] ---> Running in d69776b1fff7 [2023-03-15T16:11:21.198Z] Removing intermediate container d69776b1fff7 [2023-03-15T16:11:21.198Z] ---> e7a788e7986a [2023-03-15T16:11:21.198Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T16:11:21.460Z] ---> Running in f67ba22a5f87 [2023-03-15T16:11:21.721Z] Removing intermediate container f67ba22a5f87 [2023-03-15T16:11:21.721Z] ---> e6ed8aeeb05e [2023-03-15T16:11:21.721Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:11:21.980Z] ---> Running in 69e08e80b69e [2023-03-15T16:11:22.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:22.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:11:22.498Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:11:22.498Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:11:22.498Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:11:22.498Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:11:22.498Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:11:22.498Z] OK: 269 MiB in 57 packages [2023-03-15T16:11:23.063Z] Removing intermediate container 69e08e80b69e [2023-03-15T16:11:23.063Z] ---> 686b46c5db50 [2023-03-15T16:11:23.063Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:11:23.063Z] ---> 0a70dc0285cc [2023-03-15T16:11:23.063Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:11:23.063Z] ---> Running in ea0680fbe73e [2023-03-15T16:11:24.492Z] Still waiting to schedule task [2023-03-15T16:11:24.492Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:11:45.030Z] Removing intermediate container ea0680fbe73e [2023-03-15T16:11:45.030Z] ---> 8241cda8c3b8 [2023-03-15T16:11:45.030Z] Step 10/12 : COPY . . [2023-03-15T16:11:45.030Z] ---> 8b79f05ba7b9 [2023-03-15T16:11:45.030Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:11:45.030Z] ---> Running in cc53928316ea [2023-03-15T16:11:45.030Z] Removing intermediate container cc53928316ea [2023-03-15T16:11:45.030Z] ---> f661c77fefc0 [2023-03-15T16:11:45.030Z] Step 12/12 : RUN $MAKE [2023-03-15T16:11:45.030Z] ---> Running in 9e9b8b86cdad [2023-03-15T16:11:45.030Z] noop [2023-03-15T16:11:45.287Z] Removing intermediate container 9e9b8b86cdad [2023-03-15T16:11:45.287Z] ---> 7e6b1825c3c4 [2023-03-15T16:11:45.287Z] Successfully built 7e6b1825c3c4 [2023-03-15T16:11:45.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:45.589Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:11:45.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:45.655Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:11:45.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:11:46.056Z] $ docker top 2c370955428283828cfaf49a008417e6bf1c63525dd780e0c17c016610adf783 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:11:46.384Z] + go version [2023-03-15T16:11:46.384Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:11:46.401Z] $ docker stop --time=1 2c370955428283828cfaf49a008417e6bf1c63525dd780e0c17c016610adf783 [2023-03-15T16:11:47.730Z] $ docker rm -f --volumes 2c370955428283828cfaf49a008417e6bf1c63525dd780e0c17c016610adf783 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:48.111Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:11:48.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:11:48.186Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:11:48.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:11:48.581Z] $ docker top c29014805dd22771bfb158566507612ea213310a651db678b895c0619de634bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:11:48.910Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:11:49.200Z] + make test [2023-03-15T16:11:49.200Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:11:53.380Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T16:12:03.338Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T16:12:03.338Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements [2023-03-15T16:12:08.599Z] go vet ./... [2023-03-15T16:12:11.885Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:12:11.885Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:12:11.885Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:12:11.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:12:11.915Z] $ docker stop --time=1 c29014805dd22771bfb158566507612ea213310a651db678b895c0619de634bd [2023-03-15T16:12:13.978Z] $ docker rm -f --volumes c29014805dd22771bfb158566507612ea213310a651db678b895c0619de634bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:12:14.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:12:14.456Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:12:15.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:12:15.343Z] + ls -al . [2023-03-15T16:12:15.343Z] total 192 [2023-03-15T16:12:15.343Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:11 . [2023-03-15T16:12:15.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 .. [2023-03-15T16:12:15.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:11 .git [2023-03-15T16:12:15.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 .github [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:10 .gitignore [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:10 .golangci.yml [2023-03-15T16:12:15.343Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:11 .semver [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:10 Attribution.txt [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:10 CHANGELOG.md [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:10 Dockerfile [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:10 GOVERNANCE.md [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:10 Jenkinsfile [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:10 LICENSE [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:10 Makefile [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:10 OWNERS.md [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:10 README.md [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:11 VERSION [2023-03-15T16:12:15.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 bin [2023-03-15T16:12:15.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 cmd [2023-03-15T16:12:15.343Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:12 coverage.out [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:10 go.mod [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:10 go.sum [2023-03-15T16:12:15.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 internal [2023-03-15T16:12:15.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 snap [2023-03-15T16:12:15.343Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:15.670Z] + 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=5a04d26f76890061c899b2731a9aad77e3e4418b --label arch=amd64 --label version=3.0.0-dev.23 . [2023-03-15T16:12:15.670Z] Sending build context to Docker daemon 23.54MB [2023-03-15T16:12:15.670Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:12:15.670Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:12:15.670Z] ---> 7e6b1825c3c4 [2023-03-15T16:12:15.671Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:12:15.939Z] ---> Running in 29dfaa6b201c [2023-03-15T16:12:15.939Z] Removing intermediate container 29dfaa6b201c [2023-03-15T16:12:15.939Z] ---> 1c5ad571c8ec [2023-03-15T16:12:15.939Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:12:15.939Z] ---> Running in 8656063224c2 [2023-03-15T16:12:15.939Z] Removing intermediate container 8656063224c2 [2023-03-15T16:12:15.939Z] ---> 3a35d6ea7b92 [2023-03-15T16:12:15.939Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:12:16.198Z] ---> Running in 0783ede9d89b [2023-03-15T16:12:16.198Z] Removing intermediate container 0783ede9d89b [2023-03-15T16:12:16.198Z] ---> 27321b5191ae [2023-03-15T16:12:16.198Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T16:12:16.198Z] ---> Running in 69498396f8f4 [2023-03-15T16:12:16.198Z] Removing intermediate container 69498396f8f4 [2023-03-15T16:12:16.198Z] ---> 639127040876 [2023-03-15T16:12:16.198Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:12:16.459Z] ---> Running in 82ba313e1a76 [2023-03-15T16:12:16.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:16.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:17.235Z] OK: 269 MiB in 57 packages [2023-03-15T16:12:17.494Z] Removing intermediate container 82ba313e1a76 [2023-03-15T16:12:17.494Z] ---> 66e930b1886b [2023-03-15T16:12:17.494Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T16:12:17.494Z] ---> c1e1da9cacae [2023-03-15T16:12:17.494Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:12:17.494Z] ---> Running in 973dd987fb02 [2023-03-15T16:12:18.429Z] Removing intermediate container 973dd987fb02 [2023-03-15T16:12:18.429Z] ---> 9fc524131826 [2023-03-15T16:12:18.429Z] Step 10/25 : COPY . . [2023-03-15T16:12:18.998Z] ---> e8a6744f1d23 [2023-03-15T16:12:18.998Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:12:18.998Z] ---> Running in f337d392d057 [2023-03-15T16:12:18.998Z] Removing intermediate container f337d392d057 [2023-03-15T16:12:18.998Z] ---> a49fd027d1cc [2023-03-15T16:12:18.998Z] Step 12/25 : RUN $MAKE [2023-03-15T16:12:18.998Z] ---> Running in f252c221c8bb [2023-03-15T16:12:19.255Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T16:12:37.327Z] Removing intermediate container f252c221c8bb [2023-03-15T16:12:37.327Z] ---> 7e88e3ba31bc [2023-03-15T16:12:37.327Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:12:37.327Z] 3.17: Pulling from library/alpine [2023-03-15T16:12:37.327Z] 63b65145d645: Already exists [2023-03-15T16:12:37.327Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:12:37.327Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:12:37.327Z] ---> b2aa39c304c2 [2023-03-15T16:12:37.327Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T16:12:37.327Z] ---> Running in 9817024b3f95 [2023-03-15T16:12:37.327Z] Removing intermediate container 9817024b3f95 [2023-03-15T16:12:37.327Z] ---> 979b6e02afe0 [2023-03-15T16:12:37.327Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:12:37.327Z] ---> Running in f37561c7de59 [2023-03-15T16:12:37.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:37.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:37.327Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:12:37.327Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:12:37.327Z] OK: 7 MiB in 16 packages [2023-03-15T16:12:37.327Z] Removing intermediate container f37561c7de59 [2023-03-15T16:12:37.327Z] ---> 7bf50c48e29e [2023-03-15T16:12:37.327Z] Step 16/25 : WORKDIR / [2023-03-15T16:12:37.327Z] ---> Running in 433c5104907b [2023-03-15T16:12:37.593Z] Removing intermediate container 433c5104907b [2023-03-15T16:12:37.593Z] ---> 5b81c1b5d3c7 [2023-03-15T16:12:37.593Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T16:12:37.593Z] ---> f76f31afe2df [2023-03-15T16:12:37.593Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T16:12:37.851Z] ---> ed3eaed9bb15 [2023-03-15T16:12:37.851Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T16:12:38.416Z] ---> 1c498e823310 [2023-03-15T16:12:38.416Z] Step 20/25 : EXPOSE 59900 [2023-03-15T16:12:38.416Z] ---> Running in 796ad7cbfd59 [2023-03-15T16:12:38.416Z] Removing intermediate container 796ad7cbfd59 [2023-03-15T16:12:38.416Z] ---> e25d42d03452 [2023-03-15T16:12:38.416Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T16:12:38.416Z] ---> Running in d9ab7c389797 [2023-03-15T16:12:38.416Z] Removing intermediate container d9ab7c389797 [2023-03-15T16:12:38.416Z] ---> db4cba322ccb [2023-03-15T16:12:38.416Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T16:12:38.673Z] ---> Running in 8e6a9c5d322d [2023-03-15T16:12:38.673Z] Removing intermediate container 8e6a9c5d322d [2023-03-15T16:12:38.673Z] ---> 5e7fe89bd080 [2023-03-15T16:12:38.673Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T16:12:38.673Z] ---> Running in d29a8c4d8440 [2023-03-15T16:12:38.673Z] Removing intermediate container d29a8c4d8440 [2023-03-15T16:12:38.673Z] ---> 788c74e316a2 [2023-03-15T16:12:38.673Z] Step 24/25 : LABEL git_sha=5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:12:38.673Z] ---> Running in 5c038246c35a [2023-03-15T16:12:38.931Z] Removing intermediate container 5c038246c35a [2023-03-15T16:12:38.931Z] ---> 993d7db686b3 [2023-03-15T16:12:38.931Z] Step 25/25 : LABEL version=3.0.0-dev.23 [2023-03-15T16:12:38.931Z] ---> Running in 9dde8c3c9a62 [2023-03-15T16:12:38.931Z] Removing intermediate container 9dde8c3c9a62 [2023-03-15T16:12:38.931Z] ---> 0df684685aa5 [2023-03-15T16:12:38.931Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:12:38.931Z] Successfully built 0df684685aa5 [2023-03-15T16:12:38.931Z] 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-03-15T16:12:39.032Z] provisioning config files... [2023-03-15T16:12:39.040Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4946907672711247933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:12:39.329Z] ---> docker-login.sh [2023-03-15T16:12:39.329Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:12:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:39.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:39.329Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:39.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:39.329Z] [2023-03-15T16:12:39.329Z] Login Succeeded [2023-03-15T16:12:39.329Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:12:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:39.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:39.329Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:39.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:39.329Z] [2023-03-15T16:12:39.329Z] Login Succeeded [2023-03-15T16:12:39.329Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:12:39.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:39.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:39.587Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:39.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:39.587Z] [2023-03-15T16:12:39.587Z] Login Succeeded [2023-03-15T16:12:39.587Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:12:39.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:39.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:39.587Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:39.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:39.587Z] [2023-03-15T16:12:39.587Z] Login Succeeded [2023-03-15T16:12:39.587Z] docker.io [2023-03-15T16:12:39.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:39.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:39.845Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:39.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:39.845Z] [2023-03-15T16:12:39.845Z] Login Succeeded [2023-03-15T16:12:39.845Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:12:39.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:12:39.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:12:39.902Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-03-15T16:12:39.902Z] 5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:12:39.902Z] latest [2023-03-15T16:12:39.902Z] 3.0.0-dev.23 [2023-03-15T16:12:39.902Z] 5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:12:39.902Z] main [2023-03-15T16:12:39.902Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:40.224Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:40.533Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:12:40.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T16:12:40.533Z] e9871bc9a74b: Preparing [2023-03-15T16:12:40.533Z] 713953714297: Preparing [2023-03-15T16:12:40.533Z] 073795b6475f: Preparing [2023-03-15T16:12:40.533Z] edb1d8d9b896: Preparing [2023-03-15T16:12:40.533Z] 7cd52847ad77: Preparing [2023-03-15T16:12:40.533Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:40.533Z] 713953714297: Pushed [2023-03-15T16:12:40.533Z] 073795b6475f: Pushed [2023-03-15T16:12:40.533Z] edb1d8d9b896: Pushed [2023-03-15T16:12:43.066Z] e9871bc9a74b: Pushed [2023-03-15T16:12:43.066Z] 5a04d26f76890061c899b2731a9aad77e3e4418b: digest: sha256:d728d1c6d7ede99de6974f4bd9fbfed71552ba0f2d123dd7303bc8ff05a16bd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:43.378Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:43.692Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T16:12:43.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T16:12:43.693Z] e9871bc9a74b: Preparing [2023-03-15T16:12:43.693Z] 713953714297: Preparing [2023-03-15T16:12:43.693Z] 073795b6475f: Preparing [2023-03-15T16:12:43.693Z] edb1d8d9b896: Preparing [2023-03-15T16:12:43.693Z] 7cd52847ad77: Preparing [2023-03-15T16:12:43.693Z] edb1d8d9b896: Layer already exists [2023-03-15T16:12:43.693Z] e9871bc9a74b: Layer already exists [2023-03-15T16:12:43.693Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:43.693Z] 073795b6475f: Layer already exists [2023-03-15T16:12:43.693Z] 713953714297: Layer already exists [2023-03-15T16:12:43.693Z] latest: digest: sha256:d728d1c6d7ede99de6974f4bd9fbfed71552ba0f2d123dd7303bc8ff05a16bd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:43.998Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:44.303Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.23 [2023-03-15T16:12:44.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T16:12:44.303Z] e9871bc9a74b: Preparing [2023-03-15T16:12:44.303Z] 713953714297: Preparing [2023-03-15T16:12:44.303Z] 073795b6475f: Preparing [2023-03-15T16:12:44.303Z] edb1d8d9b896: Preparing [2023-03-15T16:12:44.303Z] 7cd52847ad77: Preparing [2023-03-15T16:12:44.303Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:44.303Z] 713953714297: Layer already exists [2023-03-15T16:12:44.303Z] e9871bc9a74b: Layer already exists [2023-03-15T16:12:44.303Z] edb1d8d9b896: Layer already exists [2023-03-15T16:12:44.303Z] 073795b6475f: Layer already exists [2023-03-15T16:12:44.303Z] 3.0.0-dev.23: digest: sha256:d728d1c6d7ede99de6974f4bd9fbfed71552ba0f2d123dd7303bc8ff05a16bd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:44.622Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:44.927Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:12:44.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T16:12:44.927Z] e9871bc9a74b: Preparing [2023-03-15T16:12:44.927Z] 713953714297: Preparing [2023-03-15T16:12:44.927Z] 073795b6475f: Preparing [2023-03-15T16:12:44.927Z] edb1d8d9b896: Preparing [2023-03-15T16:12:44.927Z] 7cd52847ad77: Preparing [2023-03-15T16:12:44.927Z] 073795b6475f: Layer already exists [2023-03-15T16:12:44.927Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:44.927Z] 713953714297: Layer already exists [2023-03-15T16:12:44.927Z] e9871bc9a74b: Layer already exists [2023-03-15T16:12:44.927Z] edb1d8d9b896: Layer already exists [2023-03-15T16:12:44.927Z] 5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23: digest: sha256:d728d1c6d7ede99de6974f4bd9fbfed71552ba0f2d123dd7303bc8ff05a16bd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:45.237Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:45.546Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-03-15T16:12:45.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T16:12:45.546Z] e9871bc9a74b: Preparing [2023-03-15T16:12:45.546Z] 713953714297: Preparing [2023-03-15T16:12:45.546Z] 073795b6475f: Preparing [2023-03-15T16:12:45.546Z] edb1d8d9b896: Preparing [2023-03-15T16:12:45.546Z] 7cd52847ad77: Preparing [2023-03-15T16:12:45.546Z] 7cd52847ad77: Layer already exists [2023-03-15T16:12:45.546Z] edb1d8d9b896: Layer already exists [2023-03-15T16:12:45.546Z] e9871bc9a74b: Layer already exists [2023-03-15T16:12:45.546Z] 073795b6475f: Layer already exists [2023-03-15T16:12:45.546Z] 713953714297: Layer already exists [2023-03-15T16:12:45.546Z] main: digest: sha256:d728d1c6d7ede99de6974f4bd9fbfed71552ba0f2d123dd7303bc8ff05a16bd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:12:45.598Z] ===================================================== [Pipeline] echo [2023-03-15T16:12:45.609Z] taggedImages: [2023-03-15T16:12:45.609Z] - nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:12:45.609Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T16:12:45.609Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.23 [2023-03-15T16:12:45.609Z] - nexus3.edgexfoundry.org:10004/device-virtual:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:12:45.609Z] - 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-03-15T16:12:45.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:45.964Z] [2023-03-15T16:12:45.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:46.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:46.260Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:12:46.260Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:12:46.260Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:12:46.260Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:12:46.260Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:12:46.260Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:12:46.260Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:12:46.260Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:12:46.260Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:12:46.260Z] 33b1e0a273af: Waiting [2023-03-15T16:12:46.260Z] 5d3b04190fa2: Waiting [2023-03-15T16:12:46.260Z] 2f39f015ded8: Waiting [2023-03-15T16:12:46.260Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T16:12:46.260Z] 5c69ac0246d0: Download complete [2023-03-15T16:12:46.260Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:12:46.517Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:12:46.517Z] 33b1e0a273af: Download complete [2023-03-15T16:12:46.517Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T16:12:46.517Z] 5d3b04190fa2: Download complete [2023-03-15T16:12:46.517Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:12:46.517Z] ec43610c2a17: Download complete [2023-03-15T16:12:46.517Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:12:46.517Z] 5eb5b503b376: Download complete [2023-03-15T16:12:47.081Z] 2f39f015ded8: Verifying Checksum [2023-03-15T16:12:47.081Z] 2f39f015ded8: Download complete [2023-03-15T16:12:47.646Z] 5eb5b503b376: Pull complete [2023-03-15T16:12:47.646Z] 5c69ac0246d0: Pull complete [2023-03-15T16:12:48.209Z] ec43610c2a17: Pull complete [2023-03-15T16:12:48.209Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:12:48.480Z] 33b1e0a273af: Pull complete [2023-03-15T16:12:48.737Z] 5d3b04190fa2: Pull complete [2023-03-15T16:12:52.913Z] 2f39f015ded8: Pull complete [2023-03-15T16:12:52.913Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:12:52.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:12:52.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:52.994Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:12:53.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:12:54.884Z] $ docker top d08094e3f3640cd55f7cb6fc9603e089927ae28e46ae80c00f8937a02c07a85c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:12:55.241Z] ---> job-cost.sh [2023-03-15T16:12:55.241Z] lf-activate-venv: SKIPPING [2023-03-15T16:12:55.241Z] INFO: No Stack... [2023-03-15T16:12:55.499Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:12:56.066Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:12:56.355Z] + cut -d, -f6 [2023-03-15T16:12:56.355Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-03-15T16:12:56.368Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [2023-03-15T16:12:56.373Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] did not exist. Created. [2023-03-15T16:12:56.373Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:12:56.670Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:12:56.699Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:12:56.706Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:12:56.729Z] $ docker stop --time=1 d08094e3f3640cd55f7cb6fc9603e089927ae28e46ae80c00f8937a02c07a85c [2023-03-15T16:12:57.898Z] $ docker rm -f --volumes d08094e3f3640cd55f7cb6fc9603e089927ae28e46ae80c00f8937a02c07a85c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:17:51.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-939 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-03-15T16:17:51.329Z] Running in /w/workspace/device-virtual-go/95 [Pipeline] { [Pipeline] checkout [2023-03-15T16:17:51.370Z] The recommended git tool is: git [2023-03-15T16:17:59.112Z] using credential edgex-jenkins-ssh [2023-03-15T16:17:59.129Z] Cloning the remote Git repository [2023-03-15T16:17:59.207Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T16:17:59.369Z] > git init /w/workspace/device-virtual-go/95 # timeout=10 [2023-03-15T16:17:59.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T16:17:59.590Z] > git --version # timeout=10 [2023-03-15T16:17:59.619Z] > git --version # 'git version 2.25.1' [2023-03-15T16:17:59.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:17:59.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:02.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-15T16:18:02.395Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:18:03.705Z] Avoid second fetch [2023-03-15T16:18:03.705Z] Checking out Revision 5a04d26f76890061c899b2731a9aad77e3e4418b (main) [2023-03-15T16:18:04.595Z] Commit message: "ci: Change dependabot gomod schedule to daily (#359)" [2023-03-15T16:18:03.733Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:18:03.835Z] > git checkout -f 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:18:06.009Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:18:06.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:18:06.010Z] Dload Upload Total Spent Left Speed [2023-03-15T16:18:06.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 70447 [Pipeline] sh [2023-03-15T16:18:06.763Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:18:07.129Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:18:07.129Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:18:07.129Z] { [2023-03-15T16:18:07.129Z] "registry-mirrors": [ [2023-03-15T16:18:07.129Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:18:07.129Z] ], [2023-03-15T16:18:07.129Z] "bip": "10.250.0.254/24", [2023-03-15T16:18:07.129Z] "hosts": [ [2023-03-15T16:18:07.129Z] "tcp://0.0.0.0:5555", [2023-03-15T16:18:07.129Z] "unix:///var/run/docker.sock" [2023-03-15T16:18:07.129Z] ], [2023-03-15T16:18:07.129Z] "mtu": 1458, [2023-03-15T16:18:07.129Z] "selinux-enabled": true, [2023-03-15T16:18:07.129Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:18:07.129Z] } [Pipeline] sh [2023-03-15T16:18:07.528Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:18:07.896Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:18:26.293Z] provisioning config files... [2023-03-15T16:18:26.330Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/95@tmp/config1838610945294443487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:18:26.729Z] ---> docker-login.sh [2023-03-15T16:18:26.729Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:18:27.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:27.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:27.599Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:27.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:27.599Z] [2023-03-15T16:18:27.599Z] Login Succeeded [2023-03-15T16:18:27.599Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:18:27.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:27.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:27.869Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:27.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:27.869Z] [2023-03-15T16:18:27.869Z] Login Succeeded [2023-03-15T16:18:28.140Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:18:28.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:28.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:28.414Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:28.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:28.414Z] [2023-03-15T16:18:28.414Z] Login Succeeded [2023-03-15T16:18:28.414Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:18:28.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:28.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:28.687Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:28.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:28.687Z] [2023-03-15T16:18:28.687Z] Login Succeeded [2023-03-15T16:18:28.687Z] docker.io [2023-03-15T16:18:29.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:18:29.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:18:29.280Z] Configure a credential helper to remove this warning. See [2023-03-15T16:18:29.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:18:29.280Z] [2023-03-15T16:18:29.280Z] Login Succeeded [2023-03-15T16:18:29.280Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:18:29.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:18:29.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:29.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:18:29.974Z] ========================================================= [2023-03-15T16:18:29.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:18:29.974Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:18:30.350Z] + 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-03-15T16:18:30.969Z] Sending build context to Docker daemon 11.9MB [2023-03-15T16:18:30.969Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:18:30.969Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:18:30.969Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:18:30.969Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:18:30.969Z] 55522c791124: Pulling fs layer [2023-03-15T16:18:30.969Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:18:30.969Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:18:30.969Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:18:30.969Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:18:30.969Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:18:30.969Z] e1ff8fa3b103: Waiting [2023-03-15T16:18:30.969Z] 52ebb69f0ebf: Waiting [2023-03-15T16:18:30.969Z] 5abe8eddf0d5: Waiting [2023-03-15T16:18:30.969Z] 169dfbe0d373: Waiting [2023-03-15T16:18:31.245Z] 55522c791124: Download complete [2023-03-15T16:18:31.245Z] 169dfbe0d373: Download complete [2023-03-15T16:18:31.245Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:18:31.245Z] e1ff8fa3b103: Download complete [2023-03-15T16:18:31.245Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:18:32.230Z] af6eaf76a39c: Pull complete [2023-03-15T16:18:32.505Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:18:32.505Z] 5abe8eddf0d5: Download complete [2023-03-15T16:18:33.104Z] 55522c791124: Pull complete [2023-03-15T16:18:34.090Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:18:34.090Z] 52ebb69f0ebf: Download complete [2023-03-15T16:18:34.090Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:18:34.090Z] ce5c4a1c91eb: Download complete [2023-03-15T16:18:44.591Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:18:44.867Z] 169dfbe0d373: Pull complete [2023-03-15T16:18:45.146Z] e1ff8fa3b103: Pull complete [2023-03-15T16:18:53.462Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:18:54.441Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:18:54.441Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:18:54.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:18:54.441Z] ---> 6cb57ee374ae [2023-03-15T16:18:54.441Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:18:57.133Z] ---> Running in f33e1380a683 [2023-03-15T16:18:57.405Z] Removing intermediate container f33e1380a683 [2023-03-15T16:18:57.405Z] ---> 3695c39c9190 [2023-03-15T16:18:57.405Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:18:57.405Z] ---> Running in 40ba167622f5 [2023-03-15T16:18:57.687Z] Removing intermediate container 40ba167622f5 [2023-03-15T16:18:57.687Z] ---> 712d2de62eba [2023-03-15T16:18:57.687Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:18:57.960Z] ---> Running in 1205d75011d2 [2023-03-15T16:18:58.236Z] Removing intermediate container 1205d75011d2 [2023-03-15T16:18:58.236Z] ---> ddfe20b42952 [2023-03-15T16:18:58.236Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T16:18:58.521Z] ---> Running in 0bd46f65461c [2023-03-15T16:18:58.800Z] Removing intermediate container 0bd46f65461c [2023-03-15T16:18:58.800Z] ---> 8f9319a3a9a0 [2023-03-15T16:18:58.800Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:18:59.073Z] ---> Running in 2cd97f76d359 [2023-03-15T16:19:00.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:01.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:19:02.530Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:19:02.530Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:19:02.530Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:19:02.800Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:19:02.800Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:19:02.800Z] OK: 268 MiB in 57 packages [2023-03-15T16:19:04.353Z] Removing intermediate container 2cd97f76d359 [2023-03-15T16:19:04.353Z] ---> e8787e1e7499 [2023-03-15T16:19:04.353Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:19:04.954Z] ---> 977c4543eda0 [2023-03-15T16:19:04.954Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:19:04.954Z] ---> Running in 711c54bee093 [2023-03-15T16:20:26.692Z] Removing intermediate container 711c54bee093 [2023-03-15T16:20:26.692Z] ---> 0cf212e245ef [2023-03-15T16:20:26.692Z] Step 10/12 : COPY . . [2023-03-15T16:20:26.692Z] ---> 861402892987 [2023-03-15T16:20:26.692Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:20:26.692Z] ---> Running in 660f072c4806 [2023-03-15T16:20:26.692Z] Removing intermediate container 660f072c4806 [2023-03-15T16:20:26.692Z] ---> bb905c1df652 [2023-03-15T16:20:26.692Z] Step 12/12 : RUN $MAKE [2023-03-15T16:20:26.692Z] ---> Running in e421dfaa0fe1 [2023-03-15T16:20:26.692Z] noop [2023-03-15T16:20:26.692Z] Removing intermediate container e421dfaa0fe1 [2023-03-15T16:20:26.692Z] ---> 657eb67125b7 [2023-03-15T16:20:26.692Z] Successfully built 657eb67125b7 [2023-03-15T16:20:26.692Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:27.067Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:27.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:27.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-939 does not seem to be running inside a container [2023-03-15T16:20:27.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/95 -v /w/workspace/device-virtual-go/95:/w/workspace/device-virtual-go/95:rw,z -v /w/workspace/device-virtual-go/95@tmp:/w/workspace/device-virtual-go/95@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-03-15T16:20:28.740Z] $ docker top 715fa7d07e49d12c211a613fcdd7dd53ff18707bc7c5a0a7869632657d199ced -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:29.643Z] + go version [2023-03-15T16:20:29.643Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:20:29.667Z] $ docker stop --time=1 715fa7d07e49d12c211a613fcdd7dd53ff18707bc7c5a0a7869632657d199ced [2023-03-15T16:20:31.726Z] $ docker rm -f --volumes 715fa7d07e49d12c211a613fcdd7dd53ff18707bc7c5a0a7869632657d199ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:20:32.323Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:20:32.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:20:32.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-939 does not seem to be running inside a container [2023-03-15T16:20:32.660Z] $ 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/95 -v /w/workspace/device-virtual-go/95:/w/workspace/device-virtual-go/95:rw,z -v /w/workspace/device-virtual-go/95@tmp:/w/workspace/device-virtual-go/95@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-03-15T16:20:34.056Z] $ docker top 4a91828c6cfc31c56b3720d814bf497b5f07a16e9453e1a3b9bedd18d8c19485 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:20:34.944Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/95 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:20:35.613Z] + make test [2023-03-15T16:20:35.613Z] go test ./... -coverprofile=coverage.out [2023-03-15T16:21:22.524Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T16:24:14.424Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T16:24:14.424Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2023-03-15T16:24:14.424Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:24:14.424Z] go vet ./... [2023-03-15T16:24:32.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:24:32.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:24:32.677Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:24:32.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:24:32.709Z] $ docker stop --time=1 4a91828c6cfc31c56b3720d814bf497b5f07a16e9453e1a3b9bedd18d8c19485 [2023-03-15T16:24:34.855Z] $ docker rm -f --volumes 4a91828c6cfc31c56b3720d814bf497b5f07a16e9453e1a3b9bedd18d8c19485 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:24:36.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:24:36.245Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:24:36.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:24:37.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:24:37.567Z] + ls -al . [2023-03-15T16:24:37.567Z] total 188 [2023-03-15T16:24:37.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:20 . [2023-03-15T16:24:37.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:17 .. [2023-03-15T16:24:37.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:18 .git [2023-03-15T16:24:37.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 .github [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:18 .gitignore [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:18 .golangci.yml [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:18 Attribution.txt [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:18 CHANGELOG.md [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:18 Dockerfile [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:18 GOVERNANCE.md [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:18 Jenkinsfile [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:18 LICENSE [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:18 Makefile [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:18 OWNERS.md [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:18 README.md [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:11 VERSION [2023-03-15T16:24:37.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:18 bin [2023-03-15T16:24:37.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 cmd [2023-03-15T16:24:37.567Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:24 coverage.out [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:18 go.mod [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:18 go.sum [2023-03-15T16:24:37.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 internal [2023-03-15T16:24:37.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 snap [2023-03-15T16:24:37.567Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:37.910Z] + 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=5a04d26f76890061c899b2731a9aad77e3e4418b --label arch=arm64 --label version=3.0.0-dev.23 . [2023-03-15T16:24:38.179Z] Sending build context to Docker daemon 11.95MB [2023-03-15T16:24:38.450Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:24:38.450Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:24:38.450Z] ---> 657eb67125b7 [2023-03-15T16:24:38.450Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:24:38.450Z] ---> Running in 19cde162a4ae [2023-03-15T16:24:38.722Z] Removing intermediate container 19cde162a4ae [2023-03-15T16:24:38.722Z] ---> bcbefc41479f [2023-03-15T16:24:38.722Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:24:38.995Z] ---> Running in c1147108029c [2023-03-15T16:24:39.265Z] Removing intermediate container c1147108029c [2023-03-15T16:24:39.265Z] ---> 19b5b3169c86 [2023-03-15T16:24:39.265Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:24:39.265Z] ---> Running in c90c0e603d87 [2023-03-15T16:24:39.535Z] Removing intermediate container c90c0e603d87 [2023-03-15T16:24:39.535Z] ---> bf3cfdec95fa [2023-03-15T16:24:39.535Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T16:24:39.811Z] ---> Running in 3d5ddd4787ca [2023-03-15T16:24:40.080Z] Removing intermediate container 3d5ddd4787ca [2023-03-15T16:24:40.080Z] ---> 51adc94f8014 [2023-03-15T16:24:40.080Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:24:40.080Z] ---> Running in 58d9abf6e3b9 [2023-03-15T16:24:41.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:41.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:24:43.040Z] OK: 268 MiB in 57 packages [2023-03-15T16:24:43.625Z] Removing intermediate container 58d9abf6e3b9 [2023-03-15T16:24:43.625Z] ---> 5a34921b6b6b [2023-03-15T16:24:43.625Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T16:24:44.213Z] ---> f500f476b417 [2023-03-15T16:24:44.213Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:24:44.213Z] ---> Running in dc676d288ad5 [2023-03-15T16:24:47.567Z] Removing intermediate container dc676d288ad5 [2023-03-15T16:24:47.567Z] ---> 944b72fd23bf [2023-03-15T16:24:47.567Z] Step 10/25 : COPY . . [2023-03-15T16:24:48.157Z] ---> a5fcedfbd0e1 [2023-03-15T16:24:48.157Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:24:48.425Z] ---> Running in 0a7d42c51eff [2023-03-15T16:24:48.699Z] Removing intermediate container 0a7d42c51eff [2023-03-15T16:24:48.699Z] ---> 3792a92e0940 [2023-03-15T16:24:48.699Z] Step 12/25 : RUN $MAKE [2023-03-15T16:24:48.699Z] ---> Running in 72ccc329d225 [2023-03-15T16:24:49.676Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T16:27:41.510Z] Removing intermediate container 72ccc329d225 [2023-03-15T16:27:41.510Z] ---> 8e0f9ef23d9f [2023-03-15T16:27:41.510Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:27:41.510Z] 3.17: Pulling from library/alpine [2023-03-15T16:27:41.510Z] af6eaf76a39c: Already exists [2023-03-15T16:27:41.510Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:27:41.510Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:27:41.510Z] ---> d74e625d9115 [2023-03-15T16:27:41.510Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T16:27:41.510Z] ---> Running in 99f159b82e16 [2023-03-15T16:27:41.510Z] Removing intermediate container 99f159b82e16 [2023-03-15T16:27:41.510Z] ---> d50e1556e289 [2023-03-15T16:27:41.510Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:27:41.510Z] ---> Running in c9b2506405f4 [2023-03-15T16:27:41.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:41.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:27:41.510Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:27:41.510Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:27:41.510Z] OK: 8 MiB in 16 packages [2023-03-15T16:27:41.510Z] Removing intermediate container c9b2506405f4 [2023-03-15T16:27:41.510Z] ---> 6444a23a0b06 [2023-03-15T16:27:41.510Z] Step 16/25 : WORKDIR / [2023-03-15T16:27:41.510Z] ---> Running in c3e6267cfa5b [2023-03-15T16:27:41.510Z] Removing intermediate container c3e6267cfa5b [2023-03-15T16:27:41.510Z] ---> 06559753718c [2023-03-15T16:27:41.510Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T16:27:41.510Z] ---> b02652f66261 [2023-03-15T16:27:41.510Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T16:27:41.510Z] ---> cd40609b0b5f [2023-03-15T16:27:41.510Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T16:27:41.510Z] ---> 3da6109a6e88 [2023-03-15T16:27:41.510Z] Step 20/25 : EXPOSE 59900 [2023-03-15T16:27:41.510Z] ---> Running in bdaa003527b3 [2023-03-15T16:27:41.510Z] Removing intermediate container bdaa003527b3 [2023-03-15T16:27:41.510Z] ---> cb6195607c64 [2023-03-15T16:27:41.510Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T16:27:41.510Z] ---> Running in ed6b98a7f47b [2023-03-15T16:27:41.782Z] Removing intermediate container ed6b98a7f47b [2023-03-15T16:27:41.782Z] ---> 9174cfc5dd38 [2023-03-15T16:27:41.782Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T16:27:42.051Z] ---> Running in 12634e5bbd3b [2023-03-15T16:27:42.322Z] Removing intermediate container 12634e5bbd3b [2023-03-15T16:27:42.322Z] ---> e7dd49246230 [2023-03-15T16:27:42.322Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:27:42.609Z] ---> Running in 6b0a31a2fa9d [2023-03-15T16:27:42.876Z] Removing intermediate container 6b0a31a2fa9d [2023-03-15T16:27:42.876Z] ---> 6d4c9decdb83 [2023-03-15T16:27:42.876Z] Step 24/25 : LABEL git_sha=5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:27:43.144Z] ---> Running in f8e3177a6e45 [2023-03-15T16:27:43.414Z] Removing intermediate container f8e3177a6e45 [2023-03-15T16:27:43.414Z] ---> 6eec1c5a0dfe [2023-03-15T16:27:43.414Z] Step 25/25 : LABEL version=3.0.0-dev.23 [2023-03-15T16:27:43.685Z] ---> Running in 0f3e0ebeb8ae [2023-03-15T16:27:43.958Z] Removing intermediate container 0f3e0ebeb8ae [2023-03-15T16:27:43.958Z] ---> 88fc5c0d4938 [2023-03-15T16:27:43.958Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:27:43.958Z] Successfully built 88fc5c0d4938 [2023-03-15T16:27:43.958Z] 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-03-15T16:27:44.046Z] provisioning config files... [2023-03-15T16:27:44.064Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/95@tmp/config9506660528351729415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:44.416Z] ---> docker-login.sh [2023-03-15T16:27:44.416Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:27:44.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:44.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:44.685Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:44.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:44.685Z] [2023-03-15T16:27:44.685Z] Login Succeeded [2023-03-15T16:27:44.685Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:27:44.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:45.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:45.224Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:45.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:45.224Z] [2023-03-15T16:27:45.224Z] Login Succeeded [2023-03-15T16:27:45.224Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:27:45.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:45.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:45.494Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:45.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:45.494Z] [2023-03-15T16:27:45.494Z] Login Succeeded [2023-03-15T16:27:45.763Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:27:46.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:46.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:46.032Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:46.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:46.032Z] [2023-03-15T16:27:46.032Z] Login Succeeded [2023-03-15T16:27:46.032Z] docker.io [2023-03-15T16:27:46.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:46.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:46.574Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:46.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:46.574Z] [2023-03-15T16:27:46.574Z] Login Succeeded [2023-03-15T16:27:46.574Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:27:46.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:27:46.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:27:46.641Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-03-15T16:27:46.641Z] 5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:27:46.641Z] latest [2023-03-15T16:27:46.641Z] 3.0.0-dev.23 [2023-03-15T16:27:46.641Z] 5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:27:46.641Z] main [2023-03-15T16:27:46.641Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:47.067Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:47.467Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:27:47.467Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T16:27:47.467Z] 3c8e3afa7537: Preparing [2023-03-15T16:27:47.467Z] affd6738670c: Preparing [2023-03-15T16:27:47.467Z] 0d2c294c236b: Preparing [2023-03-15T16:27:47.467Z] 65003b4aa61b: Preparing [2023-03-15T16:27:47.467Z] edf70074bd40: Preparing [2023-03-15T16:27:47.467Z] edf70074bd40: Layer already exists [2023-03-15T16:27:47.755Z] 0d2c294c236b: Pushed [2023-03-15T16:27:47.755Z] affd6738670c: Pushed [2023-03-15T16:27:47.755Z] 65003b4aa61b: Pushed [2023-03-15T16:27:54.502Z] 3c8e3afa7537: Pushed [2023-03-15T16:27:54.502Z] 5a04d26f76890061c899b2731a9aad77e3e4418b: digest: sha256:4388abb8edd2304c1ea94531bc840e8d1d5c3debfe7a535eb1441d1fa0f9bd0c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:54.874Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:55.238Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T16:27:55.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T16:27:55.238Z] 3c8e3afa7537: Preparing [2023-03-15T16:27:55.238Z] affd6738670c: Preparing [2023-03-15T16:27:55.238Z] 0d2c294c236b: Preparing [2023-03-15T16:27:55.238Z] 65003b4aa61b: Preparing [2023-03-15T16:27:55.238Z] edf70074bd40: Preparing [2023-03-15T16:27:55.238Z] 0d2c294c236b: Layer already exists [2023-03-15T16:27:55.238Z] affd6738670c: Layer already exists [2023-03-15T16:27:55.238Z] 65003b4aa61b: Layer already exists [2023-03-15T16:27:55.238Z] 3c8e3afa7537: Layer already exists [2023-03-15T16:27:55.238Z] edf70074bd40: Layer already exists [2023-03-15T16:27:55.509Z] latest: digest: sha256:4388abb8edd2304c1ea94531bc840e8d1d5c3debfe7a535eb1441d1fa0f9bd0c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:55.880Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:56.247Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.23 [2023-03-15T16:27:56.247Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T16:27:56.247Z] 3c8e3afa7537: Preparing [2023-03-15T16:27:56.247Z] affd6738670c: Preparing [2023-03-15T16:27:56.247Z] 0d2c294c236b: Preparing [2023-03-15T16:27:56.247Z] 65003b4aa61b: Preparing [2023-03-15T16:27:56.247Z] edf70074bd40: Preparing [2023-03-15T16:27:56.247Z] edf70074bd40: Layer already exists [2023-03-15T16:27:56.247Z] 0d2c294c236b: Layer already exists [2023-03-15T16:27:56.247Z] 3c8e3afa7537: Layer already exists [2023-03-15T16:27:56.247Z] affd6738670c: Layer already exists [2023-03-15T16:27:56.247Z] 65003b4aa61b: Layer already exists [2023-03-15T16:27:56.523Z] 3.0.0-dev.23: digest: sha256:4388abb8edd2304c1ea94531bc840e8d1d5c3debfe7a535eb1441d1fa0f9bd0c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:56.894Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:57.262Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:27:57.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T16:27:57.262Z] 3c8e3afa7537: Preparing [2023-03-15T16:27:57.262Z] affd6738670c: Preparing [2023-03-15T16:27:57.262Z] 0d2c294c236b: Preparing [2023-03-15T16:27:57.262Z] 65003b4aa61b: Preparing [2023-03-15T16:27:57.262Z] edf70074bd40: Preparing [2023-03-15T16:27:57.262Z] 0d2c294c236b: Layer already exists [2023-03-15T16:27:57.262Z] edf70074bd40: Layer already exists [2023-03-15T16:27:57.262Z] affd6738670c: Layer already exists [2023-03-15T16:27:57.262Z] 3c8e3afa7537: Layer already exists [2023-03-15T16:27:57.262Z] 65003b4aa61b: Layer already exists [2023-03-15T16:27:57.535Z] 5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23: digest: sha256:4388abb8edd2304c1ea94531bc840e8d1d5c3debfe7a535eb1441d1fa0f9bd0c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:57.909Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:58.275Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-03-15T16:27:58.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T16:27:58.275Z] 3c8e3afa7537: Preparing [2023-03-15T16:27:58.275Z] affd6738670c: Preparing [2023-03-15T16:27:58.275Z] 0d2c294c236b: Preparing [2023-03-15T16:27:58.275Z] 65003b4aa61b: Preparing [2023-03-15T16:27:58.275Z] edf70074bd40: Preparing [2023-03-15T16:27:58.275Z] 65003b4aa61b: Layer already exists [2023-03-15T16:27:58.275Z] 0d2c294c236b: Layer already exists [2023-03-15T16:27:58.275Z] 3c8e3afa7537: Layer already exists [2023-03-15T16:27:58.275Z] affd6738670c: Layer already exists [2023-03-15T16:27:58.275Z] edf70074bd40: Layer already exists [2023-03-15T16:27:58.546Z] main: digest: sha256:4388abb8edd2304c1ea94531bc840e8d1d5c3debfe7a535eb1441d1fa0f9bd0c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:27:58.604Z] ===================================================== [Pipeline] echo [2023-03-15T16:27:58.609Z] taggedImages: [2023-03-15T16:27:58.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b [2023-03-15T16:27:58.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T16:27:58.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.23 [2023-03-15T16:27:58.609Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5a04d26f76890061c899b2731a9aad77e3e4418b-3.0.0-dev.23 [2023-03-15T16:27:58.609Z] - 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-03-15T16:27:58.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:58.983Z] [2023-03-15T16:27:58.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:59.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:27:59.616Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:27:59.616Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:27:59.616Z] 04944245beec: Pulling fs layer [2023-03-15T16:27:59.616Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:27:59.616Z] 765212b225bb: Pulling fs layer [2023-03-15T16:27:59.616Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:27:59.616Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:27:59.616Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:27:59.616Z] 765212b225bb: Waiting [2023-03-15T16:27:59.616Z] f23df028b6ca: Waiting [2023-03-15T16:27:59.616Z] d65c8cfc05b1: Waiting [2023-03-15T16:27:59.616Z] 2437ff75d9bd: Waiting [2023-03-15T16:27:59.616Z] 04944245beec: Verifying Checksum [2023-03-15T16:27:59.616Z] 04944245beec: Download complete [2023-03-15T16:27:59.616Z] 765212b225bb: Verifying Checksum [2023-03-15T16:27:59.616Z] 765212b225bb: Download complete [2023-03-15T16:27:59.616Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:27:59.616Z] f23df028b6ca: Download complete [2023-03-15T16:27:59.893Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:27:59.893Z] d65c8cfc05b1: Download complete [2023-03-15T16:27:59.893Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:27:59.893Z] 699f458cf7ca: Download complete [2023-03-15T16:28:00.488Z] 8998bd30e6a1: Download complete [2023-03-15T16:28:03.124Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:28:03.124Z] 2437ff75d9bd: Download complete [2023-03-15T16:28:05.089Z] 8998bd30e6a1: Pull complete [2023-03-15T16:28:05.358Z] 04944245beec: Pull complete [2023-03-15T16:28:06.788Z] 699f458cf7ca: Pull complete [2023-03-15T16:28:07.058Z] 765212b225bb: Pull complete [2023-03-15T16:28:08.037Z] f23df028b6ca: Pull complete [2023-03-15T16:28:08.309Z] d65c8cfc05b1: Pull complete [2023-03-15T16:28:23.350Z] 2437ff75d9bd: Pull complete [2023-03-15T16:28:23.350Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:28:23.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:28:23.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:23.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-939 does not seem to be running inside a container [2023-03-15T16:28:23.642Z] $ 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/95 -v /w/workspace/device-virtual-go/95:/w/workspace/device-virtual-go/95:rw,z -v /w/workspace/device-virtual-go/95@tmp:/w/workspace/device-virtual-go/95@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-03-15T16:28:26.459Z] $ docker top 08d0c358bc7169951711353a0f62bba9ed6eef89da2b7e4eb4a39bc76375bde8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:27.355Z] ---> job-cost.sh [2023-03-15T16:28:27.355Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:27.355Z] INFO: No Stack... [2023-03-15T16:28:27.936Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:28:28.518Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:28:29.099Z] + cut -d, -f6 [2023-03-15T16:28:29.099Z] + cat /w/workspace/device-virtual-go/95/archives/cost.csv [Pipeline] lock [2023-03-15T16:28:29.163Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [2023-03-15T16:28:29.170Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] did not exist. Created. [2023-03-15T16:28:29.170Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:28:29.501Z] /w/workspace/device-virtual-go/95@tmp/durable-2e3f7d5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:28:29.830Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:28:29.852Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:28:29.897Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:28:29.903Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:28:29.919Z] $ docker stop --time=1 08d0c358bc7169951711353a0f62bba9ed6eef89da2b7e4eb4a39bc76375bde8 [2023-03-15T16:28:31.377Z] $ docker rm -f --volumes 08d0c358bc7169951711353a0f62bba9ed6eef89da2b7e4eb4a39bc76375bde8 [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-03-15T16:28:31.704Z] provisioning config files... [2023-03-15T16:28:31.710Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10554259591572692166tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:28:31.997Z] + set +x [2023-03-15T16:28:31.998Z] + curl -s https://codecov.io/bash [2023-03-15T16:28:31.998Z] + bash -s -- [2023-03-15T16:28:31.998Z] [2023-03-15T16:28:31.998Z] _____ _ [2023-03-15T16:28:31.998Z] / ____| | | [2023-03-15T16:28:31.998Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:28:31.998Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:28:31.998Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:28:31.998Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:28:31.998Z] Bash-1.0.6 [2023-03-15T16:28:31.998Z] [2023-03-15T16:28:31.998Z] [2023-03-15T16:28:31.998Z] ==> git version 2.25.1 found [2023-03-15T16:28:31.998Z] ==> 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-03-15T16:28:31.998Z] Release-Date: 2020-01-08 [2023-03-15T16:28:31.998Z] 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-03-15T16:28:31.998Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:28:31.998Z] ==> Jenkins CI detected. [2023-03-15T16:28:31.998Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-03-15T16:28:31.998Z] project root: . [2023-03-15T16:28:31.998Z] --> token set from env [2023-03-15T16:28:31.998Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:28:31.998Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:28:31.998Z] ==> Python coveragepy not found [2023-03-15T16:28:31.998Z] ==> Searching for coverage reports in: [2023-03-15T16:28:31.998Z] + . [2023-03-15T16:28:31.998Z] -> Found 1 reports [2023-03-15T16:28:31.998Z] ==> Detecting git/mercurial file structure [2023-03-15T16:28:31.998Z] ==> Reading reports [2023-03-15T16:28:31.998Z] + ./coverage.out bytes=44311 [2023-03-15T16:28:31.998Z] ==> Appending adjustments [2023-03-15T16:28:31.998Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:28:32.256Z] + Found adjustments [2023-03-15T16:28:32.256Z] ==> Gzipping contents [2023-03-15T16:28:32.256Z] 8.0K /tmp/codecov.9QUl9f.gz [2023-03-15T16:28:32.256Z] ==> Uploading reports [2023-03-15T16:28:32.256Z] url: https://codecov.io [2023-03-15T16:28:32.256Z] query: branch=main&commit=5a04d26f76890061c899b2731a9aad77e3e4418b&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:28:32.256Z] -> Pinging Codecov [2023-03-15T16:28:32.256Z] 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=5a04d26f76890061c899b2731a9aad77e3e4418b&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:28:32.256Z] -> Uploading to [2023-03-15T16:28:32.256Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/5a04d26f76890061c899b2731a9aad77e3e4418b/17e3d8f7-bb0b-48f7-838c-d362ce2f7325.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2978a0dd090399af04a7cb7fb5cf6841e5ee5dc468c11b0d9e3646fb18d6ea3 [2023-03-15T16:28:32.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:28:32.256Z] Dload Upload Total Spent Left Speed [2023-03-15T16:28:32.514Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 23506 --:--:-- --:--:-- --:--:-- 23506 [2023-03-15T16:28:32.514Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] } [2023-03-15T16:28:32.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T16:28:32.645Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T16:28:32.656Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:32.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:28:32.951Z] [2023-03-15T16:28:32.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:33.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:28:33.244Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T16:28:33.244Z] df9b9388f04a: Pulling fs layer [2023-03-15T16:28:33.244Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T16:28:33.244Z] 25bc292e5bac: Pulling fs layer [2023-03-15T16:28:33.244Z] 114826534d7a: Pulling fs layer [2023-03-15T16:28:33.244Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T16:28:33.244Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T16:28:33.244Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T16:28:33.244Z] 4657fd5d0bcf: Waiting [2023-03-15T16:28:33.244Z] 6ad1cebc031e: Waiting [2023-03-15T16:28:33.244Z] 114826534d7a: Waiting [2023-03-15T16:28:33.244Z] 8a3aa393b2d8: Waiting [2023-03-15T16:28:33.244Z] 25bc292e5bac: Verifying Checksum [2023-03-15T16:28:33.244Z] 25bc292e5bac: Download complete [2023-03-15T16:28:33.244Z] 52dc419b0ee2: Download complete [2023-03-15T16:28:33.244Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T16:28:33.244Z] 4657fd5d0bcf: Download complete [2023-03-15T16:28:33.504Z] df9b9388f04a: Download complete [2023-03-15T16:28:33.504Z] df9b9388f04a: Pull complete [2023-03-15T16:28:33.504Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T16:28:33.504Z] 6ad1cebc031e: Download complete [2023-03-15T16:28:33.504Z] 52dc419b0ee2: Pull complete [2023-03-15T16:28:33.763Z] 25bc292e5bac: Pull complete [2023-03-15T16:28:34.024Z] 114826534d7a: Verifying Checksum [2023-03-15T16:28:34.024Z] 114826534d7a: Download complete [2023-03-15T16:28:34.281Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T16:28:34.281Z] 8a3aa393b2d8: Download complete [2023-03-15T16:28:37.564Z] 114826534d7a: Pull complete [2023-03-15T16:28:37.564Z] 4657fd5d0bcf: Pull complete [2023-03-15T16:28:37.564Z] 6ad1cebc031e: Pull complete [2023-03-15T16:28:40.094Z] 8a3aa393b2d8: Pull complete [2023-03-15T16:28:40.094Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T16:28:40.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:28:40.094Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:40.178Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:28:40.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T16:28:42.105Z] $ docker top 3ff253a047dfe5922fd8139b44a281f625167cd6e11580de826bb6bfef5d8cac -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T16:28:42.148Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-03-15T16:28:42.423Z] + set -o pipefail [2023-03-15T16:28:42.423Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/320ad869-902b-46d7-ae46-d80d965d4e23 [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] [2023-03-15T16:28:48.983Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T16:28:48.983Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T16:28:48.983Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-15T16:28:49.011Z] $ docker stop --time=1 3ff253a047dfe5922fd8139b44a281f625167cd6e11580de826bb6bfef5d8cac [2023-03-15T16:28:51.024Z] $ docker rm -f --volumes 3ff253a047dfe5922fd8139b44a281f625167cd6e11580de826bb6bfef5d8cac [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-03-15T16:28:51.672Z] + git log --format=format:%s -1 5a04d26f76890061c899b2731a9aad77e3e4418b [Pipeline] sh [2023-03-15T16:28:51.959Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:28:51.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:52.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:28:52.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:52.322Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:28:52.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:28:52.784Z] $ docker top 07d980580d58b9ea20b35b738cd17a58018057dbd69abc76d062c3f63c24f359 -eo pid,comm [2023-03-15T16:28:52.813Z] 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-03-15T16:28:52.813Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:28:52.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:28:52.858Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:28:52.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:28:53.008Z] $ docker exec 07d980580d58b9ea20b35b738cd17a58018057dbd69abc76d062c3f63c24f359 ssh-agent [2023-03-15T16:28:53.092Z] SSH_AUTH_SOCK=/tmp/ssh-a980PF4zjY0O/agent.32 [2023-03-15T16:28:53.092Z] SSH_AGENT_PID=38 [2023-03-15T16:28:53.097Z] Running ssh-add (command line suppressed) [2023-03-15T16:28:53.214Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10729917636014679089.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10729917636014679089.key) [2023-03-15T16:28:53.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:28:53.494Z] + git semver tag [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,677 [run_tag] DEBUG tag force:False [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,677 [check_head_tag] DEBUG check head tag [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,678 [execute] INFO git cat-file --batch-check [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,681 [execute] INFO git cat-file --batch [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,703 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,703 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,703 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:28:53.753Z] 2023-03-15 16:28:53,707 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:28:53.753Z] 3.0.0-dev.23 [Pipeline] } [2023-03-15T16:28:53.780Z] $ docker exec --env ******** --env ******** 07d980580d58b9ea20b35b738cd17a58018057dbd69abc76d062c3f63c24f359 ssh-agent -k [2023-03-15T16:28:53.868Z] unset SSH_AUTH_SOCK; [2023-03-15T16:28:53.868Z] unset SSH_AGENT_PID; [2023-03-15T16:28:53.868Z] echo Agent pid 38 killed; [2023-03-15T16:28:53.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:28:54.168Z] + git semver [Pipeline] } [2023-03-15T16:28:54.457Z] $ docker stop --time=1 07d980580d58b9ea20b35b738cd17a58018057dbd69abc76d062c3f63c24f359 [2023-03-15T16:28:55.764Z] $ docker rm -f --volumes 07d980580d58b9ea20b35b738cd17a58018057dbd69abc76d062c3f63c24f359 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:56.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:28:56.135Z] [2023-03-15T16:28:56.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:56.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:28:56.429Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T16:28:56.429Z] ab5ef0e58194: Pulling fs layer [2023-03-15T16:28:56.429Z] 9712f1f96733: Pulling fs layer [2023-03-15T16:28:56.429Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T16:28:56.429Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T16:28:56.429Z] e9a5061849ea: Pulling fs layer [2023-03-15T16:28:56.429Z] d747dcd14b5f: Pulling fs layer [2023-03-15T16:28:56.429Z] 2de7ff778b66: Pulling fs layer [2023-03-15T16:28:56.429Z] 0d9ebad4ef96: Waiting [2023-03-15T16:28:56.429Z] e9a5061849ea: Waiting [2023-03-15T16:28:56.429Z] d747dcd14b5f: Waiting [2023-03-15T16:28:56.429Z] 2de7ff778b66: Waiting [2023-03-15T16:28:56.429Z] 9712f1f96733: Download complete [2023-03-15T16:28:57.012Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T16:28:57.012Z] 63f879dbbcfc: Download complete [2023-03-15T16:28:57.012Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T16:28:57.012Z] 0d9ebad4ef96: Download complete [2023-03-15T16:28:57.012Z] e9a5061849ea: Verifying Checksum [2023-03-15T16:28:57.012Z] e9a5061849ea: Download complete [2023-03-15T16:28:57.012Z] d747dcd14b5f: Download complete [2023-03-15T16:28:57.270Z] 2de7ff778b66: Download complete [2023-03-15T16:28:57.270Z] ab5ef0e58194: Verifying Checksum [2023-03-15T16:28:57.270Z] ab5ef0e58194: Download complete [2023-03-15T16:28:59.795Z] ab5ef0e58194: Pull complete [2023-03-15T16:28:59.795Z] 9712f1f96733: Pull complete [2023-03-15T16:29:00.727Z] 63f879dbbcfc: Pull complete [2023-03-15T16:29:04.009Z] 0d9ebad4ef96: Pull complete [2023-03-15T16:29:04.266Z] e9a5061849ea: Pull complete [2023-03-15T16:29:04.266Z] d747dcd14b5f: Pull complete [2023-03-15T16:29:05.218Z] 2de7ff778b66: Pull complete [2023-03-15T16:29:05.219Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T16:29:05.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:29:05.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:29:05.285Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:29:05.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-15T16:29:07.489Z] $ docker top 39fc7b6f101960a1cf7cbfe7f7256f0c1d6e6b449f86c882773f85af64786d34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:29:07.544Z] provisioning config files... [2023-03-15T16:29:07.550Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11414642088957923439tmp [2023-03-15T16:29:07.560Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config35962360095691130tmp [2023-03-15T16:29:07.568Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2421432590501788211tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:29:07.583Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:07.864Z] ---> sigul-configuration.sh [2023-03-15T16:29:07.864Z] gpg: directory `/root/.gnupg' created [2023-03-15T16:29:07.864Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T16:29:07.864Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T16:29:07.864Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T16:29:07.864Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T16:29:07.864Z] gpg: CAST5 encrypted data [2023-03-15T16:29:07.864Z] gpg: encrypted with 1 passphrase [2023-03-15T16:29:07.864Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T16:29:08.147Z] + mkdir /home/jenkins [2023-03-15T16:29:08.147Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T16:29:08.430Z] + 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-03-15T16:29:08.439Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:08.726Z] ---> sigul-install.sh [2023-03-15T16:29:08.726Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T16:29:09.005Z] + git tag --list [2023-03-15T16:29:09.005Z] v1.0.0 [2023-03-15T16:29:09.005Z] v1.1.0 [2023-03-15T16:29:09.005Z] v1.1.1 [2023-03-15T16:29:09.005Z] v1.2.1 [2023-03-15T16:29:09.005Z] v1.2.2 [2023-03-15T16:29:09.005Z] v1.2.3 [2023-03-15T16:29:09.005Z] v1.3.0 [2023-03-15T16:29:09.005Z] v1.3.1 [2023-03-15T16:29:09.005Z] v2.0.0 [2023-03-15T16:29:09.005Z] v2.1.0 [2023-03-15T16:29:09.005Z] v2.1.1 [2023-03-15T16:29:09.005Z] v2.1.1-dev.1 [2023-03-15T16:29:09.005Z] v2.1.1-dev.2 [2023-03-15T16:29:09.005Z] v2.2.0 [2023-03-15T16:29:09.005Z] v2.2.1-dev.1 [2023-03-15T16:29:09.005Z] v2.2.1-dev.2 [2023-03-15T16:29:09.005Z] v2.2.1-dev.3 [2023-03-15T16:29:09.005Z] v2.2.1-dev.4 [2023-03-15T16:29:09.005Z] v2.2.1-dev.5 [2023-03-15T16:29:09.005Z] v2.2.1-dev.6 [2023-03-15T16:29:09.005Z] v2.2.1-dev.7 [2023-03-15T16:29:09.005Z] v2.2.1-dev.8 [2023-03-15T16:29:09.005Z] v2.3.0 [2023-03-15T16:29:09.005Z] v2.3.0-dev.10 [2023-03-15T16:29:09.005Z] v2.3.0-dev.11 [2023-03-15T16:29:09.005Z] v2.3.0-dev.12 [2023-03-15T16:29:09.005Z] v2.3.0-dev.13 [2023-03-15T16:29:09.005Z] v2.3.0-dev.14 [2023-03-15T16:29:09.005Z] v2.3.0-dev.15 [2023-03-15T16:29:09.005Z] v2.3.0-dev.16 [2023-03-15T16:29:09.005Z] v2.3.0-dev.17 [2023-03-15T16:29:09.005Z] v2.3.0-dev.18 [2023-03-15T16:29:09.005Z] v2.3.0-dev.19 [2023-03-15T16:29:09.005Z] v2.3.0-dev.20 [2023-03-15T16:29:09.005Z] v2.3.0-dev.21 [2023-03-15T16:29:09.006Z] v2.3.0-dev.22 [2023-03-15T16:29:09.006Z] v2.3.0-dev.23 [2023-03-15T16:29:09.006Z] v2.3.0-dev.24 [2023-03-15T16:29:09.006Z] v2.3.0-dev.25 [2023-03-15T16:29:09.006Z] v2.3.0-dev.26 [2023-03-15T16:29:09.006Z] v2.3.0-dev.27 [2023-03-15T16:29:09.006Z] v2.3.0-dev.28 [2023-03-15T16:29:09.006Z] v2.3.0-dev.29 [2023-03-15T16:29:09.006Z] v2.3.0-dev.30 [2023-03-15T16:29:09.006Z] v2.3.0-dev.8 [2023-03-15T16:29:09.006Z] v2.3.0-dev.9 [2023-03-15T16:29:09.006Z] v3.0.0-dev.1 [2023-03-15T16:29:09.006Z] v3.0.0-dev.10 [2023-03-15T16:29:09.006Z] v3.0.0-dev.11 [2023-03-15T16:29:09.006Z] v3.0.0-dev.12 [2023-03-15T16:29:09.006Z] v3.0.0-dev.13 [2023-03-15T16:29:09.006Z] v3.0.0-dev.14 [2023-03-15T16:29:09.006Z] v3.0.0-dev.15 [2023-03-15T16:29:09.006Z] v3.0.0-dev.16 [2023-03-15T16:29:09.006Z] v3.0.0-dev.17 [2023-03-15T16:29:09.006Z] v3.0.0-dev.18 [2023-03-15T16:29:09.006Z] v3.0.0-dev.19 [2023-03-15T16:29:09.006Z] v3.0.0-dev.2 [2023-03-15T16:29:09.006Z] v3.0.0-dev.20 [2023-03-15T16:29:09.006Z] v3.0.0-dev.21 [2023-03-15T16:29:09.006Z] v3.0.0-dev.22 [2023-03-15T16:29:09.006Z] v3.0.0-dev.23 [2023-03-15T16:29:09.006Z] v3.0.0-dev.3 [2023-03-15T16:29:09.006Z] v3.0.0-dev.4 [2023-03-15T16:29:09.006Z] v3.0.0-dev.5 [2023-03-15T16:29:09.006Z] v3.0.0-dev.6 [2023-03-15T16:29:09.006Z] v3.0.0-dev.7 [2023-03-15T16:29:09.006Z] v3.0.0-dev.8 [2023-03-15T16:29:09.006Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T16:29:09.293Z] + lftools sign git-tag v3.0.0-dev.23 [2023-03-15T16:29:09.860Z] Signing Git tag with Sigul... [2023-03-15T16:29:09.860Z] Signing v3.0.0-dev.23 [Pipeline] echo [2023-03-15T16:29:10.127Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:10.408Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T16:29:10.415Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T16:29:10.449Z] $ docker stop --time=1 39fc7b6f101960a1cf7cbfe7f7256f0c1d6e6b449f86c882773f85af64786d34 [2023-03-15T16:29:11.747Z] $ docker rm -f --volumes 39fc7b6f101960a1cf7cbfe7f7256f0c1d6e6b449f86c882773f85af64786d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T16:29:12.140Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:29:12.141Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:12.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:29:12.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:29:12.512Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:29:12.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:29:12.924Z] $ docker top a6d3f252eb584539b4846b458da51d6a4de43f9d53a362b8ab912643e856563b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:29:12.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:29:12.990Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:29:13.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:29:13.126Z] $ docker exec a6d3f252eb584539b4846b458da51d6a4de43f9d53a362b8ab912643e856563b ssh-agent [2023-03-15T16:29:13.215Z] SSH_AUTH_SOCK=/tmp/ssh-edpyS8j1o3Lg/agent.32 [2023-03-15T16:29:13.215Z] SSH_AGENT_PID=38 [2023-03-15T16:29:13.220Z] Running ssh-add (command line suppressed) [2023-03-15T16:29:13.334Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11189716183894323296.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11189716183894323296.key) [2023-03-15T16:29:13.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:29:13.613Z] + git semver bump pre [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,830 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,830 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,830 [bump_version] DEBUG bumped version:3.0.0-dev.24 [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,830 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,830 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,831 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,833 [execute] INFO git cat-file --batch-check [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,838 [execute] INFO git cat-file --batch [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:29:13.874Z] 2023-03-15 16:29:13,843 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:29:13.874Z] 3.0.0-dev.24 [Pipeline] } [2023-03-15T16:29:13.899Z] $ docker exec --env ******** --env ******** a6d3f252eb584539b4846b458da51d6a4de43f9d53a362b8ab912643e856563b ssh-agent -k [2023-03-15T16:29:13.993Z] unset SSH_AUTH_SOCK; [2023-03-15T16:29:13.993Z] unset SSH_AGENT_PID; [2023-03-15T16:29:13.993Z] echo Agent pid 38 killed; [2023-03-15T16:29:13.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:29:14.300Z] + git semver [Pipeline] } [2023-03-15T16:29:14.591Z] $ docker stop --time=1 a6d3f252eb584539b4846b458da51d6a4de43f9d53a362b8ab912643e856563b [2023-03-15T16:29:15.909Z] $ docker rm -f --volumes a6d3f252eb584539b4846b458da51d6a4de43f9d53a362b8ab912643e856563b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:29:16.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:29:16.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:16.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:29:16.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:29:16.587Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:29:16.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:29:16.998Z] $ docker top d638ee223780c42f99755cfa65ca96ed311d1f1ac9f8f75a023c01efa4458a46 -eo pid,comm [2023-03-15T16:29:17.028Z] 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-03-15T16:29:17.028Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:29:17.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:29:17.056Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:29:17.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:29:17.190Z] $ docker exec d638ee223780c42f99755cfa65ca96ed311d1f1ac9f8f75a023c01efa4458a46 ssh-agent [2023-03-15T16:29:17.289Z] SSH_AUTH_SOCK=/tmp/ssh-QwvWe7eUIT3W/agent.32 [2023-03-15T16:29:17.289Z] SSH_AGENT_PID=38 [2023-03-15T16:29:17.293Z] Running ssh-add (command line suppressed) [2023-03-15T16:29:17.400Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10375254504496249222.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10375254504496249222.key) [2023-03-15T16:29:17.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:29:17.685Z] + git semver push [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,880 [run_push] DEBUG push [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,880 [execute] INFO git cat-file --batch-check [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,884 [execute] INFO git rev-list 5b00b5695c8554fe6080f162714408f289e9952e -- [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,884 [execute] DEBUG Popen(['git', 'rev-list', '5b00b5695c8554fe6080f162714408f289e9952e', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,894 [execute] INFO git fetch -v origin [2023-03-15T16:29:17.944Z] 2023-03-15 16:29:17,894 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-15T16:29:18.509Z] 2023-03-15 16:29:18,503 [run_push] DEBUG no remote changes detected [2023-03-15T16:29:18.509Z] 2023-03-15 16:29:18,504 [execute] INFO git push origin semver [2023-03-15T16:29:18.509Z] 2023-03-15 16:29:18,504 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:29:19.441Z] 2023-03-15 16:29:19,344 [run_push] DEBUG push all version tags [2023-03-15T16:29:19.441Z] 2023-03-15 16:29:19,345 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T16:29:19.441Z] 2023-03-15 16:29:19,345 [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-03-15T16:29:20.813Z] 2023-03-15 16:29:20,616 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T16:29:20.813Z] 3.0.0-dev.24 [Pipeline] } [2023-03-15T16:29:20.839Z] $ docker exec --env ******** --env ******** d638ee223780c42f99755cfa65ca96ed311d1f1ac9f8f75a023c01efa4458a46 ssh-agent -k [2023-03-15T16:29:20.925Z] unset SSH_AUTH_SOCK; [2023-03-15T16:29:20.925Z] unset SSH_AGENT_PID; [2023-03-15T16:29:20.925Z] echo Agent pid 38 killed; [2023-03-15T16:29:20.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:29:21.215Z] + git semver [Pipeline] } [2023-03-15T16:29:21.501Z] $ docker stop --time=1 d638ee223780c42f99755cfa65ca96ed311d1f1ac9f8f75a023c01efa4458a46 [2023-03-15T16:29:22.791Z] $ docker rm -f --volumes d638ee223780c42f99755cfa65ca96ed311d1f1ac9f8f75a023c01efa4458a46 [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-03-15T16:29:23.319Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-03-15T16:29:23.319Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T16:29:23.319Z] total 16 [2023-03-15T16:29:23.319Z] drwxr-xr-x 3 root root 4096 Mar 15 16:12 . [2023-03-15T16:29:23.319Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:29 .. [2023-03-15T16:29:23.319Z] drwxr-xr-x 2 root root 4096 Mar 15 16:12 cost [2023-03-15T16:29:23.319Z] -rw-r--r-- 1 root root 88 Mar 15 16:12 cost.csv [2023-03-15T16:29:23.319Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T16:29:23.319Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T16:29:23.319Z] total 16 [2023-03-15T16:29:23.319Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 . [2023-03-15T16:29:23.319Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:29 .. [2023-03-15T16:29:23.319Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:12 cost [2023-03-15T16:29:23.319Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 15 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:23.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:24.568Z] ---> package-listing.sh [2023-03-15T16:29:24.568Z] ++ facter osfamily [2023-03-15T16:29:24.568Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:29:24.568Z] + OS_FAMILY=debian [2023-03-15T16:29:24.568Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-03-15T16:29:24.568Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:29:24.568Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:29:24.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:29:24.568Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:29:24.568Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T16:29:24.568Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:29:24.568Z] + case "${OS_FAMILY}" in [2023-03-15T16:29:24.568Z] + dpkg -l [2023-03-15T16:29:24.568Z] + grep '^ii' [2023-03-15T16:29:24.860Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:29:24.860Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:29:24.860Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:29:24.860Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T16:29:24.860Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-03-15T16:29:24.860Z] + 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-03-15T16:29:24.884Z] 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-03-15T16:29:25.178Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:25.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:29:25.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:29:25.789Z] prd-ubuntu20.04-docker-8c-8g-853 does not seem to be running inside a container [2023-03-15T16:29:25.833Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:29:26.049Z] $ docker top e8f324892d63fcb86166ac314e07bd0b33b54a4dce8d6b3a5d251369fa7246df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:29:26.373Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:29:26.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:29:26.939Z] + ls /var/log/sa-host [2023-03-15T16:29:26.939Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:29:27.008Z] provisioning config files... [2023-03-15T16:29:27.015Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7567585730415672379tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:29:27.026Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:27.310Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:29:27.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:27.639Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:29:27.647Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:27.929Z] ---> sudo-logs.sh [2023-03-15T16:29:27.929Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:29:27.950Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:28.230Z] ---> job-cost.sh [2023-03-15T16:29:28.230Z] lf-activate-venv: SKIPPING [2023-03-15T16:29:28.230Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:29:28.230Z] INFO: Retrieving Stack Cost... [2023-03-15T16:29:28.796Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:29:29.056Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:29:29.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:29.348Z] ---> logs-deploy.sh [2023-03-15T16:29:29.349Z] lf-activate-venv: SKIPPING [2023-03-15T16:29:29.349Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/95 [2023-03-15T16:29:29.349Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:29:30.283Z] Archives upload complete. [2023-03-15T16:29:30.283Z] INFO: archiving logs to Nexus