Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 030a1c50f2b785b1102128f0ffb048d726030487 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-ssh5043463089047806748.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17531781859565477774.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh896631985322268671.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3115609702265692828.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-ssh8902308168308047041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14831 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 030a1c50f2b785b1102128f0ffb048d726030487 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#403)" > git config core.sparsecheckout # timeout=10 > git checkout -f 030a1c50f2b785b1102128f0ffb048d726030487 # timeout=10 > git rev-list --no-walk b1c180997f30d70459501805a18d6262edcd2f8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T00:04:32.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T00:04:32.853Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T00:04:32.868Z] ========================================================= [2023-05-10T00:04:32.868Z] EdgeX Global Pipelines Version Info [2023-05-10T00:04:32.868Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:04:33.619Z] ------------------- [2023-05-10T00:04:33.619Z] stable info: [2023-05-10T00:04:33.619Z] ------------------- [2023-05-10T00:04:33.619Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T00:04:33.619Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T00:04:33.619Z] Message: update stable to v1.0.249 [2023-05-10T00:04:34.194Z] ------------------- [2023-05-10T00:04:34.194Z] experimental info: [2023-05-10T00:04:34.194Z] ------------------- [2023-05-10T00:04:34.194Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T00:04:34.194Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T00:04:34.194Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T00:04:34.412Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-05-10T00:04:34.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-05-10T00:04:34.439Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T00:04:34.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T00:04:34.473Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T00:04:34.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T00:04:34.499Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T00:04:34.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T00:04:34.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T00:04:34.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T00:04:34.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T00:04:34.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-05-10T00:04:34.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T00:04:34.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T00:04:34.630Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T00:04:34.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T00:04:34.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T00:04:34.685Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T00:04:34.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T00:04:34.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T00:04:34.743Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T00:04:34.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T00:04:34.780Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T00:04:34.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T00:04:34.807Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T00:04:34.821Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T00:04:34.832Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T00:04:34.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T00:04:34.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T00:04:34.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T00:04:34.866Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] echo [2023-05-10T00:04:34.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 030a1c5 [Pipeline] echo [2023-05-10T00:04:34.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:04:34.955Z] provisioning config files... [2023-05-10T00:04:34.969Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2472988962151705111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:04:35.272Z] ---> docker-login.sh [2023-05-10T00:04:35.272Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:04:35.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:35.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:35.530Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:35.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:35.530Z] [2023-05-10T00:04:35.530Z] Login Succeeded [2023-05-10T00:04:35.530Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:04:35.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:35.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:35.530Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:35.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:35.530Z] [2023-05-10T00:04:35.530Z] Login Succeeded [2023-05-10T00:04:35.530Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:04:35.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:35.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:35.791Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:35.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:35.791Z] [2023-05-10T00:04:35.791Z] Login Succeeded [2023-05-10T00:04:35.791Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:04:35.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:35.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:35.791Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:35.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:35.791Z] [2023-05-10T00:04:35.791Z] Login Succeeded [2023-05-10T00:04:35.791Z] docker.io [2023-05-10T00:04:35.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:36.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:36.052Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:36.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:36.052Z] [2023-05-10T00:04:36.052Z] Login Succeeded [2023-05-10T00:04:36.052Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:04:36.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T00:04:36.445Z] + git rev-list -1 --merges 030a1c50f2b785b1102128f0ffb048d726030487~1..030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] echo [2023-05-10T00:04:36.497Z] -----------> git rev-list -1 --merges 030a1c50f2b785b1102128f0ffb048d726030487~1..030a1c50f2b785b1102128f0ffb048d726030487 030a1c50f2b785b1102128f0ffb048d726030487 [false] [Pipeline] sh [2023-05-10T00:04:36.793Z] + git log --format=format:%s -1 030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] echo [2023-05-10T00:04:36.810Z] ========================================================= [2023-05-10T00:04:36.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T00:04:36.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:04:37.147Z] + git log --format=format:%s -1 030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] echo [2023-05-10T00:04:37.158Z] [semverPrep] GIT_COMMIT: 030a1c50f2b785b1102128f0ffb048d726030487, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#403) [Pipeline] echo [2023-05-10T00:04:37.168Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T00:04:37.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:04:37.508Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T00:04:37.508Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T00:04:37.508Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T00:04:37.508Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T00:04:37.508Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T00:04:37.509Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:04:37.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:04:37.858Z] [2023-05-10T00:04:37.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:04:38.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:04:38.163Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T00:04:38.163Z] b85a868b505f: Pulling fs layer [2023-05-10T00:04:38.163Z] e2be974225ed: Pulling fs layer [2023-05-10T00:04:38.163Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T00:04:38.163Z] 988bab9f4d93: Pulling fs layer [2023-05-10T00:04:38.163Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T00:04:38.163Z] eaf3925da568: Pulling fs layer [2023-05-10T00:04:38.163Z] bab4dde63d76: Pulling fs layer [2023-05-10T00:04:38.163Z] bde34c3a00c8: Pulling fs layer [2023-05-10T00:04:38.163Z] b352a97aabf1: Pulling fs layer [2023-05-10T00:04:38.163Z] 4872d77fe225: Pulling fs layer [2023-05-10T00:04:38.163Z] 5851b861e8e6: Pulling fs layer [2023-05-10T00:04:38.163Z] 1469e6f7b9e6: Waiting [2023-05-10T00:04:38.163Z] eaf3925da568: Waiting [2023-05-10T00:04:38.163Z] bab4dde63d76: Waiting [2023-05-10T00:04:38.163Z] bde34c3a00c8: Waiting [2023-05-10T00:04:38.163Z] b352a97aabf1: Waiting [2023-05-10T00:04:38.163Z] 4872d77fe225: Waiting [2023-05-10T00:04:38.163Z] 5851b861e8e6: Waiting [2023-05-10T00:04:38.163Z] 988bab9f4d93: Waiting [2023-05-10T00:04:38.163Z] e2be974225ed: Download complete [2023-05-10T00:04:38.163Z] 988bab9f4d93: Verifying Checksum [2023-05-10T00:04:38.163Z] 988bab9f4d93: Download complete [2023-05-10T00:04:38.432Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T00:04:38.432Z] 339a4e72a1f5: Download complete [2023-05-10T00:04:38.432Z] eaf3925da568: Download complete [2023-05-10T00:04:38.432Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T00:04:38.432Z] 1469e6f7b9e6: Download complete [2023-05-10T00:04:38.432Z] bde34c3a00c8: Download complete [2023-05-10T00:04:38.432Z] b352a97aabf1: Verifying Checksum [2023-05-10T00:04:38.432Z] b352a97aabf1: Download complete [2023-05-10T00:04:38.432Z] 4872d77fe225: Download complete [2023-05-10T00:04:38.432Z] 5851b861e8e6: Verifying Checksum [2023-05-10T00:04:38.691Z] b85a868b505f: Verifying Checksum [2023-05-10T00:04:38.691Z] b85a868b505f: Download complete [2023-05-10T00:04:38.950Z] bab4dde63d76: Verifying Checksum [2023-05-10T00:04:38.950Z] bab4dde63d76: Download complete [2023-05-10T00:04:39.888Z] b85a868b505f: Pull complete [2023-05-10T00:04:39.888Z] e2be974225ed: Pull complete [2023-05-10T00:04:40.475Z] 339a4e72a1f5: Pull complete [2023-05-10T00:04:40.475Z] 988bab9f4d93: Pull complete [2023-05-10T00:04:40.741Z] 1469e6f7b9e6: Pull complete [2023-05-10T00:04:40.741Z] eaf3925da568: Pull complete [2023-05-10T00:04:42.652Z] bab4dde63d76: Pull complete [2023-05-10T00:04:42.652Z] bde34c3a00c8: Pull complete [2023-05-10T00:04:42.652Z] b352a97aabf1: Pull complete [2023-05-10T00:04:42.652Z] 4872d77fe225: Pull complete [2023-05-10T00:04:42.918Z] 5851b861e8e6: Pull complete [2023-05-10T00:04:42.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T00:04:42.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:04:42.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:04:43.040Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:04:43.082Z] $ 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-05-10T00:04:45.332Z] $ docker top 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 -eo pid,comm [2023-05-10T00:04:45.408Z] 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-05-10T00:04:45.408Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:04:45.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:04:45.440Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:04:45.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:04:45.570Z] $ docker exec 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 ssh-agent [2023-05-10T00:04:45.679Z] SSH_AUTH_SOCK=/tmp/ssh-wJb2ZJbNiVwr/agent.32 [2023-05-10T00:04:45.679Z] SSH_AGENT_PID=38 [2023-05-10T00:04:45.686Z] Running ssh-add (command line suppressed) [2023-05-10T00:04:45.790Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13771973286862070686.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13771973286862070686.key) [2023-05-10T00:04:45.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:04:46.087Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T00:04:46.109Z] $ docker exec --env ******** --env ******** 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 ssh-agent -k [2023-05-10T00:04:46.212Z] unset SSH_AUTH_SOCK; [2023-05-10T00:04:46.212Z] unset SSH_AGENT_PID; [2023-05-10T00:04:46.213Z] echo Agent pid 38 killed; [2023-05-10T00:04:46.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T00:04:46.241Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:04:46.241Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:04:46.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:04:46.376Z] $ docker exec 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 ssh-agent [2023-05-10T00:04:46.489Z] SSH_AUTH_SOCK=/tmp/ssh-pRTMIFaC2r3V/agent.70 [2023-05-10T00:04:46.489Z] SSH_AGENT_PID=76 [2023-05-10T00:04:46.494Z] Running ssh-add (command line suppressed) [2023-05-10T00:04:46.594Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12147597061712316271.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12147597061712316271.key) [2023-05-10T00:04:46.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:04:46.906Z] + git semver init [2023-05-10T00:04:47.165Z] 2023-05-10 00:04:47,084 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T00:04:47.165Z] 2023-05-10 00:04:47,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-05-10T00:04:47.165Z] 2023-05-10 00:04:47,085 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-05-10T00:04:47.166Z] 2023-05-10 00:04:47,086 [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-05-10T00:04:48.126Z] 2023-05-10 00:04:48,108 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-05-10T00:04:48.126Z] 2023-05-10 00:04:48,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-05-10T00:04:48.126Z] 2023-05-10 00:04:48,109 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:04:48.126Z] 2023-05-10 00:04:48,109 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:04:48.126Z] 3.0.0-dev.44 [Pipeline] } [2023-05-10T00:04:48.147Z] $ docker exec --env ******** --env ******** 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 ssh-agent -k [2023-05-10T00:04:48.236Z] unset SSH_AUTH_SOCK; [2023-05-10T00:04:48.237Z] unset SSH_AGENT_PID; [2023-05-10T00:04:48.237Z] echo Agent pid 76 killed; [2023-05-10T00:04:48.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:04:48.583Z] + git semver [Pipeline] } [2023-05-10T00:04:48.882Z] $ docker stop --time=1 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 [2023-05-10T00:04:50.209Z] $ docker rm -f --volumes 03b111d63002d5141a85ceaacad30e662f083be4fd6dbdeab166ef54f2e838f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:04:50.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T00:04:50.820Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T00:04:50.822Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.44 [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-05-10T00:04:50.982Z] provisioning config files... [2023-05-10T00:04:51.009Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14855731258134004673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:04:51.317Z] ---> docker-login.sh [2023-05-10T00:04:51.317Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:04:51.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:51.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:51.317Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:51.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:51.317Z] [2023-05-10T00:04:51.317Z] Login Succeeded [2023-05-10T00:04:51.317Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:04:51.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:51.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:51.583Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:51.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:51.583Z] [2023-05-10T00:04:51.583Z] Login Succeeded [2023-05-10T00:04:51.583Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:04:51.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:51.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:51.583Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:51.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:51.583Z] [2023-05-10T00:04:51.583Z] Login Succeeded [2023-05-10T00:04:51.583Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:04:51.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:51.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:51.846Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:51.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:51.846Z] [2023-05-10T00:04:51.846Z] Login Succeeded [2023-05-10T00:04:51.846Z] docker.io [2023-05-10T00:04:51.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:04:52.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:04:52.128Z] Configure a credential helper to remove this warning. See [2023-05-10T00:04:52.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:04:52.128Z] [2023-05-10T00:04:52.128Z] Login Succeeded [2023-05-10T00:04:52.128Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:04:52.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T00:04:52.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:04:53.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:04:53.079Z] ========================================================= [2023-05-10T00:04:53.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T00:04:53.079Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:04:53.433Z] + 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-05-10T00:04:53.433Z] Sending build context to Docker daemon 23.62MB [2023-05-10T00:04:53.433Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:04:53.433Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T00:04:53.692Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T00:04:53.692Z] f56be85fc22e: Pulling fs layer [2023-05-10T00:04:53.692Z] 85791d961cd3: Pulling fs layer [2023-05-10T00:04:53.692Z] d694b5ae8c79: Pulling fs layer [2023-05-10T00:04:53.692Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T00:04:53.692Z] 4d19c01a9841: Pulling fs layer [2023-05-10T00:04:53.692Z] 9325e15d5711: Pulling fs layer [2023-05-10T00:04:53.692Z] 556b6ee489ea: Pulling fs layer [2023-05-10T00:04:53.692Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T00:04:53.692Z] 9f32a84ed3da: Waiting [2023-05-10T00:04:53.692Z] 556b6ee489ea: Waiting [2023-05-10T00:04:53.692Z] c5a4b2cf53e6: Waiting [2023-05-10T00:04:53.692Z] 85791d961cd3: Verifying Checksum [2023-05-10T00:04:53.692Z] 85791d961cd3: Download complete [2023-05-10T00:04:53.692Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T00:04:53.692Z] 9f32a84ed3da: Download complete [2023-05-10T00:04:53.692Z] 4d19c01a9841: Verifying Checksum [2023-05-10T00:04:53.692Z] 4d19c01a9841: Download complete [2023-05-10T00:04:53.692Z] f56be85fc22e: Verifying Checksum [2023-05-10T00:04:53.692Z] f56be85fc22e: Download complete [2023-05-10T00:04:53.692Z] 9325e15d5711: Verifying Checksum [2023-05-10T00:04:53.692Z] 9325e15d5711: Download complete [2023-05-10T00:04:54.044Z] f56be85fc22e: Pull complete [2023-05-10T00:04:54.044Z] 85791d961cd3: Pull complete [2023-05-10T00:04:55.013Z] d694b5ae8c79: Verifying Checksum [2023-05-10T00:04:55.013Z] d694b5ae8c79: Download complete [2023-05-10T00:04:55.272Z] c5a4b2cf53e6: Download complete [2023-05-10T00:04:55.272Z] 556b6ee489ea: Verifying Checksum [2023-05-10T00:04:55.272Z] 556b6ee489ea: Download complete [2023-05-10T00:04:57.822Z] d694b5ae8c79: Pull complete [2023-05-10T00:04:58.087Z] 9f32a84ed3da: Pull complete [2023-05-10T00:04:58.087Z] 4d19c01a9841: Pull complete [2023-05-10T00:04:58.087Z] 9325e15d5711: Pull complete [2023-05-10T00:05:00.676Z] 556b6ee489ea: Pull complete [2023-05-10T00:05:01.623Z] c5a4b2cf53e6: Pull complete [2023-05-10T00:05:01.623Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T00:05:01.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T00:05:01.623Z] ---> c4be618373d6 [2023-05-10T00:05:01.623Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T00:05:05.831Z] ---> Running in 162bc4f5a95b [2023-05-10T00:05:05.831Z] Removing intermediate container 162bc4f5a95b [2023-05-10T00:05:05.831Z] ---> 0e9845556245 [2023-05-10T00:05:05.831Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T00:05:05.831Z] ---> Running in 2b07faf59e37 [2023-05-10T00:05:05.831Z] Removing intermediate container 2b07faf59e37 [2023-05-10T00:05:05.831Z] ---> 5419c667edf3 [2023-05-10T00:05:05.831Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:05:05.831Z] ---> Running in a701c9b991da [2023-05-10T00:05:05.831Z] Removing intermediate container a701c9b991da [2023-05-10T00:05:05.831Z] ---> 82df89f1de99 [2023-05-10T00:05:05.831Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-10T00:05:05.831Z] ---> Running in 3a875425c2b0 [2023-05-10T00:05:05.831Z] Removing intermediate container 3a875425c2b0 [2023-05-10T00:05:05.831Z] ---> 878036112798 [2023-05-10T00:05:05.831Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T00:05:05.831Z] ---> Running in 6991156d2b36 [2023-05-10T00:05:05.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:05:05.930Z] Still waiting to schedule task [2023-05-10T00:05:05.930Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-10T00:05:06.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:05:06.352Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T00:05:06.352Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T00:05:06.352Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T00:05:06.352Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T00:05:06.352Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:05:06.352Z] OK: 269 MiB in 57 packages [2023-05-10T00:05:06.916Z] Removing intermediate container 6991156d2b36 [2023-05-10T00:05:06.916Z] ---> 739002bdef34 [2023-05-10T00:05:06.916Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-10T00:05:06.916Z] ---> 36237f8384e4 [2023-05-10T00:05:06.916Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:05:06.916Z] ---> Running in 9d19fbea1652 [2023-05-10T00:05:34.361Z] Removing intermediate container 9d19fbea1652 [2023-05-10T00:05:34.361Z] ---> b8a6170e6e10 [2023-05-10T00:05:34.361Z] Step 10/12 : COPY . . [2023-05-10T00:05:34.361Z] ---> d272bc3189c3 [2023-05-10T00:05:34.361Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:05:34.361Z] ---> Running in 9d0ca18852ba [2023-05-10T00:05:34.361Z] Removing intermediate container 9d0ca18852ba [2023-05-10T00:05:34.361Z] ---> 99060a665896 [2023-05-10T00:05:34.361Z] Step 12/12 : RUN $MAKE [2023-05-10T00:05:34.361Z] ---> Running in 0b2f9a3e379d [2023-05-10T00:05:34.361Z] noop [2023-05-10T00:05:34.361Z] Removing intermediate container 0b2f9a3e379d [2023-05-10T00:05:34.361Z] ---> cc42bf120f5a [2023-05-10T00:05:34.361Z] Successfully built cc42bf120f5a [2023-05-10T00:05:34.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:05:34.698Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T00:05:34.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:05:34.765Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:05:34.801Z] $ 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-05-10T00:05:35.143Z] $ docker top daa1454b7ef3951d3e009fec929720d76e96440932ce880ff880c738261d608d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:05:35.492Z] + go version [2023-05-10T00:05:35.492Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T00:05:35.503Z] $ docker stop --time=1 daa1454b7ef3951d3e009fec929720d76e96440932ce880ff880c738261d608d [2023-05-10T00:05:36.752Z] $ docker rm -f --volumes daa1454b7ef3951d3e009fec929720d76e96440932ce880ff880c738261d608d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:05:37.175Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T00:05:37.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:05:37.252Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:05:37.289Z] $ 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-05-10T00:05:37.604Z] $ docker top eb39dc8a43daecff2f06dc1c5cb160e6a3c2f53de4fceb3b94b97e85fd915c71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:05:37.947Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-10T00:05:38.245Z] + make test [2023-05-10T00:05:38.245Z] go test ./... -coverprofile=coverage.out [2023-05-10T00:05:43.522Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-10T00:05:53.489Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-10T00:05:53.489Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.6% of statements [2023-05-10T00:05:57.676Z] go vet ./... [2023-05-10T00:06:00.961Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T00:06:00.961Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T00:06:00.961Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T00:06:00.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T00:06:00.984Z] $ docker stop --time=1 eb39dc8a43daecff2f06dc1c5cb160e6a3c2f53de4fceb3b94b97e85fd915c71 [2023-05-10T00:06:03.703Z] $ docker rm -f --volumes eb39dc8a43daecff2f06dc1c5cb160e6a3c2f53de4fceb3b94b97e85fd915c71 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:06:04.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T00:06:04.223Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T00:06:04.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T00:06:05.038Z] + ls -al . [2023-05-10T00:06:05.038Z] total 192 [2023-05-10T00:06:05.038Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 00:05 . [2023-05-10T00:06:05.038Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:04 .. [2023-05-10T00:06:05.038Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:04 .git [2023-05-10T00:06:05.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:04 .github [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 337 May 10 00:04 .gitignore [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:04 .golangci.yml [2023-05-10T00:06:05.038Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:04 .semver [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 10 00:04 Attribution.txt [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 10 00:04 CHANGELOG.md [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 10 00:04 Dockerfile [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:04 GOVERNANCE.md [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 00:04 Jenkinsfile [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:04 LICENSE [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 10 00:04 Makefile [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 00:04 OWNERS.md [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 10 00:04 README.md [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:04 VERSION [2023-05-10T00:06:05.038Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:04 bin [2023-05-10T00:06:05.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:04 cmd [2023-05-10T00:06:05.038Z] -rw-r--r-- 1 jenkins jenkins 43063 May 10 00:05 coverage.out [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 10 00:04 go.mod [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 10 00:04 go.sum [2023-05-10T00:06:05.038Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:04 internal [2023-05-10T00:06:05.038Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:04 snap [2023-05-10T00:06:05.038Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 00:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:05.341Z] + 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=030a1c50f2b785b1102128f0ffb048d726030487 --label arch=amd64 --label version=3.0.0-dev.44 . [2023-05-10T00:06:05.341Z] Sending build context to Docker daemon 23.66MB [2023-05-10T00:06:05.341Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:06:05.341Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T00:06:05.341Z] ---> cc42bf120f5a [2023-05-10T00:06:05.341Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T00:06:05.601Z] ---> Running in a9304713160e [2023-05-10T00:06:05.601Z] Removing intermediate container a9304713160e [2023-05-10T00:06:05.601Z] ---> ca2f68269323 [2023-05-10T00:06:05.601Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T00:06:05.861Z] ---> Running in 1f7670238366 [2023-05-10T00:06:05.861Z] Removing intermediate container 1f7670238366 [2023-05-10T00:06:05.861Z] ---> 9e7a8a68d57f [2023-05-10T00:06:05.861Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:06:05.861Z] ---> Running in 387fa065018f [2023-05-10T00:06:05.861Z] Removing intermediate container 387fa065018f [2023-05-10T00:06:05.861Z] ---> 151cef414594 [2023-05-10T00:06:05.861Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-10T00:06:05.861Z] ---> Running in f1be41644a50 [2023-05-10T00:06:05.861Z] Removing intermediate container f1be41644a50 [2023-05-10T00:06:05.861Z] ---> c92883b5fa03 [2023-05-10T00:06:05.861Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T00:06:06.120Z] ---> Running in 99dec544e5b0 [2023-05-10T00:06:06.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:06.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:06.640Z] OK: 269 MiB in 57 packages [2023-05-10T00:06:06.900Z] Removing intermediate container 99dec544e5b0 [2023-05-10T00:06:06.900Z] ---> 9036f20ba649 [2023-05-10T00:06:06.900Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-10T00:06:07.158Z] ---> f8515f687812 [2023-05-10T00:06:07.158Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:06:07.158Z] ---> Running in 2aaabc4520bd [2023-05-10T00:06:07.727Z] Removing intermediate container 2aaabc4520bd [2023-05-10T00:06:07.728Z] ---> cfe9f2b877fd [2023-05-10T00:06:07.728Z] Step 10/25 : COPY . . [2023-05-10T00:06:08.671Z] ---> 0ce29bc220ac [2023-05-10T00:06:08.671Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:06:08.671Z] ---> Running in df7dd27326a8 [2023-05-10T00:06:08.671Z] Removing intermediate container df7dd27326a8 [2023-05-10T00:06:08.671Z] ---> 4e175da9e41e [2023-05-10T00:06:08.671Z] Step 12/25 : RUN $MAKE [2023-05-10T00:06:08.671Z] ---> Running in ee8e51127a1b [2023-05-10T00:06:08.929Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-05-10T00:06:27.194Z] Removing intermediate container ee8e51127a1b [2023-05-10T00:06:27.194Z] ---> 5525f20e25cd [2023-05-10T00:06:27.194Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T00:06:27.194Z] 3.17: Pulling from library/alpine [2023-05-10T00:06:27.194Z] f56be85fc22e: Already exists [2023-05-10T00:06:27.194Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T00:06:27.194Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T00:06:27.194Z] ---> 9ed4aefc74f6 [2023-05-10T00:06:27.194Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-10T00:06:27.194Z] ---> Running in bf65b76ab1ee [2023-05-10T00:06:27.194Z] Removing intermediate container bf65b76ab1ee [2023-05-10T00:06:27.194Z] ---> d81a4b24a67d [2023-05-10T00:06:27.194Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T00:06:27.194Z] ---> Running in 79f4f749fdea [2023-05-10T00:06:27.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:27.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T00:06:27.194Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T00:06:27.453Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:06:27.453Z] OK: 7 MiB in 16 packages [2023-05-10T00:06:27.710Z] Removing intermediate container 79f4f749fdea [2023-05-10T00:06:27.710Z] ---> e1fe6192c55d [2023-05-10T00:06:27.710Z] Step 16/25 : WORKDIR / [2023-05-10T00:06:27.710Z] ---> Running in 02a899e20969 [2023-05-10T00:06:27.710Z] Removing intermediate container 02a899e20969 [2023-05-10T00:06:27.710Z] ---> 2ca94ed65e86 [2023-05-10T00:06:27.710Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-10T00:06:27.710Z] ---> 5d9aa0b82d3e [2023-05-10T00:06:27.710Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-10T00:06:27.967Z] ---> f664ea3cb082 [2023-05-10T00:06:27.967Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-10T00:06:28.532Z] ---> fa1756287e9f [2023-05-10T00:06:28.532Z] Step 20/25 : EXPOSE 59900 [2023-05-10T00:06:28.532Z] ---> Running in a6793e25b3bb [2023-05-10T00:06:28.792Z] Removing intermediate container a6793e25b3bb [2023-05-10T00:06:28.792Z] ---> 474c6a04fad9 [2023-05-10T00:06:28.792Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-10T00:06:28.792Z] ---> Running in 8c7b5d9f844f [2023-05-10T00:06:28.792Z] Removing intermediate container 8c7b5d9f844f [2023-05-10T00:06:28.792Z] ---> 479eb09a54ad [2023-05-10T00:06:28.792Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T00:06:28.792Z] ---> Running in 3271613f6a5a [2023-05-10T00:06:28.792Z] Removing intermediate container 3271613f6a5a [2023-05-10T00:06:28.792Z] ---> 430b8a0bbf71 [2023-05-10T00:06:28.792Z] Step 23/25 : LABEL arch=amd64 [2023-05-10T00:06:28.792Z] ---> Running in 7e0c23c566b3 [2023-05-10T00:06:29.050Z] Removing intermediate container 7e0c23c566b3 [2023-05-10T00:06:29.050Z] ---> a9b39fa13125 [2023-05-10T00:06:29.050Z] Step 24/25 : LABEL git_sha=030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:06:29.050Z] ---> Running in ea36b9bcdaa5 [2023-05-10T00:06:29.050Z] Removing intermediate container ea36b9bcdaa5 [2023-05-10T00:06:29.050Z] ---> 4497ac62169a [2023-05-10T00:06:29.050Z] Step 25/25 : LABEL version=3.0.0-dev.44 [2023-05-10T00:06:29.050Z] ---> Running in a11673106724 [2023-05-10T00:06:29.050Z] Removing intermediate container a11673106724 [2023-05-10T00:06:29.050Z] ---> 7a67e2fd0e3d [2023-05-10T00:06:29.050Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T00:06:29.050Z] Successfully built 7a67e2fd0e3d [2023-05-10T00:06:29.050Z] 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-05-10T00:06:29.161Z] provisioning config files... [2023-05-10T00:06:29.169Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13147904413176465101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:06:29.460Z] ---> docker-login.sh [2023-05-10T00:06:29.460Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:06:29.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:06:29.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:06:29.460Z] Configure a credential helper to remove this warning. See [2023-05-10T00:06:29.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:06:29.460Z] [2023-05-10T00:06:29.460Z] Login Succeeded [2023-05-10T00:06:29.460Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:06:29.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:06:29.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:06:29.460Z] Configure a credential helper to remove this warning. See [2023-05-10T00:06:29.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:06:29.460Z] [2023-05-10T00:06:29.460Z] Login Succeeded [2023-05-10T00:06:29.460Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:06:29.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:06:29.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:06:29.718Z] Configure a credential helper to remove this warning. See [2023-05-10T00:06:29.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:06:29.718Z] [2023-05-10T00:06:29.718Z] Login Succeeded [2023-05-10T00:06:29.718Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:06:29.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:06:29.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:06:29.718Z] Configure a credential helper to remove this warning. See [2023-05-10T00:06:29.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:06:29.718Z] [2023-05-10T00:06:29.718Z] Login Succeeded [2023-05-10T00:06:29.718Z] docker.io [2023-05-10T00:06:29.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:06:29.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:06:29.978Z] Configure a credential helper to remove this warning. See [2023-05-10T00:06:29.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:06:29.978Z] [2023-05-10T00:06:29.978Z] Login Succeeded [2023-05-10T00:06:29.978Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:06:29.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:06:30.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:06:30.032Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-05-10T00:06:30.032Z] 030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:06:30.032Z] latest [2023-05-10T00:06:30.032Z] 3.0.0-dev.44 [2023-05-10T00:06:30.032Z] 030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:06:30.032Z] main [2023-05-10T00:06:30.032Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:30.354Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:30.666Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:06:30.666Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T00:06:30.666Z] 3c448553ea83: Preparing [2023-05-10T00:06:30.666Z] d6fc8f04cf7f: Preparing [2023-05-10T00:06:30.666Z] 353f6c3ba0f9: Preparing [2023-05-10T00:06:30.666Z] 884b39ab65c0: Preparing [2023-05-10T00:06:30.666Z] f1417ff83b31: Preparing [2023-05-10T00:06:30.666Z] f1417ff83b31: Layer already exists [2023-05-10T00:06:30.924Z] d6fc8f04cf7f: Pushed [2023-05-10T00:06:30.924Z] 353f6c3ba0f9: Pushed [2023-05-10T00:06:30.924Z] 884b39ab65c0: Pushed [2023-05-10T00:06:33.458Z] 3c448553ea83: Pushed [2023-05-10T00:06:33.459Z] 030a1c50f2b785b1102128f0ffb048d726030487: digest: sha256:ec722c36419daaf5b704f2f77a940af6dbfdbfcf2488585ae978c752ea05e7c8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:33.778Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:34.090Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-05-10T00:06:34.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T00:06:34.090Z] 3c448553ea83: Preparing [2023-05-10T00:06:34.090Z] d6fc8f04cf7f: Preparing [2023-05-10T00:06:34.090Z] 353f6c3ba0f9: Preparing [2023-05-10T00:06:34.090Z] 884b39ab65c0: Preparing [2023-05-10T00:06:34.090Z] f1417ff83b31: Preparing [2023-05-10T00:06:34.090Z] 884b39ab65c0: Layer already exists [2023-05-10T00:06:34.090Z] 3c448553ea83: Layer already exists [2023-05-10T00:06:34.090Z] d6fc8f04cf7f: Layer already exists [2023-05-10T00:06:34.090Z] 353f6c3ba0f9: Layer already exists [2023-05-10T00:06:34.090Z] f1417ff83b31: Layer already exists [2023-05-10T00:06:34.090Z] latest: digest: sha256:ec722c36419daaf5b704f2f77a940af6dbfdbfcf2488585ae978c752ea05e7c8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:34.407Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:34.710Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.44 [2023-05-10T00:06:34.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T00:06:34.710Z] 3c448553ea83: Preparing [2023-05-10T00:06:34.710Z] d6fc8f04cf7f: Preparing [2023-05-10T00:06:34.710Z] 353f6c3ba0f9: Preparing [2023-05-10T00:06:34.710Z] 884b39ab65c0: Preparing [2023-05-10T00:06:34.710Z] f1417ff83b31: Preparing [2023-05-10T00:06:34.710Z] f1417ff83b31: Layer already exists [2023-05-10T00:06:34.710Z] 3c448553ea83: Layer already exists [2023-05-10T00:06:34.710Z] 884b39ab65c0: Layer already exists [2023-05-10T00:06:34.710Z] d6fc8f04cf7f: Layer already exists [2023-05-10T00:06:34.710Z] 353f6c3ba0f9: Layer already exists [2023-05-10T00:06:34.710Z] 3.0.0-dev.44: digest: sha256:ec722c36419daaf5b704f2f77a940af6dbfdbfcf2488585ae978c752ea05e7c8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:35.030Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:35.340Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:06:35.340Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T00:06:35.340Z] 3c448553ea83: Preparing [2023-05-10T00:06:35.340Z] d6fc8f04cf7f: Preparing [2023-05-10T00:06:35.340Z] 353f6c3ba0f9: Preparing [2023-05-10T00:06:35.340Z] 884b39ab65c0: Preparing [2023-05-10T00:06:35.340Z] f1417ff83b31: Preparing [2023-05-10T00:06:35.340Z] 353f6c3ba0f9: Layer already exists [2023-05-10T00:06:35.340Z] d6fc8f04cf7f: Layer already exists [2023-05-10T00:06:35.340Z] 3c448553ea83: Layer already exists [2023-05-10T00:06:35.340Z] 884b39ab65c0: Layer already exists [2023-05-10T00:06:35.340Z] f1417ff83b31: Layer already exists [2023-05-10T00:06:35.340Z] 030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44: digest: sha256:ec722c36419daaf5b704f2f77a940af6dbfdbfcf2488585ae978c752ea05e7c8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:35.668Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:35.978Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-05-10T00:06:35.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-05-10T00:06:35.978Z] 3c448553ea83: Preparing [2023-05-10T00:06:35.978Z] d6fc8f04cf7f: Preparing [2023-05-10T00:06:35.978Z] 353f6c3ba0f9: Preparing [2023-05-10T00:06:35.978Z] 884b39ab65c0: Preparing [2023-05-10T00:06:35.978Z] f1417ff83b31: Preparing [2023-05-10T00:06:35.978Z] 3c448553ea83: Layer already exists [2023-05-10T00:06:35.978Z] d6fc8f04cf7f: Layer already exists [2023-05-10T00:06:35.978Z] 353f6c3ba0f9: Layer already exists [2023-05-10T00:06:35.978Z] f1417ff83b31: Layer already exists [2023-05-10T00:06:35.978Z] 884b39ab65c0: Layer already exists [2023-05-10T00:06:35.978Z] main: digest: sha256:ec722c36419daaf5b704f2f77a940af6dbfdbfcf2488585ae978c752ea05e7c8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:06:36.028Z] ===================================================== [Pipeline] echo [2023-05-10T00:06:36.038Z] taggedImages: [2023-05-10T00:06:36.038Z] - nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:06:36.038Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-05-10T00:06:36.038Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.44 [2023-05-10T00:06:36.038Z] - nexus3.edgexfoundry.org:10004/device-virtual:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:06:36.038Z] - 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-05-10T00:06:36.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:06:36.425Z] [2023-05-10T00:06:36.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:06:36.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:06:36.728Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T00:06:36.728Z] 5eb5b503b376: Pulling fs layer [2023-05-10T00:06:36.728Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T00:06:36.728Z] ec43610c2a17: Pulling fs layer [2023-05-10T00:06:36.728Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T00:06:36.728Z] 33b1e0a273af: Pulling fs layer [2023-05-10T00:06:36.728Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T00:06:36.728Z] 2f39f015ded8: Pulling fs layer [2023-05-10T00:06:36.728Z] 3a2ae6a8a46f: Waiting [2023-05-10T00:06:36.728Z] 33b1e0a273af: Waiting [2023-05-10T00:06:36.728Z] 5d3b04190fa2: Waiting [2023-05-10T00:06:36.728Z] 5c69ac0246d0: Download complete [2023-05-10T00:06:36.988Z] 33b1e0a273af: Verifying Checksum [2023-05-10T00:06:36.988Z] 33b1e0a273af: Download complete [2023-05-10T00:06:36.988Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T00:06:36.988Z] 5d3b04190fa2: Download complete [2023-05-10T00:06:36.988Z] ec43610c2a17: Verifying Checksum [2023-05-10T00:06:36.988Z] ec43610c2a17: Download complete [2023-05-10T00:06:36.988Z] 5eb5b503b376: Verifying Checksum [2023-05-10T00:06:36.988Z] 5eb5b503b376: Download complete [2023-05-10T00:06:37.556Z] 2f39f015ded8: Download complete [2023-05-10T00:06:38.123Z] 5eb5b503b376: Pull complete [2023-05-10T00:06:38.383Z] 5c69ac0246d0: Pull complete [2023-05-10T00:06:38.953Z] ec43610c2a17: Pull complete [2023-05-10T00:06:38.953Z] 3a2ae6a8a46f: Pull complete [2023-05-10T00:06:38.953Z] 33b1e0a273af: Pull complete [2023-05-10T00:06:39.212Z] 5d3b04190fa2: Pull complete [2023-05-10T00:06:43.390Z] 2f39f015ded8: Pull complete [2023-05-10T00:06:43.390Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T00:06:43.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:06:43.390Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:06:43.471Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:06:43.515Z] $ 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-05-10T00:06:45.925Z] $ docker top 492aad4bd98784bce28d7e81606b0246c3c24dd3448c9c971943e3cf808ce126 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:06:46.299Z] ---> job-cost.sh [2023-05-10T00:06:46.299Z] lf-activate-venv: SKIPPING [2023-05-10T00:06:46.299Z] INFO: No Stack... [2023-05-10T00:06:46.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T00:06:46.817Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T00:06:47.105Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-05-10T00:06:47.105Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T00:06:47.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [2023-05-10T00:06:47.125Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] did not exist. Created. [2023-05-10T00:06:47.125Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T00:06:47.443Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T00:06:47.474Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T00:06:47.481Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T00:06:47.496Z] $ docker stop --time=1 492aad4bd98784bce28d7e81606b0246c3c24dd3448c9c971943e3cf808ce126 [2023-05-10T00:06:48.648Z] $ docker rm -f --volumes 492aad4bd98784bce28d7e81606b0246c3c24dd3448c9c971943e3cf808ce126 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T00:07:52.598Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14835 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-05-10T00:07:52.610Z] Running in /w/workspace/device-virtual-go/116 [Pipeline] { [Pipeline] checkout [2023-05-10T00:07:52.651Z] The recommended git tool is: git [2023-05-10T00:07:59.869Z] using credential edgex-jenkins-ssh [2023-05-10T00:07:59.891Z] Cloning the remote Git repository [2023-05-10T00:07:59.957Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-05-10T00:08:00.088Z] > git init /w/workspace/device-virtual-go/116 # timeout=10 [2023-05-10T00:08:00.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-05-10T00:08:00.360Z] > git --version # timeout=10 [2023-05-10T00:08:00.387Z] > git --version # 'git version 2.25.1' [2023-05-10T00:08:00.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T00:08:00.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T00:08:03.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-05-10T00:08:03.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T00:08:04.909Z] Avoid second fetch [2023-05-10T00:08:04.909Z] Checking out Revision 030a1c50f2b785b1102128f0ffb048d726030487 (main) [2023-05-10T00:08:05.654Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#403)" [2023-05-10T00:08:04.932Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T00:08:05.017Z] > git checkout -f 030a1c50f2b785b1102128f0ffb048d726030487 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:08:06.553Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T00:08:06.553Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T00:08:06.553Z] Dload Upload Total Spent Left Speed [2023-05-10T00:08:06.553Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-05-10T00:08:07.284Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T00:08:07.641Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T00:08:07.641Z] + sudo tee /etc/docker/daemon.new [2023-05-10T00:08:07.641Z] { [2023-05-10T00:08:07.641Z] "registry-mirrors": [ [2023-05-10T00:08:07.641Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T00:08:07.641Z] ], [2023-05-10T00:08:07.641Z] "bip": "10.250.0.254/24", [2023-05-10T00:08:07.641Z] "hosts": [ [2023-05-10T00:08:07.641Z] "tcp://0.0.0.0:5555", [2023-05-10T00:08:07.641Z] "unix:///var/run/docker.sock" [2023-05-10T00:08:07.641Z] ], [2023-05-10T00:08:07.641Z] "mtu": 1458, [2023-05-10T00:08:07.641Z] "selinux-enabled": true, [2023-05-10T00:08:07.641Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T00:08:07.641Z] } [Pipeline] sh [2023-05-10T00:08:08.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T00:08:08.478Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:08:26.863Z] provisioning config files... [2023-05-10T00:08:26.899Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/116@tmp/config11130578418309490287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:08:27.280Z] ---> docker-login.sh [2023-05-10T00:08:27.280Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:08:27.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:28.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:28.293Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:28.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:28.293Z] [2023-05-10T00:08:28.293Z] Login Succeeded [2023-05-10T00:08:28.293Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:08:28.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:28.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:28.565Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:28.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:28.566Z] [2023-05-10T00:08:28.566Z] Login Succeeded [2023-05-10T00:08:28.566Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:08:29.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:29.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:29.741Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:29.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:29.741Z] [2023-05-10T00:08:29.741Z] Login Succeeded [2023-05-10T00:08:29.741Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:08:30.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:30.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:30.018Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:30.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:30.018Z] [2023-05-10T00:08:30.018Z] Login Succeeded [2023-05-10T00:08:30.018Z] docker.io [2023-05-10T00:08:30.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:08:30.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:08:30.561Z] Configure a credential helper to remove this warning. See [2023-05-10T00:08:30.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:08:30.561Z] [2023-05-10T00:08:30.561Z] Login Succeeded [2023-05-10T00:08:30.561Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:08:30.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T00:08:30.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:08:30.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:08:30.950Z] ========================================================= [2023-05-10T00:08:30.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T00:08:30.950Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:08:31.300Z] + 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-05-10T00:08:31.571Z] Sending build context to Docker daemon 11.97MB [2023-05-10T00:08:31.571Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:08:31.842Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T00:08:31.843Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T00:08:31.843Z] c41833b44d91: Pulling fs layer [2023-05-10T00:08:31.843Z] ed15518f5707: Pulling fs layer [2023-05-10T00:08:31.843Z] feae8fd75edb: Pulling fs layer [2023-05-10T00:08:31.843Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T00:08:31.843Z] 3cdef696dda3: Pulling fs layer [2023-05-10T00:08:31.843Z] 2ced38df9373: Pulling fs layer [2023-05-10T00:08:31.843Z] 58f1dce35555: Pulling fs layer [2023-05-10T00:08:31.843Z] 3cdef696dda3: Waiting [2023-05-10T00:08:31.843Z] 58f1dce35555: Waiting [2023-05-10T00:08:31.843Z] 2ced38df9373: Waiting [2023-05-10T00:08:31.843Z] 242c74f7c9fa: Waiting [2023-05-10T00:08:31.843Z] ed15518f5707: Verifying Checksum [2023-05-10T00:08:31.843Z] ed15518f5707: Download complete [2023-05-10T00:08:31.843Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T00:08:31.843Z] 242c74f7c9fa: Download complete [2023-05-10T00:08:32.116Z] 3cdef696dda3: Verifying Checksum [2023-05-10T00:08:32.116Z] 3cdef696dda3: Download complete [2023-05-10T00:08:32.116Z] c41833b44d91: Verifying Checksum [2023-05-10T00:08:32.116Z] c41833b44d91: Download complete [2023-05-10T00:08:33.125Z] c41833b44d91: Pull complete [2023-05-10T00:08:33.399Z] 58f1dce35555: Verifying Checksum [2023-05-10T00:08:33.399Z] 58f1dce35555: Download complete [2023-05-10T00:08:33.724Z] ed15518f5707: Pull complete [2023-05-10T00:08:34.696Z] 2ced38df9373: Verifying Checksum [2023-05-10T00:08:34.696Z] 2ced38df9373: Download complete [2023-05-10T00:08:34.696Z] feae8fd75edb: Verifying Checksum [2023-05-10T00:08:34.696Z] feae8fd75edb: Download complete [2023-05-10T00:08:44.801Z] feae8fd75edb: Pull complete [2023-05-10T00:08:45.068Z] 242c74f7c9fa: Pull complete [2023-05-10T00:08:45.339Z] 3cdef696dda3: Pull complete [2023-05-10T00:08:52.026Z] 2ced38df9373: Pull complete [2023-05-10T00:08:54.013Z] 58f1dce35555: Pull complete [2023-05-10T00:08:54.013Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T00:08:54.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T00:08:54.013Z] ---> fadd8f120f05 [2023-05-10T00:08:54.013Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T00:08:56.006Z] ---> Running in 7eda63a053d4 [2023-05-10T00:08:56.657Z] Removing intermediate container 7eda63a053d4 [2023-05-10T00:08:56.657Z] ---> e2c33ccc4f1f [2023-05-10T00:08:56.657Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T00:08:56.657Z] ---> Running in de633535485d [2023-05-10T00:08:57.250Z] Removing intermediate container de633535485d [2023-05-10T00:08:57.250Z] ---> 31d72a040b15 [2023-05-10T00:08:57.250Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:08:57.520Z] ---> Running in b850c66fbc82 [2023-05-10T00:08:58.110Z] Removing intermediate container b850c66fbc82 [2023-05-10T00:08:58.110Z] ---> 7c4c7b5ec233 [2023-05-10T00:08:58.110Z] Step 6/12 : WORKDIR /device-virtual-go [2023-05-10T00:08:58.110Z] ---> Running in a998fc642741 [2023-05-10T00:08:58.383Z] Removing intermediate container a998fc642741 [2023-05-10T00:08:58.383Z] ---> e4e5ad0aa293 [2023-05-10T00:08:58.383Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T00:08:58.383Z] ---> Running in ab9bc92ba49d [2023-05-10T00:08:59.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:09:00.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:09:01.822Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T00:09:01.822Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T00:09:01.822Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T00:09:01.822Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T00:09:01.822Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:09:01.822Z] OK: 268 MiB in 57 packages [2023-05-10T00:09:03.255Z] Removing intermediate container ab9bc92ba49d [2023-05-10T00:09:03.255Z] ---> da883b49f219 [2023-05-10T00:09:03.255Z] Step 8/12 : COPY go.mod vendor* ./ [2023-05-10T00:09:03.527Z] ---> 1428dc173417 [2023-05-10T00:09:03.527Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:09:03.797Z] ---> Running in 4103f7c17673 [2023-05-10T00:10:12.908Z] Removing intermediate container 4103f7c17673 [2023-05-10T00:10:12.908Z] ---> d86685124e65 [2023-05-10T00:10:12.908Z] Step 10/12 : COPY . . [2023-05-10T00:10:12.908Z] ---> ae87dc17e14e [2023-05-10T00:10:12.908Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:10:12.908Z] ---> Running in 9ddcbbfa08be [2023-05-10T00:10:13.181Z] Removing intermediate container 9ddcbbfa08be [2023-05-10T00:10:13.181Z] ---> 577437eb1de7 [2023-05-10T00:10:13.181Z] Step 12/12 : RUN $MAKE [2023-05-10T00:10:13.181Z] ---> Running in 458b20c7f4c7 [2023-05-10T00:10:14.159Z] noop [2023-05-10T00:10:15.134Z] Removing intermediate container 458b20c7f4c7 [2023-05-10T00:10:15.134Z] ---> 594c21c6d6ba [2023-05-10T00:10:15.134Z] Successfully built 594c21c6d6ba [2023-05-10T00:10:15.134Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:10:15.493Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T00:10:15.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:10:15.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-14835 does not seem to be running inside a container [2023-05-10T00:10:15.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/116 -v /w/workspace/device-virtual-go/116:/w/workspace/device-virtual-go/116:rw,z -v /w/workspace/device-virtual-go/116@tmp:/w/workspace/device-virtual-go/116@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-05-10T00:10:17.099Z] $ docker top e15639d28979cb09deb910ab968ad7ecedcfbc9c04bb5dfa97d050001922aa17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:10:17.979Z] + go version [2023-05-10T00:10:17.979Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T00:10:18.000Z] $ docker stop --time=1 e15639d28979cb09deb910ab968ad7ecedcfbc9c04bb5dfa97d050001922aa17 [2023-05-10T00:10:19.705Z] $ docker rm -f --volumes e15639d28979cb09deb910ab968ad7ecedcfbc9c04bb5dfa97d050001922aa17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:10:20.268Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T00:10:20.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:10:20.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-14835 does not seem to be running inside a container [2023-05-10T00:10:20.553Z] $ 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/116 -v /w/workspace/device-virtual-go/116:/w/workspace/device-virtual-go/116:rw,z -v /w/workspace/device-virtual-go/116@tmp:/w/workspace/device-virtual-go/116@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-05-10T00:10:21.847Z] $ docker top d18df2acfc4d0ad38c545b02cfcf5a9bb886b1c2df6b85534c4fb218e238443a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:10:22.720Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/116 [Pipeline] fileExists [Pipeline] sh [2023-05-10T00:10:23.385Z] + make test [2023-05-10T00:10:23.385Z] go test ./... -coverprofile=coverage.out [2023-05-10T00:11:02.303Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-05-10T00:13:24.702Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-05-10T00:13:24.702Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.097s coverage: 58.4% of statements [2023-05-10T00:13:24.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T00:13:24.702Z] go vet ./... [2023-05-10T00:13:57.030Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T00:13:57.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T00:13:57.030Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T00:13:57.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T00:13:57.062Z] $ docker stop --time=1 d18df2acfc4d0ad38c545b02cfcf5a9bb886b1c2df6b85534c4fb218e238443a [2023-05-10T00:13:59.040Z] $ docker rm -f --volumes d18df2acfc4d0ad38c545b02cfcf5a9bb886b1c2df6b85534c4fb218e238443a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:14:00.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T00:14:00.380Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T00:14:01.038Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T00:14:01.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T00:14:01.822Z] + ls -al . [2023-05-10T00:14:01.822Z] total 188 [2023-05-10T00:14:01.822Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:10 . [2023-05-10T00:14:01.822Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:08 .. [2023-05-10T00:14:01.822Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:08 .git [2023-05-10T00:14:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 .github [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 337 May 10 00:08 .gitignore [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:08 .golangci.yml [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 8652 May 10 00:08 Attribution.txt [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 11367 May 10 00:08 CHANGELOG.md [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 1646 May 10 00:08 Dockerfile [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:08 GOVERNANCE.md [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 00:08 Jenkinsfile [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:08 LICENSE [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 1696 May 10 00:08 Makefile [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 00:08 OWNERS.md [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 3578 May 10 00:08 README.md [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:04 VERSION [2023-05-10T00:14:01.822Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:08 bin [2023-05-10T00:14:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 cmd [2023-05-10T00:14:01.822Z] -rw-r--r-- 1 jenkins jenkins 43063 May 10 00:13 coverage.out [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 3209 May 10 00:08 go.mod [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 30994 May 10 00:08 go.sum [2023-05-10T00:14:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:08 internal [2023-05-10T00:14:01.822Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:08 snap [2023-05-10T00:14:01.822Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 00:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:14:02.184Z] + 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=030a1c50f2b785b1102128f0ffb048d726030487 --label arch=arm64 --label version=3.0.0-dev.44 . [2023-05-10T00:14:02.775Z] Sending build context to Docker daemon 12.02MB [2023-05-10T00:14:02.775Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T00:14:02.775Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T00:14:02.775Z] ---> 594c21c6d6ba [2023-05-10T00:14:02.775Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T00:14:03.053Z] ---> Running in b59d1a3d0683 [2023-05-10T00:14:03.322Z] Removing intermediate container b59d1a3d0683 [2023-05-10T00:14:03.323Z] ---> 7c294753f92d [2023-05-10T00:14:03.323Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T00:14:03.323Z] ---> Running in 32bebd169b5d [2023-05-10T00:14:03.596Z] Removing intermediate container 32bebd169b5d [2023-05-10T00:14:03.596Z] ---> a571814601d3 [2023-05-10T00:14:03.596Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T00:14:03.867Z] ---> Running in cc080eb825a1 [2023-05-10T00:14:04.136Z] Removing intermediate container cc080eb825a1 [2023-05-10T00:14:04.136Z] ---> bad24ce34fe6 [2023-05-10T00:14:04.136Z] Step 6/25 : WORKDIR /device-virtual-go [2023-05-10T00:14:04.136Z] ---> Running in c82078ad2ad4 [2023-05-10T00:14:04.406Z] Removing intermediate container c82078ad2ad4 [2023-05-10T00:14:04.407Z] ---> a8870de1d82a [2023-05-10T00:14:04.407Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T00:14:04.676Z] ---> Running in ae87e66cf766 [2023-05-10T00:14:05.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:14:06.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:14:08.064Z] OK: 268 MiB in 57 packages [2023-05-10T00:14:08.662Z] Removing intermediate container ae87e66cf766 [2023-05-10T00:14:08.662Z] ---> 960730bc2fe1 [2023-05-10T00:14:08.662Z] Step 8/25 : COPY go.mod vendor* ./ [2023-05-10T00:14:09.272Z] ---> ad0a60357bd8 [2023-05-10T00:14:09.272Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T00:14:09.545Z] ---> Running in 8c07baff158e [2023-05-10T00:14:12.915Z] Removing intermediate container 8c07baff158e [2023-05-10T00:14:12.915Z] ---> 4daaddd0fe3b [2023-05-10T00:14:12.915Z] Step 10/25 : COPY . . [2023-05-10T00:14:13.883Z] ---> 92afdc1fbd97 [2023-05-10T00:14:13.883Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T00:14:13.883Z] ---> Running in 9aad5fda5750 [2023-05-10T00:14:14.157Z] Removing intermediate container 9aad5fda5750 [2023-05-10T00:14:14.157Z] ---> 9858d33ccbf8 [2023-05-10T00:14:14.157Z] Step 12/25 : RUN $MAKE [2023-05-10T00:14:14.429Z] ---> Running in a9865e0f8345 [2023-05-10T00:14:15.395Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-05-10T00:16:52.276Z] Removing intermediate container a9865e0f8345 [2023-05-10T00:16:52.276Z] ---> a6f3044ab8c9 [2023-05-10T00:16:52.276Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T00:16:52.276Z] 3.17: Pulling from library/alpine [2023-05-10T00:16:52.276Z] c41833b44d91: Already exists [2023-05-10T00:16:52.276Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T00:16:52.276Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T00:16:52.276Z] ---> 51e60588ff2c [2023-05-10T00:16:52.276Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-05-10T00:16:52.276Z] ---> Running in 0abc7e02e5bf [2023-05-10T00:16:52.276Z] Removing intermediate container 0abc7e02e5bf [2023-05-10T00:16:52.276Z] ---> b44c099fd914 [2023-05-10T00:16:52.276Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T00:16:52.276Z] ---> Running in 8d335933f6ab [2023-05-10T00:16:52.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T00:16:52.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T00:16:52.276Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T00:16:52.276Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T00:16:52.276Z] OK: 8 MiB in 16 packages [2023-05-10T00:16:52.276Z] Removing intermediate container 8d335933f6ab [2023-05-10T00:16:52.276Z] ---> ecd6a5f9e81f [2023-05-10T00:16:52.276Z] Step 16/25 : WORKDIR / [2023-05-10T00:16:52.276Z] ---> Running in ac1eb6792fc4 [2023-05-10T00:16:52.276Z] Removing intermediate container ac1eb6792fc4 [2023-05-10T00:16:52.276Z] ---> b5c68bc1cd6f [2023-05-10T00:16:52.276Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-05-10T00:16:52.276Z] ---> 4aaa77592fb4 [2023-05-10T00:16:52.276Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-05-10T00:16:52.276Z] ---> 78b89c7ee2e1 [2023-05-10T00:16:52.276Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-05-10T00:16:52.276Z] ---> 99f805c83602 [2023-05-10T00:16:52.276Z] Step 20/25 : EXPOSE 59900 [2023-05-10T00:16:52.276Z] ---> Running in 1be780191daf [2023-05-10T00:16:52.276Z] Removing intermediate container 1be780191daf [2023-05-10T00:16:52.276Z] ---> 9b1770e43217 [2023-05-10T00:16:52.276Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-05-10T00:16:52.276Z] ---> Running in f341316e1f7e [2023-05-10T00:16:52.276Z] Removing intermediate container f341316e1f7e [2023-05-10T00:16:52.276Z] ---> 06a512549db0 [2023-05-10T00:16:52.276Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T00:16:52.276Z] ---> Running in 8516a283f837 [2023-05-10T00:16:52.545Z] Removing intermediate container 8516a283f837 [2023-05-10T00:16:52.545Z] ---> 294f6061b886 [2023-05-10T00:16:52.545Z] Step 23/25 : LABEL arch=arm64 [2023-05-10T00:16:52.545Z] ---> Running in 5cea709c4f28 [2023-05-10T00:16:52.813Z] Removing intermediate container 5cea709c4f28 [2023-05-10T00:16:52.813Z] ---> 84ec85e59e77 [2023-05-10T00:16:52.813Z] Step 24/25 : LABEL git_sha=030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:16:53.080Z] ---> Running in b99dff20f596 [2023-05-10T00:16:53.348Z] Removing intermediate container b99dff20f596 [2023-05-10T00:16:53.348Z] ---> beb235fe3d73 [2023-05-10T00:16:53.348Z] Step 25/25 : LABEL version=3.0.0-dev.44 [2023-05-10T00:16:53.348Z] ---> Running in fdc2a7c13d24 [2023-05-10T00:16:53.615Z] Removing intermediate container fdc2a7c13d24 [2023-05-10T00:16:53.615Z] ---> 0d2a5cefeb6d [2023-05-10T00:16:53.615Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T00:16:53.615Z] Successfully built 0d2a5cefeb6d [2023-05-10T00:16:53.615Z] 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-05-10T00:16:53.755Z] provisioning config files... [2023-05-10T00:16:53.772Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/116@tmp/config9959731617005715822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:16:54.110Z] ---> docker-login.sh [2023-05-10T00:16:54.110Z] nexus3.edgexfoundry.org:10001 [2023-05-10T00:16:54.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:16:54.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:16:54.381Z] Configure a credential helper to remove this warning. See [2023-05-10T00:16:54.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:16:54.381Z] [2023-05-10T00:16:54.381Z] Login Succeeded [2023-05-10T00:16:54.381Z] nexus3.edgexfoundry.org:10002 [2023-05-10T00:16:54.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:16:54.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:16:54.650Z] Configure a credential helper to remove this warning. See [2023-05-10T00:16:54.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:16:54.650Z] [2023-05-10T00:16:54.650Z] Login Succeeded [2023-05-10T00:16:54.650Z] nexus3.edgexfoundry.org:10003 [2023-05-10T00:16:54.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:16:55.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:16:55.187Z] Configure a credential helper to remove this warning. See [2023-05-10T00:16:55.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:16:55.187Z] [2023-05-10T00:16:55.187Z] Login Succeeded [2023-05-10T00:16:55.187Z] nexus3.edgexfoundry.org:10004 [2023-05-10T00:16:55.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:16:55.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:16:55.455Z] Configure a credential helper to remove this warning. See [2023-05-10T00:16:55.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:16:55.455Z] [2023-05-10T00:16:55.455Z] Login Succeeded [2023-05-10T00:16:55.455Z] docker.io [2023-05-10T00:16:55.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T00:16:55.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T00:16:55.992Z] Configure a credential helper to remove this warning. See [2023-05-10T00:16:55.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T00:16:55.992Z] [2023-05-10T00:16:55.992Z] Login Succeeded [2023-05-10T00:16:55.992Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T00:16:56.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:16:56.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T00:16:56.077Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-05-10T00:16:56.077Z] 030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:16:56.077Z] latest [2023-05-10T00:16:56.077Z] 3.0.0-dev.44 [2023-05-10T00:16:56.077Z] 030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:16:56.077Z] main [2023-05-10T00:16:56.077Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:16:56.442Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:16:56.791Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:16:56.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T00:16:56.791Z] 5c779d24e0bb: Preparing [2023-05-10T00:16:56.791Z] d93e6a4d26cf: Preparing [2023-05-10T00:16:56.791Z] af2ab031d56d: Preparing [2023-05-10T00:16:56.791Z] 1d943fe864e2: Preparing [2023-05-10T00:16:56.791Z] 26cbea5cba74: Preparing [2023-05-10T00:16:56.791Z] 26cbea5cba74: Layer already exists [2023-05-10T00:16:57.064Z] af2ab031d56d: Pushed [2023-05-10T00:16:57.064Z] d93e6a4d26cf: Pushed [2023-05-10T00:16:57.064Z] 1d943fe864e2: Pushed [2023-05-10T00:17:02.410Z] 5c779d24e0bb: Pushed [2023-05-10T00:17:02.678Z] 030a1c50f2b785b1102128f0ffb048d726030487: digest: sha256:9c30a467bda272f4a6d858fdce23fa6989ccb779692dd48903db5d1f31827117 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:03.050Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:03.406Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-05-10T00:17:03.407Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T00:17:03.407Z] 5c779d24e0bb: Preparing [2023-05-10T00:17:03.407Z] d93e6a4d26cf: Preparing [2023-05-10T00:17:03.407Z] af2ab031d56d: Preparing [2023-05-10T00:17:03.407Z] 1d943fe864e2: Preparing [2023-05-10T00:17:03.407Z] 26cbea5cba74: Preparing [2023-05-10T00:17:03.407Z] af2ab031d56d: Layer already exists [2023-05-10T00:17:03.407Z] 5c779d24e0bb: Layer already exists [2023-05-10T00:17:03.407Z] 1d943fe864e2: Layer already exists [2023-05-10T00:17:03.407Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:03.407Z] d93e6a4d26cf: Layer already exists [2023-05-10T00:17:03.675Z] latest: digest: sha256:9c30a467bda272f4a6d858fdce23fa6989ccb779692dd48903db5d1f31827117 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:04.035Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:04.386Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.44 [2023-05-10T00:17:04.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T00:17:04.386Z] 5c779d24e0bb: Preparing [2023-05-10T00:17:04.386Z] d93e6a4d26cf: Preparing [2023-05-10T00:17:04.386Z] af2ab031d56d: Preparing [2023-05-10T00:17:04.386Z] 1d943fe864e2: Preparing [2023-05-10T00:17:04.386Z] 26cbea5cba74: Preparing [2023-05-10T00:17:04.386Z] af2ab031d56d: Layer already exists [2023-05-10T00:17:04.386Z] 5c779d24e0bb: Layer already exists [2023-05-10T00:17:04.386Z] 1d943fe864e2: Layer already exists [2023-05-10T00:17:04.386Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:04.386Z] d93e6a4d26cf: Layer already exists [2023-05-10T00:17:04.654Z] 3.0.0-dev.44: digest: sha256:9c30a467bda272f4a6d858fdce23fa6989ccb779692dd48903db5d1f31827117 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:05.000Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:05.353Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:17:05.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T00:17:05.353Z] 5c779d24e0bb: Preparing [2023-05-10T00:17:05.353Z] d93e6a4d26cf: Preparing [2023-05-10T00:17:05.353Z] af2ab031d56d: Preparing [2023-05-10T00:17:05.353Z] 1d943fe864e2: Preparing [2023-05-10T00:17:05.353Z] 26cbea5cba74: Preparing [2023-05-10T00:17:05.353Z] 1d943fe864e2: Layer already exists [2023-05-10T00:17:05.353Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:05.353Z] d93e6a4d26cf: Layer already exists [2023-05-10T00:17:05.353Z] af2ab031d56d: Layer already exists [2023-05-10T00:17:05.353Z] 5c779d24e0bb: Layer already exists [2023-05-10T00:17:05.353Z] 030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44: digest: sha256:9c30a467bda272f4a6d858fdce23fa6989ccb779692dd48903db5d1f31827117 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:05.726Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:06.078Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-05-10T00:17:06.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-05-10T00:17:06.078Z] 5c779d24e0bb: Preparing [2023-05-10T00:17:06.078Z] d93e6a4d26cf: Preparing [2023-05-10T00:17:06.078Z] af2ab031d56d: Preparing [2023-05-10T00:17:06.078Z] 1d943fe864e2: Preparing [2023-05-10T00:17:06.078Z] 26cbea5cba74: Preparing [2023-05-10T00:17:06.078Z] 1d943fe864e2: Layer already exists [2023-05-10T00:17:06.078Z] 26cbea5cba74: Layer already exists [2023-05-10T00:17:06.078Z] 5c779d24e0bb: Layer already exists [2023-05-10T00:17:06.078Z] d93e6a4d26cf: Layer already exists [2023-05-10T00:17:06.078Z] af2ab031d56d: Layer already exists [2023-05-10T00:17:06.078Z] main: digest: sha256:9c30a467bda272f4a6d858fdce23fa6989ccb779692dd48903db5d1f31827117 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T00:17:06.399Z] ===================================================== [Pipeline] echo [2023-05-10T00:17:06.413Z] taggedImages: [2023-05-10T00:17:06.413Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487 [2023-05-10T00:17:06.413Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-05-10T00:17:06.413Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.44 [2023-05-10T00:17:06.413Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:030a1c50f2b785b1102128f0ffb048d726030487-3.0.0-dev.44 [2023-05-10T00:17:06.413Z] - 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-05-10T00:17:06.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:06.852Z] [2023-05-10T00:17:06.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:07.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:07.207Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T00:17:07.207Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T00:17:07.207Z] 04944245beec: Pulling fs layer [2023-05-10T00:17:07.207Z] 699f458cf7ca: Pulling fs layer [2023-05-10T00:17:07.207Z] 765212b225bb: Pulling fs layer [2023-05-10T00:17:07.207Z] f23df028b6ca: Pulling fs layer [2023-05-10T00:17:07.207Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T00:17:07.207Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T00:17:07.207Z] d65c8cfc05b1: Waiting [2023-05-10T00:17:07.207Z] 2437ff75d9bd: Waiting [2023-05-10T00:17:07.207Z] 765212b225bb: Waiting [2023-05-10T00:17:07.207Z] f23df028b6ca: Waiting [2023-05-10T00:17:07.488Z] 04944245beec: Verifying Checksum [2023-05-10T00:17:07.488Z] 04944245beec: Download complete [2023-05-10T00:17:07.488Z] 765212b225bb: Verifying Checksum [2023-05-10T00:17:07.488Z] 765212b225bb: Download complete [2023-05-10T00:17:07.488Z] f23df028b6ca: Download complete [2023-05-10T00:17:07.488Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T00:17:07.488Z] d65c8cfc05b1: Download complete [2023-05-10T00:17:07.772Z] 699f458cf7ca: Verifying Checksum [2023-05-10T00:17:07.772Z] 699f458cf7ca: Download complete [2023-05-10T00:17:08.059Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T00:17:08.059Z] 8998bd30e6a1: Download complete [2023-05-10T00:17:10.659Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T00:17:10.659Z] 2437ff75d9bd: Download complete [2023-05-10T00:17:12.071Z] 8998bd30e6a1: Pull complete [2023-05-10T00:17:12.656Z] 04944245beec: Pull complete [2023-05-10T00:17:13.619Z] 699f458cf7ca: Pull complete [2023-05-10T00:17:13.887Z] 765212b225bb: Pull complete [2023-05-10T00:17:14.850Z] f23df028b6ca: Pull complete [2023-05-10T00:17:14.850Z] d65c8cfc05b1: Pull complete [2023-05-10T00:17:29.862Z] 2437ff75d9bd: Pull complete [2023-05-10T00:17:29.862Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T00:17:29.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T00:17:29.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:17:30.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-14835 does not seem to be running inside a container [2023-05-10T00:17:30.173Z] $ 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/116 -v /w/workspace/device-virtual-go/116:/w/workspace/device-virtual-go/116:rw,z -v /w/workspace/device-virtual-go/116@tmp:/w/workspace/device-virtual-go/116@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-05-10T00:17:33.313Z] $ docker top c8cb3e5c6bb54646bcb8aaf4cdd4d74316f4515ac705566d041c4c54cbbac745 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:17:34.205Z] ---> job-cost.sh [2023-05-10T00:17:34.205Z] lf-activate-venv: SKIPPING [2023-05-10T00:17:34.205Z] INFO: No Stack... [2023-05-10T00:17:34.793Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T00:17:35.386Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T00:17:36.041Z] + cat /w/workspace/device-virtual-go/116/archives/cost.csv [2023-05-10T00:17:36.041Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T00:17:36.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [2023-05-10T00:17:36.094Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] did not exist. Created. [2023-05-10T00:17:36.094Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T00:17:36.767Z] /w/workspace/device-virtual-go/116@tmp/durable-a12f9de1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T00:17:37.439Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T00:17:37.463Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T00:17:37.516Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T00:17:37.528Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T00:17:37.549Z] $ docker stop --time=1 c8cb3e5c6bb54646bcb8aaf4cdd4d74316f4515ac705566d041c4c54cbbac745 [2023-05-10T00:17:39.131Z] $ docker rm -f --volumes c8cb3e5c6bb54646bcb8aaf4cdd4d74316f4515ac705566d041c4c54cbbac745 [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-05-10T00:17:39.582Z] provisioning config files... [2023-05-10T00:17:39.589Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9818768106117521401tmp [Pipeline] { [Pipeline] sh [2023-05-10T00:17:39.885Z] + set +x [2023-05-10T00:17:39.885Z] + curl -s https://codecov.io/bash [2023-05-10T00:17:39.885Z] + bash -s -- [2023-05-10T00:17:39.885Z] [2023-05-10T00:17:39.885Z] _____ _ [2023-05-10T00:17:39.885Z] / ____| | | [2023-05-10T00:17:39.885Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T00:17:39.885Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T00:17:39.885Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T00:17:39.885Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T00:17:39.885Z] Bash-1.0.6 [2023-05-10T00:17:39.885Z] [2023-05-10T00:17:39.885Z] [2023-05-10T00:17:39.885Z] ==> git version 2.25.1 found [2023-05-10T00:17:39.885Z] ==> 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-05-10T00:17:39.885Z] Release-Date: 2020-01-08 [2023-05-10T00:17:39.885Z] 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-05-10T00:17:39.885Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T00:17:39.885Z] ==> Jenkins CI detected. [2023-05-10T00:17:39.885Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-05-10T00:17:39.885Z] project root: . [2023-05-10T00:17:39.885Z] --> token set from env [2023-05-10T00:17:39.885Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T00:17:39.885Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T00:17:39.885Z] ==> Python coveragepy not found [2023-05-10T00:17:39.885Z] ==> Searching for coverage reports in: [2023-05-10T00:17:39.885Z] + . [2023-05-10T00:17:40.145Z] -> Found 1 reports [2023-05-10T00:17:40.145Z] ==> Detecting git/mercurial file structure [2023-05-10T00:17:40.145Z] ==> Reading reports [2023-05-10T00:17:40.145Z] + ./coverage.out bytes=43063 [2023-05-10T00:17:40.145Z] ==> Appending adjustments [2023-05-10T00:17:40.145Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T00:17:40.145Z] + Found adjustments [2023-05-10T00:17:40.145Z] ==> Gzipping contents [2023-05-10T00:17:40.145Z] 8.0K /tmp/codecov.KlYRUg.gz [2023-05-10T00:17:40.145Z] ==> Uploading reports [2023-05-10T00:17:40.145Z] url: https://codecov.io [2023-05-10T00:17:40.145Z] query: branch=main&commit=030a1c50f2b785b1102128f0ffb048d726030487&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T00:17:40.145Z] -> Pinging Codecov [2023-05-10T00:17:40.145Z] 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=030a1c50f2b785b1102128f0ffb048d726030487&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T00:17:40.405Z] -> Uploading to [2023-05-10T00:17:40.405Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/5E52B4B073DB2E39498172D8E973AA87/030a1c50f2b785b1102128f0ffb048d726030487/8c69cc87-8224-4eb8-9b52-998ad66ad560.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T001740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7fa307125bfcc863213cb649002e6b6c5eb742267444552102c2c368d0da79e [2023-05-10T00:17:40.405Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T00:17:40.405Z] Dload Upload Total Spent Left Speed [2023-05-10T00:17:40.663Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27721 --:--:-- --:--:-- --:--:-- 27721 [2023-05-10T00:17:40.663Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] } [2023-05-10T00:17:40.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T00:17:40.806Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T00:17:40.816Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:41.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:17:41.111Z] [2023-05-10T00:17:41.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:17:41.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:17:41.439Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T00:17:41.439Z] df9b9388f04a: Pulling fs layer [2023-05-10T00:17:41.439Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T00:17:41.439Z] 25bc292e5bac: Pulling fs layer [2023-05-10T00:17:41.439Z] 114826534d7a: Pulling fs layer [2023-05-10T00:17:41.439Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T00:17:41.439Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T00:17:41.439Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T00:17:41.439Z] 4657fd5d0bcf: Waiting [2023-05-10T00:17:41.439Z] 114826534d7a: Waiting [2023-05-10T00:17:41.439Z] 6ad1cebc031e: Waiting [2023-05-10T00:17:41.439Z] 8a3aa393b2d8: Waiting [2023-05-10T00:17:41.439Z] 25bc292e5bac: Download complete [2023-05-10T00:17:41.439Z] 52dc419b0ee2: Verifying Checksum [2023-05-10T00:17:41.439Z] 52dc419b0ee2: Download complete [2023-05-10T00:17:41.439Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T00:17:41.439Z] 4657fd5d0bcf: Download complete [2023-05-10T00:17:41.699Z] df9b9388f04a: Pull complete [2023-05-10T00:17:41.699Z] 6ad1cebc031e: Verifying Checksum [2023-05-10T00:17:41.699Z] 6ad1cebc031e: Download complete [2023-05-10T00:17:41.699Z] 52dc419b0ee2: Pull complete [2023-05-10T00:17:41.960Z] 25bc292e5bac: Pull complete [2023-05-10T00:17:42.219Z] 114826534d7a: Verifying Checksum [2023-05-10T00:17:42.219Z] 114826534d7a: Download complete [2023-05-10T00:17:42.788Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T00:17:42.788Z] 8a3aa393b2d8: Download complete [2023-05-10T00:17:46.089Z] 114826534d7a: Pull complete [2023-05-10T00:17:46.089Z] 4657fd5d0bcf: Pull complete [2023-05-10T00:17:46.089Z] 6ad1cebc031e: Pull complete [2023-05-10T00:17:48.619Z] 8a3aa393b2d8: Pull complete [2023-05-10T00:17:48.619Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T00:17:48.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T00:17:48.619Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:17:48.698Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:17:48.741Z] $ 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-05-10T00:17:51.917Z] $ docker top 8b2cfc821084dca83937f7eaf1af80229217f031990fb6236f55d1addd616c6a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T00:17:51.976Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-05-10T00:17:52.253Z] + set -o pipefail [2023-05-10T00:17:52.253Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/204ef0f7-58d7-481b-b51c-b4086635e4da [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] [2023-05-10T00:17:58.827Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T00:17:58.827Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T00:17:58.827Z] More details here: https://snyk.co/ue1NS [2023-05-10T00:17:58.827Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T00:17:58.827Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T00:17:58.834Z] $ docker stop --time=1 8b2cfc821084dca83937f7eaf1af80229217f031990fb6236f55d1addd616c6a [2023-05-10T00:18:01.448Z] $ docker rm -f --volumes 8b2cfc821084dca83937f7eaf1af80229217f031990fb6236f55d1addd616c6a [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-05-10T00:18:02.106Z] + git log --format=format:%s -1 030a1c50f2b785b1102128f0ffb048d726030487 [Pipeline] sh [2023-05-10T00:18:02.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:18:02.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:02.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:18:02.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:02.780Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:18:02.807Z] $ 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-05-10T00:18:03.232Z] $ docker top f7e46fd57ba2a31b70ce0cc8514a2c6f6621db0505b7eac24daa42b6be6a701b -eo pid,comm [2023-05-10T00:18:03.281Z] 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-05-10T00:18:03.281Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:18:03.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:18:03.343Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:18:03.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:18:03.469Z] $ docker exec f7e46fd57ba2a31b70ce0cc8514a2c6f6621db0505b7eac24daa42b6be6a701b ssh-agent [2023-05-10T00:18:03.588Z] SSH_AUTH_SOCK=/tmp/ssh-9YPbkRkEcCd6/agent.32 [2023-05-10T00:18:03.588Z] SSH_AGENT_PID=38 [2023-05-10T00:18:03.592Z] Running ssh-add (command line suppressed) [2023-05-10T00:18:03.686Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8649266885317477255.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8649266885317477255.key) [2023-05-10T00:18:03.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:18:04.000Z] + git semver tag [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,175 [run_tag] DEBUG tag force:False [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,175 [check_head_tag] DEBUG check head tag [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,176 [execute] INFO git cat-file --batch-check [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,180 [execute] INFO git cat-file --batch [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,207 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,207 [execute] INFO git tag -a v3.0.0-dev.44 -m v3.0.0-dev.44 [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.44', '-m', 'v3.0.0-dev.44'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:18:04.260Z] 2023-05-10 00:18:04,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:04.260Z] 3.0.0-dev.44 [Pipeline] } [2023-05-10T00:18:04.266Z] $ docker exec --env ******** --env ******** f7e46fd57ba2a31b70ce0cc8514a2c6f6621db0505b7eac24daa42b6be6a701b ssh-agent -k [2023-05-10T00:18:04.362Z] unset SSH_AUTH_SOCK; [2023-05-10T00:18:04.362Z] unset SSH_AGENT_PID; [2023-05-10T00:18:04.363Z] echo Agent pid 38 killed; [2023-05-10T00:18:04.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:18:04.696Z] + git semver [Pipeline] } [2023-05-10T00:18:04.965Z] $ docker stop --time=1 f7e46fd57ba2a31b70ce0cc8514a2c6f6621db0505b7eac24daa42b6be6a701b [2023-05-10T00:18:06.209Z] $ docker rm -f --volumes f7e46fd57ba2a31b70ce0cc8514a2c6f6621db0505b7eac24daa42b6be6a701b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:06.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:06.599Z] [2023-05-10T00:18:06.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:06.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:06.898Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T00:18:06.898Z] ab5ef0e58194: Pulling fs layer [2023-05-10T00:18:06.898Z] 9712f1f96733: Pulling fs layer [2023-05-10T00:18:06.898Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T00:18:06.898Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T00:18:06.898Z] e9a5061849ea: Pulling fs layer [2023-05-10T00:18:06.898Z] d747dcd14b5f: Pulling fs layer [2023-05-10T00:18:06.898Z] 2de7ff778b66: Pulling fs layer [2023-05-10T00:18:06.898Z] e9a5061849ea: Waiting [2023-05-10T00:18:06.898Z] d747dcd14b5f: Waiting [2023-05-10T00:18:06.898Z] 2de7ff778b66: Waiting [2023-05-10T00:18:06.898Z] 0d9ebad4ef96: Waiting [2023-05-10T00:18:06.898Z] 9712f1f96733: Verifying Checksum [2023-05-10T00:18:06.898Z] 9712f1f96733: Download complete [2023-05-10T00:18:07.157Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T00:18:07.157Z] 63f879dbbcfc: Download complete [2023-05-10T00:18:07.415Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T00:18:07.415Z] 0d9ebad4ef96: Download complete [2023-05-10T00:18:07.416Z] e9a5061849ea: Verifying Checksum [2023-05-10T00:18:07.416Z] e9a5061849ea: Download complete [2023-05-10T00:18:07.416Z] d747dcd14b5f: Verifying Checksum [2023-05-10T00:18:07.416Z] d747dcd14b5f: Download complete [2023-05-10T00:18:07.416Z] ab5ef0e58194: Verifying Checksum [2023-05-10T00:18:07.416Z] ab5ef0e58194: Download complete [2023-05-10T00:18:07.674Z] 2de7ff778b66: Verifying Checksum [2023-05-10T00:18:07.674Z] 2de7ff778b66: Download complete [2023-05-10T00:18:10.202Z] ab5ef0e58194: Pull complete [2023-05-10T00:18:10.202Z] 9712f1f96733: Pull complete [2023-05-10T00:18:10.766Z] 63f879dbbcfc: Pull complete [2023-05-10T00:18:14.046Z] 0d9ebad4ef96: Pull complete [2023-05-10T00:18:14.304Z] e9a5061849ea: Pull complete [2023-05-10T00:18:14.304Z] d747dcd14b5f: Pull complete [2023-05-10T00:18:15.678Z] 2de7ff778b66: Pull complete [2023-05-10T00:18:15.678Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T00:18:15.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T00:18:15.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:15.773Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:18:15.804Z] $ 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-05-10T00:18:19.941Z] $ docker top 44ad02a9e43fa11774acb500bb20b863d7990c6259ff27609ba9bd849caa0f63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:18:20.017Z] provisioning config files... [2023-05-10T00:18:20.026Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16259233829181150260tmp [2023-05-10T00:18:20.036Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2838124115124472514tmp [2023-05-10T00:18:20.045Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11525274455777884271tmp [Pipeline] { [Pipeline] echo [2023-05-10T00:18:20.060Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:20.345Z] ---> sigul-configuration.sh [2023-05-10T00:18:20.345Z] gpg: directory `/root/.gnupg' created [2023-05-10T00:18:20.346Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T00:18:20.346Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T00:18:20.346Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T00:18:20.346Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T00:18:20.346Z] gpg: CAST5 encrypted data [2023-05-10T00:18:20.346Z] gpg: encrypted with 1 passphrase [2023-05-10T00:18:20.346Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T00:18:20.635Z] + mkdir /home/jenkins [2023-05-10T00:18:20.635Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T00:18:20.921Z] + 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-05-10T00:18:20.930Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:21.214Z] ---> sigul-install.sh [2023-05-10T00:18:21.214Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T00:18:21.500Z] + git tag --list [2023-05-10T00:18:21.500Z] v1.0.0 [2023-05-10T00:18:21.500Z] v1.1.0 [2023-05-10T00:18:21.500Z] v1.1.1 [2023-05-10T00:18:21.500Z] v1.2.1 [2023-05-10T00:18:21.500Z] v1.2.2 [2023-05-10T00:18:21.500Z] v1.2.3 [2023-05-10T00:18:21.500Z] v1.3.0 [2023-05-10T00:18:21.500Z] v1.3.1 [2023-05-10T00:18:21.500Z] v2.0.0 [2023-05-10T00:18:21.500Z] v2.1.0 [2023-05-10T00:18:21.500Z] v2.1.1 [2023-05-10T00:18:21.500Z] v2.1.1-dev.1 [2023-05-10T00:18:21.500Z] v2.1.1-dev.2 [2023-05-10T00:18:21.500Z] v2.2.0 [2023-05-10T00:18:21.500Z] v2.2.1-dev.1 [2023-05-10T00:18:21.500Z] v2.2.1-dev.2 [2023-05-10T00:18:21.500Z] v2.2.1-dev.3 [2023-05-10T00:18:21.500Z] v2.2.1-dev.4 [2023-05-10T00:18:21.500Z] v2.2.1-dev.5 [2023-05-10T00:18:21.500Z] v2.2.1-dev.6 [2023-05-10T00:18:21.500Z] v2.2.1-dev.7 [2023-05-10T00:18:21.500Z] v2.2.1-dev.8 [2023-05-10T00:18:21.500Z] v2.3.0 [2023-05-10T00:18:21.500Z] v2.3.0-dev.10 [2023-05-10T00:18:21.500Z] v2.3.0-dev.11 [2023-05-10T00:18:21.500Z] v2.3.0-dev.12 [2023-05-10T00:18:21.500Z] v2.3.0-dev.13 [2023-05-10T00:18:21.500Z] v2.3.0-dev.14 [2023-05-10T00:18:21.500Z] v2.3.0-dev.15 [2023-05-10T00:18:21.500Z] v2.3.0-dev.16 [2023-05-10T00:18:21.500Z] v2.3.0-dev.17 [2023-05-10T00:18:21.500Z] v2.3.0-dev.18 [2023-05-10T00:18:21.500Z] v2.3.0-dev.19 [2023-05-10T00:18:21.500Z] v2.3.0-dev.20 [2023-05-10T00:18:21.500Z] v2.3.0-dev.21 [2023-05-10T00:18:21.500Z] v2.3.0-dev.22 [2023-05-10T00:18:21.500Z] v2.3.0-dev.23 [2023-05-10T00:18:21.500Z] v2.3.0-dev.24 [2023-05-10T00:18:21.500Z] v2.3.0-dev.25 [2023-05-10T00:18:21.500Z] v2.3.0-dev.26 [2023-05-10T00:18:21.500Z] v2.3.0-dev.27 [2023-05-10T00:18:21.500Z] v2.3.0-dev.28 [2023-05-10T00:18:21.500Z] v2.3.0-dev.29 [2023-05-10T00:18:21.500Z] v2.3.0-dev.30 [2023-05-10T00:18:21.500Z] v2.3.0-dev.8 [2023-05-10T00:18:21.500Z] v2.3.0-dev.9 [2023-05-10T00:18:21.500Z] v3.0.0-dev.1 [2023-05-10T00:18:21.500Z] v3.0.0-dev.10 [2023-05-10T00:18:21.500Z] v3.0.0-dev.11 [2023-05-10T00:18:21.500Z] v3.0.0-dev.12 [2023-05-10T00:18:21.500Z] v3.0.0-dev.13 [2023-05-10T00:18:21.500Z] v3.0.0-dev.14 [2023-05-10T00:18:21.500Z] v3.0.0-dev.15 [2023-05-10T00:18:21.500Z] v3.0.0-dev.16 [2023-05-10T00:18:21.500Z] v3.0.0-dev.17 [2023-05-10T00:18:21.500Z] v3.0.0-dev.18 [2023-05-10T00:18:21.500Z] v3.0.0-dev.19 [2023-05-10T00:18:21.500Z] v3.0.0-dev.2 [2023-05-10T00:18:21.500Z] v3.0.0-dev.20 [2023-05-10T00:18:21.500Z] v3.0.0-dev.21 [2023-05-10T00:18:21.500Z] v3.0.0-dev.22 [2023-05-10T00:18:21.500Z] v3.0.0-dev.23 [2023-05-10T00:18:21.500Z] v3.0.0-dev.24 [2023-05-10T00:18:21.500Z] v3.0.0-dev.25 [2023-05-10T00:18:21.500Z] v3.0.0-dev.26 [2023-05-10T00:18:21.500Z] v3.0.0-dev.27 [2023-05-10T00:18:21.500Z] v3.0.0-dev.28 [2023-05-10T00:18:21.500Z] v3.0.0-dev.29 [2023-05-10T00:18:21.500Z] v3.0.0-dev.3 [2023-05-10T00:18:21.500Z] v3.0.0-dev.30 [2023-05-10T00:18:21.500Z] v3.0.0-dev.31 [2023-05-10T00:18:21.500Z] v3.0.0-dev.32 [2023-05-10T00:18:21.500Z] v3.0.0-dev.33 [2023-05-10T00:18:21.500Z] v3.0.0-dev.34 [2023-05-10T00:18:21.500Z] v3.0.0-dev.35 [2023-05-10T00:18:21.500Z] v3.0.0-dev.36 [2023-05-10T00:18:21.500Z] v3.0.0-dev.37 [2023-05-10T00:18:21.500Z] v3.0.0-dev.38 [2023-05-10T00:18:21.500Z] v3.0.0-dev.39 [2023-05-10T00:18:21.500Z] v3.0.0-dev.4 [2023-05-10T00:18:21.500Z] v3.0.0-dev.40 [2023-05-10T00:18:21.500Z] v3.0.0-dev.41 [2023-05-10T00:18:21.500Z] v3.0.0-dev.42 [2023-05-10T00:18:21.500Z] v3.0.0-dev.43 [2023-05-10T00:18:21.500Z] v3.0.0-dev.44 [2023-05-10T00:18:21.500Z] v3.0.0-dev.5 [2023-05-10T00:18:21.500Z] v3.0.0-dev.6 [2023-05-10T00:18:21.500Z] v3.0.0-dev.7 [2023-05-10T00:18:21.500Z] v3.0.0-dev.8 [2023-05-10T00:18:21.500Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T00:18:21.786Z] + lftools sign git-tag v3.0.0-dev.44 [2023-05-10T00:18:22.355Z] Signing Git tag with Sigul... [2023-05-10T00:18:22.355Z] Signing v3.0.0-dev.44 [Pipeline] echo [2023-05-10T00:18:22.932Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:23.215Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T00:18:23.222Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T00:18:23.242Z] $ docker stop --time=1 44ad02a9e43fa11774acb500bb20b863d7990c6259ff27609ba9bd849caa0f63 [2023-05-10T00:18:24.524Z] $ docker rm -f --volumes 44ad02a9e43fa11774acb500bb20b863d7990c6259ff27609ba9bd849caa0f63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T00:18:24.959Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:18:24.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:25.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:18:25.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:25.327Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:18:25.354Z] $ 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-05-10T00:18:25.688Z] $ docker top 65959a10c3843d5934adb19b2664182e8f4dcbd42b0281caa8791df00b4361ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:18:25.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:18:25.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:18:25.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:18:25.908Z] $ docker exec 65959a10c3843d5934adb19b2664182e8f4dcbd42b0281caa8791df00b4361ba ssh-agent [2023-05-10T00:18:26.020Z] SSH_AUTH_SOCK=/tmp/ssh-S5bOmgxR6kfX/agent.33 [2023-05-10T00:18:26.021Z] SSH_AGENT_PID=39 [2023-05-10T00:18:26.026Z] Running ssh-add (command line suppressed) [2023-05-10T00:18:26.128Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6710248948560380433.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6710248948560380433.key) [2023-05-10T00:18:26.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:18:26.440Z] + git semver bump pre [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [bump_version] DEBUG bumping version:3.0.0-dev.44 on axis:pre with prefix:dev [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [bump_version] DEBUG bumped version:3.0.0-dev.45 [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [write_version] DEBUG write version:3.0.0-dev.45 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,633 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,635 [execute] INFO git cat-file --batch-check [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,642 [execute] INFO git cat-file --batch [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:26.699Z] 2023-05-10 00:18:26,648 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:26.699Z] 3.0.0-dev.45 [Pipeline] } [2023-05-10T00:18:26.706Z] $ docker exec --env ******** --env ******** 65959a10c3843d5934adb19b2664182e8f4dcbd42b0281caa8791df00b4361ba ssh-agent -k [2023-05-10T00:18:26.814Z] unset SSH_AUTH_SOCK; [2023-05-10T00:18:26.814Z] unset SSH_AGENT_PID; [2023-05-10T00:18:26.814Z] echo Agent pid 39 killed; [2023-05-10T00:18:26.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:18:27.136Z] + git semver [Pipeline] } [2023-05-10T00:18:27.404Z] $ docker stop --time=1 65959a10c3843d5934adb19b2664182e8f4dcbd42b0281caa8791df00b4361ba [2023-05-10T00:18:28.674Z] $ docker rm -f --volumes 65959a10c3843d5934adb19b2664182e8f4dcbd42b0281caa8791df00b4361ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T00:18:29.024Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T00:18:29.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:29.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T00:18:29.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:29.424Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:18:29.454Z] $ 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-05-10T00:18:29.779Z] $ docker top 18cd0fc050eeb501f01e964a3571848662a3a8e33b1a70b50ba10337e57bd195 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T00:18:29.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T00:18:29.894Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T00:18:30.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T00:18:30.002Z] $ docker exec 18cd0fc050eeb501f01e964a3571848662a3a8e33b1a70b50ba10337e57bd195 ssh-agent [2023-05-10T00:18:30.107Z] SSH_AUTH_SOCK=/tmp/ssh-NjghEiUxd3P8/agent.32 [2023-05-10T00:18:30.107Z] SSH_AGENT_PID=38 [2023-05-10T00:18:30.112Z] Running ssh-add (command line suppressed) [2023-05-10T00:18:30.209Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12071146071191695543.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12071146071191695543.key) [2023-05-10T00:18:30.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T00:18:30.531Z] + git semver push [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,691 [run_push] DEBUG push [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,692 [execute] INFO git cat-file --batch-check [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,695 [execute] INFO git rev-list 04b317f5ee06955b7e726d8a512b65dcc68e43f8 -- [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,695 [execute] DEBUG Popen(['git', 'rev-list', '04b317f5ee06955b7e726d8a512b65dcc68e43f8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,703 [execute] INFO git fetch -v origin [2023-05-10T00:18:30.790Z] 2023-05-10 00:18:30,703 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-10T00:18:31.358Z] 2023-05-10 00:18:31,171 [run_push] DEBUG no remote changes detected [2023-05-10T00:18:31.358Z] 2023-05-10 00:18:31,171 [execute] INFO git push origin semver [2023-05-10T00:18:31.358Z] 2023-05-10 00:18:31,171 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T00:18:32.295Z] 2023-05-10 00:18:31,948 [run_push] DEBUG push all version tags [2023-05-10T00:18:32.295Z] 2023-05-10 00:18:31,948 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T00:18:32.295Z] 2023-05-10 00:18:31,949 [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-05-10T00:18:32.864Z] 2023-05-10 00:18:32,689 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-05-10T00:18:32.864Z] 3.0.0-dev.45 [Pipeline] } [2023-05-10T00:18:32.870Z] $ docker exec --env ******** --env ******** 18cd0fc050eeb501f01e964a3571848662a3a8e33b1a70b50ba10337e57bd195 ssh-agent -k [2023-05-10T00:18:32.961Z] unset SSH_AUTH_SOCK; [2023-05-10T00:18:32.962Z] unset SSH_AGENT_PID; [2023-05-10T00:18:32.962Z] echo Agent pid 38 killed; [2023-05-10T00:18:32.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T00:18:33.400Z] + git semver [Pipeline] } [2023-05-10T00:18:33.738Z] $ docker stop --time=1 18cd0fc050eeb501f01e964a3571848662a3a8e33b1a70b50ba10337e57bd195 [2023-05-10T00:18:35.024Z] $ docker rm -f --volumes 18cd0fc050eeb501f01e964a3571848662a3a8e33b1a70b50ba10337e57bd195 [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-05-10T00:18:35.584Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-05-10T00:18:35.584Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T00:18:35.584Z] total 16 [2023-05-10T00:18:35.584Z] drwxr-xr-x 3 root root 4096 May 10 00:06 . [2023-05-10T00:18:35.584Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:18 .. [2023-05-10T00:18:35.584Z] drwxr-xr-x 2 root root 4096 May 10 00:06 cost [2023-05-10T00:18:35.584Z] -rw-r--r-- 1 root root 89 May 10 00:06 cost.csv [2023-05-10T00:18:35.584Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T00:18:35.584Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-05-10T00:18:35.584Z] total 16 [2023-05-10T00:18:35.584Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:06 . [2023-05-10T00:18:35.584Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:18 .. [2023-05-10T00:18:35.584Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 00:06 cost [2023-05-10T00:18:35.584Z] -rw-r--r-- 1 jenkins jenkins 89 May 10 00:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:35.877Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:36.740Z] ---> package-listing.sh [2023-05-10T00:18:36.740Z] ++ facter osfamily [2023-05-10T00:18:36.740Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T00:18:36.999Z] + OS_FAMILY=debian [2023-05-10T00:18:36.999Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-05-10T00:18:36.999Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T00:18:36.999Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T00:18:36.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T00:18:36.999Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T00:18:36.999Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-05-10T00:18:36.999Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T00:18:36.999Z] + case "${OS_FAMILY}" in [2023-05-10T00:18:36.999Z] + dpkg -l [2023-05-10T00:18:36.999Z] + grep '^ii' [2023-05-10T00:18:36.999Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T00:18:36.999Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T00:18:36.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T00:18:36.999Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-05-10T00:18:36.999Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-05-10T00:18:36.999Z] + 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-05-10T00:18:37.011Z] 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-05-10T00:18:37.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T00:18:37.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T00:18:37.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T00:18:37.955Z] prd-ubuntu20.04-docker-8c-8g-14831 does not seem to be running inside a container [2023-05-10T00:18:37.986Z] $ 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-05-10T00:18:38.196Z] $ docker top 7f63f1d41b92131c7ac077a3b3664cae40d0421c8fd7091f50a16382631905d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T00:18:38.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T00:18:38.845Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T00:18:39.130Z] + ls /var/log/sa-host [2023-05-10T00:18:39.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T00:18:39.201Z] provisioning config files... [2023-05-10T00:18:39.210Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5644606909512575304tmp [Pipeline] { [Pipeline] echo [2023-05-10T00:18:39.222Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:39.505Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T00:18:39.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:39.841Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T00:18:39.850Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:40.132Z] ---> sudo-logs.sh [2023-05-10T00:18:40.132Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T00:18:40.168Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:40.451Z] ---> job-cost.sh [2023-05-10T00:18:40.451Z] lf-activate-venv: SKIPPING [2023-05-10T00:18:40.451Z] DEBUG: total: 0.2199999988079071 [2023-05-10T00:18:40.451Z] INFO: Retrieving Stack Cost... [2023-05-10T00:18:40.710Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T00:18:41.285Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T00:18:41.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T00:18:41.576Z] ---> logs-deploy.sh [2023-05-10T00:18:41.576Z] lf-activate-venv: SKIPPING [2023-05-10T00:18:41.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/116 [2023-05-10T00:18:41.576Z] INFO: archiving workspace using pattern(s): [2023-05-10T00:18:42.513Z] Archives upload complete. [2023-05-10T00:18:42.513Z] INFO: archiving logs to Nexus