Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 80fcd9e8c673b029d068a87f517db227d44531cc 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-ssh6188314130014137139.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh1449292102246610032.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4354531664093684916.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh13862701960158882670.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-ssh9964705967663225470.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.21 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-16937 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 80fcd9e8c673b029d068a87f517db227d44531cc (main) Commit message: "docs: Update changelog for 3.1 release (#448)" > git config core.sparsecheckout # timeout=10 > git checkout -f 80fcd9e8c673b029d068a87f517db227d44531cc # timeout=10 > git rev-list --no-walk a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T00:46:25.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T00:46:25.479Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T00:46:25.494Z] ========================================================= [2023-11-08T00:46:25.494Z] EdgeX Global Pipelines Version Info [2023-11-08T00:46:25.494Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:46:26.241Z] ------------------- [2023-11-08T00:46:26.241Z] stable info: [2023-11-08T00:46:26.241Z] ------------------- [2023-11-08T00:46:26.241Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T00:46:26.241Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T00:46:26.241Z] Message: update stable to v1.0.257 [2023-11-08T00:46:26.811Z] ------------------- [2023-11-08T00:46:26.811Z] experimental info: [2023-11-08T00:46:26.811Z] ------------------- [2023-11-08T00:46:26.811Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T00:46:26.811Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T00:46:26.811Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T00:46:27.004Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-11-08T00:46:27.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-11-08T00:46:27.036Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T00:46:27.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T00:46:27.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T00:46:27.091Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T00:46:27.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T00:46:27.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T00:46:27.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T00:46:27.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T00:46:27.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T00:46:27.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-11-08T00:46:27.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T00:46:27.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T00:46:27.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T00:46:27.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T00:46:27.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T00:46:27.251Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T00:46:27.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T00:46:27.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T00:46:27.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T00:46:27.298Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T00:46:27.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T00:46:27.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T00:46:27.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T00:46:27.343Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T00:46:27.360Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T00:46:27.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-08T00:46:27.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-08T00:46:27.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-08T00:46:27.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] echo [2023-11-08T00:46:27.441Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80fcd9e [Pipeline] echo [2023-11-08T00:46:27.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T00:46:27.585Z] provisioning config files... [2023-11-08T00:46:27.599Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1153127531325576420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:46:27.895Z] ---> docker-login.sh [2023-11-08T00:46:27.895Z] nexus3.edgexfoundry.org:10001 [2023-11-08T00:46:28.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:28.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:28.154Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:28.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:28.154Z] [2023-11-08T00:46:28.154Z] Login Succeeded [2023-11-08T00:46:28.154Z] nexus3.edgexfoundry.org:10002 [2023-11-08T00:46:28.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:28.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:28.415Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:28.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:28.415Z] [2023-11-08T00:46:28.415Z] Login Succeeded [2023-11-08T00:46:28.415Z] nexus3.edgexfoundry.org:10003 [2023-11-08T00:46:28.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:28.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:28.415Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:28.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:28.415Z] [2023-11-08T00:46:28.415Z] Login Succeeded [2023-11-08T00:46:28.415Z] nexus3.edgexfoundry.org:10004 [2023-11-08T00:46:28.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:28.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:28.677Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:28.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:28.677Z] [2023-11-08T00:46:28.677Z] Login Succeeded [2023-11-08T00:46:28.677Z] docker.io [2023-11-08T00:46:28.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:28.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:28.937Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:28.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:28.937Z] [2023-11-08T00:46:28.937Z] Login Succeeded [2023-11-08T00:46:28.937Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T00:46:28.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T00:46:29.317Z] + git rev-list -1 --merges 80fcd9e8c673b029d068a87f517db227d44531cc~1..80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] echo [2023-11-08T00:46:29.371Z] -----------> git rev-list -1 --merges 80fcd9e8c673b029d068a87f517db227d44531cc~1..80fcd9e8c673b029d068a87f517db227d44531cc 80fcd9e8c673b029d068a87f517db227d44531cc [false] [Pipeline] sh [2023-11-08T00:46:29.660Z] + git log --format=format:%s -1 80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] echo [2023-11-08T00:46:29.676Z] ========================================================= [2023-11-08T00:46:29.676Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T00:46:29.676Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T00:46:29.994Z] + git log --format=format:%s -1 80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] echo [2023-11-08T00:46:30.006Z] [semverPrep] GIT_COMMIT: 80fcd9e8c673b029d068a87f517db227d44531cc, Commit Message: docs: Update changelog for 3.1 release (#448) [Pipeline] echo [2023-11-08T00:46:30.018Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T00:46:30.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T00:46:30.369Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T00:46:30.369Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T00:46:30.369Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T00:46:30.369Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T00:46:30.369Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T00:46:30.369Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:46:30.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T00:46:30.716Z] [2023-11-08T00:46:30.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:46:31.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T00:46:31.024Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T00:46:31.024Z] b85a868b505f: Pulling fs layer [2023-11-08T00:46:31.024Z] e2be974225ed: Pulling fs layer [2023-11-08T00:46:31.024Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T00:46:31.024Z] 988bab9f4d93: Pulling fs layer [2023-11-08T00:46:31.024Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T00:46:31.024Z] eaf3925da568: Pulling fs layer [2023-11-08T00:46:31.024Z] bab4dde63d76: Pulling fs layer [2023-11-08T00:46:31.024Z] bde34c3a00c8: Pulling fs layer [2023-11-08T00:46:31.024Z] b352a97aabf1: Pulling fs layer [2023-11-08T00:46:31.024Z] 988bab9f4d93: Waiting [2023-11-08T00:46:31.024Z] eaf3925da568: Waiting [2023-11-08T00:46:31.024Z] bab4dde63d76: Waiting [2023-11-08T00:46:31.024Z] bde34c3a00c8: Waiting [2023-11-08T00:46:31.024Z] b352a97aabf1: Waiting [2023-11-08T00:46:31.024Z] 4872d77fe225: Pulling fs layer [2023-11-08T00:46:31.024Z] 5851b861e8e6: Pulling fs layer [2023-11-08T00:46:31.024Z] 4872d77fe225: Waiting [2023-11-08T00:46:31.024Z] 5851b861e8e6: Waiting [2023-11-08T00:46:31.024Z] 1469e6f7b9e6: Waiting [2023-11-08T00:46:31.024Z] e2be974225ed: Download complete [2023-11-08T00:46:31.024Z] 988bab9f4d93: Download complete [2023-11-08T00:46:31.287Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T00:46:31.287Z] 1469e6f7b9e6: Download complete [2023-11-08T00:46:31.287Z] eaf3925da568: Download complete [2023-11-08T00:46:31.287Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T00:46:31.287Z] 339a4e72a1f5: Download complete [2023-11-08T00:46:31.287Z] bde34c3a00c8: Verifying Checksum [2023-11-08T00:46:31.287Z] bde34c3a00c8: Download complete [2023-11-08T00:46:31.287Z] b352a97aabf1: Verifying Checksum [2023-11-08T00:46:31.287Z] b352a97aabf1: Download complete [2023-11-08T00:46:31.287Z] 4872d77fe225: Verifying Checksum [2023-11-08T00:46:31.287Z] 4872d77fe225: Download complete [2023-11-08T00:46:31.287Z] 5851b861e8e6: Verifying Checksum [2023-11-08T00:46:31.287Z] 5851b861e8e6: Download complete [2023-11-08T00:46:31.287Z] b85a868b505f: Download complete [2023-11-08T00:46:31.553Z] bab4dde63d76: Verifying Checksum [2023-11-08T00:46:31.553Z] bab4dde63d76: Download complete [2023-11-08T00:46:32.929Z] b85a868b505f: Pull complete [2023-11-08T00:46:32.929Z] e2be974225ed: Pull complete [2023-11-08T00:46:33.508Z] 339a4e72a1f5: Pull complete [2023-11-08T00:46:33.508Z] 988bab9f4d93: Pull complete [2023-11-08T00:46:33.772Z] 1469e6f7b9e6: Pull complete [2023-11-08T00:46:33.772Z] eaf3925da568: Pull complete [2023-11-08T00:46:35.681Z] bab4dde63d76: Pull complete [2023-11-08T00:46:35.939Z] bde34c3a00c8: Pull complete [2023-11-08T00:46:35.939Z] b352a97aabf1: Pull complete [2023-11-08T00:46:36.199Z] 4872d77fe225: Pull complete [2023-11-08T00:46:36.199Z] 5851b861e8e6: Pull complete [2023-11-08T00:46:36.199Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T00:46:36.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T00:46:36.199Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:46:36.315Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:46:36.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T00:46:40.619Z] $ docker top 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 -eo pid,comm [2023-11-08T00:46:40.677Z] 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-11-08T00:46:40.677Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T00:46:40.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T00:46:40.707Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T00:46:40.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T00:46:40.843Z] $ docker exec 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 ssh-agent [2023-11-08T00:46:40.962Z] SSH_AUTH_SOCK=/tmp/ssh-N381ZLiYj8Rz/agent.34 [2023-11-08T00:46:40.962Z] SSH_AGENT_PID=40 [2023-11-08T00:46:40.970Z] Running ssh-add (command line suppressed) [2023-11-08T00:46:41.086Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6997955617282889798.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6997955617282889798.key) [2023-11-08T00:46:41.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T00:46:41.384Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T00:46:41.400Z] $ docker exec --env ******** --env ******** 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 ssh-agent -k [2023-11-08T00:46:41.503Z] unset SSH_AUTH_SOCK; [2023-11-08T00:46:41.504Z] unset SSH_AGENT_PID; [2023-11-08T00:46:41.504Z] echo Agent pid 40 killed; [2023-11-08T00:46:41.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T00:46:41.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T00:46:41.539Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T00:46:41.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T00:46:41.676Z] $ docker exec 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 ssh-agent [2023-11-08T00:46:41.787Z] SSH_AUTH_SOCK=/tmp/ssh-6aFBxFUfNoyo/agent.73 [2023-11-08T00:46:41.787Z] SSH_AGENT_PID=79 [2023-11-08T00:46:41.792Z] Running ssh-add (command line suppressed) [2023-11-08T00:46:41.899Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7741679871555398420.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7741679871555398420.key) [2023-11-08T00:46:41.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T00:46:42.197Z] + git semver init [2023-11-08T00:46:42.457Z] 2023-11-08 00:46:42,391 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T00:46:42.457Z] 2023-11-08 00:46:42,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-11-08T00:46:42.457Z] 2023-11-08 00:46:42,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-11-08T00:46:42.457Z] 2023-11-08 00:46:42,392 [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-11-08T00:46:43.842Z] 2023-11-08 00:46:43,598 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-11-08T00:46:43.842Z] 2023-11-08 00:46:43,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-11-08T00:46:43.842Z] 2023-11-08 00:46:43,599 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T00:46:43.842Z] 2023-11-08 00:46:43,599 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T00:46:43.842Z] 3.1.0-dev.28 [Pipeline] } [2023-11-08T00:46:43.855Z] $ docker exec --env ******** --env ******** 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 ssh-agent -k [2023-11-08T00:46:43.953Z] unset SSH_AUTH_SOCK; [2023-11-08T00:46:43.953Z] unset SSH_AGENT_PID; [2023-11-08T00:46:43.953Z] echo Agent pid 79 killed; [2023-11-08T00:46:43.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T00:46:44.265Z] + git semver [Pipeline] } [2023-11-08T00:46:44.542Z] $ docker stop --time=1 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 [2023-11-08T00:46:45.827Z] $ docker rm -f --volumes 2937fc73026ffce55de29fa36af83ab68300812325eaa722c1b157ef558502a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T00:46:46.161Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T00:46:46.355Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T00:46:46.360Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.28 [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-11-08T00:46:46.527Z] provisioning config files... [2023-11-08T00:46:46.538Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6842689852301370903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:46:46.831Z] ---> docker-login.sh [2023-11-08T00:46:46.831Z] nexus3.edgexfoundry.org:10001 [2023-11-08T00:46:46.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:46.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:46.831Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:46.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:46.831Z] [2023-11-08T00:46:46.831Z] Login Succeeded [2023-11-08T00:46:46.831Z] nexus3.edgexfoundry.org:10002 [2023-11-08T00:46:46.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:46.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:46.831Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:46.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:46.831Z] [2023-11-08T00:46:46.831Z] Login Succeeded [2023-11-08T00:46:46.831Z] nexus3.edgexfoundry.org:10003 [2023-11-08T00:46:47.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:47.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:47.091Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:47.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:47.091Z] [2023-11-08T00:46:47.091Z] Login Succeeded [2023-11-08T00:46:47.091Z] nexus3.edgexfoundry.org:10004 [2023-11-08T00:46:47.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:47.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:47.091Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:47.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:47.091Z] [2023-11-08T00:46:47.091Z] Login Succeeded [2023-11-08T00:46:47.091Z] docker.io [2023-11-08T00:46:47.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:46:47.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:46:47.611Z] Configure a credential helper to remove this warning. See [2023-11-08T00:46:47.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:46:47.611Z] [2023-11-08T00:46:47.611Z] Login Succeeded [2023-11-08T00:46:47.611Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T00:46:47.618Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T00:46:47.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:46:47.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:46:47.723Z] ========================================================= [2023-11-08T00:46:47.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T00:46:47.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:46:48.081Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T00:46:48.081Z] Sending build context to Docker daemon 23.7MB [2023-11-08T00:46:48.081Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T00:46:48.081Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T00:46:48.081Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T00:46:48.081Z] 7264a8db6415: Pulling fs layer [2023-11-08T00:46:48.081Z] c4d48a809fc2: Pulling fs layer [2023-11-08T00:46:48.081Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T00:46:48.081Z] ad3a456e5733: Pulling fs layer [2023-11-08T00:46:48.081Z] 33e27b845d1e: Pulling fs layer [2023-11-08T00:46:48.081Z] c68163c4e522: Pulling fs layer [2023-11-08T00:46:48.081Z] 50da416c3ac9: Pulling fs layer [2023-11-08T00:46:48.081Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T00:46:48.081Z] 33e27b845d1e: Waiting [2023-11-08T00:46:48.081Z] 50da416c3ac9: Waiting [2023-11-08T00:46:48.081Z] 23d2d4c4bb30: Waiting [2023-11-08T00:46:48.081Z] c68163c4e522: Waiting [2023-11-08T00:46:48.081Z] ad3a456e5733: Waiting [2023-11-08T00:46:48.344Z] c4d48a809fc2: Download complete [2023-11-08T00:46:48.344Z] ad3a456e5733: Verifying Checksum [2023-11-08T00:46:48.344Z] ad3a456e5733: Download complete [2023-11-08T00:46:48.344Z] 33e27b845d1e: Download complete [2023-11-08T00:46:48.344Z] 7264a8db6415: Verifying Checksum [2023-11-08T00:46:48.344Z] 7264a8db6415: Download complete [2023-11-08T00:46:48.344Z] c68163c4e522: Verifying Checksum [2023-11-08T00:46:48.344Z] c68163c4e522: Download complete [2023-11-08T00:46:48.344Z] 7264a8db6415: Pull complete [2023-11-08T00:46:48.607Z] c4d48a809fc2: Pull complete [2023-11-08T00:46:48.607Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T00:46:48.607Z] 23d2d4c4bb30: Download complete [2023-11-08T00:46:48.866Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T00:46:48.866Z] 4f1c88b9dad5: Download complete [2023-11-08T00:46:49.124Z] 50da416c3ac9: Verifying Checksum [2023-11-08T00:46:49.124Z] 50da416c3ac9: Download complete [2023-11-08T00:46:53.328Z] 4f1c88b9dad5: Pull complete [2023-11-08T00:46:53.328Z] ad3a456e5733: Pull complete [2023-11-08T00:46:53.328Z] 33e27b845d1e: Pull complete [2023-11-08T00:46:53.328Z] c68163c4e522: Pull complete [2023-11-08T00:46:55.863Z] 50da416c3ac9: Pull complete [2023-11-08T00:46:56.431Z] 23d2d4c4bb30: Pull complete [2023-11-08T00:46:56.432Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T00:46:56.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T00:46:56.432Z] ---> 0786185ac409 [2023-11-08T00:46:56.432Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T00:47:01.480Z] Still waiting to schedule task [2023-11-08T00:47:01.480Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T00:47:03.024Z] ---> Running in 5ff1cb9b20f9 [2023-11-08T00:47:03.024Z] Removing intermediate container 5ff1cb9b20f9 [2023-11-08T00:47:03.024Z] ---> 31ec75f4f6e7 [2023-11-08T00:47:03.024Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T00:47:03.024Z] ---> Running in 3922ca4ed5b0 [2023-11-08T00:47:03.024Z] Removing intermediate container 3922ca4ed5b0 [2023-11-08T00:47:03.024Z] ---> b0fba3b59aa7 [2023-11-08T00:47:03.024Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T00:47:03.024Z] ---> Running in c33cf8322b07 [2023-11-08T00:47:03.024Z] Removing intermediate container c33cf8322b07 [2023-11-08T00:47:03.024Z] ---> 19753a479ad3 [2023-11-08T00:47:03.024Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-08T00:47:03.024Z] ---> Running in a4508725f3aa [2023-11-08T00:47:03.024Z] Removing intermediate container a4508725f3aa [2023-11-08T00:47:03.024Z] ---> 97b316b3325a [2023-11-08T00:47:03.024Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T00:47:03.024Z] ---> Running in b3d284553e7a [2023-11-08T00:47:03.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T00:47:03.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T00:47:03.544Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T00:47:03.544Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T00:47:03.544Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T00:47:03.803Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T00:47:03.803Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T00:47:03.803Z] OK: 268 MiB in 56 packages [2023-11-08T00:47:04.374Z] Removing intermediate container b3d284553e7a [2023-11-08T00:47:04.374Z] ---> 25a098698c88 [2023-11-08T00:47:04.374Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T00:47:04.374Z] ---> 0006ba41c48f [2023-11-08T00:47:04.374Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T00:47:04.374Z] ---> Running in 99c34219cb9a [2023-11-08T00:47:43.189Z] Removing intermediate container 99c34219cb9a [2023-11-08T00:47:43.190Z] ---> 341232ab49e9 [2023-11-08T00:47:43.190Z] Step 10/12 : COPY . . [2023-11-08T00:47:43.190Z] ---> 7671c7a76ae0 [2023-11-08T00:47:43.190Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T00:47:43.190Z] ---> Running in 531af3ff6dbf [2023-11-08T00:47:43.190Z] Removing intermediate container 531af3ff6dbf [2023-11-08T00:47:43.190Z] ---> fb2d27987332 [2023-11-08T00:47:43.190Z] Step 12/12 : RUN $MAKE [2023-11-08T00:47:43.190Z] ---> Running in 8adab1f3dbee [2023-11-08T00:47:43.190Z] noop [2023-11-08T00:47:43.190Z] Removing intermediate container 8adab1f3dbee [2023-11-08T00:47:43.190Z] ---> 9e0f72c01cf9 [2023-11-08T00:47:43.190Z] Successfully built 9e0f72c01cf9 [2023-11-08T00:47:43.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:47:43.509Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T00:47:43.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:47:43.588Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:47:43.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T00:47:43.977Z] $ docker top a97b600ad1ec76d020048a053e2e8b23a60abaa50d4beb5d1bf86eee5bb0204f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T00:47:44.320Z] + go version [2023-11-08T00:47:44.320Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T00:47:44.335Z] $ docker stop --time=1 a97b600ad1ec76d020048a053e2e8b23a60abaa50d4beb5d1bf86eee5bb0204f [2023-11-08T00:47:45.641Z] $ docker rm -f --volumes a97b600ad1ec76d020048a053e2e8b23a60abaa50d4beb5d1bf86eee5bb0204f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:47:46.058Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T00:47:46.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:47:46.128Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:47:46.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T00:47:46.495Z] $ docker top 67c75a61b654e43ac4d39684e41fc830d761a346a744b51b67baa585c98ffabb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T00:47:46.841Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-08T00:47:47.139Z] + make test [2023-11-08T00:47:47.139Z] go test ./... -coverprofile=coverage.out [2023-11-08T00:47:49.042Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-08T00:47:59.011Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-08T00:47:59.011Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.013s coverage: 58.6% of statements [2023-11-08T00:48:05.579Z] go vet ./... [2023-11-08T00:48:08.109Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T00:48:08.109Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T00:48:08.109Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T00:48:08.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T00:48:08.136Z] $ docker stop --time=1 67c75a61b654e43ac4d39684e41fc830d761a346a744b51b67baa585c98ffabb [2023-11-08T00:48:10.460Z] $ docker rm -f --volumes 67c75a61b654e43ac4d39684e41fc830d761a346a744b51b67baa585c98ffabb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T00:48:10.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T00:48:10.994Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T00:48:11.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T00:48:11.836Z] + ls -al . [2023-11-08T00:48:11.836Z] total 200 [2023-11-08T00:48:11.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:47 . [2023-11-08T00:48:11.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:46 .. [2023-11-08T00:48:11.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:47 .git [2023-11-08T00:48:11.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 .github [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 00:46 .gitignore [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:46 .golangci.yml [2023-11-08T00:48:11.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:46 .semver [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 00:46 Attribution.txt [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 00:46 CHANGELOG.md [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 00:46 Dockerfile [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:46 GOVERNANCE.md [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 00:46 Jenkinsfile [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 00:46 LICENSE [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 00:46 Makefile [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 00:46 OWNERS.md [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 00:46 README.md [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 00:46 VERSION [2023-11-08T00:48:11.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:46 bin [2023-11-08T00:48:11.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 cmd [2023-11-08T00:48:11.836Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 00:47 coverage.out [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 3638 Nov 8 00:46 go.mod [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 34490 Nov 8 00:46 go.sum [2023-11-08T00:48:11.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 internal [2023-11-08T00:48:11.836Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:12.143Z] + 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=80fcd9e8c673b029d068a87f517db227d44531cc --label arch=amd64 --label version=3.1.0-dev.28 . [2023-11-08T00:48:12.143Z] Sending build context to Docker daemon 23.74MB [2023-11-08T00:48:12.143Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T00:48:12.143Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T00:48:12.143Z] ---> 9e0f72c01cf9 [2023-11-08T00:48:12.143Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T00:48:12.402Z] ---> Running in 48a146ee472d [2023-11-08T00:48:12.402Z] Removing intermediate container 48a146ee472d [2023-11-08T00:48:12.402Z] ---> ba63bc31f8e0 [2023-11-08T00:48:12.402Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T00:48:12.402Z] ---> Running in cbdccbde8734 [2023-11-08T00:48:12.402Z] Removing intermediate container cbdccbde8734 [2023-11-08T00:48:12.402Z] ---> 31fd021e269b [2023-11-08T00:48:12.402Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T00:48:12.402Z] ---> Running in 3da692724705 [2023-11-08T00:48:12.660Z] Removing intermediate container 3da692724705 [2023-11-08T00:48:12.660Z] ---> e5e5940c1188 [2023-11-08T00:48:12.660Z] Step 6/25 : WORKDIR /device-virtual-go [2023-11-08T00:48:12.660Z] ---> Running in 37f259c35392 [2023-11-08T00:48:12.660Z] Removing intermediate container 37f259c35392 [2023-11-08T00:48:12.660Z] ---> 6114a52f389b [2023-11-08T00:48:12.660Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T00:48:12.660Z] ---> Running in 030d352350ad [2023-11-08T00:48:12.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T00:48:13.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T00:48:13.440Z] OK: 268 MiB in 56 packages [2023-11-08T00:48:13.699Z] Removing intermediate container 030d352350ad [2023-11-08T00:48:13.699Z] ---> 26cdcb9ce77d [2023-11-08T00:48:13.699Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T00:48:13.957Z] ---> a0c7a4271f1d [2023-11-08T00:48:13.957Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T00:48:13.957Z] ---> Running in 5047153d2d27 [2023-11-08T00:48:14.995Z] Removing intermediate container 5047153d2d27 [2023-11-08T00:48:14.995Z] ---> 48303d1550a3 [2023-11-08T00:48:14.995Z] Step 10/25 : COPY . . [2023-11-08T00:48:15.255Z] ---> e27b25b21158 [2023-11-08T00:48:15.255Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T00:48:15.255Z] ---> Running in 4066fda5e7cd [2023-11-08T00:48:15.255Z] Removing intermediate container 4066fda5e7cd [2023-11-08T00:48:15.255Z] ---> fb7768738693 [2023-11-08T00:48:15.255Z] Step 12/25 : RUN $MAKE [2023-11-08T00:48:15.255Z] ---> Running in 77478731d9ff [2023-11-08T00:48:15.514Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-08T00:48:33.631Z] Removing intermediate container 77478731d9ff [2023-11-08T00:48:33.631Z] ---> b41134b5dc5d [2023-11-08T00:48:33.631Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T00:48:33.892Z] 3.18: Pulling from library/alpine [2023-11-08T00:48:33.892Z] 96526aa774ef: Pulling fs layer [2023-11-08T00:48:34.150Z] 96526aa774ef: Verifying Checksum [2023-11-08T00:48:34.150Z] 96526aa774ef: Download complete [2023-11-08T00:48:34.408Z] 96526aa774ef: Pull complete [2023-11-08T00:48:34.408Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T00:48:34.408Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T00:48:34.408Z] ---> 8ca4688f4f35 [2023-11-08T00:48:34.408Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-08T00:48:34.408Z] ---> Running in 433302cf7e49 [2023-11-08T00:48:34.408Z] Removing intermediate container 433302cf7e49 [2023-11-08T00:48:34.408Z] ---> 11f76da21d47 [2023-11-08T00:48:34.408Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T00:48:34.408Z] ---> Running in 4ecfb48ce696 [2023-11-08T00:48:34.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T00:48:34.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T00:48:35.236Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T00:48:35.236Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T00:48:35.236Z] OK: 7 MiB in 16 packages [2023-11-08T00:48:35.495Z] Removing intermediate container 4ecfb48ce696 [2023-11-08T00:48:35.495Z] ---> bd38e1dd3827 [2023-11-08T00:48:35.495Z] Step 16/25 : WORKDIR / [2023-11-08T00:48:35.495Z] ---> Running in 6213084f7abf [2023-11-08T00:48:35.754Z] Removing intermediate container 6213084f7abf [2023-11-08T00:48:35.754Z] ---> 8df0d504049e [2023-11-08T00:48:35.754Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-08T00:48:35.754Z] ---> ae2fde2fd9d0 [2023-11-08T00:48:35.754Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-08T00:48:36.013Z] ---> 9efc408adb47 [2023-11-08T00:48:36.013Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-11-08T00:48:36.634Z] ---> e7e0396fadbe [2023-11-08T00:48:36.634Z] Step 20/25 : EXPOSE 59900 [2023-11-08T00:48:36.634Z] ---> Running in 18f474dfdebf [2023-11-08T00:48:36.634Z] Removing intermediate container 18f474dfdebf [2023-11-08T00:48:36.634Z] ---> ffc5a340a614 [2023-11-08T00:48:36.634Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-11-08T00:48:36.891Z] ---> Running in f0d2f0d88485 [2023-11-08T00:48:36.891Z] Removing intermediate container f0d2f0d88485 [2023-11-08T00:48:36.891Z] ---> 6f0a84af21b9 [2023-11-08T00:48:36.891Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T00:48:36.891Z] ---> Running in fea8054e5e12 [2023-11-08T00:48:36.891Z] Removing intermediate container fea8054e5e12 [2023-11-08T00:48:36.891Z] ---> 4877947042d4 [2023-11-08T00:48:36.891Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T00:48:36.891Z] ---> Running in eccaf11b82ca [2023-11-08T00:48:37.149Z] Removing intermediate container eccaf11b82ca [2023-11-08T00:48:37.149Z] ---> d0a35fc057ee [2023-11-08T00:48:37.149Z] Step 24/25 : LABEL git_sha=80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:48:37.149Z] ---> Running in 6cd685e35c1f [2023-11-08T00:48:37.149Z] Removing intermediate container 6cd685e35c1f [2023-11-08T00:48:37.149Z] ---> ea77f8f8d1e0 [2023-11-08T00:48:37.149Z] Step 25/25 : LABEL version=3.1.0-dev.28 [2023-11-08T00:48:37.149Z] ---> Running in ecda07f1684d [2023-11-08T00:48:37.149Z] Removing intermediate container ecda07f1684d [2023-11-08T00:48:37.149Z] ---> a3684654b85f [2023-11-08T00:48:37.149Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T00:48:37.149Z] Successfully built a3684654b85f [2023-11-08T00:48:37.149Z] 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-11-08T00:48:37.260Z] provisioning config files... [2023-11-08T00:48:37.271Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8545049040098018434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:48:37.575Z] ---> docker-login.sh [2023-11-08T00:48:37.576Z] nexus3.edgexfoundry.org:10001 [2023-11-08T00:48:37.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:48:37.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:48:37.576Z] Configure a credential helper to remove this warning. See [2023-11-08T00:48:37.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:48:37.576Z] [2023-11-08T00:48:37.576Z] Login Succeeded [2023-11-08T00:48:37.576Z] nexus3.edgexfoundry.org:10002 [2023-11-08T00:48:37.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:48:37.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:48:37.576Z] Configure a credential helper to remove this warning. See [2023-11-08T00:48:37.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:48:37.576Z] [2023-11-08T00:48:37.576Z] Login Succeeded [2023-11-08T00:48:37.576Z] nexus3.edgexfoundry.org:10003 [2023-11-08T00:48:37.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:48:37.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:48:37.835Z] Configure a credential helper to remove this warning. See [2023-11-08T00:48:37.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:48:37.835Z] [2023-11-08T00:48:37.835Z] Login Succeeded [2023-11-08T00:48:37.835Z] nexus3.edgexfoundry.org:10004 [2023-11-08T00:48:37.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:48:37.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:48:37.835Z] Configure a credential helper to remove this warning. See [2023-11-08T00:48:37.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:48:37.835Z] [2023-11-08T00:48:37.835Z] Login Succeeded [2023-11-08T00:48:37.835Z] docker.io [2023-11-08T00:48:37.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:48:38.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:48:38.093Z] Configure a credential helper to remove this warning. See [2023-11-08T00:48:38.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:48:38.093Z] [2023-11-08T00:48:38.093Z] Login Succeeded [2023-11-08T00:48:38.093Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T00:48:38.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T00:48:38.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:48:38.170Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-11-08T00:48:38.170Z] 80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:48:38.170Z] latest [2023-11-08T00:48:38.170Z] 3.1.0-dev.28 [2023-11-08T00:48:38.170Z] 80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:48:38.170Z] main [2023-11-08T00:48:38.170Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:38.497Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:38.809Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:48:38.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T00:48:38.809Z] 6ce34f584acb: Preparing [2023-11-08T00:48:38.809Z] 9d27856f3f1a: Preparing [2023-11-08T00:48:38.809Z] d1679e697959: Preparing [2023-11-08T00:48:38.809Z] 799fd64d5f2d: Preparing [2023-11-08T00:48:38.809Z] cc2447e1835a: Preparing [2023-11-08T00:48:38.809Z] cc2447e1835a: Layer already exists [2023-11-08T00:48:38.809Z] d1679e697959: Pushed [2023-11-08T00:48:38.809Z] 9d27856f3f1a: Pushed [2023-11-08T00:48:38.809Z] 799fd64d5f2d: Pushed [2023-11-08T00:48:41.344Z] 6ce34f584acb: Pushed [2023-11-08T00:48:41.604Z] 80fcd9e8c673b029d068a87f517db227d44531cc: digest: sha256:09e7e33af06db9135e3b957c435e36c0cc800e8bf596286c78fa89777256a2dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:41.934Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:42.242Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-11-08T00:48:42.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T00:48:42.243Z] 6ce34f584acb: Preparing [2023-11-08T00:48:42.243Z] 9d27856f3f1a: Preparing [2023-11-08T00:48:42.243Z] d1679e697959: Preparing [2023-11-08T00:48:42.243Z] 799fd64d5f2d: Preparing [2023-11-08T00:48:42.243Z] cc2447e1835a: Preparing [2023-11-08T00:48:42.243Z] 6ce34f584acb: Layer already exists [2023-11-08T00:48:42.243Z] 799fd64d5f2d: Layer already exists [2023-11-08T00:48:42.243Z] d1679e697959: Layer already exists [2023-11-08T00:48:42.243Z] cc2447e1835a: Layer already exists [2023-11-08T00:48:42.243Z] 9d27856f3f1a: Layer already exists [2023-11-08T00:48:42.243Z] latest: digest: sha256:09e7e33af06db9135e3b957c435e36c0cc800e8bf596286c78fa89777256a2dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:42.548Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:42.860Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.28 [2023-11-08T00:48:42.860Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T00:48:42.860Z] 6ce34f584acb: Preparing [2023-11-08T00:48:42.860Z] 9d27856f3f1a: Preparing [2023-11-08T00:48:42.860Z] d1679e697959: Preparing [2023-11-08T00:48:42.860Z] 799fd64d5f2d: Preparing [2023-11-08T00:48:42.860Z] cc2447e1835a: Preparing [2023-11-08T00:48:42.860Z] d1679e697959: Layer already exists [2023-11-08T00:48:42.860Z] cc2447e1835a: Layer already exists [2023-11-08T00:48:42.860Z] 799fd64d5f2d: Layer already exists [2023-11-08T00:48:42.860Z] 9d27856f3f1a: Layer already exists [2023-11-08T00:48:42.860Z] 6ce34f584acb: Layer already exists [2023-11-08T00:48:42.860Z] 3.1.0-dev.28: digest: sha256:09e7e33af06db9135e3b957c435e36c0cc800e8bf596286c78fa89777256a2dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:43.171Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:43.481Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:48:43.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T00:48:43.481Z] 6ce34f584acb: Preparing [2023-11-08T00:48:43.481Z] 9d27856f3f1a: Preparing [2023-11-08T00:48:43.481Z] d1679e697959: Preparing [2023-11-08T00:48:43.481Z] 799fd64d5f2d: Preparing [2023-11-08T00:48:43.481Z] cc2447e1835a: Preparing [2023-11-08T00:48:43.481Z] d1679e697959: Layer already exists [2023-11-08T00:48:43.481Z] 9d27856f3f1a: Layer already exists [2023-11-08T00:48:43.481Z] 799fd64d5f2d: Layer already exists [2023-11-08T00:48:43.481Z] cc2447e1835a: Layer already exists [2023-11-08T00:48:43.481Z] 6ce34f584acb: Layer already exists [2023-11-08T00:48:43.481Z] 80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28: digest: sha256:09e7e33af06db9135e3b957c435e36c0cc800e8bf596286c78fa89777256a2dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:43.795Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:44.110Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-11-08T00:48:44.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T00:48:44.111Z] 6ce34f584acb: Preparing [2023-11-08T00:48:44.111Z] 9d27856f3f1a: Preparing [2023-11-08T00:48:44.111Z] d1679e697959: Preparing [2023-11-08T00:48:44.111Z] 799fd64d5f2d: Preparing [2023-11-08T00:48:44.111Z] cc2447e1835a: Preparing [2023-11-08T00:48:44.111Z] 6ce34f584acb: Layer already exists [2023-11-08T00:48:44.111Z] 799fd64d5f2d: Layer already exists [2023-11-08T00:48:44.111Z] cc2447e1835a: Layer already exists [2023-11-08T00:48:44.111Z] 9d27856f3f1a: Layer already exists [2023-11-08T00:48:44.111Z] d1679e697959: Layer already exists [2023-11-08T00:48:44.111Z] main: digest: sha256:09e7e33af06db9135e3b957c435e36c0cc800e8bf596286c78fa89777256a2dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T00:48:44.172Z] ===================================================== [Pipeline] echo [2023-11-08T00:48:44.184Z] taggedImages: [2023-11-08T00:48:44.184Z] - nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:48:44.184Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-11-08T00:48:44.184Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.28 [2023-11-08T00:48:44.184Z] - nexus3.edgexfoundry.org:10004/device-virtual:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:48:44.184Z] - 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-11-08T00:48:44.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T00:48:44.566Z] [2023-11-08T00:48:44.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:48:44.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T00:48:44.878Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T00:48:44.878Z] 5eb5b503b376: Pulling fs layer [2023-11-08T00:48:44.878Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T00:48:44.878Z] ec43610c2a17: Pulling fs layer [2023-11-08T00:48:44.878Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T00:48:44.878Z] 33b1e0a273af: Pulling fs layer [2023-11-08T00:48:44.878Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T00:48:44.878Z] 2f39f015ded8: Pulling fs layer [2023-11-08T00:48:44.878Z] 3a2ae6a8a46f: Waiting [2023-11-08T00:48:44.878Z] 33b1e0a273af: Waiting [2023-11-08T00:48:44.878Z] 5d3b04190fa2: Waiting [2023-11-08T00:48:44.878Z] 2f39f015ded8: Waiting [2023-11-08T00:48:44.878Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T00:48:44.878Z] 5c69ac0246d0: Download complete [2023-11-08T00:48:44.878Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T00:48:44.878Z] 3a2ae6a8a46f: Download complete [2023-11-08T00:48:45.137Z] 33b1e0a273af: Verifying Checksum [2023-11-08T00:48:45.137Z] 33b1e0a273af: Download complete [2023-11-08T00:48:45.137Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T00:48:45.137Z] 5d3b04190fa2: Download complete [2023-11-08T00:48:45.137Z] ec43610c2a17: Verifying Checksum [2023-11-08T00:48:45.137Z] ec43610c2a17: Download complete [2023-11-08T00:48:45.137Z] 5eb5b503b376: Verifying Checksum [2023-11-08T00:48:45.137Z] 5eb5b503b376: Download complete [2023-11-08T00:48:46.074Z] 2f39f015ded8: Download complete [2023-11-08T00:48:46.332Z] 5eb5b503b376: Pull complete [2023-11-08T00:48:46.332Z] 5c69ac0246d0: Pull complete [2023-11-08T00:48:46.899Z] ec43610c2a17: Pull complete [2023-11-08T00:48:46.899Z] 3a2ae6a8a46f: Pull complete [2023-11-08T00:48:47.158Z] 33b1e0a273af: Pull complete [2023-11-08T00:48:47.158Z] 5d3b04190fa2: Pull complete [2023-11-08T00:48:51.350Z] 2f39f015ded8: Pull complete [2023-11-08T00:48:51.350Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T00:48:51.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T00:48:51.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:48:51.429Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:48:51.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T00:48:54.104Z] $ docker top c723206ca31f34fbf7b7c41651284b27ebd02baeae78296380e6fa3cb1f18390 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:48:54.494Z] ---> job-cost.sh [2023-11-08T00:48:54.494Z] lf-activate-venv: SKIPPING [2023-11-08T00:48:54.494Z] INFO: No Stack... [2023-11-08T00:48:54.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T00:48:55.015Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T00:48:55.304Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-11-08T00:48:55.304Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T00:48:55.320Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [2023-11-08T00:48:55.328Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] did not exist. Created. [2023-11-08T00:48:55.328Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T00:48:55.631Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T00:48:55.658Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T00:48:55.664Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T00:48:55.698Z] $ docker stop --time=1 c723206ca31f34fbf7b7c41651284b27ebd02baeae78296380e6fa3cb1f18390 [2023-11-08T00:48:56.842Z] $ docker rm -f --volumes c723206ca31f34fbf7b7c41651284b27ebd02baeae78296380e6fa3cb1f18390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T00:50:06.107Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16941 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-11-08T00:50:06.126Z] Running in /w/workspace/device-virtual-go/154 [Pipeline] { [Pipeline] checkout [2023-11-08T00:50:06.171Z] The recommended git tool is: git [2023-11-08T00:50:12.718Z] using credential edgex-jenkins-ssh [2023-11-08T00:50:12.737Z] Cloning the remote Git repository [2023-11-08T00:50:12.793Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-11-08T00:50:12.908Z] > git init /w/workspace/device-virtual-go/154 # timeout=10 [2023-11-08T00:50:13.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-08T00:50:13.087Z] > git --version # timeout=10 [2023-11-08T00:50:13.110Z] > git --version # 'git version 2.25.1' [2023-11-08T00:50:13.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T00:50:13.292Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T00:50:16.616Z] Avoid second fetch [2023-11-08T00:50:16.617Z] Checking out Revision 80fcd9e8c673b029d068a87f517db227d44531cc (main) [2023-11-08T00:50:15.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-08T00:50:15.556Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T00:50:16.640Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T00:50:17.269Z] Commit message: "docs: Update changelog for 3.1 release (#448)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T00:50:16.723Z] > git checkout -f 80fcd9e8c673b029d068a87f517db227d44531cc # timeout=10 [2023-11-08T00:50:18.171Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T00:50:18.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T00:50:18.171Z] Dload Upload Total Spent Left Speed [2023-11-08T00:50:18.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86272 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh [2023-11-08T00:50:18.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T00:50:19.235Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T00:50:19.235Z] + sudo tee /etc/docker/daemon.new [2023-11-08T00:50:19.235Z] { [2023-11-08T00:50:19.235Z] "registry-mirrors": [ [2023-11-08T00:50:19.235Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T00:50:19.235Z] ], [2023-11-08T00:50:19.235Z] "bip": "10.250.0.254/24", [2023-11-08T00:50:19.235Z] "hosts": [ [2023-11-08T00:50:19.235Z] "tcp://0.0.0.0:5555", [2023-11-08T00:50:19.235Z] "unix:///var/run/docker.sock" [2023-11-08T00:50:19.235Z] ], [2023-11-08T00:50:19.235Z] "mtu": 1458, [2023-11-08T00:50:19.235Z] "selinux-enabled": true, [2023-11-08T00:50:19.235Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T00:50:19.235Z] } [Pipeline] sh [2023-11-08T00:50:19.607Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T00:50:20.000Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T00:50:38.417Z] provisioning config files... [2023-11-08T00:50:38.448Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/154@tmp/config3966225381028198574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:50:38.819Z] ---> docker-login.sh [2023-11-08T00:50:38.819Z] nexus3.edgexfoundry.org:10001 [2023-11-08T00:50:39.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:50:40.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:50:40.381Z] Configure a credential helper to remove this warning. See [2023-11-08T00:50:40.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:50:40.381Z] [2023-11-08T00:50:40.381Z] Login Succeeded [2023-11-08T00:50:40.381Z] nexus3.edgexfoundry.org:10002 [2023-11-08T00:50:40.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:50:40.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:50:40.655Z] Configure a credential helper to remove this warning. See [2023-11-08T00:50:40.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:50:40.655Z] [2023-11-08T00:50:40.655Z] Login Succeeded [2023-11-08T00:50:40.655Z] nexus3.edgexfoundry.org:10003 [2023-11-08T00:50:40.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:50:40.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:50:40.929Z] Configure a credential helper to remove this warning. See [2023-11-08T00:50:40.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:50:40.929Z] [2023-11-08T00:50:40.929Z] Login Succeeded [2023-11-08T00:50:40.929Z] nexus3.edgexfoundry.org:10004 [2023-11-08T00:50:41.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:50:41.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:50:41.478Z] Configure a credential helper to remove this warning. See [2023-11-08T00:50:41.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:50:41.478Z] [2023-11-08T00:50:41.478Z] Login Succeeded [2023-11-08T00:50:41.478Z] docker.io [2023-11-08T00:50:41.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:50:42.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:50:42.022Z] Configure a credential helper to remove this warning. See [2023-11-08T00:50:42.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:50:42.022Z] [2023-11-08T00:50:42.022Z] Login Succeeded [2023-11-08T00:50:42.022Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T00:50:42.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T00:50:42.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:50:42.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:50:42.380Z] ========================================================= [2023-11-08T00:50:42.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T00:50:42.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:50:42.746Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T00:50:43.339Z] Sending build context to Docker daemon 11.98MB [2023-11-08T00:50:43.339Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T00:50:43.339Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T00:50:43.339Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T00:50:43.339Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T00:50:43.339Z] 5d54e960e981: Pulling fs layer [2023-11-08T00:50:43.339Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T00:50:43.339Z] f0e02332f6b5: Pulling fs layer [2023-11-08T00:50:43.339Z] cefa15bbcfad: Pulling fs layer [2023-11-08T00:50:43.339Z] 17808c966233: Pulling fs layer [2023-11-08T00:50:43.339Z] f4c1fc716caa: Pulling fs layer [2023-11-08T00:50:43.339Z] cefa15bbcfad: Waiting [2023-11-08T00:50:43.339Z] 17808c966233: Waiting [2023-11-08T00:50:43.339Z] f4c1fc716caa: Waiting [2023-11-08T00:50:43.339Z] f0e02332f6b5: Waiting [2023-11-08T00:50:43.339Z] 5d54e960e981: Download complete [2023-11-08T00:50:43.613Z] f0e02332f6b5: Verifying Checksum [2023-11-08T00:50:43.613Z] f0e02332f6b5: Download complete [2023-11-08T00:50:43.613Z] cefa15bbcfad: Verifying Checksum [2023-11-08T00:50:43.613Z] cefa15bbcfad: Download complete [2023-11-08T00:50:43.613Z] 9fda8d8052c6: Verifying Checksum [2023-11-08T00:50:43.613Z] 9fda8d8052c6: Download complete [2023-11-08T00:50:43.883Z] f4c1fc716caa: Verifying Checksum [2023-11-08T00:50:43.883Z] f4c1fc716caa: Download complete [2023-11-08T00:50:44.478Z] 9fda8d8052c6: Pull complete [2023-11-08T00:50:45.071Z] 5d54e960e981: Pull complete [2023-11-08T00:50:45.341Z] c4a7e357bf2a: Download complete [2023-11-08T00:50:46.759Z] 17808c966233: Verifying Checksum [2023-11-08T00:50:46.759Z] 17808c966233: Download complete [2023-11-08T00:50:59.124Z] c4a7e357bf2a: Pull complete [2023-11-08T00:50:59.715Z] f0e02332f6b5: Pull complete [2023-11-08T00:50:59.999Z] cefa15bbcfad: Pull complete [2023-11-08T00:51:08.254Z] 17808c966233: Pull complete [2023-11-08T00:51:09.673Z] f4c1fc716caa: Pull complete [2023-11-08T00:51:09.673Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T00:51:09.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T00:51:09.673Z] ---> ea914061e18c [2023-11-08T00:51:09.673Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T00:51:11.087Z] ---> Running in 179a978acf6a [2023-11-08T00:51:11.357Z] Removing intermediate container 179a978acf6a [2023-11-08T00:51:11.357Z] ---> a1bade4afaad [2023-11-08T00:51:11.357Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T00:51:11.624Z] ---> Running in 79f9d7c06685 [2023-11-08T00:51:15.900Z] Removing intermediate container 79f9d7c06685 [2023-11-08T00:51:15.900Z] ---> 0831bb2e89ff [2023-11-08T00:51:15.900Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T00:51:15.900Z] ---> Running in 77de4539aa77 [2023-11-08T00:51:15.900Z] Removing intermediate container 77de4539aa77 [2023-11-08T00:51:15.900Z] ---> 3083917bf343 [2023-11-08T00:51:15.900Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-08T00:51:15.900Z] ---> Running in 4634c84d3b7f [2023-11-08T00:51:16.182Z] Removing intermediate container 4634c84d3b7f [2023-11-08T00:51:16.182Z] ---> 42a3c589d3fa [2023-11-08T00:51:16.182Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T00:51:16.182Z] ---> Running in e277d9df963c [2023-11-08T00:51:17.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T00:51:17.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T00:51:19.439Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T00:51:19.440Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T00:51:19.440Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T00:51:19.440Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T00:51:19.440Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T00:51:19.440Z] OK: 270 MiB in 56 packages [2023-11-08T00:51:20.862Z] Removing intermediate container e277d9df963c [2023-11-08T00:51:20.862Z] ---> 9fc9a03a8e65 [2023-11-08T00:51:20.862Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T00:51:21.152Z] ---> 1ee856c0b33f [2023-11-08T00:51:21.152Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T00:51:21.440Z] ---> Running in 191d8e97e933 [2023-11-08T00:52:43.132Z] Removing intermediate container 191d8e97e933 [2023-11-08T00:52:43.132Z] ---> e03785e093be [2023-11-08T00:52:43.132Z] Step 10/12 : COPY . . [2023-11-08T00:52:43.132Z] ---> de77d479f75f [2023-11-08T00:52:43.132Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T00:52:43.132Z] ---> Running in e0909956d334 [2023-11-08T00:52:43.132Z] Removing intermediate container e0909956d334 [2023-11-08T00:52:43.132Z] ---> f27365385590 [2023-11-08T00:52:43.132Z] Step 12/12 : RUN $MAKE [2023-11-08T00:52:43.132Z] ---> Running in f5e225331342 [2023-11-08T00:52:44.563Z] noop [2023-11-08T00:52:45.155Z] Removing intermediate container f5e225331342 [2023-11-08T00:52:45.155Z] ---> 5a15671cbeeb [2023-11-08T00:52:45.155Z] Successfully built 5a15671cbeeb [2023-11-08T00:52:45.155Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:52:45.513Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T00:52:45.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:52:45.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-16941 does not seem to be running inside a container [2023-11-08T00:52:45.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/154 -v /w/workspace/device-virtual-go/154:/w/workspace/device-virtual-go/154:rw,z -v /w/workspace/device-virtual-go/154@tmp:/w/workspace/device-virtual-go/154@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-11-08T00:52:47.290Z] $ docker top aec0a484eec16b14cf5fd276b5fbf0153a78428e210ea2f207a5c5912e01a023 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T00:52:48.180Z] + go version [2023-11-08T00:52:48.180Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T00:52:48.203Z] $ docker stop --time=1 aec0a484eec16b14cf5fd276b5fbf0153a78428e210ea2f207a5c5912e01a023 [2023-11-08T00:52:49.915Z] $ docker rm -f --volumes aec0a484eec16b14cf5fd276b5fbf0153a78428e210ea2f207a5c5912e01a023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:52:50.517Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T00:52:50.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:52:50.730Z] prd-ubuntu20.04-docker-arm64-4c-16g-16941 does not seem to be running inside a container [2023-11-08T00:52:50.832Z] $ 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/154 -v /w/workspace/device-virtual-go/154:/w/workspace/device-virtual-go/154:rw,z -v /w/workspace/device-virtual-go/154@tmp:/w/workspace/device-virtual-go/154@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-11-08T00:52:52.235Z] $ docker top d8a67666cb3b8a2f2295fe2608a9894ff36d2d63ec62a25a864b716b5a684f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T00:52:53.122Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/154 [Pipeline] fileExists [Pipeline] sh [2023-11-08T00:52:53.793Z] + make test [2023-11-08T00:52:53.793Z] go test ./... -coverprofile=coverage.out [2023-11-08T00:52:58.077Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-08T00:55:04.840Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-08T00:55:04.840Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.107s coverage: 58.4% of statements [2023-11-08T00:55:06.275Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T00:55:06.275Z] go vet ./... [2023-11-08T00:55:45.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T00:55:45.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T00:55:45.209Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T00:55:45.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T00:55:45.248Z] $ docker stop --time=1 d8a67666cb3b8a2f2295fe2608a9894ff36d2d63ec62a25a864b716b5a684f5f [2023-11-08T00:55:47.253Z] $ docker rm -f --volumes d8a67666cb3b8a2f2295fe2608a9894ff36d2d63ec62a25a864b716b5a684f5f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T00:55:48.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T00:55:48.620Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T00:55:49.263Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T00:55:49.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T00:55:50.048Z] + ls -al . [2023-11-08T00:55:50.048Z] total 196 [2023-11-08T00:55:50.048Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 00:52 . [2023-11-08T00:55:50.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:50 .. [2023-11-08T00:55:50.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:50 .git [2023-11-08T00:55:50.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:50 .github [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 00:50 .gitignore [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:50 .golangci.yml [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 00:50 Attribution.txt [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 00:50 CHANGELOG.md [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 00:50 Dockerfile [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:50 GOVERNANCE.md [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 00:50 Jenkinsfile [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 00:50 LICENSE [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 00:50 Makefile [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 00:50 OWNERS.md [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 00:50 README.md [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 00:46 VERSION [2023-11-08T00:55:50.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:50 bin [2023-11-08T00:55:50.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:50 cmd [2023-11-08T00:55:50.048Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 00:55 coverage.out [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 3638 Nov 8 00:50 go.mod [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 34490 Nov 8 00:50 go.sum [2023-11-08T00:55:50.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:50 internal [2023-11-08T00:55:50.048Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 00:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:55:50.407Z] + 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=80fcd9e8c673b029d068a87f517db227d44531cc --label arch=arm64 --label version=3.1.0-dev.28 . [2023-11-08T00:55:50.680Z] Sending build context to Docker daemon 12.03MB [2023-11-08T00:55:50.949Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T00:55:50.949Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T00:55:50.949Z] ---> 5a15671cbeeb [2023-11-08T00:55:50.949Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T00:55:50.949Z] ---> Running in 1ac0c12579bd [2023-11-08T00:55:51.540Z] Removing intermediate container 1ac0c12579bd [2023-11-08T00:55:51.540Z] ---> 30fa9fc57641 [2023-11-08T00:55:51.540Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T00:55:51.540Z] ---> Running in 7c6ca19edc62 [2023-11-08T00:55:51.812Z] Removing intermediate container 7c6ca19edc62 [2023-11-08T00:55:51.812Z] ---> b96eaf17a34c [2023-11-08T00:55:51.812Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T00:55:51.812Z] ---> Running in ed2f191feb98 [2023-11-08T00:55:52.084Z] Removing intermediate container ed2f191feb98 [2023-11-08T00:55:52.084Z] ---> 1841c8ba5917 [2023-11-08T00:55:52.085Z] Step 6/25 : WORKDIR /device-virtual-go [2023-11-08T00:55:52.366Z] ---> Running in 729e941f39a8 [2023-11-08T00:55:52.646Z] Removing intermediate container 729e941f39a8 [2023-11-08T00:55:52.647Z] ---> 84fe561d39d7 [2023-11-08T00:55:52.647Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T00:55:52.647Z] ---> Running in 5eb479576a29 [2023-11-08T00:55:54.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T00:55:54.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T00:55:55.764Z] OK: 270 MiB in 56 packages [2023-11-08T00:56:00.043Z] Removing intermediate container 5eb479576a29 [2023-11-08T00:56:00.043Z] ---> ceb0f318b27a [2023-11-08T00:56:00.043Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T00:56:00.043Z] ---> 9a936a9b0fd2 [2023-11-08T00:56:00.043Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T00:56:00.043Z] ---> Running in 2f986b1f2719 [2023-11-08T00:56:02.781Z] Removing intermediate container 2f986b1f2719 [2023-11-08T00:56:02.781Z] ---> abe9ccdff4db [2023-11-08T00:56:02.781Z] Step 10/25 : COPY . . [2023-11-08T00:56:04.245Z] ---> e34587218107 [2023-11-08T00:56:04.245Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T00:56:04.245Z] ---> Running in 68c66b09cf0a [2023-11-08T00:56:04.555Z] Removing intermediate container 68c66b09cf0a [2023-11-08T00:56:04.555Z] ---> 2064c2106e41 [2023-11-08T00:56:04.555Z] Step 12/25 : RUN $MAKE [2023-11-08T00:56:04.555Z] ---> Running in a425dde0a080 [2023-11-08T00:56:06.057Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-08T00:58:27.813Z] Removing intermediate container a425dde0a080 [2023-11-08T00:58:27.813Z] ---> d4a4051fe973 [2023-11-08T00:58:27.813Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T00:58:27.813Z] 3.18: Pulling from library/alpine [2023-11-08T00:58:27.813Z] 579b34f0a95b: Pulling fs layer [2023-11-08T00:58:27.813Z] 579b34f0a95b: Verifying Checksum [2023-11-08T00:58:27.813Z] 579b34f0a95b: Download complete [2023-11-08T00:58:27.813Z] 579b34f0a95b: Pull complete [2023-11-08T00:58:27.813Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T00:58:27.813Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T00:58:27.813Z] ---> 3cc203321400 [2023-11-08T00:58:27.813Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-08T00:58:27.813Z] ---> Running in e14638de8c62 [2023-11-08T00:58:27.813Z] Removing intermediate container e14638de8c62 [2023-11-08T00:58:27.813Z] ---> 9578c2ac124f [2023-11-08T00:58:27.813Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T00:58:27.813Z] ---> Running in a0ae5ece4165 [2023-11-08T00:58:27.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T00:58:27.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T00:58:27.813Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T00:58:27.813Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T00:58:27.813Z] OK: 8 MiB in 16 packages [2023-11-08T00:58:27.813Z] Removing intermediate container a0ae5ece4165 [2023-11-08T00:58:27.813Z] ---> e10d06c5912f [2023-11-08T00:58:27.813Z] Step 16/25 : WORKDIR / [2023-11-08T00:58:27.813Z] ---> Running in 84857d84f50c [2023-11-08T00:58:27.813Z] Removing intermediate container 84857d84f50c [2023-11-08T00:58:27.813Z] ---> 20acf66f6ee4 [2023-11-08T00:58:27.813Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-08T00:58:27.813Z] ---> a3ff5b5e5455 [2023-11-08T00:58:27.813Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-08T00:58:27.813Z] ---> a635e1d5ab88 [2023-11-08T00:58:27.813Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-11-08T00:58:27.813Z] ---> 3f99ea09546b [2023-11-08T00:58:27.813Z] Step 20/25 : EXPOSE 59900 [2023-11-08T00:58:27.813Z] ---> Running in dfa71b750fbf [2023-11-08T00:58:27.813Z] Removing intermediate container dfa71b750fbf [2023-11-08T00:58:27.813Z] ---> c7890677d13e [2023-11-08T00:58:27.813Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-11-08T00:58:27.813Z] ---> Running in 7f2770e365a7 [2023-11-08T00:58:27.813Z] Removing intermediate container 7f2770e365a7 [2023-11-08T00:58:27.813Z] ---> 80e24b794458 [2023-11-08T00:58:27.813Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T00:58:28.082Z] ---> Running in f3e3f5372c6f [2023-11-08T00:58:28.349Z] Removing intermediate container f3e3f5372c6f [2023-11-08T00:58:28.349Z] ---> 080ec40ca790 [2023-11-08T00:58:28.349Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T00:58:28.349Z] ---> Running in c4c9d95922e0 [2023-11-08T00:58:28.617Z] Removing intermediate container c4c9d95922e0 [2023-11-08T00:58:28.617Z] ---> 43aa1a19d83d [2023-11-08T00:58:28.617Z] Step 24/25 : LABEL git_sha=80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:58:28.885Z] ---> Running in a93721eab3a9 [2023-11-08T00:58:29.152Z] Removing intermediate container a93721eab3a9 [2023-11-08T00:58:29.152Z] ---> 75626dec11bd [2023-11-08T00:58:29.152Z] Step 25/25 : LABEL version=3.1.0-dev.28 [2023-11-08T00:58:29.152Z] ---> Running in 2cfc4254e120 [2023-11-08T00:58:29.419Z] Removing intermediate container 2cfc4254e120 [2023-11-08T00:58:29.419Z] ---> 2de2ec203a9b [2023-11-08T00:58:29.419Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T00:58:29.419Z] Successfully built 2de2ec203a9b [2023-11-08T00:58:29.419Z] 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-11-08T00:58:29.816Z] provisioning config files... [2023-11-08T00:58:29.833Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/154@tmp/config3112742329475854925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:58:30.184Z] ---> docker-login.sh [2023-11-08T00:58:30.184Z] nexus3.edgexfoundry.org:10001 [2023-11-08T00:58:30.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:58:30.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:58:30.456Z] Configure a credential helper to remove this warning. See [2023-11-08T00:58:30.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:58:30.457Z] [2023-11-08T00:58:30.457Z] Login Succeeded [2023-11-08T00:58:30.457Z] nexus3.edgexfoundry.org:10002 [2023-11-08T00:58:30.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:58:30.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:58:30.725Z] Configure a credential helper to remove this warning. See [2023-11-08T00:58:30.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:58:30.725Z] [2023-11-08T00:58:30.725Z] Login Succeeded [2023-11-08T00:58:30.725Z] nexus3.edgexfoundry.org:10003 [2023-11-08T00:58:30.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:58:31.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:58:31.266Z] Configure a credential helper to remove this warning. See [2023-11-08T00:58:31.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:58:31.266Z] [2023-11-08T00:58:31.266Z] Login Succeeded [2023-11-08T00:58:31.266Z] nexus3.edgexfoundry.org:10004 [2023-11-08T00:58:31.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:58:31.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:58:31.539Z] Configure a credential helper to remove this warning. See [2023-11-08T00:58:31.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:58:31.539Z] [2023-11-08T00:58:31.539Z] Login Succeeded [2023-11-08T00:58:31.539Z] docker.io [2023-11-08T00:58:31.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T00:58:32.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T00:58:32.394Z] Configure a credential helper to remove this warning. See [2023-11-08T00:58:32.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T00:58:32.394Z] [2023-11-08T00:58:32.394Z] Login Succeeded [2023-11-08T00:58:32.394Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T00:58:32.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T00:58:32.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T00:58:32.451Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-11-08T00:58:32.451Z] 80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:58:32.451Z] latest [2023-11-08T00:58:32.451Z] 3.1.0-dev.28 [2023-11-08T00:58:32.451Z] 80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:58:32.451Z] main [2023-11-08T00:58:32.451Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:32.799Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:33.148Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:58:33.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T00:58:33.148Z] 1f11b914d6bf: Preparing [2023-11-08T00:58:33.148Z] 97f5e82e6660: Preparing [2023-11-08T00:58:33.148Z] b5d096a49108: Preparing [2023-11-08T00:58:33.148Z] b58382866b9e: Preparing [2023-11-08T00:58:33.148Z] 5f4d9fc4d98d: Preparing [2023-11-08T00:58:33.148Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T00:58:33.415Z] 97f5e82e6660: Pushed [2023-11-08T00:58:33.415Z] b5d096a49108: Pushed [2023-11-08T00:58:33.415Z] b58382866b9e: Pushed [2023-11-08T00:58:40.059Z] 1f11b914d6bf: Pushed [2023-11-08T00:58:40.059Z] 80fcd9e8c673b029d068a87f517db227d44531cc: digest: sha256:d4ef885453e25df917c6dbc994ff1f52486dfc193ab8f0e3dc28b819f016a6fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:40.422Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:40.762Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-11-08T00:58:40.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T00:58:40.762Z] 1f11b914d6bf: Preparing [2023-11-08T00:58:40.762Z] 97f5e82e6660: Preparing [2023-11-08T00:58:40.762Z] b5d096a49108: Preparing [2023-11-08T00:58:40.762Z] b58382866b9e: Preparing [2023-11-08T00:58:40.762Z] 5f4d9fc4d98d: Preparing [2023-11-08T00:58:40.762Z] 97f5e82e6660: Layer already exists [2023-11-08T00:58:40.762Z] b58382866b9e: Layer already exists [2023-11-08T00:58:40.762Z] b5d096a49108: Layer already exists [2023-11-08T00:58:40.762Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T00:58:40.762Z] 1f11b914d6bf: Layer already exists [2023-11-08T00:58:41.030Z] latest: digest: sha256:d4ef885453e25df917c6dbc994ff1f52486dfc193ab8f0e3dc28b819f016a6fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:41.409Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:41.768Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.28 [2023-11-08T00:58:41.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T00:58:41.768Z] 1f11b914d6bf: Preparing [2023-11-08T00:58:41.768Z] 97f5e82e6660: Preparing [2023-11-08T00:58:41.768Z] b5d096a49108: Preparing [2023-11-08T00:58:41.768Z] b58382866b9e: Preparing [2023-11-08T00:58:41.768Z] 5f4d9fc4d98d: Preparing [2023-11-08T00:58:41.768Z] 1f11b914d6bf: Layer already exists [2023-11-08T00:58:41.768Z] 97f5e82e6660: Layer already exists [2023-11-08T00:58:41.768Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T00:58:41.768Z] b58382866b9e: Layer already exists [2023-11-08T00:58:41.768Z] b5d096a49108: Layer already exists [2023-11-08T00:58:42.035Z] 3.1.0-dev.28: digest: sha256:d4ef885453e25df917c6dbc994ff1f52486dfc193ab8f0e3dc28b819f016a6fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:42.382Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:42.724Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:58:42.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T00:58:42.724Z] 1f11b914d6bf: Preparing [2023-11-08T00:58:42.724Z] 97f5e82e6660: Preparing [2023-11-08T00:58:42.724Z] b5d096a49108: Preparing [2023-11-08T00:58:42.724Z] b58382866b9e: Preparing [2023-11-08T00:58:42.724Z] 5f4d9fc4d98d: Preparing [2023-11-08T00:58:42.724Z] 97f5e82e6660: Layer already exists [2023-11-08T00:58:42.724Z] b5d096a49108: Layer already exists [2023-11-08T00:58:42.724Z] 1f11b914d6bf: Layer already exists [2023-11-08T00:58:42.724Z] b58382866b9e: Layer already exists [2023-11-08T00:58:42.724Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T00:58:42.724Z] 80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28: digest: sha256:d4ef885453e25df917c6dbc994ff1f52486dfc193ab8f0e3dc28b819f016a6fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:43.350Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:43.698Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-11-08T00:58:43.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T00:58:43.698Z] 1f11b914d6bf: Preparing [2023-11-08T00:58:43.698Z] 97f5e82e6660: Preparing [2023-11-08T00:58:43.698Z] b5d096a49108: Preparing [2023-11-08T00:58:43.698Z] b58382866b9e: Preparing [2023-11-08T00:58:43.698Z] 5f4d9fc4d98d: Preparing [2023-11-08T00:58:43.698Z] 1f11b914d6bf: Layer already exists [2023-11-08T00:58:43.698Z] b58382866b9e: Layer already exists [2023-11-08T00:58:43.698Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T00:58:43.698Z] b5d096a49108: Layer already exists [2023-11-08T00:58:43.698Z] 97f5e82e6660: Layer already exists [2023-11-08T00:58:43.965Z] main: digest: sha256:d4ef885453e25df917c6dbc994ff1f52486dfc193ab8f0e3dc28b819f016a6fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T00:58:44.014Z] ===================================================== [Pipeline] echo [2023-11-08T00:58:44.021Z] taggedImages: [2023-11-08T00:58:44.021Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc [2023-11-08T00:58:44.021Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-11-08T00:58:44.021Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.28 [2023-11-08T00:58:44.021Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:80fcd9e8c673b029d068a87f517db227d44531cc-3.1.0-dev.28 [2023-11-08T00:58:44.021Z] - 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-11-08T00:58:44.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T00:58:44.400Z] [2023-11-08T00:58:44.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:58:44.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T00:58:44.741Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T00:58:44.741Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T00:58:44.741Z] 04944245beec: Pulling fs layer [2023-11-08T00:58:44.741Z] 699f458cf7ca: Pulling fs layer [2023-11-08T00:58:44.741Z] 765212b225bb: Pulling fs layer [2023-11-08T00:58:44.741Z] f23df028b6ca: Pulling fs layer [2023-11-08T00:58:44.741Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T00:58:44.741Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T00:58:44.741Z] 765212b225bb: Waiting [2023-11-08T00:58:44.741Z] f23df028b6ca: Waiting [2023-11-08T00:58:44.741Z] d65c8cfc05b1: Waiting [2023-11-08T00:58:44.741Z] 2437ff75d9bd: Waiting [2023-11-08T00:58:45.013Z] 04944245beec: Verifying Checksum [2023-11-08T00:58:45.013Z] 04944245beec: Download complete [2023-11-08T00:58:45.013Z] 765212b225bb: Verifying Checksum [2023-11-08T00:58:45.013Z] 765212b225bb: Download complete [2023-11-08T00:58:45.013Z] f23df028b6ca: Verifying Checksum [2023-11-08T00:58:45.013Z] f23df028b6ca: Download complete [2023-11-08T00:58:45.013Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T00:58:45.013Z] d65c8cfc05b1: Download complete [2023-11-08T00:58:45.283Z] 699f458cf7ca: Verifying Checksum [2023-11-08T00:58:45.284Z] 699f458cf7ca: Download complete [2023-11-08T00:58:45.553Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T00:58:45.553Z] 8998bd30e6a1: Download complete [2023-11-08T00:58:48.140Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T00:58:48.140Z] 2437ff75d9bd: Download complete [2023-11-08T00:58:50.086Z] 8998bd30e6a1: Pull complete [2023-11-08T00:58:50.354Z] 04944245beec: Pull complete [2023-11-08T00:58:52.304Z] 699f458cf7ca: Pull complete [2023-11-08T00:58:52.304Z] 765212b225bb: Pull complete [2023-11-08T00:58:53.263Z] f23df028b6ca: Pull complete [2023-11-08T00:58:53.263Z] d65c8cfc05b1: Pull complete [2023-11-08T00:59:11.472Z] 2437ff75d9bd: Pull complete [2023-11-08T00:59:11.472Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T00:59:11.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T00:59:11.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:59:11.671Z] prd-ubuntu20.04-docker-arm64-4c-16g-16941 does not seem to be running inside a container [2023-11-08T00:59:11.743Z] $ 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/154 -v /w/workspace/device-virtual-go/154:/w/workspace/device-virtual-go/154:rw,z -v /w/workspace/device-virtual-go/154@tmp:/w/workspace/device-virtual-go/154@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-11-08T00:59:14.681Z] $ docker top c623661dc9dae3db071c531a4cab6c96b52bd3d40acc338a9e325e7664aa8d71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T00:59:15.551Z] ---> job-cost.sh [2023-11-08T00:59:15.552Z] lf-activate-venv: SKIPPING [2023-11-08T00:59:15.552Z] INFO: No Stack... [2023-11-08T00:59:18.887Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T00:59:19.154Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T00:59:19.800Z] + cat /w/workspace/device-virtual-go/154/archives/cost.csv [2023-11-08T00:59:19.800Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T00:59:19.838Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [2023-11-08T00:59:19.846Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] did not exist. Created. [2023-11-08T00:59:19.846Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T00:59:20.500Z] /w/workspace/device-virtual-go/154@tmp/durable-243d4d83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T00:59:21.162Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T00:59:21.185Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T00:59:21.240Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T00:59:21.252Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T00:59:21.269Z] $ docker stop --time=1 c623661dc9dae3db071c531a4cab6c96b52bd3d40acc338a9e325e7664aa8d71 [2023-11-08T00:59:22.802Z] $ docker rm -f --volumes c623661dc9dae3db071c531a4cab6c96b52bd3d40acc338a9e325e7664aa8d71 [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-11-08T00:59:23.150Z] provisioning config files... [2023-11-08T00:59:23.157Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11952466931238424552tmp [Pipeline] { [Pipeline] sh [2023-11-08T00:59:23.448Z] + set +x [2023-11-08T00:59:23.448Z] + curl -s https://codecov.io/bash [2023-11-08T00:59:23.448Z] + bash -s -- [2023-11-08T00:59:23.448Z] [2023-11-08T00:59:23.448Z] _____ _ [2023-11-08T00:59:23.448Z] / ____| | | [2023-11-08T00:59:23.448Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T00:59:23.448Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T00:59:23.448Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T00:59:23.448Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T00:59:23.448Z] Bash-1.0.6 [2023-11-08T00:59:23.448Z] [2023-11-08T00:59:23.448Z] [2023-11-08T00:59:23.448Z] ==> git version 2.25.1 found [2023-11-08T00:59:23.448Z] ==> 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-11-08T00:59:23.448Z] Release-Date: 2020-01-08 [2023-11-08T00:59:23.448Z] 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-11-08T00:59:23.448Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T00:59:23.448Z] ==> Jenkins CI detected. [2023-11-08T00:59:23.448Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-11-08T00:59:23.448Z] project root: . [2023-11-08T00:59:23.448Z] --> token set from env [2023-11-08T00:59:23.448Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T00:59:23.448Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T00:59:23.448Z] ==> Python coveragepy not found [2023-11-08T00:59:23.448Z] ==> Searching for coverage reports in: [2023-11-08T00:59:23.448Z] + . [2023-11-08T00:59:23.448Z] -> Found 1 reports [2023-11-08T00:59:23.448Z] ==> Detecting git/mercurial file structure [2023-11-08T00:59:23.448Z] ==> Reading reports [2023-11-08T00:59:23.448Z] + ./coverage.out bytes=43063 [2023-11-08T00:59:23.708Z] ==> Appending adjustments [2023-11-08T00:59:23.708Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T00:59:23.708Z] + Found adjustments [2023-11-08T00:59:23.708Z] ==> Gzipping contents [2023-11-08T00:59:23.708Z] 8.0K /tmp/codecov.K9PnwG.gz [2023-11-08T00:59:23.708Z] ==> Uploading reports [2023-11-08T00:59:23.708Z] url: https://codecov.io [2023-11-08T00:59:23.708Z] query: branch=main&commit=80fcd9e8c673b029d068a87f517db227d44531cc&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T00:59:23.708Z] -> Pinging Codecov [2023-11-08T00:59:23.708Z] 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=80fcd9e8c673b029d068a87f517db227d44531cc&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T00:59:23.967Z] -> Uploading to [2023-11-08T00:59:23.967Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/5E52B4B073DB2E39498172D8E973AA87/80fcd9e8c673b029d068a87f517db227d44531cc/902651f5-6f14-4f89-b82a-dada1be5f317.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T005923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61c484cd87b5885992185e29832d084b0df6c41109b36e642789af580bbe50f3 [2023-11-08T00:59:23.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T00:59:23.967Z] Dload Upload Total Spent Left Speed [2023-11-08T00:59:23.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22115 --:--:-- --:--:-- --:--:-- 22213 [2023-11-08T00:59:23.967Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] } [2023-11-08T00:59:23.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-08T00:59:24.126Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-08T00:59:24.141Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:59:24.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T00:59:24.441Z] [2023-11-08T00:59:24.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:59:24.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T00:59:24.751Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-08T00:59:24.751Z] df9b9388f04a: Pulling fs layer [2023-11-08T00:59:24.751Z] 52dc419b0ee2: Pulling fs layer [2023-11-08T00:59:24.751Z] 25bc292e5bac: Pulling fs layer [2023-11-08T00:59:24.751Z] 114826534d7a: Pulling fs layer [2023-11-08T00:59:24.751Z] 4657fd5d0bcf: Pulling fs layer [2023-11-08T00:59:24.751Z] 6ad1cebc031e: Pulling fs layer [2023-11-08T00:59:24.751Z] 8a3aa393b2d8: Pulling fs layer [2023-11-08T00:59:24.751Z] 4657fd5d0bcf: Waiting [2023-11-08T00:59:24.751Z] 6ad1cebc031e: Waiting [2023-11-08T00:59:24.751Z] 8a3aa393b2d8: Waiting [2023-11-08T00:59:24.751Z] 114826534d7a: Waiting [2023-11-08T00:59:24.751Z] 25bc292e5bac: Verifying Checksum [2023-11-08T00:59:24.751Z] 25bc292e5bac: Download complete [2023-11-08T00:59:24.751Z] 52dc419b0ee2: Verifying Checksum [2023-11-08T00:59:24.751Z] 52dc419b0ee2: Download complete [2023-11-08T00:59:24.751Z] 4657fd5d0bcf: Verifying Checksum [2023-11-08T00:59:24.751Z] 4657fd5d0bcf: Download complete [2023-11-08T00:59:24.751Z] df9b9388f04a: Verifying Checksum [2023-11-08T00:59:25.019Z] df9b9388f04a: Pull complete [2023-11-08T00:59:25.019Z] 6ad1cebc031e: Verifying Checksum [2023-11-08T00:59:25.019Z] 6ad1cebc031e: Download complete [2023-11-08T00:59:25.280Z] 52dc419b0ee2: Pull complete [2023-11-08T00:59:25.280Z] 25bc292e5bac: Pull complete [2023-11-08T00:59:25.850Z] 114826534d7a: Verifying Checksum [2023-11-08T00:59:25.850Z] 114826534d7a: Download complete [2023-11-08T00:59:25.850Z] 8a3aa393b2d8: Verifying Checksum [2023-11-08T00:59:25.850Z] 8a3aa393b2d8: Download complete [2023-11-08T00:59:30.035Z] 114826534d7a: Pull complete [2023-11-08T00:59:30.035Z] 4657fd5d0bcf: Pull complete [2023-11-08T00:59:30.035Z] 6ad1cebc031e: Pull complete [2023-11-08T00:59:33.315Z] 8a3aa393b2d8: Pull complete [2023-11-08T00:59:33.315Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-08T00:59:33.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T00:59:33.315Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:59:33.394Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:59:33.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-08T00:59:42.175Z] $ docker top 0bb141ca9a97a56a42efc3b96599008ca15fa738ae78384333b6c0009aaf3301 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-08T00:59:42.239Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-11-08T00:59:42.515Z] + set -o pipefail [2023-11-08T00:59:42.515Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-11-08T00:59:47.783Z] [2023-11-08T00:59:47.783Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-11-08T00:59:47.783Z] [2023-11-08T00:59:47.783Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/628db716-c0cb-4912-a3b9-f118762de5e0 [2023-11-08T00:59:47.783Z] [2023-11-08T00:59:47.783Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-08T00:59:47.783Z] [2023-11-08T00:59:47.783Z] [2023-11-08T00:59:47.783Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-08T00:59:47.783Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-08T00:59:47.783Z] More details here: https://snyk.co/ue1NS [2023-11-08T00:59:47.783Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-08T00:59:47.783Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-08T00:59:47.796Z] $ docker stop --time=1 0bb141ca9a97a56a42efc3b96599008ca15fa738ae78384333b6c0009aaf3301 [2023-11-08T00:59:53.366Z] $ docker rm -f --volumes 0bb141ca9a97a56a42efc3b96599008ca15fa738ae78384333b6c0009aaf3301 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T00:59:54.088Z] + git log --format=format:%s -1 80fcd9e8c673b029d068a87f517db227d44531cc [Pipeline] sh [2023-11-08T00:59:54.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T00:59:54.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:59:54.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T00:59:54.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T00:59:54.750Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T00:59:54.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T00:59:55.266Z] $ docker top 24c8a10dc2a2c88e2b246260894f0ac9a21207fbce2aee00e7695e91a6e39d66 -eo pid,comm [2023-11-08T00:59:55.311Z] 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-11-08T00:59:55.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T00:59:55.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T00:59:55.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T00:59:55.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T00:59:55.478Z] $ docker exec 24c8a10dc2a2c88e2b246260894f0ac9a21207fbce2aee00e7695e91a6e39d66 ssh-agent [2023-11-08T00:59:55.581Z] SSH_AUTH_SOCK=/tmp/ssh-mTaEt7B4fxye/agent.32 [2023-11-08T00:59:55.581Z] SSH_AGENT_PID=38 [2023-11-08T00:59:55.585Z] Running ssh-add (command line suppressed) [2023-11-08T00:59:55.695Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3435482673756315386.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3435482673756315386.key) [2023-11-08T00:59:55.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T00:59:56.013Z] + git semver tag [2023-11-08T00:59:56.270Z] 2023-11-08 00:59:56,234 [run_tag] DEBUG tag force:False [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,235 [check_head_tag] DEBUG check head tag [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,235 [execute] INFO git cat-file --batch-check [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,240 [execute] INFO git cat-file --batch [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,258 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,259 [execute] INFO git tag -a v3.1.0-dev.28 -m v3.1.0-dev.28 [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.28', '-m', 'v3.1.0-dev.28'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T00:59:56.271Z] 2023-11-08 00:59:56,264 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T00:59:56.271Z] 3.1.0-dev.28 [Pipeline] } [2023-11-08T00:59:56.540Z] $ docker exec --env ******** --env ******** 24c8a10dc2a2c88e2b246260894f0ac9a21207fbce2aee00e7695e91a6e39d66 ssh-agent -k [2023-11-08T00:59:56.643Z] unset SSH_AUTH_SOCK; [2023-11-08T00:59:56.643Z] unset SSH_AGENT_PID; [2023-11-08T00:59:56.643Z] echo Agent pid 38 killed; [2023-11-08T00:59:56.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T00:59:56.969Z] + git semver [Pipeline] } [2023-11-08T00:59:57.241Z] $ docker stop --time=1 24c8a10dc2a2c88e2b246260894f0ac9a21207fbce2aee00e7695e91a6e39d66 [2023-11-08T00:59:58.563Z] $ docker rm -f --volumes 24c8a10dc2a2c88e2b246260894f0ac9a21207fbce2aee00e7695e91a6e39d66 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:59:58.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T00:59:58.938Z] [2023-11-08T00:59:58.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T00:59:59.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T00:59:59.234Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-08T00:59:59.234Z] ab5ef0e58194: Pulling fs layer [2023-11-08T00:59:59.234Z] 9712f1f96733: Pulling fs layer [2023-11-08T00:59:59.234Z] 63f879dbbcfc: Pulling fs layer [2023-11-08T00:59:59.234Z] 0d9ebad4ef96: Pulling fs layer [2023-11-08T00:59:59.234Z] e9a5061849ea: Pulling fs layer [2023-11-08T00:59:59.234Z] d747dcd14b5f: Pulling fs layer [2023-11-08T00:59:59.234Z] 2de7ff778b66: Pulling fs layer [2023-11-08T00:59:59.234Z] e9a5061849ea: Waiting [2023-11-08T00:59:59.234Z] d747dcd14b5f: Waiting [2023-11-08T00:59:59.234Z] 2de7ff778b66: Waiting [2023-11-08T00:59:59.234Z] 0d9ebad4ef96: Waiting [2023-11-08T00:59:59.234Z] 9712f1f96733: Verifying Checksum [2023-11-08T00:59:59.234Z] 9712f1f96733: Download complete [2023-11-08T00:59:59.804Z] 63f879dbbcfc: Verifying Checksum [2023-11-08T00:59:59.804Z] 63f879dbbcfc: Download complete [2023-11-08T00:59:59.804Z] e9a5061849ea: Verifying Checksum [2023-11-08T00:59:59.804Z] e9a5061849ea: Download complete [2023-11-08T00:59:59.804Z] d747dcd14b5f: Verifying Checksum [2023-11-08T00:59:59.804Z] d747dcd14b5f: Download complete [2023-11-08T01:00:00.063Z] ab5ef0e58194: Verifying Checksum [2023-11-08T01:00:00.063Z] ab5ef0e58194: Download complete [2023-11-08T01:00:00.063Z] 2de7ff778b66: Verifying Checksum [2023-11-08T01:00:00.063Z] 2de7ff778b66: Download complete [2023-11-08T01:00:00.063Z] 0d9ebad4ef96: Verifying Checksum [2023-11-08T01:00:00.063Z] 0d9ebad4ef96: Download complete [2023-11-08T01:00:03.362Z] ab5ef0e58194: Pull complete [2023-11-08T01:00:03.362Z] 9712f1f96733: Pull complete [2023-11-08T01:00:03.958Z] 63f879dbbcfc: Pull complete [2023-11-08T01:00:08.160Z] 0d9ebad4ef96: Pull complete [2023-11-08T01:00:08.160Z] e9a5061849ea: Pull complete [2023-11-08T01:00:08.160Z] d747dcd14b5f: Pull complete [2023-11-08T01:00:09.536Z] 2de7ff778b66: Pull complete [2023-11-08T01:00:09.536Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-08T01:00:09.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T01:00:09.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T01:00:09.612Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T01:00:09.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-08T01:00:18.376Z] $ docker top d9f1effd6a9e80773a7c7a1cb8f6eaee4b22ab711dec727378150a8c8c2e7099 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-08T01:00:18.455Z] provisioning config files... [2023-11-08T01:00:18.460Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5710472033439740724tmp [2023-11-08T01:00:18.470Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15924915911863438529tmp [2023-11-08T01:00:18.476Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17816894094831297955tmp [Pipeline] { [Pipeline] echo [2023-11-08T01:00:18.490Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:18.769Z] ---> sigul-configuration.sh [2023-11-08T01:00:18.770Z] gpg: directory `/root/.gnupg' created [2023-11-08T01:00:18.770Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-08T01:00:18.770Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-08T01:00:18.770Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-08T01:00:18.770Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-08T01:00:18.770Z] gpg: CAST5 encrypted data [2023-11-08T01:00:18.770Z] gpg: encrypted with 1 passphrase [2023-11-08T01:00:18.770Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-08T01:00:19.061Z] + mkdir /home/jenkins [2023-11-08T01:00:19.061Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-08T01:00:19.344Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-08T01:00:19.352Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:19.634Z] ---> sigul-install.sh [2023-11-08T01:00:19.634Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-08T01:00:19.920Z] + git tag --list [2023-11-08T01:00:19.920Z] v1.0.0 [2023-11-08T01:00:19.920Z] v1.1.0 [2023-11-08T01:00:19.920Z] v1.1.1 [2023-11-08T01:00:19.920Z] v1.2.1 [2023-11-08T01:00:19.920Z] v1.2.2 [2023-11-08T01:00:19.920Z] v1.2.3 [2023-11-08T01:00:19.920Z] v1.3.0 [2023-11-08T01:00:19.920Z] v1.3.1 [2023-11-08T01:00:19.920Z] v2.0.0 [2023-11-08T01:00:19.920Z] v2.1.0 [2023-11-08T01:00:19.920Z] v2.1.1 [2023-11-08T01:00:19.920Z] v2.2.0 [2023-11-08T01:00:19.920Z] v2.3.0 [2023-11-08T01:00:19.920Z] v3.0 [2023-11-08T01:00:19.920Z] v3.0.0 [2023-11-08T01:00:19.920Z] v3.1.0-dev.1 [2023-11-08T01:00:19.920Z] v3.1.0-dev.10 [2023-11-08T01:00:19.920Z] v3.1.0-dev.11 [2023-11-08T01:00:19.920Z] v3.1.0-dev.12 [2023-11-08T01:00:19.920Z] v3.1.0-dev.13 [2023-11-08T01:00:19.920Z] v3.1.0-dev.14 [2023-11-08T01:00:19.920Z] v3.1.0-dev.15 [2023-11-08T01:00:19.920Z] v3.1.0-dev.16 [2023-11-08T01:00:19.920Z] v3.1.0-dev.17 [2023-11-08T01:00:19.920Z] v3.1.0-dev.18 [2023-11-08T01:00:19.920Z] v3.1.0-dev.19 [2023-11-08T01:00:19.920Z] v3.1.0-dev.2 [2023-11-08T01:00:19.920Z] v3.1.0-dev.20 [2023-11-08T01:00:19.920Z] v3.1.0-dev.21 [2023-11-08T01:00:19.920Z] v3.1.0-dev.22 [2023-11-08T01:00:19.920Z] v3.1.0-dev.23 [2023-11-08T01:00:19.920Z] v3.1.0-dev.24 [2023-11-08T01:00:19.920Z] v3.1.0-dev.25 [2023-11-08T01:00:19.920Z] v3.1.0-dev.26 [2023-11-08T01:00:19.920Z] v3.1.0-dev.27 [2023-11-08T01:00:19.920Z] v3.1.0-dev.28 [2023-11-08T01:00:19.920Z] v3.1.0-dev.3 [2023-11-08T01:00:19.920Z] v3.1.0-dev.4 [2023-11-08T01:00:19.920Z] v3.1.0-dev.5 [2023-11-08T01:00:19.920Z] v3.1.0-dev.6 [2023-11-08T01:00:19.920Z] v3.1.0-dev.7 [2023-11-08T01:00:19.920Z] v3.1.0-dev.8 [2023-11-08T01:00:19.920Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-08T01:00:20.328Z] + lftools sign git-tag v3.1.0-dev.28 [2023-11-08T01:00:20.922Z] Signing Git tag with Sigul... [2023-11-08T01:00:20.922Z] Signing v3.1.0-dev.28 [Pipeline] echo [2023-11-08T01:00:21.191Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:21.480Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-08T01:00:21.488Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-08T01:00:21.510Z] $ docker stop --time=1 d9f1effd6a9e80773a7c7a1cb8f6eaee4b22ab711dec727378150a8c8c2e7099 [2023-11-08T01:00:23.306Z] $ docker rm -f --volumes d9f1effd6a9e80773a7c7a1cb8f6eaee4b22ab711dec727378150a8c8c2e7099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-08T01:00:23.733Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T01:00:23.734Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T01:00:24.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T01:00:24.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T01:00:24.119Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T01:00:24.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T01:00:24.606Z] $ docker top 479ed91f0dd139d8c34487e845b16ecc869351ff26d4959bd7051600861c8274 -eo pid,comm [2023-11-08T01:00:24.656Z] 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-11-08T01:00:24.656Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T01:00:24.695Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T01:00:24.695Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T01:00:24.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T01:00:24.820Z] $ docker exec 479ed91f0dd139d8c34487e845b16ecc869351ff26d4959bd7051600861c8274 ssh-agent [2023-11-08T01:00:24.928Z] SSH_AUTH_SOCK=/tmp/ssh-71qOXw2xw8Hk/agent.32 [2023-11-08T01:00:24.928Z] SSH_AGENT_PID=38 [2023-11-08T01:00:24.932Z] Running ssh-add (command line suppressed) [2023-11-08T01:00:25.035Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9742029673798994681.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9742029673798994681.key) [2023-11-08T01:00:25.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T01:00:25.341Z] + git semver bump pre [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,624 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,624 [bump_version] DEBUG bumping version:3.1.0-dev.28 on axis:pre with prefix:dev [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,625 [bump_version] DEBUG bumped version:3.1.0-dev.29 [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,625 [write_version] DEBUG write version:3.1.0-dev.29 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,625 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T01:00:25.624Z] 2023-11-08 01:00:25,625 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T01:00:25.883Z] 2023-11-08 01:00:25,629 [execute] INFO git cat-file --batch-check [2023-11-08T01:00:25.883Z] 2023-11-08 01:00:25,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T01:00:25.883Z] 2023-11-08 01:00:25,636 [execute] INFO git cat-file --batch [2023-11-08T01:00:25.883Z] 2023-11-08 01:00:25,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T01:00:25.883Z] 2023-11-08 01:00:25,642 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T01:00:25.883Z] 3.1.0-dev.29 [Pipeline] } [2023-11-08T01:00:25.894Z] $ docker exec --env ******** --env ******** 479ed91f0dd139d8c34487e845b16ecc869351ff26d4959bd7051600861c8274 ssh-agent -k [2023-11-08T01:00:25.997Z] unset SSH_AUTH_SOCK; [2023-11-08T01:00:25.998Z] unset SSH_AGENT_PID; [2023-11-08T01:00:25.998Z] echo Agent pid 38 killed; [2023-11-08T01:00:26.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T01:00:26.316Z] + git semver [Pipeline] } [2023-11-08T01:00:26.589Z] $ docker stop --time=1 479ed91f0dd139d8c34487e845b16ecc869351ff26d4959bd7051600861c8274 [2023-11-08T01:00:28.749Z] $ docker rm -f --volumes 479ed91f0dd139d8c34487e845b16ecc869351ff26d4959bd7051600861c8274 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T01:00:29.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T01:00:29.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T01:00:29.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T01:00:29.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T01:00:29.503Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T01:00:29.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T01:00:29.927Z] $ docker top b592765c9762bf79c7f223f60b46665f39fbc9ff123521c647fffc04f940f4a2 -eo pid,comm [2023-11-08T01:00:29.975Z] 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-11-08T01:00:29.975Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T01:00:30.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T01:00:30.017Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T01:00:30.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T01:00:30.121Z] $ docker exec b592765c9762bf79c7f223f60b46665f39fbc9ff123521c647fffc04f940f4a2 ssh-agent [2023-11-08T01:00:30.223Z] SSH_AUTH_SOCK=/tmp/ssh-9xj3dpyCeGsz/agent.32 [2023-11-08T01:00:30.223Z] SSH_AGENT_PID=38 [2023-11-08T01:00:30.228Z] Running ssh-add (command line suppressed) [2023-11-08T01:00:30.337Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9973654462361714651.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9973654462361714651.key) [2023-11-08T01:00:30.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T01:00:30.638Z] + git semver push [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,918 [run_push] DEBUG push [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,919 [execute] INFO git cat-file --batch-check [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,924 [execute] INFO git rev-list 17bed91dee8a1f32ae4dbda556c84cc77a0a9726 -- [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,925 [execute] DEBUG Popen(['git', 'rev-list', '17bed91dee8a1f32ae4dbda556c84cc77a0a9726', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,931 [execute] INFO git fetch -v origin [2023-11-08T01:00:31.207Z] 2023-11-08 01:00:30,932 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-08T01:00:31.777Z] 2023-11-08 01:00:31,527 [run_push] DEBUG no remote changes detected [2023-11-08T01:00:31.777Z] 2023-11-08 01:00:31,527 [execute] INFO git push origin semver [2023-11-08T01:00:31.777Z] 2023-11-08 01:00:31,528 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T01:00:32.346Z] 2023-11-08 01:00:32,316 [run_push] DEBUG push all version tags [2023-11-08T01:00:32.346Z] 2023-11-08 01:00:32,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-08T01:00:32.346Z] 2023-11-08 01:00:32,318 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T01:00:33.289Z] 2023-11-08 01:00:33,064 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T01:00:33.289Z] 3.1.0-dev.29 [Pipeline] } [2023-11-08T01:00:33.301Z] $ docker exec --env ******** --env ******** b592765c9762bf79c7f223f60b46665f39fbc9ff123521c647fffc04f940f4a2 ssh-agent -k [2023-11-08T01:00:33.403Z] unset SSH_AUTH_SOCK; [2023-11-08T01:00:33.404Z] unset SSH_AGENT_PID; [2023-11-08T01:00:33.404Z] echo Agent pid 38 killed; [2023-11-08T01:00:33.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T01:00:33.730Z] + git semver [Pipeline] } [2023-11-08T01:00:34.006Z] $ docker stop --time=1 b592765c9762bf79c7f223f60b46665f39fbc9ff123521c647fffc04f940f4a2 [2023-11-08T01:00:35.589Z] $ docker rm -f --volumes b592765c9762bf79c7f223f60b46665f39fbc9ff123521c647fffc04f940f4a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-08T01:00:36.121Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-11-08T01:00:36.121Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T01:00:36.121Z] total 16 [2023-11-08T01:00:36.121Z] drwxr-xr-x 3 root root 4096 Nov 8 00:48 . [2023-11-08T01:00:36.121Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 01:00 .. [2023-11-08T01:00:36.121Z] drwxr-xr-x 2 root root 4096 Nov 8 00:48 cost [2023-11-08T01:00:36.121Z] -rw-r--r-- 1 root root 89 Nov 8 00:48 cost.csv [2023-11-08T01:00:36.121Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T01:00:36.121Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T01:00:36.121Z] total 16 [2023-11-08T01:00:36.121Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:48 . [2023-11-08T01:00:36.121Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 01:00 .. [2023-11-08T01:00:36.121Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 00:48 cost [2023-11-08T01:00:36.121Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 8 00:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:36.405Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:37.266Z] ---> package-listing.sh [2023-11-08T01:00:37.266Z] ++ facter osfamily [2023-11-08T01:00:37.266Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T01:00:37.526Z] + OS_FAMILY=debian [2023-11-08T01:00:37.526Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-11-08T01:00:37.526Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T01:00:37.526Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T01:00:37.526Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T01:00:37.526Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T01:00:37.526Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-11-08T01:00:37.526Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T01:00:37.526Z] + case "${OS_FAMILY}" in [2023-11-08T01:00:37.526Z] + dpkg -l [2023-11-08T01:00:37.526Z] + grep '^ii' [2023-11-08T01:00:37.526Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T01:00:37.526Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T01:00:37.526Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T01:00:37.526Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-11-08T01:00:37.526Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-11-08T01:00:37.526Z] + 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-11-08T01:00:37.537Z] 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-11-08T01:00:37.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T01:00:38.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T01:00:38.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T01:00:38.461Z] prd-ubuntu20.04-docker-8c-8g-16937 does not seem to be running inside a container [2023-11-08T01:00:38.492Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T01:00:40.068Z] $ docker top dd351dc67d01362c978e2eb65b2b69f77ca1314c0059daf7614f0ecd087c4b4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T01:00:40.415Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T01:00:40.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T01:00:40.995Z] + ls /var/log/sa-host [2023-11-08T01:00:40.995Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T01:00:41.070Z] provisioning config files... [2023-11-08T01:00:41.078Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1536762564812088100tmp [Pipeline] { [Pipeline] echo [2023-11-08T01:00:41.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:41.374Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T01:00:41.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:41.722Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T01:00:41.731Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:42.013Z] ---> sudo-logs.sh [2023-11-08T01:00:42.013Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T01:00:42.041Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:42.328Z] ---> job-cost.sh [2023-11-08T01:00:42.328Z] lf-activate-venv: SKIPPING [2023-11-08T01:00:42.328Z] DEBUG: total: 0.2199999988079071 [2023-11-08T01:00:42.328Z] INFO: Retrieving Stack Cost... [2023-11-08T01:00:42.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T01:00:43.156Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T01:00:43.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T01:00:43.450Z] ---> logs-deploy.sh [2023-11-08T01:00:43.450Z] lf-activate-venv: SKIPPING [2023-11-08T01:00:43.450Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/154 [2023-11-08T01:00:43.450Z] INFO: archiving workspace using pattern(s): [2023-11-08T01:00:44.387Z] Archives upload complete. [2023-11-08T01:00:44.387Z] INFO: archiving logs to Nexus