Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1705bfbb6261e298477ee3ade5426f3d03c5e783 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-ssh14826028176297937717.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3283620347901168506.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5242965475126591849.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8197657257465900414.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-ssh3442608962689573136.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-323 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1705bfbb6261e298477ee3ade5426f3d03c5e783 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 Commit message: "Merge pull request #357 from lenny-intel/go-1.20" > git rev-list --no-walk 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:25:54.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:25:54.368Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:25:54.387Z] ========================================================= [2023-03-15T02:25:54.387Z] EdgeX Global Pipelines Version Info [2023-03-15T02:25:54.387Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:25:55.098Z] ------------------- [2023-03-15T02:25:55.098Z] stable info: [2023-03-15T02:25:55.098Z] ------------------- [2023-03-15T02:25:55.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:25:55.098Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:25:55.098Z] Message: update stable to v1.0.245 [2023-03-15T02:25:55.667Z] ------------------- [2023-03-15T02:25:55.667Z] experimental info: [2023-03-15T02:25:55.667Z] ------------------- [2023-03-15T02:25:55.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:25:55.667Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:25:55.667Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:25:55.827Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-15T02:25:55.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-15T02:25:55.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:25:55.862Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:25:55.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:25:55.885Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:25:55.897Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:25:55.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:25:55.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:25:55.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:25:55.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:25:55.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-15T02:25:55.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:25:55.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:25:55.987Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:25:55.998Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:25:56.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:25:56.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:25:56.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:25:56.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:25:56.057Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:25:56.070Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:25:56.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:25:56.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:25:56.104Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:25:56.115Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:25:56.127Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:25:56.141Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T02:25:56.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T02:25:56.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T02:25:56.174Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo [2023-03-15T02:25:56.189Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1705bfb [Pipeline] echo [2023-03-15T02:25:56.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:25:56.244Z] provisioning config files... [2023-03-15T02:25:56.258Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16598426520558225714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:25:56.558Z] ---> docker-login.sh [2023-03-15T02:25:56.558Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:25:56.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:25:56.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:25:56.818Z] Configure a credential helper to remove this warning. See [2023-03-15T02:25:56.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:25:56.818Z] [2023-03-15T02:25:56.818Z] Login Succeeded [2023-03-15T02:25:56.818Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:25:57.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:25:57.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:25:57.079Z] Configure a credential helper to remove this warning. See [2023-03-15T02:25:57.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:25:57.079Z] [2023-03-15T02:25:57.079Z] Login Succeeded [2023-03-15T02:25:57.079Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:25:57.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:25:57.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:25:57.079Z] Configure a credential helper to remove this warning. See [2023-03-15T02:25:57.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:25:57.079Z] [2023-03-15T02:25:57.079Z] Login Succeeded [2023-03-15T02:25:57.079Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:25:57.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:25:57.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:25:57.339Z] Configure a credential helper to remove this warning. See [2023-03-15T02:25:57.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:25:57.339Z] [2023-03-15T02:25:57.339Z] Login Succeeded [2023-03-15T02:25:57.339Z] docker.io [2023-03-15T02:25:57.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:25:57.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:25:57.600Z] Configure a credential helper to remove this warning. See [2023-03-15T02:25:57.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:25:57.600Z] [2023-03-15T02:25:57.600Z] Login Succeeded [2023-03-15T02:25:57.600Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:25:57.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:25:57.956Z] + git rev-list -1 --merges 1705bfbb6261e298477ee3ade5426f3d03c5e783~1..1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo [2023-03-15T02:25:57.994Z] -----------> git rev-list -1 --merges 1705bfbb6261e298477ee3ade5426f3d03c5e783~1..1705bfbb6261e298477ee3ade5426f3d03c5e783 1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:25:57.994Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783 [false] [Pipeline] sh [2023-03-15T02:25:58.280Z] + git log --format=format:%s -1 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo [2023-03-15T02:25:58.294Z] ========================================================= [2023-03-15T02:25:58.294Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:25:58.294Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:25:58.607Z] + git log --format=format:%s -1 1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] echo [2023-03-15T02:25:58.617Z] [semverPrep] GIT_COMMIT: 1705bfbb6261e298477ee3ade5426f3d03c5e783, Commit Message: Merge pull request #357 from lenny-intel/go-1.20 [Pipeline] echo [2023-03-15T02:25:58.626Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:25:58.993Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:25:58.993Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:25:58.993Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:25:58.993Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:25:58.993Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:25:58.993Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:25:58.993Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:25:59.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:25:59.407Z] [2023-03-15T02:25:59.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:25:59.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:25:59.708Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:25:59.708Z] b85a868b505f: Pulling fs layer [2023-03-15T02:25:59.708Z] e2be974225ed: Pulling fs layer [2023-03-15T02:25:59.708Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:25:59.708Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:25:59.708Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:25:59.708Z] eaf3925da568: Pulling fs layer [2023-03-15T02:25:59.708Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:25:59.708Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:25:59.708Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:25:59.708Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:25:59.708Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:25:59.708Z] 988bab9f4d93: Waiting [2023-03-15T02:25:59.708Z] 1469e6f7b9e6: Waiting [2023-03-15T02:25:59.708Z] eaf3925da568: Waiting [2023-03-15T02:25:59.708Z] bab4dde63d76: Waiting [2023-03-15T02:25:59.708Z] bde34c3a00c8: Waiting [2023-03-15T02:25:59.708Z] b352a97aabf1: Waiting [2023-03-15T02:25:59.708Z] 4872d77fe225: Waiting [2023-03-15T02:25:59.708Z] 5851b861e8e6: Waiting [2023-03-15T02:25:59.708Z] e2be974225ed: Verifying Checksum [2023-03-15T02:25:59.708Z] e2be974225ed: Download complete [2023-03-15T02:25:59.708Z] 988bab9f4d93: Verifying Checksum [2023-03-15T02:25:59.708Z] 988bab9f4d93: Download complete [2023-03-15T02:25:59.967Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:25:59.967Z] 1469e6f7b9e6: Download complete [2023-03-15T02:25:59.967Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:25:59.967Z] 339a4e72a1f5: Download complete [2023-03-15T02:25:59.967Z] eaf3925da568: Verifying Checksum [2023-03-15T02:25:59.967Z] eaf3925da568: Download complete [2023-03-15T02:25:59.967Z] bde34c3a00c8: Download complete [2023-03-15T02:25:59.967Z] b352a97aabf1: Download complete [2023-03-15T02:25:59.967Z] 4872d77fe225: Verifying Checksum [2023-03-15T02:25:59.967Z] 4872d77fe225: Download complete [2023-03-15T02:25:59.967Z] 5851b861e8e6: Verifying Checksum [2023-03-15T02:25:59.967Z] 5851b861e8e6: Download complete [2023-03-15T02:25:59.967Z] b85a868b505f: Download complete [2023-03-15T02:26:00.226Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:26:00.226Z] bab4dde63d76: Download complete [2023-03-15T02:26:01.614Z] b85a868b505f: Pull complete [2023-03-15T02:26:01.614Z] e2be974225ed: Pull complete [2023-03-15T02:26:02.184Z] 339a4e72a1f5: Pull complete [2023-03-15T02:26:02.184Z] 988bab9f4d93: Pull complete [2023-03-15T02:26:02.444Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:26:02.444Z] eaf3925da568: Pull complete [2023-03-15T02:26:04.347Z] bab4dde63d76: Pull complete [2023-03-15T02:26:04.347Z] bde34c3a00c8: Pull complete [2023-03-15T02:26:04.347Z] b352a97aabf1: Pull complete [2023-03-15T02:26:04.347Z] 4872d77fe225: Pull complete [2023-03-15T02:26:04.606Z] 5851b861e8e6: Pull complete [2023-03-15T02:26:04.606Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:26:04.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:26:04.606Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:26:04.705Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:26:04.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T02:26:08.368Z] $ docker top cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 -eo pid,comm [2023-03-15T02:26:08.422Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T02:26:08.422Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:26:08.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:26:08.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:26:08.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:26:08.573Z] $ docker exec cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent [2023-03-15T02:26:08.699Z] SSH_AUTH_SOCK=/tmp/ssh-oPr86o8gkasj/agent.32 [2023-03-15T02:26:08.699Z] SSH_AGENT_PID=39 [2023-03-15T02:26:08.705Z] Running ssh-add (command line suppressed) [2023-03-15T02:26:08.799Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10035172346045996071.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10035172346045996071.key) [2023-03-15T02:26:08.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:26:09.103Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:26:09.119Z] $ docker exec --env ******** --env ******** cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent -k [2023-03-15T02:26:09.203Z] unset SSH_AUTH_SOCK; [2023-03-15T02:26:09.204Z] unset SSH_AGENT_PID; [2023-03-15T02:26:09.204Z] echo Agent pid 39 killed; [2023-03-15T02:26:09.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:26:09.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:26:09.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:26:09.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:26:09.333Z] $ docker exec cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent [2023-03-15T02:26:09.442Z] SSH_AUTH_SOCK=/tmp/ssh-rv5BcSjJIu0U/agent.71 [2023-03-15T02:26:09.442Z] SSH_AGENT_PID=77 [2023-03-15T02:26:09.447Z] Running ssh-add (command line suppressed) [2023-03-15T02:26:09.551Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11599369131175869962.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11599369131175869962.key) [2023-03-15T02:26:09.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:26:09.852Z] + git semver init [2023-03-15T02:26:10.112Z] 2023-03-15 02:26:10,043 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:26:10.112Z] 2023-03-15 02:26:10,044 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T02:26:10.112Z] 2023-03-15 02:26:10,044 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-03-15T02:26:10.112Z] 2023-03-15 02:26:10,045 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T02:26:11.489Z] 2023-03-15 02:26:11,107 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-03-15T02:26:11.489Z] 2023-03-15 02:26:11,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-03-15T02:26:11.489Z] 2023-03-15 02:26:11,107 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T02:26:11.489Z] 2023-03-15 02:26:11,107 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-03-15T02:26:11.489Z] 3.0.0-dev.22 [Pipeline] } [2023-03-15T02:26:11.496Z] $ docker exec --env ******** --env ******** cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 ssh-agent -k [2023-03-15T02:26:11.587Z] unset SSH_AUTH_SOCK; [2023-03-15T02:26:11.587Z] unset SSH_AGENT_PID; [2023-03-15T02:26:11.588Z] echo Agent pid 77 killed; [2023-03-15T02:26:11.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:26:11.907Z] + git semver [Pipeline] } [2023-03-15T02:26:12.177Z] $ docker stop --time=1 cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 [2023-03-15T02:26:13.490Z] $ docker rm -f --volumes cf3a34022cf2c333fdd4258a986ee9c6598b0e8718053d1553c918a64ddae421 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:26:13.834Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:26:14.039Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:26:14.041Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:26:14.130Z] provisioning config files... [2023-03-15T02:26:14.140Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7923389536417519441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:26:14.433Z] ---> docker-login.sh [2023-03-15T02:26:14.433Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:26:14.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:26:14.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:26:14.433Z] Configure a credential helper to remove this warning. See [2023-03-15T02:26:14.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:26:14.433Z] [2023-03-15T02:26:14.433Z] Login Succeeded [2023-03-15T02:26:14.433Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:26:14.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:26:14.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:26:14.433Z] Configure a credential helper to remove this warning. See [2023-03-15T02:26:14.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:26:14.433Z] [2023-03-15T02:26:14.433Z] Login Succeeded [2023-03-15T02:26:14.433Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:26:14.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:26:14.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:26:14.692Z] Configure a credential helper to remove this warning. See [2023-03-15T02:26:14.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:26:14.692Z] [2023-03-15T02:26:14.692Z] Login Succeeded [2023-03-15T02:26:14.692Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:26:14.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:26:14.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:26:14.692Z] Configure a credential helper to remove this warning. See [2023-03-15T02:26:14.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:26:14.692Z] [2023-03-15T02:26:14.692Z] Login Succeeded [2023-03-15T02:26:14.692Z] docker.io [2023-03-15T02:26:14.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:26:14.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:26:14.950Z] Configure a credential helper to remove this warning. See [2023-03-15T02:26:14.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:26:14.950Z] [2023-03-15T02:26:14.950Z] Login Succeeded [2023-03-15T02:26:14.950Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:26:14.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:26:15.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:26:15.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:26:15.034Z] ========================================================= [2023-03-15T02:26:15.034Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:26:15.034Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:26:15.332Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:26:15.332Z] Sending build context to Docker daemon 23.43MB [2023-03-15T02:26:15.332Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:26:15.332Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:26:15.595Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:26:15.595Z] 63b65145d645: Pulling fs layer [2023-03-15T02:26:15.595Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:26:15.595Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:26:15.595Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:26:15.595Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:26:15.595Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:26:15.595Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:26:15.595Z] f25807f1079a: Pulling fs layer [2023-03-15T02:26:15.595Z] 94cc34f8dd06: Waiting [2023-03-15T02:26:15.595Z] 30dea6a524f1: Waiting [2023-03-15T02:26:15.595Z] a2aff8979fd8: Waiting [2023-03-15T02:26:15.595Z] f25807f1079a: Waiting [2023-03-15T02:26:15.595Z] 6808be2612f2: Waiting [2023-03-15T02:26:15.595Z] a2d21d5440eb: Verifying Checksum [2023-03-15T02:26:15.595Z] a2d21d5440eb: Download complete [2023-03-15T02:26:15.595Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T02:26:15.595Z] 30dea6a524f1: Verifying Checksum [2023-03-15T02:26:15.595Z] 30dea6a524f1: Download complete [2023-03-15T02:26:15.595Z] 63b65145d645: Verifying Checksum [2023-03-15T02:26:15.595Z] 63b65145d645: Download complete [2023-03-15T02:26:15.595Z] a2aff8979fd8: Download complete [2023-03-15T02:26:15.860Z] 63b65145d645: Pull complete [2023-03-15T02:26:15.860Z] a2d21d5440eb: Pull complete [2023-03-15T02:26:16.121Z] f25807f1079a: Verifying Checksum [2023-03-15T02:26:16.121Z] f25807f1079a: Download complete [2023-03-15T02:26:16.380Z] 935e6c44a52c: Download complete [2023-03-15T02:26:16.380Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:26:16.380Z] 6808be2612f2: Download complete [2023-03-15T02:26:19.663Z] 935e6c44a52c: Pull complete [2023-03-15T02:26:19.663Z] 94cc34f8dd06: Pull complete [2023-03-15T02:26:19.663Z] 30dea6a524f1: Pull complete [2023-03-15T02:26:19.663Z] a2aff8979fd8: Pull complete [2023-03-15T02:26:22.202Z] 6808be2612f2: Pull complete [2023-03-15T02:26:22.770Z] f25807f1079a: Pull complete [2023-03-15T02:26:22.770Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:26:22.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:26:22.770Z] ---> 3b553350e43f [2023-03-15T02:26:22.770Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:26:28.058Z] ---> Running in 2610531ab366 [2023-03-15T02:26:28.058Z] Removing intermediate container 2610531ab366 [2023-03-15T02:26:28.058Z] ---> 6e6918f59e99 [2023-03-15T02:26:28.058Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:26:28.058Z] ---> Running in 12c705c70f2b [2023-03-15T02:26:28.316Z] Removing intermediate container 12c705c70f2b [2023-03-15T02:26:28.316Z] ---> 2bfc1c3dac13 [2023-03-15T02:26:28.316Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:26:28.316Z] ---> Running in a87adabcb269 [2023-03-15T02:26:28.316Z] Removing intermediate container a87adabcb269 [2023-03-15T02:26:28.316Z] ---> ab27ebada117 [2023-03-15T02:26:28.316Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T02:26:28.316Z] ---> Running in 4bcda7fc4eca [2023-03-15T02:26:28.575Z] Removing intermediate container 4bcda7fc4eca [2023-03-15T02:26:28.575Z] ---> 4733b38065fe [2023-03-15T02:26:28.575Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:26:28.575Z] ---> Running in 108a76629402 [2023-03-15T02:26:28.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:26:28.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:26:29.093Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:26:29.093Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:26:29.093Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:26:29.093Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:26:29.093Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:26:29.093Z] OK: 269 MiB in 57 packages [2023-03-15T02:26:29.105Z] Still waiting to schedule task [2023-03-15T02:26:29.105Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-319’ [2023-03-15T02:26:29.660Z] Removing intermediate container 108a76629402 [2023-03-15T02:26:29.660Z] ---> 091ca0b50e84 [2023-03-15T02:26:29.660Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T02:26:29.660Z] ---> ebe5daad3aaf [2023-03-15T02:26:29.660Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:26:29.660Z] ---> Running in b7df1c6e1ea0 [2023-03-15T02:27:08.403Z] Removing intermediate container b7df1c6e1ea0 [2023-03-15T02:27:08.403Z] ---> cb95267305df [2023-03-15T02:27:08.403Z] Step 10/12 : COPY . . [2023-03-15T02:27:08.403Z] ---> 310561f5b27c [2023-03-15T02:27:08.403Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:27:08.403Z] ---> Running in 46df40694517 [2023-03-15T02:27:08.403Z] Removing intermediate container 46df40694517 [2023-03-15T02:27:08.403Z] ---> b88b36eab1de [2023-03-15T02:27:08.403Z] Step 12/12 : RUN $MAKE [2023-03-15T02:27:08.403Z] ---> Running in b71543eb1e8b [2023-03-15T02:27:08.403Z] noop [2023-03-15T02:27:08.403Z] Removing intermediate container b71543eb1e8b [2023-03-15T02:27:08.403Z] ---> 5439b5aa7c21 [2023-03-15T02:27:08.403Z] Successfully built 5439b5aa7c21 [2023-03-15T02:27:08.403Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:27:08.705Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:27:08.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:27:08.773Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:27:08.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:27:09.158Z] $ docker top 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:27:09.496Z] + go version [2023-03-15T02:27:09.496Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:27:09.505Z] $ docker stop --time=1 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 [2023-03-15T02:27:10.749Z] $ docker rm -f --volumes 2c881c5362aee57ab1ce2e9a862710cec540efcb44d3bf1d52bc6f0529e9b2a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:27:11.127Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:27:11.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:27:11.195Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:27:11.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:27:11.550Z] $ docker top 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:27:11.895Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:27:12.189Z] + make test [2023-03-15T02:27:12.189Z] go test ./... -coverprofile=coverage.out [2023-03-15T02:27:17.455Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T02:27:27.411Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T02:27:27.411Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements [2023-03-15T02:27:33.971Z] go vet ./... [2023-03-15T02:27:38.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:27:38.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:27:38.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:27:38.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:27:38.187Z] $ docker stop --time=1 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e [2023-03-15T02:27:41.014Z] $ docker rm -f --volumes 2acdd2493bae67a594c027d4ce36cc4fb1668b2b46d06b232b630274ab64a00e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:27:41.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:27:41.562Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T02:27:42.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:27:42.326Z] + ls -al . [2023-03-15T02:27:42.326Z] total 192 [2023-03-15T02:27:42.326Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 02:27 . [2023-03-15T02:27:42.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:25 .. [2023-03-15T02:27:42.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:26 .git [2023-03-15T02:27:42.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 .github [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 02:25 .gitignore [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:25 .golangci.yml [2023-03-15T02:27:42.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:26 .semver [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 02:25 Attribution.txt [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 02:25 CHANGELOG.md [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 02:25 Dockerfile [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:25 GOVERNANCE.md [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 02:25 Jenkinsfile [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:25 LICENSE [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 02:25 Makefile [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 02:25 OWNERS.md [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 02:25 README.md [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:26 VERSION [2023-03-15T02:27:42.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:25 bin [2023-03-15T02:27:42.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 cmd [2023-03-15T02:27:42.326Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 02:27 coverage.out [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 02:25 go.mod [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 02:25 go.sum [2023-03-15T02:27:42.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:25 internal [2023-03-15T02:27:42.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:25 snap [2023-03-15T02:27:42.326Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 02:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:27:42.627Z] + 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=1705bfbb6261e298477ee3ade5426f3d03c5e783 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-03-15T02:27:42.627Z] Sending build context to Docker daemon 23.48MB [2023-03-15T02:27:42.627Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:27:42.627Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T02:27:42.627Z] ---> 5439b5aa7c21 [2023-03-15T02:27:42.627Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:27:43.196Z] ---> Running in 62de3d8f5bca [2023-03-15T02:27:43.196Z] Removing intermediate container 62de3d8f5bca [2023-03-15T02:27:43.196Z] ---> f95f31ca3ec8 [2023-03-15T02:27:43.196Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:27:43.196Z] ---> Running in f717a3c88658 [2023-03-15T02:27:43.196Z] Removing intermediate container f717a3c88658 [2023-03-15T02:27:43.196Z] ---> c3e8c54b88a0 [2023-03-15T02:27:43.196Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:27:43.196Z] ---> Running in 7a57b6cd17fa [2023-03-15T02:27:43.196Z] Removing intermediate container 7a57b6cd17fa [2023-03-15T02:27:43.196Z] ---> f92cb637366f [2023-03-15T02:27:43.196Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T02:27:43.196Z] ---> Running in a618d6334513 [2023-03-15T02:27:43.454Z] Removing intermediate container a618d6334513 [2023-03-15T02:27:43.454Z] ---> 7187365f07d5 [2023-03-15T02:27:43.454Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:27:43.454Z] ---> Running in e528086366d4 [2023-03-15T02:27:43.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:27:43.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:27:44.231Z] OK: 269 MiB in 57 packages [2023-03-15T02:27:44.490Z] Removing intermediate container e528086366d4 [2023-03-15T02:27:44.490Z] ---> 09c4f6f6a822 [2023-03-15T02:27:44.490Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T02:27:44.748Z] ---> 07aff97b5f07 [2023-03-15T02:27:44.748Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:27:44.748Z] ---> Running in db3b80f68a7e [2023-03-15T02:27:45.683Z] Removing intermediate container db3b80f68a7e [2023-03-15T02:27:45.683Z] ---> c720124a52c6 [2023-03-15T02:27:45.683Z] Step 10/25 : COPY . . [2023-03-15T02:27:46.252Z] ---> 3652d2ed2fd6 [2023-03-15T02:27:46.252Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:27:46.252Z] ---> Running in 4939ee820228 [2023-03-15T02:27:46.252Z] Removing intermediate container 4939ee820228 [2023-03-15T02:27:46.252Z] ---> 071d09ba9d93 [2023-03-15T02:27:46.252Z] Step 12/25 : RUN $MAKE [2023-03-15T02:27:46.512Z] ---> Running in 7832332e80af [2023-03-15T02:27:46.512Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T02:28:08.562Z] Removing intermediate container 7832332e80af [2023-03-15T02:28:08.562Z] ---> 98da92bd3d82 [2023-03-15T02:28:08.562Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T02:28:08.562Z] 3.17: Pulling from library/alpine [2023-03-15T02:28:08.562Z] 63b65145d645: Already exists [2023-03-15T02:28:08.562Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:28:08.562Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:28:08.562Z] ---> b2aa39c304c2 [2023-03-15T02:28:08.562Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T02:28:08.562Z] ---> Running in 1d38bba887a6 [2023-03-15T02:28:08.562Z] Removing intermediate container 1d38bba887a6 [2023-03-15T02:28:08.562Z] ---> 6a46111be5f7 [2023-03-15T02:28:08.562Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:28:08.562Z] ---> Running in fc6e1ed2893f [2023-03-15T02:28:08.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:28:08.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:28:08.849Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T02:28:08.849Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:28:08.849Z] OK: 7 MiB in 16 packages [2023-03-15T02:28:09.111Z] Removing intermediate container fc6e1ed2893f [2023-03-15T02:28:09.111Z] ---> 47696c2035cb [2023-03-15T02:28:09.111Z] Step 16/25 : WORKDIR / [2023-03-15T02:28:09.111Z] ---> Running in 79901e9e4cb9 [2023-03-15T02:28:09.111Z] Removing intermediate container 79901e9e4cb9 [2023-03-15T02:28:09.111Z] ---> 40599970b419 [2023-03-15T02:28:09.111Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T02:28:09.369Z] ---> ff39e509933f [2023-03-15T02:28:09.369Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T02:28:09.369Z] ---> 6438412158ba [2023-03-15T02:28:09.369Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T02:28:10.308Z] ---> 1e21e7b0217c [2023-03-15T02:28:10.308Z] Step 20/25 : EXPOSE 59900 [2023-03-15T02:28:10.308Z] ---> Running in 0399011e8520 [2023-03-15T02:28:10.308Z] Removing intermediate container 0399011e8520 [2023-03-15T02:28:10.308Z] ---> 4aab3434eb20 [2023-03-15T02:28:10.308Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T02:28:10.308Z] ---> Running in c22c39ad372b [2023-03-15T02:28:10.308Z] Removing intermediate container c22c39ad372b [2023-03-15T02:28:10.308Z] ---> 5ecac04c2536 [2023-03-15T02:28:10.308Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T02:28:10.567Z] ---> Running in 9f185ce431f6 [2023-03-15T02:28:10.567Z] Removing intermediate container 9f185ce431f6 [2023-03-15T02:28:10.567Z] ---> 7e9e7c97867e [2023-03-15T02:28:10.567Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T02:28:10.567Z] ---> Running in 28faee90ebb2 [2023-03-15T02:28:10.567Z] Removing intermediate container 28faee90ebb2 [2023-03-15T02:28:10.567Z] ---> b262e4dfcd9f [2023-03-15T02:28:10.567Z] Step 24/25 : LABEL git_sha=1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:28:10.567Z] ---> Running in 346d09616e3d [2023-03-15T02:28:10.826Z] Removing intermediate container 346d09616e3d [2023-03-15T02:28:10.826Z] ---> 8de937b297a0 [2023-03-15T02:28:10.827Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-15T02:28:10.827Z] ---> Running in fefb35dc7c6b [2023-03-15T02:28:10.827Z] Removing intermediate container fefb35dc7c6b [2023-03-15T02:28:10.827Z] ---> 96abb60eeddd [2023-03-15T02:28:10.827Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:28:10.827Z] Successfully built 96abb60eeddd [2023-03-15T02:28:10.827Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:28:10.898Z] provisioning config files... [2023-03-15T02:28:10.909Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1330361880673580669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:28:11.206Z] ---> docker-login.sh [2023-03-15T02:28:11.206Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:28:11.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:28:11.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:28:11.206Z] Configure a credential helper to remove this warning. See [2023-03-15T02:28:11.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:28:11.206Z] [2023-03-15T02:28:11.206Z] Login Succeeded [2023-03-15T02:28:11.206Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:28:11.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:28:11.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:28:11.206Z] Configure a credential helper to remove this warning. See [2023-03-15T02:28:11.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:28:11.206Z] [2023-03-15T02:28:11.206Z] Login Succeeded [2023-03-15T02:28:11.206Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:28:11.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:28:11.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:28:11.466Z] Configure a credential helper to remove this warning. See [2023-03-15T02:28:11.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:28:11.466Z] [2023-03-15T02:28:11.466Z] Login Succeeded [2023-03-15T02:28:11.466Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:28:11.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:28:11.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:28:11.466Z] Configure a credential helper to remove this warning. See [2023-03-15T02:28:11.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:28:11.466Z] [2023-03-15T02:28:11.466Z] Login Succeeded [2023-03-15T02:28:11.466Z] docker.io [2023-03-15T02:28:11.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:28:11.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:28:11.725Z] Configure a credential helper to remove this warning. See [2023-03-15T02:28:11.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:28:11.725Z] [2023-03-15T02:28:11.725Z] Login Succeeded [2023-03-15T02:28:11.725Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:28:11.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:28:11.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:28:11.770Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-03-15T02:28:11.770Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:28:11.770Z] latest [2023-03-15T02:28:11.770Z] 3.0.0-dev.22 [2023-03-15T02:28:11.770Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:28:11.770Z] main [2023-03-15T02:28:11.770Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:12.075Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:12.379Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:28:12.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T02:28:12.379Z] e3b71b2b8dd1: Preparing [2023-03-15T02:28:12.379Z] e213253f18f2: Preparing [2023-03-15T02:28:12.379Z] 8dda6d5613c9: Preparing [2023-03-15T02:28:12.379Z] 3835de1c3256: Preparing [2023-03-15T02:28:12.379Z] 7cd52847ad77: Preparing [2023-03-15T02:28:12.379Z] 7cd52847ad77: Layer already exists [2023-03-15T02:28:12.379Z] e213253f18f2: Pushed [2023-03-15T02:28:12.379Z] 3835de1c3256: Pushed [2023-03-15T02:28:12.379Z] 8dda6d5613c9: Pushed [2023-03-15T02:28:15.667Z] e3b71b2b8dd1: Pushed [2023-03-15T02:28:15.667Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:15.981Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:16.287Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T02:28:16.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T02:28:16.287Z] e3b71b2b8dd1: Preparing [2023-03-15T02:28:16.287Z] e213253f18f2: Preparing [2023-03-15T02:28:16.287Z] 8dda6d5613c9: Preparing [2023-03-15T02:28:16.287Z] 3835de1c3256: Preparing [2023-03-15T02:28:16.287Z] 7cd52847ad77: Preparing [2023-03-15T02:28:16.287Z] 8dda6d5613c9: Layer already exists [2023-03-15T02:28:16.287Z] e3b71b2b8dd1: Layer already exists [2023-03-15T02:28:16.287Z] 7cd52847ad77: Layer already exists [2023-03-15T02:28:16.287Z] 3835de1c3256: Layer already exists [2023-03-15T02:28:16.287Z] e213253f18f2: Layer already exists [2023-03-15T02:28:16.287Z] latest: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:16.604Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:16.914Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [2023-03-15T02:28:16.914Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T02:28:16.914Z] e3b71b2b8dd1: Preparing [2023-03-15T02:28:16.914Z] e213253f18f2: Preparing [2023-03-15T02:28:16.914Z] 8dda6d5613c9: Preparing [2023-03-15T02:28:16.914Z] 3835de1c3256: Preparing [2023-03-15T02:28:16.914Z] 7cd52847ad77: Preparing [2023-03-15T02:28:16.914Z] e3b71b2b8dd1: Layer already exists [2023-03-15T02:28:16.914Z] 3835de1c3256: Layer already exists [2023-03-15T02:28:16.914Z] 8dda6d5613c9: Layer already exists [2023-03-15T02:28:16.914Z] 7cd52847ad77: Layer already exists [2023-03-15T02:28:16.914Z] e213253f18f2: Layer already exists [2023-03-15T02:28:16.914Z] 3.0.0-dev.22: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:17.226Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:17.535Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:28:17.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T02:28:17.535Z] e3b71b2b8dd1: Preparing [2023-03-15T02:28:17.535Z] e213253f18f2: Preparing [2023-03-15T02:28:17.535Z] 8dda6d5613c9: Preparing [2023-03-15T02:28:17.535Z] 3835de1c3256: Preparing [2023-03-15T02:28:17.535Z] 7cd52847ad77: Preparing [2023-03-15T02:28:17.535Z] 7cd52847ad77: Layer already exists [2023-03-15T02:28:17.535Z] 8dda6d5613c9: Layer already exists [2023-03-15T02:28:17.535Z] e213253f18f2: Layer already exists [2023-03-15T02:28:17.535Z] 3835de1c3256: Layer already exists [2023-03-15T02:28:17.535Z] e3b71b2b8dd1: Layer already exists [2023-03-15T02:28:17.535Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:17.846Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:18.157Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-03-15T02:28:18.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-03-15T02:28:18.157Z] e3b71b2b8dd1: Preparing [2023-03-15T02:28:18.157Z] e213253f18f2: Preparing [2023-03-15T02:28:18.157Z] 8dda6d5613c9: Preparing [2023-03-15T02:28:18.157Z] 3835de1c3256: Preparing [2023-03-15T02:28:18.157Z] 7cd52847ad77: Preparing [2023-03-15T02:28:18.157Z] 8dda6d5613c9: Layer already exists [2023-03-15T02:28:18.157Z] 7cd52847ad77: Layer already exists [2023-03-15T02:28:18.157Z] e3b71b2b8dd1: Layer already exists [2023-03-15T02:28:18.157Z] 3835de1c3256: Layer already exists [2023-03-15T02:28:18.157Z] e213253f18f2: Layer already exists [2023-03-15T02:28:18.157Z] main: digest: sha256:ea7deec69af2c6d3b0807b2d9895c82458b837828715e77aa7aed64450ae7c2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:28:18.193Z] ===================================================== [Pipeline] echo [2023-03-15T02:28:18.199Z] taggedImages: [2023-03-15T02:28:18.199Z] - nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:28:18.199Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-03-15T02:28:18.199Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.22 [2023-03-15T02:28:18.199Z] - nexus3.edgexfoundry.org:10004/device-virtual:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:28:18.199Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:18.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:28:18.565Z] [2023-03-15T02:28:18.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:28:18.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:28:18.862Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:28:18.862Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:28:18.862Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:28:18.862Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:28:18.862Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:28:18.862Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:28:18.862Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:28:18.862Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:28:18.862Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:28:18.862Z] 33b1e0a273af: Waiting [2023-03-15T02:28:18.862Z] 5d3b04190fa2: Waiting [2023-03-15T02:28:18.862Z] 2f39f015ded8: Waiting [2023-03-15T02:28:18.862Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T02:28:18.862Z] 5c69ac0246d0: Download complete [2023-03-15T02:28:18.862Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T02:28:18.862Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:28:18.862Z] 33b1e0a273af: Verifying Checksum [2023-03-15T02:28:18.862Z] 33b1e0a273af: Download complete [2023-03-15T02:28:19.121Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:28:19.121Z] 5d3b04190fa2: Download complete [2023-03-15T02:28:19.121Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:28:19.121Z] ec43610c2a17: Download complete [2023-03-15T02:28:19.121Z] 5eb5b503b376: Download complete [2023-03-15T02:28:19.685Z] 2f39f015ded8: Download complete [2023-03-15T02:28:20.250Z] 5eb5b503b376: Pull complete [2023-03-15T02:28:20.515Z] 5c69ac0246d0: Pull complete [2023-03-15T02:28:20.774Z] ec43610c2a17: Pull complete [2023-03-15T02:28:21.033Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:28:21.290Z] 33b1e0a273af: Pull complete [2023-03-15T02:28:21.290Z] 5d3b04190fa2: Pull complete [2023-03-15T02:28:25.487Z] 2f39f015ded8: Pull complete [2023-03-15T02:28:25.487Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T02:28:25.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:28:25.487Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:28:25.576Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:28:25.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T02:28:29.982Z] $ docker top fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:28:30.374Z] ---> job-cost.sh [2023-03-15T02:28:30.374Z] lf-activate-venv: SKIPPING [2023-03-15T02:28:30.374Z] INFO: No Stack... [2023-03-15T02:28:30.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:28:30.894Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:28:31.181Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-03-15T02:28:31.181Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T02:28:31.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [2023-03-15T02:28:31.197Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] did not exist. Created. [2023-03-15T02:28:31.197Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:28:31.493Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T02:28:31.523Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:28:31.530Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:28:31.548Z] $ docker stop --time=1 fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 [2023-03-15T02:28:32.711Z] $ docker rm -f --volumes fbc62c6810cb305287131fc6bf5561ff3cb22a533eeeffa5f72338bfe1dc6a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:30:00.616Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-324 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-03-15T02:30:00.628Z] Running in /w/workspace/device-virtual-go/93 [Pipeline] { [Pipeline] checkout [2023-03-15T02:30:00.665Z] The recommended git tool is: git [2023-03-15T02:30:05.779Z] using credential edgex-jenkins-ssh [2023-03-15T02:30:05.800Z] Cloning the remote Git repository [2023-03-15T02:30:05.841Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T02:30:05.939Z] > git init /w/workspace/device-virtual-go/93 # timeout=10 [2023-03-15T02:30:06.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-15T02:30:06.104Z] > git --version # timeout=10 [2023-03-15T02:30:06.133Z] > git --version # 'git version 2.25.1' [2023-03-15T02:30:06.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:30:06.303Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:30:10.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-15T02:30:10.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:30:11.683Z] Avoid second fetch [2023-03-15T02:30:11.684Z] Checking out Revision 1705bfbb6261e298477ee3ade5426f3d03c5e783 (main) [2023-03-15T02:30:12.244Z] Commit message: "Merge pull request #357 from lenny-intel/go-1.20" [2023-03-15T02:30:11.700Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:30:11.776Z] > git checkout -f 1705bfbb6261e298477ee3ade5426f3d03c5e783 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:30:13.198Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T02:30:13.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:30:13.198Z] Dload Upload Total Spent Left Speed [2023-03-15T02:30:13.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2023-03-15T02:30:13.749Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T02:30:14.084Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T02:30:14.084Z] + sudo tee /etc/docker/daemon.new [2023-03-15T02:30:14.084Z] { [2023-03-15T02:30:14.084Z] "registry-mirrors": [ [2023-03-15T02:30:14.084Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T02:30:14.084Z] ], [2023-03-15T02:30:14.084Z] "bip": "10.250.0.254/24", [2023-03-15T02:30:14.084Z] "hosts": [ [2023-03-15T02:30:14.084Z] "tcp://0.0.0.0:5555", [2023-03-15T02:30:14.084Z] "unix:///var/run/docker.sock" [2023-03-15T02:30:14.084Z] ], [2023-03-15T02:30:14.084Z] "mtu": 1458, [2023-03-15T02:30:14.084Z] "selinux-enabled": true, [2023-03-15T02:30:14.084Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T02:30:14.084Z] } [Pipeline] sh [2023-03-15T02:30:14.425Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T02:30:14.774Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:30:33.042Z] provisioning config files... [2023-03-15T02:30:33.067Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/93@tmp/config4161680844075523328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:30:33.424Z] ---> docker-login.sh [2023-03-15T02:30:33.424Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:30:34.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:30:34.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:30:34.016Z] Configure a credential helper to remove this warning. See [2023-03-15T02:30:34.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:30:34.016Z] [2023-03-15T02:30:34.016Z] Login Succeeded [2023-03-15T02:30:34.016Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:30:34.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:30:34.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:30:34.285Z] Configure a credential helper to remove this warning. See [2023-03-15T02:30:34.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:30:34.285Z] [2023-03-15T02:30:34.285Z] Login Succeeded [2023-03-15T02:30:34.556Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:30:34.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:30:34.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:30:34.827Z] Configure a credential helper to remove this warning. See [2023-03-15T02:30:34.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:30:34.827Z] [2023-03-15T02:30:34.827Z] Login Succeeded [2023-03-15T02:30:34.827Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:30:35.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:30:35.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:30:35.096Z] Configure a credential helper to remove this warning. See [2023-03-15T02:30:35.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:30:35.096Z] [2023-03-15T02:30:35.096Z] Login Succeeded [2023-03-15T02:30:35.096Z] docker.io [2023-03-15T02:30:35.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:30:35.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:30:35.636Z] Configure a credential helper to remove this warning. See [2023-03-15T02:30:35.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:30:35.636Z] [2023-03-15T02:30:35.636Z] Login Succeeded [2023-03-15T02:30:35.636Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:30:35.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:30:35.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:30:35.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:30:35.920Z] ========================================================= [2023-03-15T02:30:35.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T02:30:35.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:30:36.261Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:30:36.530Z] Sending build context to Docker daemon 11.87MB [2023-03-15T02:30:36.530Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:30:36.530Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:30:37.498Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T02:30:37.498Z] af6eaf76a39c: Pulling fs layer [2023-03-15T02:30:37.498Z] 55522c791124: Pulling fs layer [2023-03-15T02:30:37.498Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T02:30:37.498Z] 169dfbe0d373: Pulling fs layer [2023-03-15T02:30:37.498Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T02:30:37.498Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T02:30:37.498Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T02:30:37.498Z] e1ff8fa3b103: Waiting [2023-03-15T02:30:37.498Z] 52ebb69f0ebf: Waiting [2023-03-15T02:30:37.498Z] 5abe8eddf0d5: Waiting [2023-03-15T02:30:37.498Z] 169dfbe0d373: Waiting [2023-03-15T02:30:37.498Z] 55522c791124: Verifying Checksum [2023-03-15T02:30:37.498Z] 55522c791124: Download complete [2023-03-15T02:30:37.498Z] 169dfbe0d373: Verifying Checksum [2023-03-15T02:30:37.498Z] 169dfbe0d373: Download complete [2023-03-15T02:30:37.499Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T02:30:37.499Z] e1ff8fa3b103: Download complete [2023-03-15T02:30:37.499Z] af6eaf76a39c: Verifying Checksum [2023-03-15T02:30:38.477Z] af6eaf76a39c: Pull complete [2023-03-15T02:30:38.477Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T02:30:39.070Z] 55522c791124: Pull complete [2023-03-15T02:30:40.045Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T02:30:40.045Z] ce5c4a1c91eb: Download complete [2023-03-15T02:30:40.045Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T02:30:40.045Z] 52ebb69f0ebf: Download complete [2023-03-15T02:30:52.378Z] ce5c4a1c91eb: Pull complete [2023-03-15T02:30:52.378Z] 169dfbe0d373: Pull complete [2023-03-15T02:30:52.378Z] e1ff8fa3b103: Pull complete [2023-03-15T02:30:57.728Z] 52ebb69f0ebf: Pull complete [2023-03-15T02:30:59.693Z] 5abe8eddf0d5: Pull complete [2023-03-15T02:30:59.693Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T02:30:59.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T02:30:59.693Z] ---> 6cb57ee374ae [2023-03-15T02:30:59.693Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:31:01.645Z] ---> Running in 8e7f71b7cd9d [2023-03-15T02:31:01.910Z] Removing intermediate container 8e7f71b7cd9d [2023-03-15T02:31:01.910Z] ---> 7f3db9dbea3e [2023-03-15T02:31:01.910Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:31:01.910Z] ---> Running in d4a32221fa13 [2023-03-15T02:31:02.177Z] Removing intermediate container d4a32221fa13 [2023-03-15T02:31:02.177Z] ---> a347ff4641bd [2023-03-15T02:31:02.177Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:31:02.177Z] ---> Running in 51b2453321fb [2023-03-15T02:31:02.445Z] Removing intermediate container 51b2453321fb [2023-03-15T02:31:02.445Z] ---> 23ffbdd0cd5c [2023-03-15T02:31:02.445Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-15T02:31:02.712Z] ---> Running in 5a8849d3b0ec [2023-03-15T02:31:02.978Z] Removing intermediate container 5a8849d3b0ec [2023-03-15T02:31:02.978Z] ---> e98d6282ba44 [2023-03-15T02:31:02.979Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:31:02.979Z] ---> Running in 29cd2ae5737a [2023-03-15T02:31:04.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:31:04.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:31:05.690Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:31:05.690Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:31:05.690Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:31:05.690Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:31:05.690Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:31:05.961Z] OK: 268 MiB in 57 packages [2023-03-15T02:31:06.968Z] Removing intermediate container 29cd2ae5737a [2023-03-15T02:31:06.968Z] ---> ce4e29ed0498 [2023-03-15T02:31:06.968Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T02:31:07.552Z] ---> d66029d5da9d [2023-03-15T02:31:07.552Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:31:07.552Z] ---> Running in 5db3da180377 [2023-03-15T02:32:15.431Z] Removing intermediate container 5db3da180377 [2023-03-15T02:32:15.431Z] ---> 9afc3ccdbde1 [2023-03-15T02:32:15.431Z] Step 10/12 : COPY . . [2023-03-15T02:32:15.431Z] ---> ef3619f900b5 [2023-03-15T02:32:15.431Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:32:15.431Z] ---> Running in 39ef3f250eff [2023-03-15T02:32:15.431Z] Removing intermediate container 39ef3f250eff [2023-03-15T02:32:15.431Z] ---> 91d9ec76c855 [2023-03-15T02:32:15.431Z] Step 12/12 : RUN $MAKE [2023-03-15T02:32:15.431Z] ---> Running in e591062c4303 [2023-03-15T02:32:15.431Z] noop [2023-03-15T02:32:15.431Z] Removing intermediate container e591062c4303 [2023-03-15T02:32:15.431Z] ---> 41ce2e48673e [2023-03-15T02:32:15.431Z] Successfully built 41ce2e48673e [2023-03-15T02:32:15.431Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:32:15.774Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:32:15.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:32:15.970Z] prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container [2023-03-15T02:32:16.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T02:32:17.120Z] $ docker top e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:32:17.918Z] + go version [2023-03-15T02:32:17.919Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T02:32:17.939Z] $ docker stop --time=1 e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b [2023-03-15T02:32:21.915Z] $ docker rm -f --volumes e377fa8183db639036491a15c3d8d913bbbf10d01d4504f2c309f65d531ed55b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:32:22.457Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:32:22.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:32:22.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container [2023-03-15T02:32:22.708Z] $ 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/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T02:32:23.872Z] $ docker top d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:32:24.681Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/93 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:32:25.006Z] + make test [2023-03-15T02:32:25.006Z] go test ./... -coverprofile=coverage.out [2023-03-15T02:32:57.236Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-15T02:34:48.891Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-03-15T02:34:48.891Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.167s coverage: 65.7% of statements [2023-03-15T02:34:49.482Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T02:34:49.482Z] go vet ./... [2023-03-15T02:35:28.353Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:35:28.353Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:35:28.353Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:35:28.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:35:28.387Z] $ docker stop --time=1 d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f [2023-03-15T02:35:30.237Z] $ docker rm -f --volumes d78bdf5beab2381817526ab07f85fa121445cddc6bca856a5453594fb203928f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:35:31.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:35:31.520Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T02:35:32.066Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:35:32.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:35:32.798Z] + ls -al . [2023-03-15T02:35:32.798Z] total 188 [2023-03-15T02:35:32.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:32 . [2023-03-15T02:35:32.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:30 .. [2023-03-15T02:35:32.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:30 .git [2023-03-15T02:35:32.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 .github [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 02:30 .gitignore [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:30 .golangci.yml [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 02:30 Attribution.txt [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 02:30 CHANGELOG.md [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 02:30 Dockerfile [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:30 GOVERNANCE.md [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 02:30 Jenkinsfile [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:30 LICENSE [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 02:30 Makefile [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 02:30 OWNERS.md [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 02:30 README.md [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:26 VERSION [2023-03-15T02:35:32.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:30 bin [2023-03-15T02:35:32.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 cmd [2023-03-15T02:35:32.798Z] -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 02:34 coverage.out [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 02:30 go.mod [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 02:30 go.sum [2023-03-15T02:35:32.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:30 internal [2023-03-15T02:35:32.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:30 snap [2023-03-15T02:35:32.798Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:35:33.215Z] + 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=1705bfbb6261e298477ee3ade5426f3d03c5e783 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-03-15T02:35:33.485Z] Sending build context to Docker daemon 11.91MB [2023-03-15T02:35:33.755Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:35:33.755Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T02:35:33.755Z] ---> 41ce2e48673e [2023-03-15T02:35:33.755Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:35:33.755Z] ---> Running in ca094ba0bf9c [2023-03-15T02:35:34.023Z] Removing intermediate container ca094ba0bf9c [2023-03-15T02:35:34.023Z] ---> dab97763a919 [2023-03-15T02:35:34.023Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:35:34.023Z] ---> Running in 2adddcd9f65e [2023-03-15T02:35:34.294Z] Removing intermediate container 2adddcd9f65e [2023-03-15T02:35:34.294Z] ---> 94ef61ed81ba [2023-03-15T02:35:34.294Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:35:34.563Z] ---> Running in a145e4b4ec54 [2023-03-15T02:35:34.832Z] Removing intermediate container a145e4b4ec54 [2023-03-15T02:35:34.832Z] ---> 3094f03de4ce [2023-03-15T02:35:34.832Z] Step 6/25 : WORKDIR /device-virtual-go [2023-03-15T02:35:34.832Z] ---> Running in cd9576169613 [2023-03-15T02:35:35.099Z] Removing intermediate container cd9576169613 [2023-03-15T02:35:35.099Z] ---> 955a5ab7de9a [2023-03-15T02:35:35.099Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:35:35.367Z] ---> Running in 8d52c023f65f [2023-03-15T02:35:36.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:35:36.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:35:37.880Z] OK: 268 MiB in 57 packages [2023-03-15T02:35:38.841Z] Removing intermediate container 8d52c023f65f [2023-03-15T02:35:38.841Z] ---> 8ec3a10f7312 [2023-03-15T02:35:38.841Z] Step 8/25 : COPY go.mod vendor* ./ [2023-03-15T02:35:39.424Z] ---> a2eb811aa541 [2023-03-15T02:35:39.424Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:35:39.424Z] ---> Running in 5e0c5230dbd8 [2023-03-15T02:35:42.007Z] Removing intermediate container 5e0c5230dbd8 [2023-03-15T02:35:42.007Z] ---> 6b035511415c [2023-03-15T02:35:42.007Z] Step 10/25 : COPY . . [2023-03-15T02:35:43.419Z] ---> eebd6509dcf5 [2023-03-15T02:35:43.419Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:35:43.419Z] ---> Running in 099f16458f98 [2023-03-15T02:35:43.419Z] Removing intermediate container 099f16458f98 [2023-03-15T02:35:43.419Z] ---> 98fbfdfdebf1 [2023-03-15T02:35:43.419Z] Step 12/25 : RUN $MAKE [2023-03-15T02:35:43.694Z] ---> Running in 5712e0520257 [2023-03-15T02:35:44.657Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-03-15T02:38:06.391Z] Removing intermediate container 5712e0520257 [2023-03-15T02:38:06.391Z] ---> 1b6f2d2912f2 [2023-03-15T02:38:06.391Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T02:38:06.391Z] 3.17: Pulling from library/alpine [2023-03-15T02:38:06.391Z] af6eaf76a39c: Already exists [2023-03-15T02:38:06.391Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:38:06.391Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:38:06.391Z] ---> d74e625d9115 [2023-03-15T02:38:06.391Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-03-15T02:38:06.391Z] ---> Running in bc2d2f4845b8 [2023-03-15T02:38:06.391Z] Removing intermediate container bc2d2f4845b8 [2023-03-15T02:38:06.391Z] ---> a34bed3a432d [2023-03-15T02:38:06.391Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:38:06.391Z] ---> Running in 8b37e23c1227 [2023-03-15T02:38:06.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:38:06.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:38:06.391Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T02:38:06.391Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:38:06.391Z] OK: 8 MiB in 16 packages [2023-03-15T02:38:06.391Z] Removing intermediate container 8b37e23c1227 [2023-03-15T02:38:06.391Z] ---> c54f84a21888 [2023-03-15T02:38:06.391Z] Step 16/25 : WORKDIR / [2023-03-15T02:38:06.391Z] ---> Running in e3b4c943035d [2023-03-15T02:38:06.391Z] Removing intermediate container e3b4c943035d [2023-03-15T02:38:06.391Z] ---> 7badf8dae1d5 [2023-03-15T02:38:06.391Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-03-15T02:38:06.391Z] ---> 066fa69c2ae8 [2023-03-15T02:38:06.391Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-03-15T02:38:06.391Z] ---> 691115de7da6 [2023-03-15T02:38:06.391Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-03-15T02:38:06.391Z] ---> 65176426c3c9 [2023-03-15T02:38:06.391Z] Step 20/25 : EXPOSE 59900 [2023-03-15T02:38:06.391Z] ---> Running in 7a59c785a6cb [2023-03-15T02:38:06.391Z] Removing intermediate container 7a59c785a6cb [2023-03-15T02:38:06.391Z] ---> cf553b934d00 [2023-03-15T02:38:06.391Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-03-15T02:38:06.391Z] ---> Running in a60423225336 [2023-03-15T02:38:06.391Z] Removing intermediate container a60423225336 [2023-03-15T02:38:06.391Z] ---> 619f7caad4e6 [2023-03-15T02:38:06.391Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T02:38:06.391Z] ---> Running in 09a28a5f9468 [2023-03-15T02:38:06.391Z] Removing intermediate container 09a28a5f9468 [2023-03-15T02:38:06.391Z] ---> 95602c19a3b5 [2023-03-15T02:38:06.391Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T02:38:06.391Z] ---> Running in 0dded392f9d9 [2023-03-15T02:38:06.391Z] Removing intermediate container 0dded392f9d9 [2023-03-15T02:38:06.391Z] ---> 0dd8e39d6257 [2023-03-15T02:38:06.391Z] Step 24/25 : LABEL git_sha=1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:38:06.391Z] ---> Running in 46f6245184c2 [2023-03-15T02:38:06.391Z] Removing intermediate container 46f6245184c2 [2023-03-15T02:38:06.391Z] ---> 59f34e833f0c [2023-03-15T02:38:06.391Z] Step 25/25 : LABEL version=3.0.0-dev.22 [2023-03-15T02:38:06.391Z] ---> Running in 602ffe3dae3e [2023-03-15T02:38:06.391Z] Removing intermediate container 602ffe3dae3e [2023-03-15T02:38:06.391Z] ---> fc962b6466a2 [2023-03-15T02:38:06.391Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:38:06.391Z] Successfully built fc962b6466a2 [2023-03-15T02:38:06.391Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:38:06.507Z] provisioning config files... [2023-03-15T02:38:06.522Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/93@tmp/config8768983780591330778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:38:06.850Z] ---> docker-login.sh [2023-03-15T02:38:06.850Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:38:06.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:38:07.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:38:07.118Z] Configure a credential helper to remove this warning. See [2023-03-15T02:38:07.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:38:07.118Z] [2023-03-15T02:38:07.118Z] Login Succeeded [2023-03-15T02:38:07.118Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:38:07.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:38:07.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:38:07.387Z] Configure a credential helper to remove this warning. See [2023-03-15T02:38:07.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:38:07.387Z] [2023-03-15T02:38:07.387Z] Login Succeeded [2023-03-15T02:38:07.387Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:38:07.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:38:07.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:38:07.927Z] Configure a credential helper to remove this warning. See [2023-03-15T02:38:07.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:38:07.927Z] [2023-03-15T02:38:07.927Z] Login Succeeded [2023-03-15T02:38:07.927Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:38:08.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:38:08.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:38:08.194Z] Configure a credential helper to remove this warning. See [2023-03-15T02:38:08.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:38:08.194Z] [2023-03-15T02:38:08.194Z] Login Succeeded [2023-03-15T02:38:08.194Z] docker.io [2023-03-15T02:38:08.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:38:08.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:38:08.728Z] Configure a credential helper to remove this warning. See [2023-03-15T02:38:08.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:38:08.728Z] [2023-03-15T02:38:08.728Z] Login Succeeded [2023-03-15T02:38:08.728Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:38:08.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:38:08.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:38:08.778Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-03-15T02:38:08.778Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:38:08.778Z] latest [2023-03-15T02:38:08.778Z] 3.0.0-dev.22 [2023-03-15T02:38:08.778Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:38:08.778Z] main [2023-03-15T02:38:08.778Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:09.112Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:09.467Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:38:09.467Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T02:38:09.467Z] f2a7479c4ce9: Preparing [2023-03-15T02:38:09.467Z] d493b98f88e8: Preparing [2023-03-15T02:38:09.467Z] 2f0f8694ad64: Preparing [2023-03-15T02:38:09.467Z] 5266a41edca0: Preparing [2023-03-15T02:38:09.467Z] edf70074bd40: Preparing [2023-03-15T02:38:09.467Z] edf70074bd40: Layer already exists [2023-03-15T02:38:09.733Z] d493b98f88e8: Pushed [2023-03-15T02:38:09.733Z] 5266a41edca0: Pushed [2023-03-15T02:38:09.733Z] 2f0f8694ad64: Pushed [2023-03-15T02:38:15.072Z] f2a7479c4ce9: Pushed [2023-03-15T02:38:15.339Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:15.695Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:16.032Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T02:38:16.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T02:38:16.033Z] f2a7479c4ce9: Preparing [2023-03-15T02:38:16.033Z] d493b98f88e8: Preparing [2023-03-15T02:38:16.033Z] 2f0f8694ad64: Preparing [2023-03-15T02:38:16.033Z] 5266a41edca0: Preparing [2023-03-15T02:38:16.033Z] edf70074bd40: Preparing [2023-03-15T02:38:16.033Z] d493b98f88e8: Layer already exists [2023-03-15T02:38:16.033Z] 2f0f8694ad64: Layer already exists [2023-03-15T02:38:16.033Z] edf70074bd40: Layer already exists [2023-03-15T02:38:16.033Z] 5266a41edca0: Layer already exists [2023-03-15T02:38:16.033Z] f2a7479c4ce9: Layer already exists [2023-03-15T02:38:16.033Z] latest: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:16.377Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:16.768Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [2023-03-15T02:38:16.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T02:38:16.768Z] f2a7479c4ce9: Preparing [2023-03-15T02:38:16.768Z] d493b98f88e8: Preparing [2023-03-15T02:38:16.768Z] 2f0f8694ad64: Preparing [2023-03-15T02:38:16.768Z] 5266a41edca0: Preparing [2023-03-15T02:38:16.768Z] edf70074bd40: Preparing [2023-03-15T02:38:16.768Z] edf70074bd40: Layer already exists [2023-03-15T02:38:16.768Z] f2a7479c4ce9: Layer already exists [2023-03-15T02:38:16.768Z] d493b98f88e8: Layer already exists [2023-03-15T02:38:16.768Z] 5266a41edca0: Layer already exists [2023-03-15T02:38:16.768Z] 2f0f8694ad64: Layer already exists [2023-03-15T02:38:16.768Z] 3.0.0-dev.22: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:17.122Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:17.466Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:38:17.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T02:38:17.466Z] f2a7479c4ce9: Preparing [2023-03-15T02:38:17.466Z] d493b98f88e8: Preparing [2023-03-15T02:38:17.466Z] 2f0f8694ad64: Preparing [2023-03-15T02:38:17.466Z] 5266a41edca0: Preparing [2023-03-15T02:38:17.466Z] edf70074bd40: Preparing [2023-03-15T02:38:17.466Z] d493b98f88e8: Layer already exists [2023-03-15T02:38:17.466Z] f2a7479c4ce9: Layer already exists [2023-03-15T02:38:17.466Z] 5266a41edca0: Layer already exists [2023-03-15T02:38:17.466Z] 2f0f8694ad64: Layer already exists [2023-03-15T02:38:17.466Z] edf70074bd40: Layer already exists [2023-03-15T02:38:17.466Z] 1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:17.816Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:18.152Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-03-15T02:38:18.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-03-15T02:38:18.152Z] f2a7479c4ce9: Preparing [2023-03-15T02:38:18.152Z] d493b98f88e8: Preparing [2023-03-15T02:38:18.152Z] 2f0f8694ad64: Preparing [2023-03-15T02:38:18.152Z] 5266a41edca0: Preparing [2023-03-15T02:38:18.152Z] edf70074bd40: Preparing [2023-03-15T02:38:18.152Z] 5266a41edca0: Layer already exists [2023-03-15T02:38:18.152Z] f2a7479c4ce9: Layer already exists [2023-03-15T02:38:18.152Z] d493b98f88e8: Layer already exists [2023-03-15T02:38:18.152Z] 2f0f8694ad64: Layer already exists [2023-03-15T02:38:18.152Z] edf70074bd40: Layer already exists [2023-03-15T02:38:18.152Z] main: digest: sha256:0100d03829da45e0835dca6ee5b5c06373739d34fce02b5dae3a8c8e94488376 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:38:18.195Z] ===================================================== [Pipeline] echo [2023-03-15T02:38:18.205Z] taggedImages: [2023-03-15T02:38:18.205Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783 [2023-03-15T02:38:18.205Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-03-15T02:38:18.205Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.22 [2023-03-15T02:38:18.205Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1705bfbb6261e298477ee3ade5426f3d03c5e783-3.0.0-dev.22 [2023-03-15T02:38:18.205Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:18.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:38:18.554Z] [2023-03-15T02:38:18.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:18.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:38:18.884Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T02:38:18.884Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T02:38:18.884Z] 04944245beec: Pulling fs layer [2023-03-15T02:38:18.884Z] 699f458cf7ca: Pulling fs layer [2023-03-15T02:38:18.884Z] 765212b225bb: Pulling fs layer [2023-03-15T02:38:18.884Z] f23df028b6ca: Pulling fs layer [2023-03-15T02:38:18.884Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T02:38:18.884Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T02:38:18.884Z] f23df028b6ca: Waiting [2023-03-15T02:38:18.884Z] d65c8cfc05b1: Waiting [2023-03-15T02:38:18.884Z] 2437ff75d9bd: Waiting [2023-03-15T02:38:18.884Z] 765212b225bb: Waiting [2023-03-15T02:38:19.152Z] 04944245beec: Verifying Checksum [2023-03-15T02:38:19.152Z] 04944245beec: Download complete [2023-03-15T02:38:19.152Z] 765212b225bb: Verifying Checksum [2023-03-15T02:38:19.152Z] 765212b225bb: Download complete [2023-03-15T02:38:19.152Z] f23df028b6ca: Verifying Checksum [2023-03-15T02:38:19.152Z] f23df028b6ca: Download complete [2023-03-15T02:38:19.152Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T02:38:19.152Z] d65c8cfc05b1: Download complete [2023-03-15T02:38:19.425Z] 699f458cf7ca: Verifying Checksum [2023-03-15T02:38:19.425Z] 699f458cf7ca: Download complete [2023-03-15T02:38:19.692Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T02:38:19.692Z] 8998bd30e6a1: Download complete [2023-03-15T02:38:21.633Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T02:38:21.633Z] 2437ff75d9bd: Download complete [2023-03-15T02:38:23.574Z] 8998bd30e6a1: Pull complete [2023-03-15T02:38:23.574Z] 04944245beec: Pull complete [2023-03-15T02:38:24.982Z] 699f458cf7ca: Pull complete [2023-03-15T02:38:25.249Z] 765212b225bb: Pull complete [2023-03-15T02:38:27.190Z] f23df028b6ca: Pull complete [2023-03-15T02:38:27.190Z] d65c8cfc05b1: Pull complete [2023-03-15T02:38:42.180Z] 2437ff75d9bd: Pull complete [2023-03-15T02:38:42.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T02:38:42.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:38:42.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:38:42.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-324 does not seem to be running inside a container [2023-03-15T02:38:42.452Z] $ 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/93 -v /w/workspace/device-virtual-go/93:/w/workspace/device-virtual-go/93:rw,z -v /w/workspace/device-virtual-go/93@tmp:/w/workspace/device-virtual-go/93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T02:38:44.957Z] $ docker top 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:38:45.786Z] ---> job-cost.sh [2023-03-15T02:38:45.786Z] lf-activate-venv: SKIPPING [2023-03-15T02:38:45.786Z] INFO: No Stack... [2023-03-15T02:38:46.053Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T02:38:47.010Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:38:47.326Z] + cat /w/workspace/device-virtual-go/93/archives/cost.csv [2023-03-15T02:38:47.326Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T02:38:47.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [2023-03-15T02:38:47.662Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] did not exist. Created. [2023-03-15T02:38:47.662Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:38:48.310Z] /w/workspace/device-virtual-go/93@tmp/durable-216460c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T02:38:48.640Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T02:38:48.929Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T02:38:48.980Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:38:48.986Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:38:49.014Z] $ docker stop --time=1 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 [2023-03-15T02:38:50.501Z] $ docker rm -f --volumes 4713e87005cf917a0a1f702c18e52e694ded984900053a435cb977c61b7e22f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T02:38:50.871Z] provisioning config files... [2023-03-15T02:38:50.878Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1135948151139463913tmp [Pipeline] { [Pipeline] sh [2023-03-15T02:38:51.167Z] + set +x [2023-03-15T02:38:51.167Z] + curl -s https://codecov.io/bash [2023-03-15T02:38:51.167Z] + bash -s -- [2023-03-15T02:38:51.167Z] [2023-03-15T02:38:51.167Z] _____ _ [2023-03-15T02:38:51.167Z] / ____| | | [2023-03-15T02:38:51.167Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T02:38:51.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T02:38:51.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T02:38:51.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T02:38:51.167Z] Bash-1.0.6 [2023-03-15T02:38:51.167Z] [2023-03-15T02:38:51.167Z] [2023-03-15T02:38:51.167Z] ==> git version 2.25.1 found [2023-03-15T02:38:51.167Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T02:38:51.167Z] Release-Date: 2020-01-08 [2023-03-15T02:38:51.167Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T02:38:51.167Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T02:38:51.167Z] ==> Jenkins CI detected. [2023-03-15T02:38:51.167Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-03-15T02:38:51.167Z] project root: . [2023-03-15T02:38:51.167Z] --> token set from env [2023-03-15T02:38:51.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T02:38:51.167Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T02:38:51.167Z] ==> Python coveragepy not found [2023-03-15T02:38:51.167Z] ==> Searching for coverage reports in: [2023-03-15T02:38:51.167Z] + . [2023-03-15T02:38:51.167Z] -> Found 1 reports [2023-03-15T02:38:51.167Z] ==> Detecting git/mercurial file structure [2023-03-15T02:38:51.167Z] ==> Reading reports [2023-03-15T02:38:51.167Z] + ./coverage.out bytes=44311 [2023-03-15T02:38:51.426Z] ==> Appending adjustments [2023-03-15T02:38:51.426Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T02:38:51.426Z] + Found adjustments [2023-03-15T02:38:51.426Z] ==> Gzipping contents [2023-03-15T02:38:51.426Z] 8.0K /tmp/codecov.o6Nr7n.gz [2023-03-15T02:38:51.426Z] ==> Uploading reports [2023-03-15T02:38:51.426Z] url: https://codecov.io [2023-03-15T02:38:51.426Z] query: branch=main&commit=1705bfbb6261e298477ee3ade5426f3d03c5e783&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T02:38:51.426Z] -> Pinging Codecov [2023-03-15T02:38:51.426Z] 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=1705bfbb6261e298477ee3ade5426f3d03c5e783&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T02:38:51.683Z] -> Uploading to [2023-03-15T02:38:51.683Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/1705bfbb6261e298477ee3ade5426f3d03c5e783/8249d678-88ba-4205-b289-9adf9bab8f94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T023851Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=708a92748f9fcc3711153e2fc34e71aea26d5bad02340496f31fdbbf9b389764 [2023-03-15T02:38:51.683Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:38:51.683Z] Dload Upload Total Spent Left Speed [2023-03-15T02:38:51.942Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5428 0 0 100 5428 0 24561 --:--:-- --:--:-- --:--:-- 24450 100 5428 0 0 100 5428 0 20957 --:--:-- --:--:-- --:--:-- 20957 [2023-03-15T02:38:51.942Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1705bfbb6261e298477ee3ade5426f3d03c5e783 [Pipeline] } [2023-03-15T02:38:51.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T02:38:52.115Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T02:38:52.123Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:52.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:38:52.416Z] [2023-03-15T02:38:52.416Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:38:52.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:38:52.708Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T02:38:52.708Z] df9b9388f04a: Pulling fs layer [2023-03-15T02:38:52.708Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T02:38:52.708Z] 25bc292e5bac: Pulling fs layer [2023-03-15T02:38:52.708Z] 114826534d7a: Pulling fs layer [2023-03-15T02:38:52.708Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T02:38:52.708Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T02:38:52.708Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T02:38:52.708Z] 114826534d7a: Waiting [2023-03-15T02:38:52.708Z] 8a3aa393b2d8: Waiting [2023-03-15T02:38:52.708Z] 6ad1cebc031e: Waiting [2023-03-15T02:38:52.708Z] 25bc292e5bac: Verifying Checksum [2023-03-15T02:38:52.708Z] 25bc292e5bac: Download complete [2023-03-15T02:38:52.708Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T02:38:52.708Z] 52dc419b0ee2: Download complete [2023-03-15T02:38:52.708Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T02:38:52.708Z] 4657fd5d0bcf: Download complete [2023-03-15T02:38:52.708Z] df9b9388f04a: Verifying Checksum [2023-03-15T02:38:52.708Z] df9b9388f04a: Download complete [2023-03-15T02:38:52.968Z] df9b9388f04a: Pull complete [2023-03-15T02:38:52.968Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T02:38:52.968Z] 6ad1cebc031e: Download complete [2023-03-15T02:38:52.968Z] 52dc419b0ee2: Pull complete [2023-03-15T02:38:52.968Z] 25bc292e5bac: Pull complete [2023-03-15T02:38:53.538Z] 114826534d7a: Verifying Checksum [2023-03-15T02:38:53.538Z] 114826534d7a: Download complete [2023-03-15T02:38:53.795Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T02:38:53.795Z] 8a3aa393b2d8: Download complete [2023-03-15T02:38:57.978Z] 114826534d7a: Pull complete [2023-03-15T02:38:57.978Z] 4657fd5d0bcf: Pull complete [2023-03-15T02:38:58.237Z] 6ad1cebc031e: Pull complete [2023-03-15T02:39:01.518Z] 8a3aa393b2d8: Pull complete [2023-03-15T02:39:01.518Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T02:39:01.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T02:39:01.518Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:39:01.597Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:39:01.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T02:39:05.849Z] $ docker top 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T02:39:05.927Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-03-15T02:39:06.206Z] + set -o pipefail [2023-03-15T02:39:06.206Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-03-15T02:44:12.809Z] [2023-03-15T02:44:12.809Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main... [2023-03-15T02:44:12.809Z] [2023-03-15T02:44:12.809Z] Connection timeout. [2023-03-15T02:44:12.809Z] [Pipeline] } [2023-03-15T02:44:13.755Z] $ docker stop --time=1 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d [2023-03-15T02:44:15.015Z] $ docker rm -f --volumes 5bf9dc3f2c0d052630a931e153151db912a9c4d29ff2beb379ddbdb0b6943d7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:44:15.283Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T02:44:15.885Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-03-15T02:44:15.885Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T02:44:15.885Z] total 16 [2023-03-15T02:44:15.885Z] drwxr-xr-x 3 root root 4096 Mar 15 02:28 . [2023-03-15T02:44:15.885Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:28 .. [2023-03-15T02:44:15.885Z] drwxr-xr-x 2 root root 4096 Mar 15 02:28 cost [2023-03-15T02:44:15.885Z] -rw-r--r-- 1 root root 88 Mar 15 02:28 cost.csv [2023-03-15T02:44:15.885Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T02:44:15.885Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-03-15T02:44:15.885Z] total 16 [2023-03-15T02:44:15.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:28 . [2023-03-15T02:44:15.885Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:28 .. [2023-03-15T02:44:15.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:28 cost [2023-03-15T02:44:15.885Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 15 02:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:16.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:17.035Z] ---> package-listing.sh [2023-03-15T02:44:17.035Z] ++ facter osfamily [2023-03-15T02:44:17.035Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T02:44:17.294Z] + OS_FAMILY=debian [2023-03-15T02:44:17.294Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-03-15T02:44:17.294Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T02:44:17.294Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T02:44:17.294Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T02:44:17.294Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T02:44:17.294Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T02:44:17.294Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T02:44:17.294Z] + case "${OS_FAMILY}" in [2023-03-15T02:44:17.294Z] + dpkg -l [2023-03-15T02:44:17.294Z] + grep '^ii' [2023-03-15T02:44:17.294Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T02:44:17.294Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T02:44:17.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T02:44:17.294Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-03-15T02:44:17.294Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-03-15T02:44:17.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-03-15T02:44:17.304Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T02:44:17.581Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:44:18.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:44:18.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:44:18.215Z] prd-ubuntu20.04-docker-8c-8g-323 does not seem to be running inside a container [2023-03-15T02:44:18.244Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T02:44:18.486Z] $ docker top a7c840c57d9b9846be3127151650b7112a040645915366d119e2b71ed87d9140 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:44:18.822Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T02:44:19.106Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T02:44:19.390Z] + ls /var/log/sa-host [2023-03-15T02:44:19.390Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:44:19.524Z] provisioning config files... [2023-03-15T02:44:19.532Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16884797005707841524tmp [Pipeline] { [Pipeline] echo [2023-03-15T02:44:19.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:19.829Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T02:44:19.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:20.156Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T02:44:20.163Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:20.445Z] ---> sudo-logs.sh [2023-03-15T02:44:20.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T02:44:20.475Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:20.758Z] ---> job-cost.sh [2023-03-15T02:44:20.758Z] lf-activate-venv: SKIPPING [2023-03-15T02:44:20.758Z] DEBUG: total: 0.2199999988079071 [2023-03-15T02:44:20.758Z] INFO: Retrieving Stack Cost... [2023-03-15T02:44:21.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:44:21.582Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T02:44:21.593Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:44:21.872Z] ---> logs-deploy.sh [2023-03-15T02:44:21.872Z] lf-activate-venv: SKIPPING [2023-03-15T02:44:21.872Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/93 [2023-03-15T02:44:21.872Z] INFO: archiving workspace using pattern(s): [2023-03-15T02:44:22.807Z] Archives upload complete. [2023-03-15T02:44:23.067Z] INFO: archiving logs to Nexus