Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e7277aeb6c2165bba0097e742148e8cd729522a 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-ssh5957477141849936341.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5056731444193768120.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15621978630124802008.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6050301807761536942.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-ssh11304026268368779477.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5795 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 3e7277aeb6c2165bba0097e742148e8cd729522a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 Commit message: "Merge pull request #426 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > git rev-list --no-walk ed857253c333b25bd607939277ad976310c7a90d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T11:25:33.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T11:25:33.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T11:25:33.683Z] ========================================================= [2023-09-11T11:25:33.683Z] EdgeX Global Pipelines Version Info [2023-09-11T11:25:33.683Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:25:34.397Z] ------------------- [2023-09-11T11:25:34.397Z] stable info: [2023-09-11T11:25:34.397Z] ------------------- [2023-09-11T11:25:34.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T11:25:34.397Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T11:25:34.397Z] Message: update stable to v1.0.253 [2023-09-11T11:25:34.971Z] ------------------- [2023-09-11T11:25:34.971Z] experimental info: [2023-09-11T11:25:34.971Z] ------------------- [2023-09-11T11:25:34.971Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T11:25:34.971Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T11:25:34.971Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T11:25:35.168Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-11T11:25:35.177Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-11T11:25:35.185Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T11:25:35.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T11:25:35.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T11:25:35.224Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T11:25:35.239Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T11:25:35.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T11:25:35.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T11:25:35.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T11:25:35.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T11:25:35.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-11T11:25:35.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T11:25:35.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T11:25:35.338Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T11:25:35.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T11:25:35.366Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T11:25:35.386Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T11:25:35.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T11:25:35.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T11:25:35.433Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T11:25:35.445Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T11:25:35.461Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T11:25:35.480Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T11:25:35.501Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T11:25:35.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T11:25:35.537Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T11:25:35.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T11:25:35.563Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T11:25:35.583Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T11:25:35.599Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] echo [2023-09-11T11:25:35.610Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e7277a [Pipeline] echo [2023-09-11T11:25:35.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T11:25:35.668Z] provisioning config files... [2023-09-11T11:25:35.681Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config808496450070932807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:25:35.982Z] ---> docker-login.sh [2023-09-11T11:25:35.982Z] nexus3.edgexfoundry.org:10001 [2023-09-11T11:25:36.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:36.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:36.242Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:36.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:36.242Z] [2023-09-11T11:25:36.242Z] Login Succeeded [2023-09-11T11:25:36.242Z] nexus3.edgexfoundry.org:10002 [2023-09-11T11:25:36.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:36.503Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:36.503Z] [2023-09-11T11:25:36.503Z] Login Succeeded [2023-09-11T11:25:36.503Z] nexus3.edgexfoundry.org:10003 [2023-09-11T11:25:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:36.503Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:36.503Z] [2023-09-11T11:25:36.503Z] Login Succeeded [2023-09-11T11:25:36.503Z] nexus3.edgexfoundry.org:10004 [2023-09-11T11:25:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:36.503Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:36.503Z] [2023-09-11T11:25:36.503Z] Login Succeeded [2023-09-11T11:25:36.503Z] docker.io [2023-09-11T11:25:36.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:37.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:37.024Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:37.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:37.024Z] [2023-09-11T11:25:37.024Z] Login Succeeded [2023-09-11T11:25:37.024Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T11:25:37.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T11:25:37.412Z] + git rev-list -1 --merges 3e7277aeb6c2165bba0097e742148e8cd729522a~1..3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] echo [2023-09-11T11:25:37.464Z] -----------> git rev-list -1 --merges 3e7277aeb6c2165bba0097e742148e8cd729522a~1..3e7277aeb6c2165bba0097e742148e8cd729522a 3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:25:37.464Z] 3e7277aeb6c2165bba0097e742148e8cd729522a [false] [Pipeline] sh [2023-09-11T11:25:37.756Z] + git log --format=format:%s -1 3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] echo [2023-09-11T11:25:37.771Z] ========================================================= [2023-09-11T11:25:37.771Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T11:25:37.771Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T11:25:38.089Z] + git log --format=format:%s -1 3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] echo [2023-09-11T11:25:38.100Z] [semverPrep] GIT_COMMIT: 3e7277aeb6c2165bba0097e742148e8cd729522a, Commit Message: Merge pull request #426 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo [2023-09-11T11:25:38.108Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T11:25:38.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T11:25:38.477Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T11:25:38.477Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T11:25:38.477Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T11:25:38.477Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-09-11T11:25:38.477Z] /etc/ssh/ssh_known_hosts [2023-09-11T11:25:38.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:25:38.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:25:38.825Z] [2023-09-11T11:25:38.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:25:39.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:25:39.134Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T11:25:39.134Z] b85a868b505f: Pulling fs layer [2023-09-11T11:25:39.134Z] e2be974225ed: Pulling fs layer [2023-09-11T11:25:39.134Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T11:25:39.134Z] 988bab9f4d93: Pulling fs layer [2023-09-11T11:25:39.134Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T11:25:39.134Z] eaf3925da568: Pulling fs layer [2023-09-11T11:25:39.134Z] bab4dde63d76: Pulling fs layer [2023-09-11T11:25:39.134Z] bde34c3a00c8: Pulling fs layer [2023-09-11T11:25:39.134Z] b352a97aabf1: Pulling fs layer [2023-09-11T11:25:39.134Z] 4872d77fe225: Pulling fs layer [2023-09-11T11:25:39.134Z] 5851b861e8e6: Pulling fs layer [2023-09-11T11:25:39.134Z] eaf3925da568: Waiting [2023-09-11T11:25:39.134Z] bab4dde63d76: Waiting [2023-09-11T11:25:39.134Z] bde34c3a00c8: Waiting [2023-09-11T11:25:39.134Z] b352a97aabf1: Waiting [2023-09-11T11:25:39.134Z] 988bab9f4d93: Waiting [2023-09-11T11:25:39.134Z] 5851b861e8e6: Waiting [2023-09-11T11:25:39.134Z] 1469e6f7b9e6: Waiting [2023-09-11T11:25:39.134Z] 4872d77fe225: Waiting [2023-09-11T11:25:39.134Z] e2be974225ed: Verifying Checksum [2023-09-11T11:25:39.134Z] e2be974225ed: Download complete [2023-09-11T11:25:39.134Z] 988bab9f4d93: Verifying Checksum [2023-09-11T11:25:39.134Z] 988bab9f4d93: Download complete [2023-09-11T11:25:39.394Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T11:25:39.394Z] 1469e6f7b9e6: Download complete [2023-09-11T11:25:39.394Z] eaf3925da568: Verifying Checksum [2023-09-11T11:25:39.394Z] eaf3925da568: Download complete [2023-09-11T11:25:39.394Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T11:25:39.394Z] 339a4e72a1f5: Download complete [2023-09-11T11:25:39.394Z] bde34c3a00c8: Download complete [2023-09-11T11:25:39.394Z] b352a97aabf1: Download complete [2023-09-11T11:25:39.394Z] 4872d77fe225: Verifying Checksum [2023-09-11T11:25:39.394Z] 4872d77fe225: Download complete [2023-09-11T11:25:39.394Z] 5851b861e8e6: Download complete [2023-09-11T11:25:39.394Z] b85a868b505f: Verifying Checksum [2023-09-11T11:25:39.394Z] b85a868b505f: Download complete [2023-09-11T11:25:39.653Z] bab4dde63d76: Verifying Checksum [2023-09-11T11:25:39.653Z] bab4dde63d76: Download complete [2023-09-11T11:25:41.030Z] b85a868b505f: Pull complete [2023-09-11T11:25:41.030Z] e2be974225ed: Pull complete [2023-09-11T11:25:41.290Z] 339a4e72a1f5: Pull complete [2023-09-11T11:25:41.550Z] 988bab9f4d93: Pull complete [2023-09-11T11:25:41.832Z] 1469e6f7b9e6: Pull complete [2023-09-11T11:25:41.832Z] eaf3925da568: Pull complete [2023-09-11T11:25:43.752Z] bab4dde63d76: Pull complete [2023-09-11T11:25:43.752Z] bde34c3a00c8: Pull complete [2023-09-11T11:25:44.011Z] b352a97aabf1: Pull complete [2023-09-11T11:25:44.011Z] 4872d77fe225: Pull complete [2023-09-11T11:25:44.011Z] 5851b861e8e6: Pull complete [2023-09-11T11:25:44.011Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T11:25:44.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:25:44.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:25:44.112Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:25:44.153Z] $ 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-09-11T11:25:46.409Z] $ docker top 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a -eo pid,comm [2023-09-11T11:25:46.461Z] 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-09-11T11:25:46.461Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T11:25:46.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T11:25:46.499Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T11:25:46.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T11:25:46.630Z] $ docker exec 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a ssh-agent [2023-09-11T11:25:46.746Z] SSH_AUTH_SOCK=/tmp/ssh-Iv4w0XAtwvIq/agent.32 [2023-09-11T11:25:46.746Z] SSH_AGENT_PID=38 [2023-09-11T11:25:46.753Z] Running ssh-add (command line suppressed) [2023-09-11T11:25:46.852Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2910612691833464332.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2910612691833464332.key) [2023-09-11T11:25:46.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T11:25:47.153Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T11:25:47.176Z] $ docker exec --env ******** --env ******** 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a ssh-agent -k [2023-09-11T11:25:47.275Z] unset SSH_AUTH_SOCK; [2023-09-11T11:25:47.275Z] unset SSH_AGENT_PID; [2023-09-11T11:25:47.277Z] echo Agent pid 38 killed; [2023-09-11T11:25:47.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T11:25:47.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T11:25:47.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T11:25:47.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T11:25:47.438Z] $ docker exec 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a ssh-agent [2023-09-11T11:25:47.545Z] SSH_AUTH_SOCK=/tmp/ssh-9kY2wK2vT9Ll/agent.70 [2023-09-11T11:25:47.545Z] SSH_AGENT_PID=76 [2023-09-11T11:25:47.550Z] Running ssh-add (command line suppressed) [2023-09-11T11:25:47.664Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8467003615332431396.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8467003615332431396.key) [2023-09-11T11:25:47.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T11:25:47.961Z] + git semver init [2023-09-11T11:25:48.220Z] 2023-09-11 11:25:48,170 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T11:25:48.220Z] 2023-09-11 11:25:48,171 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-11T11:25:48.220Z] 2023-09-11 11:25:48,171 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-11T11:25:48.220Z] 2023-09-11 11:25:48,171 [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-09-11T11:25:49.601Z] 2023-09-11 11:25:49,284 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-11T11:25:49.601Z] 2023-09-11 11:25:49,285 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-11T11:25:49.601Z] 2023-09-11 11:25:49,285 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:25:49.601Z] 2023-09-11 11:25:49,285 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:25:49.601Z] 3.1.0-dev.11 [Pipeline] } [2023-09-11T11:25:49.615Z] $ docker exec --env ******** --env ******** 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a ssh-agent -k [2023-09-11T11:25:49.720Z] unset SSH_AUTH_SOCK; [2023-09-11T11:25:49.721Z] unset SSH_AGENT_PID; [2023-09-11T11:25:49.721Z] echo Agent pid 76 killed; [2023-09-11T11:25:49.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T11:25:50.029Z] + git semver [Pipeline] } [2023-09-11T11:25:50.306Z] $ docker stop --time=1 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a [2023-09-11T11:25:51.620Z] $ docker rm -f --volumes 4590fc46901c3ced1f8a798e350d66db227608c9e872ecc0d2a4d6f625d6aa2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T11:25:51.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T11:25:52.189Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T11:25:52.192Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [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-09-11T11:25:52.342Z] provisioning config files... [2023-09-11T11:25:52.352Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9592530209613356866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:25:52.647Z] ---> docker-login.sh [2023-09-11T11:25:52.647Z] nexus3.edgexfoundry.org:10001 [2023-09-11T11:25:52.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:52.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:52.647Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:52.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:52.647Z] [2023-09-11T11:25:52.647Z] Login Succeeded [2023-09-11T11:25:52.647Z] nexus3.edgexfoundry.org:10002 [2023-09-11T11:25:52.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:52.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:52.647Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:52.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:52.647Z] [2023-09-11T11:25:52.647Z] Login Succeeded [2023-09-11T11:25:52.647Z] nexus3.edgexfoundry.org:10003 [2023-09-11T11:25:52.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:52.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:52.907Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:52.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:52.907Z] [2023-09-11T11:25:52.907Z] Login Succeeded [2023-09-11T11:25:52.907Z] nexus3.edgexfoundry.org:10004 [2023-09-11T11:25:52.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:52.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:52.907Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:52.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:52.907Z] [2023-09-11T11:25:52.907Z] Login Succeeded [2023-09-11T11:25:52.907Z] docker.io [2023-09-11T11:25:53.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:25:53.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:25:53.429Z] Configure a credential helper to remove this warning. See [2023-09-11T11:25:53.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:25:53.429Z] [2023-09-11T11:25:53.429Z] Login Succeeded [2023-09-11T11:25:53.429Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T11:25:53.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T11:25:53.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:25:53.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:25:53.535Z] ========================================================= [2023-09-11T11:25:53.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T11:25:53.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:25:53.844Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T11:25:53.844Z] Sending build context to Docker daemon 23.58MB [2023-09-11T11:25:53.844Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T11:25:53.844Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T11:25:54.105Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T11:25:54.105Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T11:25:54.105Z] 6911f1a30b25: Pulling fs layer [2023-09-11T11:25:54.105Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T11:25:54.105Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T11:25:54.105Z] ec0bb842ea78: Pulling fs layer [2023-09-11T11:25:54.105Z] 40a00589a448: Pulling fs layer [2023-09-11T11:25:54.105Z] 6c08303d61cc: Pulling fs layer [2023-09-11T11:25:54.105Z] 798269fcf238: Pulling fs layer [2023-09-11T11:25:54.105Z] 6863d3e3a2b1: Waiting [2023-09-11T11:25:54.105Z] 40a00589a448: Waiting [2023-09-11T11:25:54.105Z] 6c08303d61cc: Waiting [2023-09-11T11:25:54.105Z] 798269fcf238: Waiting [2023-09-11T11:25:54.105Z] ec0bb842ea78: Waiting [2023-09-11T11:25:54.105Z] 6911f1a30b25: Download complete [2023-09-11T11:25:54.105Z] 6863d3e3a2b1: Verifying Checksum [2023-09-11T11:25:54.105Z] 6863d3e3a2b1: Download complete [2023-09-11T11:25:54.105Z] ec0bb842ea78: Download complete [2023-09-11T11:25:54.105Z] 4db1b89c0bd1: Verifying Checksum [2023-09-11T11:25:54.105Z] 4db1b89c0bd1: Download complete [2023-09-11T11:25:54.105Z] 40a00589a448: Verifying Checksum [2023-09-11T11:25:54.105Z] 40a00589a448: Download complete [2023-09-11T11:25:54.105Z] 4db1b89c0bd1: Pull complete [2023-09-11T11:25:54.257Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5794 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-09-11T11:25:54.271Z] Running in /w/workspace/device-virtual-go/137 [Pipeline] { [Pipeline] checkout [2023-09-11T11:25:54.303Z] The recommended git tool is: git [2023-09-11T11:25:54.370Z] 6911f1a30b25: Pull complete [2023-09-11T11:25:55.337Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T11:25:55.337Z] e194b8c5c2a9: Download complete [2023-09-11T11:25:55.337Z] 798269fcf238: Verifying Checksum [2023-09-11T11:25:55.337Z] 798269fcf238: Download complete [2023-09-11T11:25:55.337Z] 6c08303d61cc: Verifying Checksum [2023-09-11T11:25:55.337Z] 6c08303d61cc: Download complete [2023-09-11T11:25:59.490Z] using credential edgex-jenkins-ssh [2023-09-11T11:25:59.505Z] Cloning the remote Git repository [2023-09-11T11:25:59.531Z] e194b8c5c2a9: Pull complete [2023-09-11T11:25:59.531Z] 6863d3e3a2b1: Pull complete [2023-09-11T11:25:59.531Z] ec0bb842ea78: Pull complete [2023-09-11T11:25:59.531Z] 40a00589a448: Pull complete [2023-09-11T11:25:59.537Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-11T11:25:59.634Z] > git init /w/workspace/device-virtual-go/137 # timeout=10 [2023-09-11T11:25:59.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-11T11:25:59.812Z] > git --version # timeout=10 [2023-09-11T11:25:59.840Z] > git --version # 'git version 2.25.1' [2023-09-11T11:25:59.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T11:26:00.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T11:26:02.063Z] 6c08303d61cc: Pull complete [2023-09-11T11:26:02.628Z] 798269fcf238: Pull complete [2023-09-11T11:26:02.628Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T11:26:02.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T11:26:02.628Z] ---> ec979cd7f677 [2023-09-11T11:26:02.628Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T11:26:02.994Z] Avoid second fetch [2023-09-11T11:26:02.994Z] Checking out Revision 3e7277aeb6c2165bba0097e742148e8cd729522a (main) [2023-09-11T11:26:02.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-11T11:26:02.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T11:26:03.002Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T11:26:03.703Z] Commit message: "Merge pull request #426 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T11:26:03.086Z] > git checkout -f 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 [2023-09-11T11:26:04.636Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T11:26:04.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T11:26:04.636Z] Dload Upload Total Spent Left Speed [2023-09-11T11:26:04.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 53801 0 --:--:-- --:--:-- --:--:-- 53575 [Pipeline] sh [2023-09-11T11:26:05.536Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T11:26:05.885Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T11:26:05.885Z] + sudo tee /etc/docker/daemon.new [2023-09-11T11:26:05.885Z] { [2023-09-11T11:26:05.885Z] "registry-mirrors": [ [2023-09-11T11:26:05.885Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T11:26:05.885Z] ], [2023-09-11T11:26:05.885Z] "bip": "10.250.0.254/24", [2023-09-11T11:26:05.885Z] "hosts": [ [2023-09-11T11:26:05.885Z] "tcp://0.0.0.0:5555", [2023-09-11T11:26:05.885Z] "unix:///var/run/docker.sock" [2023-09-11T11:26:05.885Z] ], [2023-09-11T11:26:05.885Z] "mtu": 1458, [2023-09-11T11:26:05.885Z] "selinux-enabled": true, [2023-09-11T11:26:05.885Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T11:26:05.885Z] } [Pipeline] sh [2023-09-11T11:26:06.088Z] ---> Running in bd4f9eaf2a6b [2023-09-11T11:26:06.088Z] Removing intermediate container bd4f9eaf2a6b [2023-09-11T11:26:06.088Z] ---> 4249080b61da [2023-09-11T11:26:06.088Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T11:26:06.088Z] ---> Running in 8159a6be63f2 [2023-09-11T11:26:06.088Z] Removing intermediate container 8159a6be63f2 [2023-09-11T11:26:06.088Z] ---> aa57565fb8db [2023-09-11T11:26:06.088Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T11:26:06.088Z] ---> Running in 4a486617a8b7 [2023-09-11T11:26:06.088Z] Removing intermediate container 4a486617a8b7 [2023-09-11T11:26:06.088Z] ---> 56bb1fcc3341 [2023-09-11T11:26:06.088Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-11T11:26:06.088Z] ---> Running in b865cfa0338e [2023-09-11T11:26:06.088Z] Removing intermediate container b865cfa0338e [2023-09-11T11:26:06.088Z] ---> befb5843a4dd [2023-09-11T11:26:06.088Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T11:26:06.088Z] ---> Running in 75183d9f9d02 [2023-09-11T11:26:06.228Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T11:26:06.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T11:26:06.584Z] + sudo service docker restart [2023-09-11T11:26:06.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T11:26:07.171Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T11:26:07.171Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T11:26:07.171Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T11:26:07.171Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T11:26:07.171Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T11:26:07.171Z] OK: 269 MiB in 57 packages [2023-09-11T11:26:07.736Z] Removing intermediate container 75183d9f9d02 [2023-09-11T11:26:07.736Z] ---> 66a0de81ede5 [2023-09-11T11:26:07.736Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-11T11:26:07.736Z] ---> e2002cbda9c3 [2023-09-11T11:26:07.736Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T11:26:07.736Z] ---> Running in 0b0dffe1e4fd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T11:26:24.854Z] provisioning config files... [2023-09-11T11:26:24.879Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/137@tmp/config4399985553561323097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:26:25.235Z] ---> docker-login.sh [2023-09-11T11:26:25.235Z] nexus3.edgexfoundry.org:10001 [2023-09-11T11:26:25.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:26:25.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:26:25.777Z] Configure a credential helper to remove this warning. See [2023-09-11T11:26:25.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:26:25.777Z] [2023-09-11T11:26:25.777Z] Login Succeeded [2023-09-11T11:26:25.777Z] nexus3.edgexfoundry.org:10002 [2023-09-11T11:26:26.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:26:26.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:26:26.047Z] Configure a credential helper to remove this warning. See [2023-09-11T11:26:26.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:26:26.047Z] [2023-09-11T11:26:26.047Z] Login Succeeded [2023-09-11T11:26:26.047Z] nexus3.edgexfoundry.org:10003 [2023-09-11T11:26:26.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:26:26.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:26:26.588Z] Configure a credential helper to remove this warning. See [2023-09-11T11:26:26.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:26:26.588Z] [2023-09-11T11:26:26.588Z] Login Succeeded [2023-09-11T11:26:26.588Z] nexus3.edgexfoundry.org:10004 [2023-09-11T11:26:26.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:26:26.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:26:26.859Z] Configure a credential helper to remove this warning. See [2023-09-11T11:26:26.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:26:26.859Z] [2023-09-11T11:26:26.859Z] Login Succeeded [2023-09-11T11:26:26.859Z] docker.io [2023-09-11T11:26:27.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:26:27.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:26:27.395Z] Configure a credential helper to remove this warning. See [2023-09-11T11:26:27.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:26:27.395Z] [2023-09-11T11:26:27.395Z] Login Succeeded [2023-09-11T11:26:27.395Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T11:26:27.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T11:26:27.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:26:27.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:26:27.700Z] ========================================================= [2023-09-11T11:26:27.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T11:26:27.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:26:28.132Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T11:26:28.399Z] Sending build context to Docker daemon 11.92MB [2023-09-11T11:26:28.399Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T11:26:28.399Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T11:26:28.667Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T11:26:28.668Z] edb6bdbacee9: Pulling fs layer [2023-09-11T11:26:28.668Z] 5f9638ab2659: Pulling fs layer [2023-09-11T11:26:28.668Z] 8d51d6327a98: Pulling fs layer [2023-09-11T11:26:28.668Z] 8b374f2dd631: Pulling fs layer [2023-09-11T11:26:28.668Z] ec14aa9079de: Pulling fs layer [2023-09-11T11:26:28.668Z] 2f466654f4bb: Pulling fs layer [2023-09-11T11:26:28.668Z] 554e91adad29: Pulling fs layer [2023-09-11T11:26:28.668Z] ec14aa9079de: Waiting [2023-09-11T11:26:28.668Z] 2f466654f4bb: Waiting [2023-09-11T11:26:28.668Z] 554e91adad29: Waiting [2023-09-11T11:26:28.668Z] 8b374f2dd631: Waiting [2023-09-11T11:26:28.668Z] 5f9638ab2659: Verifying Checksum [2023-09-11T11:26:28.668Z] 5f9638ab2659: Download complete [2023-09-11T11:26:28.668Z] 8b374f2dd631: Verifying Checksum [2023-09-11T11:26:28.668Z] 8b374f2dd631: Download complete [2023-09-11T11:26:28.668Z] ec14aa9079de: Verifying Checksum [2023-09-11T11:26:28.668Z] ec14aa9079de: Download complete [2023-09-11T11:26:28.668Z] edb6bdbacee9: Verifying Checksum [2023-09-11T11:26:28.668Z] edb6bdbacee9: Download complete [2023-09-11T11:26:30.093Z] edb6bdbacee9: Pull complete [2023-09-11T11:26:30.093Z] 554e91adad29: Verifying Checksum [2023-09-11T11:26:30.093Z] 554e91adad29: Download complete [2023-09-11T11:26:30.366Z] 5f9638ab2659: Pull complete [2023-09-11T11:26:31.339Z] 8d51d6327a98: Verifying Checksum [2023-09-11T11:26:31.339Z] 8d51d6327a98: Download complete [2023-09-11T11:26:31.339Z] 2f466654f4bb: Verifying Checksum [2023-09-11T11:26:31.339Z] 2f466654f4bb: Download complete [2023-09-11T11:26:43.710Z] 8d51d6327a98: Pull complete [2023-09-11T11:26:43.710Z] 8b374f2dd631: Pull complete [2023-09-11T11:26:43.710Z] ec14aa9079de: Pull complete [2023-09-11T11:26:45.515Z] Removing intermediate container 0b0dffe1e4fd [2023-09-11T11:26:45.515Z] ---> 021d51d8806c [2023-09-11T11:26:45.515Z] Step 10/12 : COPY . . [2023-09-11T11:26:45.515Z] ---> 4184339ac4c5 [2023-09-11T11:26:45.515Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T11:26:45.515Z] ---> Running in 5325b63ab2c2 [2023-09-11T11:26:45.515Z] Removing intermediate container 5325b63ab2c2 [2023-09-11T11:26:45.515Z] ---> be45a8b35097 [2023-09-11T11:26:45.515Z] Step 12/12 : RUN $MAKE [2023-09-11T11:26:45.515Z] ---> Running in 016acb61de55 [2023-09-11T11:26:45.515Z] noop [2023-09-11T11:26:45.515Z] Removing intermediate container 016acb61de55 [2023-09-11T11:26:45.515Z] ---> 8b97a4fa9591 [2023-09-11T11:26:45.515Z] Successfully built 8b97a4fa9591 [2023-09-11T11:26:45.515Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:26:45.821Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T11:26:45.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:26:45.891Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:26:45.924Z] $ 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-09-11T11:26:46.253Z] $ docker top c8d9b34f00fad1b438dc21b600c7562c30e776ab6e33539ac9c884a158dcdf06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T11:26:46.592Z] + go version [2023-09-11T11:26:46.592Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T11:26:46.606Z] $ docker stop --time=1 c8d9b34f00fad1b438dc21b600c7562c30e776ab6e33539ac9c884a158dcdf06 [2023-09-11T11:26:47.855Z] $ docker rm -f --volumes c8d9b34f00fad1b438dc21b600c7562c30e776ab6e33539ac9c884a158dcdf06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:26:48.266Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T11:26:48.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:26:48.336Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:26:48.369Z] $ 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-09-11T11:26:48.723Z] $ docker top a4e44a5f9d61086f1be732cc97057782c13ed2a0bdeab188c6862ce9572e21a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T11:26:49.062Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T11:26:49.357Z] + make test [2023-09-11T11:26:49.357Z] go test ./... -coverprofile=coverage.out [2023-09-11T11:26:50.536Z] 2f466654f4bb: Pull complete [2023-09-11T11:26:52.494Z] 554e91adad29: Pull complete [2023-09-11T11:26:52.494Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T11:26:52.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T11:26:52.494Z] ---> 1e15ea492957 [2023-09-11T11:26:52.494Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T11:26:53.910Z] ---> Running in f6f743168dc1 [2023-09-11T11:26:54.180Z] Removing intermediate container f6f743168dc1 [2023-09-11T11:26:54.180Z] ---> e5a1030cd524 [2023-09-11T11:26:54.180Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T11:26:54.448Z] ---> Running in 0515d1ee0488 [2023-09-11T11:26:54.623Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-11T11:26:54.716Z] Removing intermediate container 0515d1ee0488 [2023-09-11T11:26:54.716Z] ---> 835e17cc5684 [2023-09-11T11:26:54.716Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T11:26:54.716Z] ---> Running in 0ef9114cbf98 [2023-09-11T11:26:54.984Z] Removing intermediate container 0ef9114cbf98 [2023-09-11T11:26:54.984Z] ---> eee4d6c18234 [2023-09-11T11:26:54.984Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-11T11:26:54.984Z] ---> Running in 975ee880515a [2023-09-11T11:26:55.257Z] Removing intermediate container 975ee880515a [2023-09-11T11:26:55.257Z] ---> 5e4983e27a7d [2023-09-11T11:26:55.257Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T11:26:55.257Z] ---> Running in 48a022ec2dff [2023-09-11T11:26:56.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T11:26:56.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T11:26:57.902Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T11:26:57.902Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T11:26:57.902Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T11:26:58.171Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T11:26:58.171Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T11:26:58.171Z] OK: 268 MiB in 57 packages [2023-09-11T11:26:59.136Z] Removing intermediate container 48a022ec2dff [2023-09-11T11:26:59.136Z] ---> 0e41610c30ae [2023-09-11T11:26:59.136Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-11T11:26:59.726Z] ---> 4d830f8fce20 [2023-09-11T11:26:59.726Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T11:26:59.726Z] ---> Running in f0d66adbbc23 [2023-09-11T11:27:06.834Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-11T11:27:06.834Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements [2023-09-11T11:27:12.100Z] go vet ./... [2023-09-11T11:27:15.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T11:27:15.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T11:27:15.382Z] ./bin/test-attribution-txt.sh [2023-09-11T11:27:15.382Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-11T11:27:15.382Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-11T11:27:15.382Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-11T11:27:15.645Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-11T11:27:15.645Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-11T11:27:15.645Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-11T11:27:15.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T11:27:15.671Z] $ docker stop --time=1 a4e44a5f9d61086f1be732cc97057782c13ed2a0bdeab188c6862ce9572e21a7 [2023-09-11T11:27:19.958Z] $ docker rm -f --volumes a4e44a5f9d61086f1be732cc97057782c13ed2a0bdeab188c6862ce9572e21a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T11:27:20.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T11:27:20.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T11:27:21.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T11:27:21.334Z] + ls -al . [2023-09-11T11:27:21.334Z] total 204 [2023-09-11T11:27:21.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 11:26 . [2023-09-11T11:27:21.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:25 .. [2023-09-11T11:27:21.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:25 .git [2023-09-11T11:27:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:25 .github [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 11 11:25 .gitignore [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 11:25 .golangci.yml [2023-09-11T11:27:21.334Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 11:25 .semver [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 8950 Sep 11 11:25 Attribution.txt [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 11 11:25 CHANGELOG.md [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 11 11:25 Dockerfile [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 11:25 GOVERNANCE.md [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 11 11:25 Jenkinsfile [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 11:25 LICENSE [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 11 11:25 Makefile [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 11 11:25 OWNERS.md [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 11 11:25 README.md [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 11:25 VERSION [2023-09-11T11:27:21.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 11:25 bin [2023-09-11T11:27:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:25 cmd [2023-09-11T11:27:21.334Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 11 11:27 coverage.out [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 11 11:25 go.mod [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 11 11:25 go.sum [2023-09-11T11:27:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:25 internal [2023-09-11T11:27:21.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:25 snap [2023-09-11T11:27:21.334Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 11 11:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:27:21.713Z] + 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=3e7277aeb6c2165bba0097e742148e8cd729522a --label arch=amd64 --label version=3.1.0-dev.11 . [2023-09-11T11:27:21.713Z] Sending build context to Docker daemon 23.62MB [2023-09-11T11:27:21.713Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T11:27:21.713Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T11:27:21.713Z] ---> 8b97a4fa9591 [2023-09-11T11:27:21.713Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T11:27:22.000Z] ---> Running in 30fbb77446be [2023-09-11T11:27:22.281Z] Removing intermediate container 30fbb77446be [2023-09-11T11:27:22.281Z] ---> e95d512f7d83 [2023-09-11T11:27:22.281Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T11:27:22.281Z] ---> Running in fec28a1a4c48 [2023-09-11T11:27:22.281Z] Removing intermediate container fec28a1a4c48 [2023-09-11T11:27:22.281Z] ---> 778ab5fd738d [2023-09-11T11:27:22.281Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T11:27:22.281Z] ---> Running in 4cf318f026c7 [2023-09-11T11:27:22.281Z] Removing intermediate container 4cf318f026c7 [2023-09-11T11:27:22.281Z] ---> e3e3ee6db782 [2023-09-11T11:27:22.281Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-11T11:27:22.281Z] ---> Running in 3ff688358d17 [2023-09-11T11:27:22.555Z] Removing intermediate container 3ff688358d17 [2023-09-11T11:27:22.555Z] ---> 1a4f74df77ce [2023-09-11T11:27:22.555Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T11:27:22.555Z] ---> Running in f3d3765ce316 [2023-09-11T11:27:22.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T11:27:22.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T11:27:23.386Z] OK: 269 MiB in 57 packages [2023-09-11T11:27:23.643Z] Removing intermediate container f3d3765ce316 [2023-09-11T11:27:23.643Z] ---> d2e7dc2f1d42 [2023-09-11T11:27:23.643Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-11T11:27:23.643Z] ---> 398bec17905d [2023-09-11T11:27:23.643Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T11:27:23.643Z] ---> Running in bc85eea1c9eb [2023-09-11T11:27:24.580Z] Removing intermediate container bc85eea1c9eb [2023-09-11T11:27:24.580Z] ---> d76b1ce58442 [2023-09-11T11:27:24.580Z] Step 10/25 : COPY . . [2023-09-11T11:27:25.153Z] ---> 05b13319635e [2023-09-11T11:27:25.153Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T11:27:25.153Z] ---> Running in 8b9ebbb5072b [2023-09-11T11:27:25.153Z] Removing intermediate container 8b9ebbb5072b [2023-09-11T11:27:25.153Z] ---> 3be899d0c613 [2023-09-11T11:27:25.153Z] Step 12/25 : RUN $MAKE [2023-09-11T11:27:25.153Z] ---> Running in 01a8f091976b [2023-09-11T11:27:25.412Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-11T11:27:50.076Z] Removing intermediate container 01a8f091976b [2023-09-11T11:27:50.076Z] ---> bfc29f57dd26 [2023-09-11T11:27:50.076Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T11:27:50.646Z] 3.17: Pulling from library/alpine [2023-09-11T11:27:50.646Z] 9398808236ff: Pulling fs layer [2023-09-11T11:27:50.904Z] 9398808236ff: Download complete [2023-09-11T11:27:51.164Z] 9398808236ff: Pull complete [2023-09-11T11:27:51.164Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T11:27:51.164Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T11:27:51.164Z] ---> 1e0b8b5322fc [2023-09-11T11:27:51.164Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-11T11:27:51.423Z] ---> Running in 19c9973ac818 [2023-09-11T11:27:51.423Z] Removing intermediate container 19c9973ac818 [2023-09-11T11:27:51.423Z] ---> fbcc7656002c [2023-09-11T11:27:51.423Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-11T11:27:51.423Z] ---> Running in aed6073c1b30 [2023-09-11T11:27:51.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T11:27:51.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T11:27:52.198Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T11:27:52.198Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T11:27:52.198Z] OK: 7 MiB in 16 packages [2023-09-11T11:27:52.457Z] Removing intermediate container aed6073c1b30 [2023-09-11T11:27:52.457Z] ---> 2bd3d7f0f341 [2023-09-11T11:27:52.457Z] Step 16/25 : WORKDIR / [2023-09-11T11:27:52.457Z] ---> Running in 885dd56a6273 [2023-09-11T11:27:52.716Z] Removing intermediate container 885dd56a6273 [2023-09-11T11:27:52.716Z] ---> 176829d3821e [2023-09-11T11:27:52.716Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-11T11:27:52.716Z] ---> dd051b40c20b [2023-09-11T11:27:52.716Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-11T11:27:52.975Z] ---> 3f88917b4f37 [2023-09-11T11:27:52.975Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-11T11:27:54.149Z] ---> 1acdf7737c3b [2023-09-11T11:27:54.149Z] Step 20/25 : EXPOSE 59900 [2023-09-11T11:27:54.149Z] ---> Running in b054fd1e0488 [2023-09-11T11:27:54.149Z] Removing intermediate container b054fd1e0488 [2023-09-11T11:27:54.149Z] ---> 9e2d2eb14298 [2023-09-11T11:27:54.149Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-11T11:27:54.149Z] ---> Running in 978738a3d54e [2023-09-11T11:27:54.149Z] Removing intermediate container 978738a3d54e [2023-09-11T11:27:54.149Z] ---> 7abcaaa47f2f [2023-09-11T11:27:54.149Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-11T11:27:54.149Z] ---> Running in 63a1d0f8f4ed [2023-09-11T11:27:54.149Z] Removing intermediate container 63a1d0f8f4ed [2023-09-11T11:27:54.149Z] ---> 8ce9f6a03a09 [2023-09-11T11:27:54.149Z] Step 23/25 : LABEL arch=amd64 [2023-09-11T11:27:54.149Z] ---> Running in 8480ad8ac36a [2023-09-11T11:27:54.407Z] Removing intermediate container 8480ad8ac36a [2023-09-11T11:27:54.407Z] ---> e8ec4fe786a3 [2023-09-11T11:27:54.407Z] Step 24/25 : LABEL git_sha=3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:27:54.407Z] ---> Running in ca286adca6e7 [2023-09-11T11:27:54.407Z] Removing intermediate container ca286adca6e7 [2023-09-11T11:27:54.407Z] ---> 3cff34d9d676 [2023-09-11T11:27:54.407Z] Step 25/25 : LABEL version=3.1.0-dev.11 [2023-09-11T11:27:54.407Z] ---> Running in 9017786b7009 [2023-09-11T11:27:54.407Z] Removing intermediate container 9017786b7009 [2023-09-11T11:27:54.407Z] ---> 6485f3d7471a [2023-09-11T11:27:54.407Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T11:27:54.407Z] Successfully built 6485f3d7471a [2023-09-11T11:27:54.407Z] 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-09-11T11:27:54.492Z] provisioning config files... [2023-09-11T11:27:54.500Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12865351087882839679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:27:54.792Z] ---> docker-login.sh [2023-09-11T11:27:54.793Z] nexus3.edgexfoundry.org:10001 [2023-09-11T11:27:54.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:27:54.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:27:54.793Z] Configure a credential helper to remove this warning. See [2023-09-11T11:27:54.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:27:54.793Z] [2023-09-11T11:27:54.793Z] Login Succeeded [2023-09-11T11:27:54.793Z] nexus3.edgexfoundry.org:10002 [2023-09-11T11:27:54.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:27:54.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:27:54.793Z] Configure a credential helper to remove this warning. See [2023-09-11T11:27:54.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:27:54.793Z] [2023-09-11T11:27:54.793Z] Login Succeeded [2023-09-11T11:27:54.793Z] nexus3.edgexfoundry.org:10003 [2023-09-11T11:27:55.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:27:55.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:27:55.051Z] Configure a credential helper to remove this warning. See [2023-09-11T11:27:55.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:27:55.051Z] [2023-09-11T11:27:55.051Z] Login Succeeded [2023-09-11T11:27:55.051Z] nexus3.edgexfoundry.org:10004 [2023-09-11T11:27:55.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:27:55.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:27:55.051Z] Configure a credential helper to remove this warning. See [2023-09-11T11:27:55.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:27:55.051Z] [2023-09-11T11:27:55.051Z] Login Succeeded [2023-09-11T11:27:55.051Z] docker.io [2023-09-11T11:27:55.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:27:55.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:27:55.310Z] Configure a credential helper to remove this warning. See [2023-09-11T11:27:55.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:27:55.310Z] [2023-09-11T11:27:55.310Z] Login Succeeded [2023-09-11T11:27:55.310Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T11:27:55.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T11:27:55.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:27:55.375Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-11T11:27:55.375Z] 3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:27:55.375Z] latest [2023-09-11T11:27:55.375Z] 3.1.0-dev.11 [2023-09-11T11:27:55.375Z] 3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:27:55.375Z] main [2023-09-11T11:27:55.375Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:27:55.703Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:27:56.007Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:27:56.007Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-11T11:27:56.007Z] ceaa158c03f6: Preparing [2023-09-11T11:27:56.007Z] 84d7f8086f5f: Preparing [2023-09-11T11:27:56.007Z] 7d8919ffbd89: Preparing [2023-09-11T11:27:56.007Z] d927e939168a: Preparing [2023-09-11T11:27:56.007Z] 36b50b131297: Preparing [2023-09-11T11:27:56.007Z] 36b50b131297: Layer already exists [2023-09-11T11:27:56.007Z] d927e939168a: Pushed [2023-09-11T11:27:56.007Z] 7d8919ffbd89: Pushed [2023-09-11T11:27:56.007Z] 84d7f8086f5f: Pushed [2023-09-11T11:27:59.295Z] ceaa158c03f6: Pushed [2023-09-11T11:27:59.295Z] 3e7277aeb6c2165bba0097e742148e8cd729522a: digest: sha256:00156ca29f8c85ccae924e6e840266ae8474445003b60235ba622f763e94c40f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:27:59.619Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:27:59.924Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-11T11:27:59.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-11T11:27:59.924Z] ceaa158c03f6: Preparing [2023-09-11T11:27:59.924Z] 84d7f8086f5f: Preparing [2023-09-11T11:27:59.924Z] 7d8919ffbd89: Preparing [2023-09-11T11:27:59.924Z] d927e939168a: Preparing [2023-09-11T11:27:59.924Z] 36b50b131297: Preparing [2023-09-11T11:27:59.924Z] 7d8919ffbd89: Layer already exists [2023-09-11T11:27:59.924Z] ceaa158c03f6: Layer already exists [2023-09-11T11:27:59.924Z] d927e939168a: Layer already exists [2023-09-11T11:27:59.924Z] 36b50b131297: Layer already exists [2023-09-11T11:27:59.924Z] 84d7f8086f5f: Layer already exists [2023-09-11T11:27:59.924Z] latest: digest: sha256:00156ca29f8c85ccae924e6e840266ae8474445003b60235ba622f763e94c40f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:00.233Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:00.546Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.11 [2023-09-11T11:28:00.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-11T11:28:00.546Z] ceaa158c03f6: Preparing [2023-09-11T11:28:00.546Z] 84d7f8086f5f: Preparing [2023-09-11T11:28:00.546Z] 7d8919ffbd89: Preparing [2023-09-11T11:28:00.546Z] d927e939168a: Preparing [2023-09-11T11:28:00.546Z] 36b50b131297: Preparing [2023-09-11T11:28:00.546Z] d927e939168a: Layer already exists [2023-09-11T11:28:00.546Z] 84d7f8086f5f: Layer already exists [2023-09-11T11:28:00.546Z] 36b50b131297: Layer already exists [2023-09-11T11:28:00.546Z] 7d8919ffbd89: Layer already exists [2023-09-11T11:28:00.546Z] ceaa158c03f6: Layer already exists [2023-09-11T11:28:00.546Z] 3.1.0-dev.11: digest: sha256:00156ca29f8c85ccae924e6e840266ae8474445003b60235ba622f763e94c40f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:00.867Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:01.171Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:28:01.171Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-11T11:28:01.171Z] ceaa158c03f6: Preparing [2023-09-11T11:28:01.171Z] 84d7f8086f5f: Preparing [2023-09-11T11:28:01.171Z] 7d8919ffbd89: Preparing [2023-09-11T11:28:01.171Z] d927e939168a: Preparing [2023-09-11T11:28:01.171Z] 36b50b131297: Preparing [2023-09-11T11:28:01.171Z] 36b50b131297: Layer already exists [2023-09-11T11:28:01.171Z] ceaa158c03f6: Layer already exists [2023-09-11T11:28:01.171Z] d927e939168a: Layer already exists [2023-09-11T11:28:01.171Z] 7d8919ffbd89: Layer already exists [2023-09-11T11:28:01.171Z] 84d7f8086f5f: Layer already exists [2023-09-11T11:28:01.171Z] 3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11: digest: sha256:00156ca29f8c85ccae924e6e840266ae8474445003b60235ba622f763e94c40f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:01.482Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:01.789Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-11T11:28:01.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-11T11:28:01.789Z] ceaa158c03f6: Preparing [2023-09-11T11:28:01.789Z] 84d7f8086f5f: Preparing [2023-09-11T11:28:01.789Z] 7d8919ffbd89: Preparing [2023-09-11T11:28:01.789Z] d927e939168a: Preparing [2023-09-11T11:28:01.789Z] 36b50b131297: Preparing [2023-09-11T11:28:01.789Z] 36b50b131297: Layer already exists [2023-09-11T11:28:01.789Z] ceaa158c03f6: Layer already exists [2023-09-11T11:28:01.789Z] 84d7f8086f5f: Layer already exists [2023-09-11T11:28:01.789Z] 7d8919ffbd89: Layer already exists [2023-09-11T11:28:01.789Z] d927e939168a: Layer already exists [2023-09-11T11:28:01.789Z] main: digest: sha256:00156ca29f8c85ccae924e6e840266ae8474445003b60235ba622f763e94c40f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T11:28:01.845Z] ===================================================== [Pipeline] echo [2023-09-11T11:28:01.855Z] taggedImages: [2023-09-11T11:28:01.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:28:01.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-11T11:28:01.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.11 [2023-09-11T11:28:01.855Z] - nexus3.edgexfoundry.org:10004/device-virtual:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:28:01.855Z] - 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-09-11T11:28:02.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T11:28:02.208Z] [2023-09-11T11:28:02.208Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:02.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T11:28:02.508Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T11:28:02.508Z] 5eb5b503b376: Pulling fs layer [2023-09-11T11:28:02.508Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T11:28:02.508Z] ec43610c2a17: Pulling fs layer [2023-09-11T11:28:02.508Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T11:28:02.508Z] 33b1e0a273af: Pulling fs layer [2023-09-11T11:28:02.508Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T11:28:02.508Z] 2f39f015ded8: Pulling fs layer [2023-09-11T11:28:02.508Z] 33b1e0a273af: Waiting [2023-09-11T11:28:02.508Z] 3a2ae6a8a46f: Waiting [2023-09-11T11:28:02.508Z] 2f39f015ded8: Waiting [2023-09-11T11:28:02.508Z] 5c69ac0246d0: Verifying Checksum [2023-09-11T11:28:02.508Z] 5c69ac0246d0: Download complete [2023-09-11T11:28:02.508Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-11T11:28:02.508Z] 3a2ae6a8a46f: Download complete [2023-09-11T11:28:02.508Z] 33b1e0a273af: Verifying Checksum [2023-09-11T11:28:02.508Z] 33b1e0a273af: Download complete [2023-09-11T11:28:02.508Z] 5d3b04190fa2: Verifying Checksum [2023-09-11T11:28:02.508Z] 5d3b04190fa2: Download complete [2023-09-11T11:28:02.766Z] ec43610c2a17: Verifying Checksum [2023-09-11T11:28:02.766Z] ec43610c2a17: Download complete [2023-09-11T11:28:02.766Z] 5eb5b503b376: Download complete [2023-09-11T11:28:03.332Z] 2f39f015ded8: Download complete [2023-09-11T11:28:03.899Z] 5eb5b503b376: Pull complete [2023-09-11T11:28:04.159Z] 5c69ac0246d0: Pull complete [2023-09-11T11:28:04.726Z] ec43610c2a17: Pull complete [2023-09-11T11:28:04.726Z] 3a2ae6a8a46f: Pull complete [2023-09-11T11:28:04.985Z] 33b1e0a273af: Pull complete [2023-09-11T11:28:04.985Z] 5d3b04190fa2: Pull complete [2023-09-11T11:28:07.639Z] Removing intermediate container f0d66adbbc23 [2023-09-11T11:28:07.639Z] ---> f74754cfa1be [2023-09-11T11:28:07.639Z] Step 10/12 : COPY . . [2023-09-11T11:28:07.639Z] ---> 7f3d3e1f9965 [2023-09-11T11:28:07.639Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T11:28:07.639Z] ---> Running in 950948c9c52f [2023-09-11T11:28:07.639Z] Removing intermediate container 950948c9c52f [2023-09-11T11:28:07.639Z] ---> 7d59f5a86edb [2023-09-11T11:28:07.639Z] Step 12/12 : RUN $MAKE [2023-09-11T11:28:07.639Z] ---> Running in a1341cb712f3 [2023-09-11T11:28:07.639Z] noop [2023-09-11T11:28:07.639Z] Removing intermediate container a1341cb712f3 [2023-09-11T11:28:07.639Z] ---> a088321804f3 [2023-09-11T11:28:07.639Z] Successfully built a088321804f3 [2023-09-11T11:28:07.639Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:07.996Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T11:28:07.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:28:08.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-5794 does not seem to be running inside a container [2023-09-11T11:28:08.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/137 -v /w/workspace/device-virtual-go/137:/w/workspace/device-virtual-go/137:rw,z -v /w/workspace/device-virtual-go/137@tmp:/w/workspace/device-virtual-go/137@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-arm64 cat [2023-09-11T11:28:09.515Z] $ docker top 86e0bc364a1a642b3c32a465b82e43bf4fa16173668c6b0c7b5d6694c79ab3cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T11:28:10.250Z] 2f39f015ded8: Pull complete [2023-09-11T11:28:10.250Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T11:28:10.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T11:28:10.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:28:10.329Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:28:10.365Z] $ 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-09-11T11:28:10.376Z] + go version [2023-09-11T11:28:10.376Z] go version go1.20.6 linux/arm64 [2023-09-11T11:28:15.103Z] $ docker top 3c301f28dd8222a124bba7a93afc880d95bb5f9bc992a76143fdfbc27c6e9669 -eo pid,comm [Pipeline] { [Pipeline] } [2023-09-11T11:28:15.167Z] $ docker stop --time=1 86e0bc364a1a642b3c32a465b82e43bf4fa16173668c6b0c7b5d6694c79ab3cd [2023-09-11T11:28:16.790Z] $ docker rm -f --volumes 86e0bc364a1a642b3c32a465b82e43bf4fa16173668c6b0c7b5d6694c79ab3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:28:17.284Z] ---> job-cost.sh [2023-09-11T11:28:17.284Z] lf-activate-venv: SKIPPING [2023-09-11T11:28:17.284Z] INFO: No Stack... [2023-09-11T11:28:17.411Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T11:28:17.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:28:17.542Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T11:28:17.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-5794 does not seem to be running inside a container [2023-09-11T11:28:17.639Z] $ 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/137 -v /w/workspace/device-virtual-go/137:/w/workspace/device-virtual-go/137:rw,z -v /w/workspace/device-virtual-go/137@tmp:/w/workspace/device-virtual-go/137@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-arm64 cat [2023-09-11T11:28:18.111Z] INFO: Archiving Costs [2023-09-11T11:28:18.820Z] $ docker top baa7051bbd10853035f6527a874b4e97fb17dfad93f854d1e98de08198da81c6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-09-11T11:28:19.298Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-11T11:28:19.299Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T11:28:19.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [2023-09-11T11:28:19.318Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] did not exist. Created. [2023-09-11T11:28:19.318Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T11:28:19.350Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/137 [Pipeline] fileExists [Pipeline] sh [2023-09-11T11:28:19.622Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T11:28:19.656Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T11:28:19.662Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T11:28:19.683Z] $ docker stop --time=1 3c301f28dd8222a124bba7a93afc880d95bb5f9bc992a76143fdfbc27c6e9669 [2023-09-11T11:28:19.689Z] + make test [2023-09-11T11:28:19.689Z] go test ./... -coverprofile=coverage.out [2023-09-11T11:28:20.828Z] $ docker rm -f --volumes 3c301f28dd8222a124bba7a93afc880d95bb5f9bc992a76143fdfbc27c6e9669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-11T11:28:51.886Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-11T11:30:43.630Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-11T11:30:43.630Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements [2023-09-11T11:30:43.630Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T11:30:43.630Z] go vet ./... [2023-09-11T11:31:01.845Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T11:31:01.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T11:31:01.845Z] ./bin/test-attribution-txt.sh [2023-09-11T11:31:01.845Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-09-11T11:31:01.845Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-09-11T11:31:01.845Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-09-11T11:31:01.845Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-09-11T11:31:01.845Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-09-11T11:31:01.845Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-09-11T11:31:01.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T11:31:01.870Z] $ docker stop --time=1 baa7051bbd10853035f6527a874b4e97fb17dfad93f854d1e98de08198da81c6 [2023-09-11T11:31:03.667Z] $ docker rm -f --volumes baa7051bbd10853035f6527a874b4e97fb17dfad93f854d1e98de08198da81c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T11:31:04.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T11:31:04.821Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T11:31:05.245Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T11:31:05.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T11:31:05.939Z] + ls -al . [2023-09-11T11:31:05.940Z] total 200 [2023-09-11T11:31:05.940Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:28 . [2023-09-11T11:31:05.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:25 .. [2023-09-11T11:31:05.940Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:26 .git [2023-09-11T11:31:05.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:26 .github [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 11 11:26 .gitignore [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 11:26 .golangci.yml [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 8950 Sep 11 11:26 Attribution.txt [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 11 11:26 CHANGELOG.md [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 11 11:26 Dockerfile [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 11:26 GOVERNANCE.md [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 11 11:26 Jenkinsfile [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 11:26 LICENSE [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 11 11:26 Makefile [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 11 11:26 OWNERS.md [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 11 11:26 README.md [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 11 11:25 VERSION [2023-09-11T11:31:05.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 11:26 bin [2023-09-11T11:31:05.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:26 cmd [2023-09-11T11:31:05.940Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 11 11:30 coverage.out [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 11 11:26 go.mod [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 11 11:26 go.sum [2023-09-11T11:31:05.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:26 internal [2023-09-11T11:31:05.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:26 snap [2023-09-11T11:31:05.940Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 11 11:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:31:06.281Z] + 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=3e7277aeb6c2165bba0097e742148e8cd729522a --label arch=arm64 --label version=3.1.0-dev.11 . [2023-09-11T11:31:06.548Z] Sending build context to Docker daemon 11.96MB [2023-09-11T11:31:06.548Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T11:31:06.548Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T11:31:06.548Z] ---> a088321804f3 [2023-09-11T11:31:06.548Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T11:31:06.814Z] ---> Running in 8e1667692cc1 [2023-09-11T11:31:07.081Z] Removing intermediate container 8e1667692cc1 [2023-09-11T11:31:07.081Z] ---> d0f350ec8c51 [2023-09-11T11:31:07.081Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T11:31:07.081Z] ---> Running in 1af581afe2d3 [2023-09-11T11:31:07.348Z] Removing intermediate container 1af581afe2d3 [2023-09-11T11:31:07.348Z] ---> 6443f297ca6c [2023-09-11T11:31:07.348Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T11:31:07.348Z] ---> Running in 9ca0324ec75f [2023-09-11T11:31:07.932Z] Removing intermediate container 9ca0324ec75f [2023-09-11T11:31:07.932Z] ---> 348b3ce784c2 [2023-09-11T11:31:07.932Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-11T11:31:07.932Z] ---> Running in 1984f9c73ef5 [2023-09-11T11:31:08.201Z] Removing intermediate container 1984f9c73ef5 [2023-09-11T11:31:08.201Z] ---> b22101ddf639 [2023-09-11T11:31:08.201Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T11:31:08.201Z] ---> Running in bdeb660d56e3 [2023-09-11T11:31:09.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T11:31:09.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T11:31:10.718Z] OK: 268 MiB in 57 packages [2023-09-11T11:31:11.679Z] Removing intermediate container bdeb660d56e3 [2023-09-11T11:31:11.679Z] ---> a3d203447c90 [2023-09-11T11:31:11.679Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-11T11:31:11.945Z] ---> 3ba45d2d5b72 [2023-09-11T11:31:11.945Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T11:31:12.215Z] ---> Running in 9314e7918222 [2023-09-11T11:31:14.799Z] Removing intermediate container 9314e7918222 [2023-09-11T11:31:14.799Z] ---> a462f030e380 [2023-09-11T11:31:14.799Z] Step 10/25 : COPY . . [2023-09-11T11:31:15.379Z] ---> bf2393b81352 [2023-09-11T11:31:15.379Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T11:31:15.645Z] ---> Running in 071c4d23cd96 [2023-09-11T11:31:16.168Z] Removing intermediate container 071c4d23cd96 [2023-09-11T11:31:16.168Z] ---> 17de2e46f608 [2023-09-11T11:31:16.168Z] Step 12/25 : RUN $MAKE [2023-09-11T11:31:16.168Z] ---> Running in e3ebbdef470e [2023-09-11T11:31:16.752Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-11T11:33:23.416Z] Removing intermediate container e3ebbdef470e [2023-09-11T11:33:23.417Z] ---> 0cefd85a783d [2023-09-11T11:33:23.417Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T11:33:23.417Z] 3.17: Pulling from library/alpine [2023-09-11T11:33:23.417Z] 4060ece20d7a: Pulling fs layer [2023-09-11T11:33:23.417Z] 4060ece20d7a: Verifying Checksum [2023-09-11T11:33:23.417Z] 4060ece20d7a: Download complete [2023-09-11T11:33:26.756Z] 4060ece20d7a: Pull complete [2023-09-11T11:33:26.756Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T11:33:26.756Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T11:33:26.756Z] ---> 8650cd65339b [2023-09-11T11:33:26.756Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-11T11:33:26.756Z] ---> Running in c6fdc8cc9d92 [2023-09-11T11:33:26.756Z] Removing intermediate container c6fdc8cc9d92 [2023-09-11T11:33:26.756Z] ---> da16e8bb13b2 [2023-09-11T11:33:26.756Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-11T11:33:26.756Z] ---> Running in bbcaf447fc76 [2023-09-11T11:33:27.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T11:33:28.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T11:33:29.255Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T11:33:29.255Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T11:33:29.255Z] OK: 8 MiB in 16 packages [2023-09-11T11:33:30.220Z] Removing intermediate container bbcaf447fc76 [2023-09-11T11:33:30.220Z] ---> a931c81f7a1d [2023-09-11T11:33:30.220Z] Step 16/25 : WORKDIR / [2023-09-11T11:33:30.220Z] ---> Running in e4f9e87a41d2 [2023-09-11T11:33:30.220Z] Removing intermediate container e4f9e87a41d2 [2023-09-11T11:33:30.220Z] ---> db52f76f85bd [2023-09-11T11:33:30.220Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-11T11:33:30.804Z] ---> b8088121a8d3 [2023-09-11T11:33:30.804Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-11T11:33:31.386Z] ---> cc71b0182019 [2023-09-11T11:33:31.386Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-11T11:33:32.797Z] ---> ae19b951e167 [2023-09-11T11:33:32.797Z] Step 20/25 : EXPOSE 59900 [2023-09-11T11:33:32.797Z] ---> Running in 0a12c29fed1e [2023-09-11T11:33:33.066Z] Removing intermediate container 0a12c29fed1e [2023-09-11T11:33:33.066Z] ---> 7083d364af1d [2023-09-11T11:33:33.066Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-11T11:33:33.066Z] ---> Running in 2af608f17f1b [2023-09-11T11:33:33.333Z] Removing intermediate container 2af608f17f1b [2023-09-11T11:33:33.334Z] ---> 37397be155e3 [2023-09-11T11:33:33.334Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-11T11:33:33.334Z] ---> Running in 7854e2eda881 [2023-09-11T11:33:33.602Z] Removing intermediate container 7854e2eda881 [2023-09-11T11:33:33.602Z] ---> 4acc8bc37d34 [2023-09-11T11:33:33.602Z] Step 23/25 : LABEL arch=arm64 [2023-09-11T11:33:33.602Z] ---> Running in e76f2b60de38 [2023-09-11T11:33:33.869Z] Removing intermediate container e76f2b60de38 [2023-09-11T11:33:33.869Z] ---> f7be486ca848 [2023-09-11T11:33:33.869Z] Step 24/25 : LABEL git_sha=3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:33:34.136Z] ---> Running in bb055ff2c13a [2023-09-11T11:33:34.402Z] Removing intermediate container bb055ff2c13a [2023-09-11T11:33:34.402Z] ---> bd91fa7f6766 [2023-09-11T11:33:34.402Z] Step 25/25 : LABEL version=3.1.0-dev.11 [2023-09-11T11:33:34.402Z] ---> Running in d4302d3ef1cc [2023-09-11T11:33:34.667Z] Removing intermediate container d4302d3ef1cc [2023-09-11T11:33:34.667Z] ---> da494c177c51 [2023-09-11T11:33:34.667Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T11:33:34.667Z] Successfully built da494c177c51 [2023-09-11T11:33:34.667Z] 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-09-11T11:33:34.791Z] provisioning config files... [2023-09-11T11:33:34.805Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/137@tmp/config9436188925389804322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:33:35.139Z] ---> docker-login.sh [2023-09-11T11:33:35.139Z] nexus3.edgexfoundry.org:10001 [2023-09-11T11:33:35.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:33:35.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:33:35.409Z] Configure a credential helper to remove this warning. See [2023-09-11T11:33:35.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:33:35.409Z] [2023-09-11T11:33:35.409Z] Login Succeeded [2023-09-11T11:33:35.409Z] nexus3.edgexfoundry.org:10002 [2023-09-11T11:33:35.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:33:35.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:33:35.676Z] Configure a credential helper to remove this warning. See [2023-09-11T11:33:35.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:33:35.676Z] [2023-09-11T11:33:35.676Z] Login Succeeded [2023-09-11T11:33:35.676Z] nexus3.edgexfoundry.org:10003 [2023-09-11T11:33:35.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:33:36.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:33:36.210Z] Configure a credential helper to remove this warning. See [2023-09-11T11:33:36.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:33:36.210Z] [2023-09-11T11:33:36.210Z] Login Succeeded [2023-09-11T11:33:36.210Z] nexus3.edgexfoundry.org:10004 [2023-09-11T11:33:36.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:33:36.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:33:36.477Z] Configure a credential helper to remove this warning. See [2023-09-11T11:33:36.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:33:36.477Z] [2023-09-11T11:33:36.477Z] Login Succeeded [2023-09-11T11:33:36.477Z] docker.io [2023-09-11T11:33:36.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T11:33:37.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T11:33:37.007Z] Configure a credential helper to remove this warning. See [2023-09-11T11:33:37.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T11:33:37.007Z] [2023-09-11T11:33:37.007Z] Login Succeeded [2023-09-11T11:33:37.007Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T11:33:37.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T11:33:37.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T11:33:37.082Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-11T11:33:37.082Z] 3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:33:37.082Z] latest [2023-09-11T11:33:37.082Z] 3.1.0-dev.11 [2023-09-11T11:33:37.082Z] 3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:33:37.082Z] main [2023-09-11T11:33:37.082Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:37.428Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:37.766Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:33:37.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-11T11:33:37.766Z] 0042c369a90f: Preparing [2023-09-11T11:33:37.766Z] ccbb97bd4559: Preparing [2023-09-11T11:33:37.766Z] 39ad9bbe0a18: Preparing [2023-09-11T11:33:37.766Z] 06811efa76e4: Preparing [2023-09-11T11:33:37.766Z] d2d9d24a8c2a: Preparing [2023-09-11T11:33:37.766Z] d2d9d24a8c2a: Layer already exists [2023-09-11T11:33:38.032Z] 06811efa76e4: Pushed [2023-09-11T11:33:38.032Z] ccbb97bd4559: Pushed [2023-09-11T11:33:38.032Z] 39ad9bbe0a18: Pushed [2023-09-11T11:33:44.707Z] 0042c369a90f: Pushed [2023-09-11T11:33:44.707Z] 3e7277aeb6c2165bba0097e742148e8cd729522a: digest: sha256:c7f663ffcca43a0172c5bcf0df7a97477220019f65ea246e36d937ff35a94b5a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:45.070Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:45.424Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-11T11:33:45.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-11T11:33:45.424Z] 0042c369a90f: Preparing [2023-09-11T11:33:45.424Z] ccbb97bd4559: Preparing [2023-09-11T11:33:45.424Z] 39ad9bbe0a18: Preparing [2023-09-11T11:33:45.424Z] 06811efa76e4: Preparing [2023-09-11T11:33:45.424Z] d2d9d24a8c2a: Preparing [2023-09-11T11:33:45.424Z] 0042c369a90f: Layer already exists [2023-09-11T11:33:45.424Z] ccbb97bd4559: Layer already exists [2023-09-11T11:33:45.424Z] 39ad9bbe0a18: Layer already exists [2023-09-11T11:33:45.424Z] 06811efa76e4: Layer already exists [2023-09-11T11:33:45.424Z] d2d9d24a8c2a: Layer already exists [2023-09-11T11:33:45.424Z] latest: digest: sha256:c7f663ffcca43a0172c5bcf0df7a97477220019f65ea246e36d937ff35a94b5a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:45.790Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:46.129Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.11 [2023-09-11T11:33:46.129Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-11T11:33:46.129Z] 0042c369a90f: Preparing [2023-09-11T11:33:46.129Z] ccbb97bd4559: Preparing [2023-09-11T11:33:46.129Z] 39ad9bbe0a18: Preparing [2023-09-11T11:33:46.129Z] 06811efa76e4: Preparing [2023-09-11T11:33:46.129Z] d2d9d24a8c2a: Preparing [2023-09-11T11:33:46.129Z] ccbb97bd4559: Layer already exists [2023-09-11T11:33:46.129Z] 0042c369a90f: Layer already exists [2023-09-11T11:33:46.129Z] 06811efa76e4: Layer already exists [2023-09-11T11:33:46.129Z] d2d9d24a8c2a: Layer already exists [2023-09-11T11:33:46.129Z] 39ad9bbe0a18: Layer already exists [2023-09-11T11:33:46.129Z] 3.1.0-dev.11: digest: sha256:c7f663ffcca43a0172c5bcf0df7a97477220019f65ea246e36d937ff35a94b5a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:46.481Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:46.821Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:33:46.821Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-11T11:33:46.821Z] 0042c369a90f: Preparing [2023-09-11T11:33:46.821Z] ccbb97bd4559: Preparing [2023-09-11T11:33:46.821Z] 39ad9bbe0a18: Preparing [2023-09-11T11:33:46.821Z] 06811efa76e4: Preparing [2023-09-11T11:33:46.821Z] d2d9d24a8c2a: Preparing [2023-09-11T11:33:46.821Z] 06811efa76e4: Layer already exists [2023-09-11T11:33:46.821Z] d2d9d24a8c2a: Layer already exists [2023-09-11T11:33:46.821Z] ccbb97bd4559: Layer already exists [2023-09-11T11:33:46.821Z] 39ad9bbe0a18: Layer already exists [2023-09-11T11:33:46.821Z] 0042c369a90f: Layer already exists [2023-09-11T11:33:46.821Z] 3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11: digest: sha256:c7f663ffcca43a0172c5bcf0df7a97477220019f65ea246e36d937ff35a94b5a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:47.163Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:47.495Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-11T11:33:47.495Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-11T11:33:47.495Z] 0042c369a90f: Preparing [2023-09-11T11:33:47.495Z] ccbb97bd4559: Preparing [2023-09-11T11:33:47.495Z] 39ad9bbe0a18: Preparing [2023-09-11T11:33:47.495Z] 06811efa76e4: Preparing [2023-09-11T11:33:47.495Z] d2d9d24a8c2a: Preparing [2023-09-11T11:33:47.495Z] 0042c369a90f: Layer already exists [2023-09-11T11:33:47.495Z] d2d9d24a8c2a: Layer already exists [2023-09-11T11:33:47.495Z] ccbb97bd4559: Layer already exists [2023-09-11T11:33:47.495Z] 39ad9bbe0a18: Layer already exists [2023-09-11T11:33:47.495Z] 06811efa76e4: Layer already exists [2023-09-11T11:33:47.495Z] main: digest: sha256:c7f663ffcca43a0172c5bcf0df7a97477220019f65ea246e36d937ff35a94b5a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T11:33:47.537Z] ===================================================== [Pipeline] echo [2023-09-11T11:33:47.543Z] taggedImages: [2023-09-11T11:33:47.543Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a [2023-09-11T11:33:47.543Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-11T11:33:47.543Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.11 [2023-09-11T11:33:47.543Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3e7277aeb6c2165bba0097e742148e8cd729522a-3.1.0-dev.11 [2023-09-11T11:33:47.543Z] - 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-09-11T11:33:47.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T11:33:47.901Z] [2023-09-11T11:33:47.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:33:48.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T11:33:48.234Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T11:33:48.234Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T11:33:48.234Z] 04944245beec: Pulling fs layer [2023-09-11T11:33:48.234Z] 699f458cf7ca: Pulling fs layer [2023-09-11T11:33:48.234Z] 765212b225bb: Pulling fs layer [2023-09-11T11:33:48.234Z] f23df028b6ca: Pulling fs layer [2023-09-11T11:33:48.234Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T11:33:48.234Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T11:33:48.234Z] 765212b225bb: Waiting [2023-09-11T11:33:48.234Z] f23df028b6ca: Waiting [2023-09-11T11:33:48.234Z] d65c8cfc05b1: Waiting [2023-09-11T11:33:48.234Z] 2437ff75d9bd: Waiting [2023-09-11T11:33:48.503Z] 04944245beec: Verifying Checksum [2023-09-11T11:33:48.503Z] 04944245beec: Download complete [2023-09-11T11:33:48.503Z] 765212b225bb: Verifying Checksum [2023-09-11T11:33:48.503Z] 765212b225bb: Download complete [2023-09-11T11:33:48.503Z] f23df028b6ca: Verifying Checksum [2023-09-11T11:33:48.503Z] f23df028b6ca: Download complete [2023-09-11T11:33:48.503Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T11:33:48.503Z] d65c8cfc05b1: Download complete [2023-09-11T11:33:48.503Z] 699f458cf7ca: Verifying Checksum [2023-09-11T11:33:48.503Z] 699f458cf7ca: Download complete [2023-09-11T11:33:49.082Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T11:33:49.082Z] 8998bd30e6a1: Download complete [2023-09-11T11:33:51.026Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T11:33:51.026Z] 2437ff75d9bd: Download complete [2023-09-11T11:33:52.967Z] 8998bd30e6a1: Pull complete [2023-09-11T11:33:53.233Z] 04944245beec: Pull complete [2023-09-11T11:33:54.640Z] 699f458cf7ca: Pull complete [2023-09-11T11:33:54.907Z] 765212b225bb: Pull complete [2023-09-11T11:33:55.489Z] f23df028b6ca: Pull complete [2023-09-11T11:33:55.755Z] d65c8cfc05b1: Pull complete [2023-09-11T11:34:10.743Z] 2437ff75d9bd: Pull complete [2023-09-11T11:34:10.743Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T11:34:10.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T11:34:10.743Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:34:10.927Z] prd-ubuntu20.04-docker-arm64-4c-16g-5794 does not seem to be running inside a container [2023-09-11T11:34:10.978Z] $ 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/137 -v /w/workspace/device-virtual-go/137:/w/workspace/device-virtual-go/137:rw,z -v /w/workspace/device-virtual-go/137@tmp:/w/workspace/device-virtual-go/137@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:arm64 cat [2023-09-11T11:34:13.419Z] $ docker top 661b472c88edf9f09e5c797ed5516ce8998a66ab0541dc374def4f3dce177a20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:34:13.936Z] ---> job-cost.sh [2023-09-11T11:34:14.200Z] lf-activate-venv: SKIPPING [2023-09-11T11:34:14.200Z] INFO: No Stack... [2023-09-11T11:34:15.148Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T11:34:15.726Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T11:34:16.041Z] + cat /w/workspace/device-virtual-go/137/archives/cost.csv [2023-09-11T11:34:16.041Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T11:34:16.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [2023-09-11T11:34:16.371Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] did not exist. Created. [2023-09-11T11:34:16.372Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T11:34:16.703Z] /w/workspace/device-virtual-go/137@tmp/durable-80a38a62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T11:34:17.294Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T11:34:17.571Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T11:34:17.623Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T11:34:17.630Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T11:34:17.641Z] $ docker stop --time=1 661b472c88edf9f09e5c797ed5516ce8998a66ab0541dc374def4f3dce177a20 [2023-09-11T11:34:20.821Z] $ docker rm -f --volumes 661b472c88edf9f09e5c797ed5516ce8998a66ab0541dc374def4f3dce177a20 [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-09-11T11:34:21.254Z] provisioning config files... [2023-09-11T11:34:21.262Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5815405610111321068tmp [Pipeline] { [Pipeline] sh [2023-09-11T11:34:21.564Z] + set +x [2023-09-11T11:34:21.564Z] + curl -s https://codecov.io/bash [2023-09-11T11:34:21.564Z] + bash -s -- [2023-09-11T11:34:21.564Z] [2023-09-11T11:34:21.564Z] _____ _ [2023-09-11T11:34:21.564Z] / ____| | | [2023-09-11T11:34:21.564Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T11:34:21.564Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T11:34:21.564Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T11:34:21.564Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T11:34:21.564Z] Bash-1.0.6 [2023-09-11T11:34:21.564Z] [2023-09-11T11:34:21.564Z] [2023-09-11T11:34:21.564Z] ==> git version 2.25.1 found [2023-09-11T11:34:21.564Z] ==> 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-09-11T11:34:21.564Z] Release-Date: 2020-01-08 [2023-09-11T11:34:21.564Z] 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-09-11T11:34:21.564Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T11:34:21.564Z] ==> Jenkins CI detected. [2023-09-11T11:34:21.564Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-11T11:34:21.564Z] project root: . [2023-09-11T11:34:21.564Z] --> token set from env [2023-09-11T11:34:21.564Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T11:34:21.564Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T11:34:21.564Z] ==> Python coveragepy not found [2023-09-11T11:34:21.564Z] ==> Searching for coverage reports in: [2023-09-11T11:34:21.564Z] + . [2023-09-11T11:34:21.823Z] -> Found 1 reports [2023-09-11T11:34:21.823Z] ==> Detecting git/mercurial file structure [2023-09-11T11:34:21.823Z] ==> Reading reports [2023-09-11T11:34:21.823Z] + ./coverage.out bytes=43063 [2023-09-11T11:34:21.823Z] ==> Appending adjustments [2023-09-11T11:34:21.823Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T11:34:21.823Z] + Found adjustments [2023-09-11T11:34:21.823Z] ==> Gzipping contents [2023-09-11T11:34:21.823Z] 8.0K /tmp/codecov.HSBO2n.gz [2023-09-11T11:34:21.823Z] ==> Uploading reports [2023-09-11T11:34:21.823Z] url: https://codecov.io [2023-09-11T11:34:21.823Z] query: branch=main&commit=3e7277aeb6c2165bba0097e742148e8cd729522a&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T11:34:21.823Z] -> Pinging Codecov [2023-09-11T11:34:21.823Z] 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=3e7277aeb6c2165bba0097e742148e8cd729522a&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T11:34:21.823Z] -> Uploading to [2023-09-11T11:34:21.823Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/5E52B4B073DB2E39498172D8E973AA87/3e7277aeb6c2165bba0097e742148e8cd729522a/3b93d58e-6be6-4e88-b8c0-4780ea656321.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T113421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4bc480c4821aeae323b6b9533a36853e1a4a131bb69e80d10ea8c8cf32630d9 [2023-09-11T11:34:22.080Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T11:34:22.080Z] Dload Upload Total Spent Left Speed [2023-09-11T11:34:22.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26314 --:--:-- --:--:-- --:--:-- 26314 [2023-09-11T11:34:22.080Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] } [2023-09-11T11:34:22.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T11:34:22.210Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T11:34:22.217Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:34:22.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T11:34:22.518Z] [2023-09-11T11:34:22.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:34:22.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T11:34:22.817Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T11:34:22.817Z] df9b9388f04a: Pulling fs layer [2023-09-11T11:34:22.817Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T11:34:22.817Z] 25bc292e5bac: Pulling fs layer [2023-09-11T11:34:22.817Z] 114826534d7a: Pulling fs layer [2023-09-11T11:34:22.817Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T11:34:22.817Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T11:34:22.817Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T11:34:22.817Z] 4657fd5d0bcf: Waiting [2023-09-11T11:34:22.817Z] 6ad1cebc031e: Waiting [2023-09-11T11:34:22.817Z] 8a3aa393b2d8: Waiting [2023-09-11T11:34:22.817Z] 114826534d7a: Waiting [2023-09-11T11:34:22.817Z] 25bc292e5bac: Download complete [2023-09-11T11:34:22.817Z] 52dc419b0ee2: Download complete [2023-09-11T11:34:22.817Z] 4657fd5d0bcf: Verifying Checksum [2023-09-11T11:34:22.817Z] 4657fd5d0bcf: Download complete [2023-09-11T11:34:22.817Z] df9b9388f04a: Download complete [2023-09-11T11:34:23.075Z] df9b9388f04a: Pull complete [2023-09-11T11:34:23.075Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T11:34:23.075Z] 6ad1cebc031e: Download complete [2023-09-11T11:34:23.075Z] 52dc419b0ee2: Pull complete [2023-09-11T11:34:23.075Z] 25bc292e5bac: Pull complete [2023-09-11T11:34:23.651Z] 114826534d7a: Download complete [2023-09-11T11:34:23.651Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T11:34:23.651Z] 8a3aa393b2d8: Download complete [2023-09-11T11:34:26.935Z] 114826534d7a: Pull complete [2023-09-11T11:34:26.935Z] 4657fd5d0bcf: Pull complete [2023-09-11T11:34:27.194Z] 6ad1cebc031e: Pull complete [2023-09-11T11:34:30.471Z] 8a3aa393b2d8: Pull complete [2023-09-11T11:34:30.471Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T11:34:30.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T11:34:30.471Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:34:30.550Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:34:30.580Z] $ 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-09-11T11:34:34.524Z] $ docker top d73228286cc70bc41b43413c64c517232ab1e3750010043fa4a83e1d85b97a6a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T11:34:34.588Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-11T11:34:34.870Z] + set -o pipefail [2023-09-11T11:34:34.870Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/4b11fb4b-e981-46d6-ba00-323e241005dd [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] [2023-09-11T11:34:44.107Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T11:34:44.107Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T11:34:44.107Z] More details here: https://snyk.co/ue1NS [2023-09-11T11:34:44.107Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T11:34:44.107Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T11:34:44.119Z] $ docker stop --time=1 d73228286cc70bc41b43413c64c517232ab1e3750010043fa4a83e1d85b97a6a [2023-09-11T11:34:48.062Z] $ docker rm -f --volumes d73228286cc70bc41b43413c64c517232ab1e3750010043fa4a83e1d85b97a6a [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-09-11T11:34:48.743Z] + git log --format=format:%s -1 3e7277aeb6c2165bba0097e742148e8cd729522a [Pipeline] sh [2023-09-11T11:34:49.037Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T11:34:49.037Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:34:49.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:34:49.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:34:49.408Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:34:49.441Z] $ 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-09-11T11:34:49.830Z] $ docker top 92b46d9fa91b1715102a0d0eaf6419de4861b2716399c9310361efccdaf4ef58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T11:34:49.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T11:34:49.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T11:34:50.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T11:34:50.024Z] $ docker exec 92b46d9fa91b1715102a0d0eaf6419de4861b2716399c9310361efccdaf4ef58 ssh-agent [2023-09-11T11:34:50.119Z] SSH_AUTH_SOCK=/tmp/ssh-QPchEqjrJb0O/agent.32 [2023-09-11T11:34:50.119Z] SSH_AGENT_PID=38 [2023-09-11T11:34:50.123Z] Running ssh-add (command line suppressed) [2023-09-11T11:34:50.212Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3861478486222500407.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3861478486222500407.key) [2023-09-11T11:34:50.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T11:34:50.507Z] + git semver tag [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,673 [run_tag] DEBUG tag force:False [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,673 [check_head_tag] DEBUG check head tag [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,673 [execute] INFO git cat-file --batch-check [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,678 [execute] INFO git cat-file --batch [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,688 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,689 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T11:34:50.765Z] 2023-09-11 11:34:50,694 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:34:50.765Z] 3.1.0-dev.11 [Pipeline] } [2023-09-11T11:34:50.776Z] $ docker exec --env ******** --env ******** 92b46d9fa91b1715102a0d0eaf6419de4861b2716399c9310361efccdaf4ef58 ssh-agent -k [2023-09-11T11:34:50.871Z] unset SSH_AUTH_SOCK; [2023-09-11T11:34:50.872Z] unset SSH_AGENT_PID; [2023-09-11T11:34:50.872Z] echo Agent pid 38 killed; [2023-09-11T11:34:50.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T11:34:51.189Z] + git semver [Pipeline] } [2023-09-11T11:34:51.460Z] $ docker stop --time=1 92b46d9fa91b1715102a0d0eaf6419de4861b2716399c9310361efccdaf4ef58 [2023-09-11T11:34:52.734Z] $ docker rm -f --volumes 92b46d9fa91b1715102a0d0eaf6419de4861b2716399c9310361efccdaf4ef58 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:34:53.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T11:34:53.100Z] [2023-09-11T11:34:53.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:34:53.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T11:34:53.400Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T11:34:53.400Z] ab5ef0e58194: Pulling fs layer [2023-09-11T11:34:53.400Z] 9712f1f96733: Pulling fs layer [2023-09-11T11:34:53.400Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T11:34:53.400Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T11:34:53.400Z] e9a5061849ea: Pulling fs layer [2023-09-11T11:34:53.400Z] d747dcd14b5f: Pulling fs layer [2023-09-11T11:34:53.400Z] 2de7ff778b66: Pulling fs layer [2023-09-11T11:34:53.401Z] e9a5061849ea: Waiting [2023-09-11T11:34:53.401Z] d747dcd14b5f: Waiting [2023-09-11T11:34:53.401Z] 2de7ff778b66: Waiting [2023-09-11T11:34:53.401Z] 0d9ebad4ef96: Waiting [2023-09-11T11:34:53.401Z] 9712f1f96733: Download complete [2023-09-11T11:34:53.975Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T11:34:53.975Z] 63f879dbbcfc: Download complete [2023-09-11T11:34:53.975Z] 0d9ebad4ef96: Download complete [2023-09-11T11:34:53.975Z] ab5ef0e58194: Verifying Checksum [2023-09-11T11:34:53.975Z] ab5ef0e58194: Download complete [2023-09-11T11:34:53.975Z] e9a5061849ea: Verifying Checksum [2023-09-11T11:34:53.975Z] e9a5061849ea: Download complete [2023-09-11T11:34:53.975Z] d747dcd14b5f: Verifying Checksum [2023-09-11T11:34:53.975Z] d747dcd14b5f: Download complete [2023-09-11T11:34:53.975Z] 2de7ff778b66: Verifying Checksum [2023-09-11T11:34:53.975Z] 2de7ff778b66: Download complete [2023-09-11T11:34:56.506Z] ab5ef0e58194: Pull complete [2023-09-11T11:34:56.506Z] 9712f1f96733: Pull complete [2023-09-11T11:34:57.091Z] 63f879dbbcfc: Pull complete [2023-09-11T11:35:01.276Z] 0d9ebad4ef96: Pull complete [2023-09-11T11:35:01.276Z] e9a5061849ea: Pull complete [2023-09-11T11:35:01.276Z] d747dcd14b5f: Pull complete [2023-09-11T11:35:01.846Z] 2de7ff778b66: Pull complete [2023-09-11T11:35:01.846Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T11:35:01.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T11:35:01.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:35:01.921Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:35:01.960Z] $ 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-09-11T11:35:07.553Z] $ docker top 8d61fb4768b1655186871d51694bf8f17572cbac1cefa86d4ed0aecc4dc243d4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T11:35:07.622Z] provisioning config files... [2023-09-11T11:35:07.628Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6412216516832310640tmp [2023-09-11T11:35:07.635Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17628489467787157879tmp [2023-09-11T11:35:07.644Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4992771966074771902tmp [Pipeline] { [Pipeline] echo [2023-09-11T11:35:07.660Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:07.944Z] ---> sigul-configuration.sh [2023-09-11T11:35:07.944Z] gpg: directory `/root/.gnupg' created [2023-09-11T11:35:07.944Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T11:35:07.944Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T11:35:07.944Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T11:35:07.944Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T11:35:07.944Z] gpg: CAST5 encrypted data [2023-09-11T11:35:07.944Z] gpg: encrypted with 1 passphrase [2023-09-11T11:35:07.944Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T11:35:08.230Z] + mkdir /home/jenkins [2023-09-11T11:35:08.230Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T11:35:08.516Z] + 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-09-11T11:35:08.523Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:08.806Z] ---> sigul-install.sh [2023-09-11T11:35:08.806Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T11:35:09.090Z] + git tag --list [2023-09-11T11:35:09.090Z] v1.0.0 [2023-09-11T11:35:09.090Z] v1.1.0 [2023-09-11T11:35:09.090Z] v1.1.1 [2023-09-11T11:35:09.090Z] v1.2.1 [2023-09-11T11:35:09.090Z] v1.2.2 [2023-09-11T11:35:09.090Z] v1.2.3 [2023-09-11T11:35:09.090Z] v1.3.0 [2023-09-11T11:35:09.090Z] v1.3.1 [2023-09-11T11:35:09.090Z] v2.0.0 [2023-09-11T11:35:09.090Z] v2.1.0 [2023-09-11T11:35:09.090Z] v2.1.1 [2023-09-11T11:35:09.090Z] v2.2.0 [2023-09-11T11:35:09.090Z] v2.3.0 [2023-09-11T11:35:09.090Z] v3.0 [2023-09-11T11:35:09.090Z] v3.0.0 [2023-09-11T11:35:09.090Z] v3.1.0-dev.1 [2023-09-11T11:35:09.090Z] v3.1.0-dev.10 [2023-09-11T11:35:09.090Z] v3.1.0-dev.11 [2023-09-11T11:35:09.090Z] v3.1.0-dev.2 [2023-09-11T11:35:09.090Z] v3.1.0-dev.3 [2023-09-11T11:35:09.090Z] v3.1.0-dev.4 [2023-09-11T11:35:09.090Z] v3.1.0-dev.5 [2023-09-11T11:35:09.090Z] v3.1.0-dev.6 [2023-09-11T11:35:09.090Z] v3.1.0-dev.7 [2023-09-11T11:35:09.090Z] v3.1.0-dev.8 [2023-09-11T11:35:09.090Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-11T11:35:09.375Z] + lftools sign git-tag v3.1.0-dev.11 [2023-09-11T11:35:09.943Z] Signing Git tag with Sigul... [2023-09-11T11:35:09.943Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-09-11T11:35:10.209Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:10.491Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T11:35:10.497Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T11:35:10.516Z] $ docker stop --time=1 8d61fb4768b1655186871d51694bf8f17572cbac1cefa86d4ed0aecc4dc243d4 [2023-09-11T11:35:11.797Z] $ docker rm -f --volumes 8d61fb4768b1655186871d51694bf8f17572cbac1cefa86d4ed0aecc4dc243d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T11:35:12.205Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T11:35:12.205Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:35:12.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:35:12.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:35:12.570Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:35:12.603Z] $ 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-09-11T11:35:12.938Z] $ docker top bcebc9a246af2aad1cd32604a419c183cc5134b8615da369b106001ce446ed61 -eo pid,comm [2023-09-11T11:35:12.984Z] 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-09-11T11:35:12.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T11:35:13.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T11:35:13.021Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T11:35:13.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T11:35:13.136Z] $ docker exec bcebc9a246af2aad1cd32604a419c183cc5134b8615da369b106001ce446ed61 ssh-agent [2023-09-11T11:35:13.226Z] SSH_AUTH_SOCK=/tmp/ssh-Q48GJdaAX3qX/agent.32 [2023-09-11T11:35:13.226Z] SSH_AGENT_PID=38 [2023-09-11T11:35:13.232Z] Running ssh-add (command line suppressed) [2023-09-11T11:35:13.328Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10298104883598290753.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10298104883598290753.key) [2023-09-11T11:35:13.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T11:35:13.628Z] + git semver bump pre [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,792 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,794 [execute] INFO git cat-file --batch-check [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,799 [execute] INFO git cat-file --batch [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T11:35:13.887Z] 2023-09-11 11:35:13,805 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:35:13.887Z] 3.1.0-dev.12 [Pipeline] } [2023-09-11T11:35:13.898Z] $ docker exec --env ******** --env ******** bcebc9a246af2aad1cd32604a419c183cc5134b8615da369b106001ce446ed61 ssh-agent -k [2023-09-11T11:35:13.990Z] unset SSH_AUTH_SOCK; [2023-09-11T11:35:13.990Z] unset SSH_AGENT_PID; [2023-09-11T11:35:13.990Z] echo Agent pid 38 killed; [2023-09-11T11:35:13.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T11:35:14.294Z] + git semver [Pipeline] } [2023-09-11T11:35:14.565Z] $ docker stop --time=1 bcebc9a246af2aad1cd32604a419c183cc5134b8615da369b106001ce446ed61 [2023-09-11T11:35:15.842Z] $ docker rm -f --volumes bcebc9a246af2aad1cd32604a419c183cc5134b8615da369b106001ce446ed61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T11:35:16.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T11:35:16.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:35:16.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T11:35:16.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:35:16.543Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:35:16.574Z] $ 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-09-11T11:35:16.882Z] $ docker top 3f5d360db8edf3ef17973684777158303e8daae000dd49987330a77c15b9d9cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T11:35:16.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T11:35:16.956Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T11:35:17.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T11:35:17.069Z] $ docker exec 3f5d360db8edf3ef17973684777158303e8daae000dd49987330a77c15b9d9cc ssh-agent [2023-09-11T11:35:17.167Z] SSH_AUTH_SOCK=/tmp/ssh-bUIoAhcfdtUm/agent.32 [2023-09-11T11:35:17.167Z] SSH_AGENT_PID=38 [2023-09-11T11:35:17.171Z] Running ssh-add (command line suppressed) [2023-09-11T11:35:17.263Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8131377985500288774.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8131377985500288774.key) [2023-09-11T11:35:17.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T11:35:17.559Z] + git semver push [2023-09-11T11:35:17.818Z] 2023-09-11 11:35:17,718 [run_push] DEBUG push [2023-09-11T11:35:17.818Z] 2023-09-11 11:35:17,719 [execute] INFO git cat-file --batch-check [2023-09-11T11:35:17.818Z] 2023-09-11 11:35:17,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T11:35:17.819Z] 2023-09-11 11:35:17,722 [execute] INFO git rev-list b547d68f7ba6097707ba29a4705bf6b9f591be55 -- [2023-09-11T11:35:17.819Z] 2023-09-11 11:35:17,723 [execute] DEBUG Popen(['git', 'rev-list', 'b547d68f7ba6097707ba29a4705bf6b9f591be55', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T11:35:17.819Z] 2023-09-11 11:35:17,732 [execute] INFO git fetch -v origin [2023-09-11T11:35:17.819Z] 2023-09-11 11:35:17,732 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T11:35:18.387Z] 2023-09-11 11:35:18,230 [run_push] DEBUG no remote changes detected [2023-09-11T11:35:18.387Z] 2023-09-11 11:35:18,230 [execute] INFO git push origin semver [2023-09-11T11:35:18.387Z] 2023-09-11 11:35:18,231 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T11:35:19.323Z] 2023-09-11 11:35:18,992 [run_push] DEBUG push all version tags [2023-09-11T11:35:19.323Z] 2023-09-11 11:35:18,993 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T11:35:19.323Z] 2023-09-11 11:35:18,993 [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-09-11T11:35:19.891Z] 2023-09-11 11:35:19,786 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-11T11:35:19.891Z] 3.1.0-dev.12 [Pipeline] } [2023-09-11T11:35:19.903Z] $ docker exec --env ******** --env ******** 3f5d360db8edf3ef17973684777158303e8daae000dd49987330a77c15b9d9cc ssh-agent -k [2023-09-11T11:35:19.996Z] unset SSH_AUTH_SOCK; [2023-09-11T11:35:19.996Z] unset SSH_AGENT_PID; [2023-09-11T11:35:19.996Z] echo Agent pid 38 killed; [2023-09-11T11:35:20.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T11:35:20.305Z] + git semver [Pipeline] } [2023-09-11T11:35:20.579Z] $ docker stop --time=1 3f5d360db8edf3ef17973684777158303e8daae000dd49987330a77c15b9d9cc [2023-09-11T11:35:21.861Z] $ docker rm -f --volumes 3f5d360db8edf3ef17973684777158303e8daae000dd49987330a77c15b9d9cc [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-09-11T11:35:22.433Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-11T11:35:22.434Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-11T11:35:22.434Z] total 16 [2023-09-11T11:35:22.434Z] drwxr-xr-x 3 root root 4096 Sep 11 11:28 . [2023-09-11T11:35:22.434Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 11:35 .. [2023-09-11T11:35:22.434Z] drwxr-xr-x 2 root root 4096 Sep 11 11:28 cost [2023-09-11T11:35:22.434Z] -rw-r--r-- 1 root root 89 Sep 11 11:28 cost.csv [2023-09-11T11:35:22.434Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-11T11:35:22.434Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-11T11:35:22.434Z] total 16 [2023-09-11T11:35:22.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 11:28 . [2023-09-11T11:35:22.434Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 11:35 .. [2023-09-11T11:35:22.434Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 11:28 cost [2023-09-11T11:35:22.434Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 11 11:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:22.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:23.580Z] ---> package-listing.sh [2023-09-11T11:35:23.580Z] ++ facter osfamily [2023-09-11T11:35:23.580Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T11:35:23.839Z] + OS_FAMILY=debian [2023-09-11T11:35:23.840Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-11T11:35:23.840Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T11:35:23.840Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T11:35:23.840Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T11:35:23.840Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T11:35:23.840Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-11T11:35:23.840Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T11:35:23.840Z] + case "${OS_FAMILY}" in [2023-09-11T11:35:23.840Z] + dpkg -l [2023-09-11T11:35:23.840Z] + grep '^ii' [2023-09-11T11:35:23.840Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T11:35:23.840Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T11:35:23.840Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T11:35:23.840Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-11T11:35:23.840Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-11T11:35:23.840Z] + 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-09-11T11:35:23.849Z] 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-09-11T11:35:24.126Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T11:35:24.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T11:35:24.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T11:35:24.750Z] prd-ubuntu20.04-docker-8c-8g-5795 does not seem to be running inside a container [2023-09-11T11:35:24.857Z] $ 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-09-11T11:35:25.079Z] $ docker top 3d96e20419abdf94d339aad87d050ea9c253016b22b38a8316b6fa8516f4d706 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T11:35:25.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T11:35:25.781Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T11:35:26.066Z] + ls /var/log/sa-host [2023-09-11T11:35:26.066Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T11:35:26.211Z] provisioning config files... [2023-09-11T11:35:26.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3013419603887579973tmp [Pipeline] { [Pipeline] echo [2023-09-11T11:35:26.231Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:26.516Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T11:35:26.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:26.861Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T11:35:26.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:27.152Z] ---> sudo-logs.sh [2023-09-11T11:35:27.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T11:35:27.181Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:27.466Z] ---> job-cost.sh [2023-09-11T11:35:27.466Z] lf-activate-venv: SKIPPING [2023-09-11T11:35:27.466Z] DEBUG: total: 0.2199999988079071 [2023-09-11T11:35:27.466Z] INFO: Retrieving Stack Cost... [2023-09-11T11:35:28.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T11:35:28.293Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T11:35:28.303Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T11:35:28.583Z] ---> logs-deploy.sh [2023-09-11T11:35:28.583Z] lf-activate-venv: SKIPPING [2023-09-11T11:35:28.583Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/137 [2023-09-11T11:35:28.583Z] INFO: archiving workspace using pattern(s): [2023-09-11T11:35:29.519Z] Archives upload complete. [2023-09-11T11:35:29.519Z] INFO: archiving logs to Nexus