Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3e36257f0c9f774ec81edf885f9fc4e99897b55 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-ssh7561517172646691414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11202135930827543962.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16346446589326224346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9597321326162042248.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-ssh5101227251504278913.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17018 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 a3e36257f0c9f774ec81edf885f9fc4e99897b55 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#449)" > git checkout -f a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 > git rev-list --no-walk 80fcd9e8c673b029d068a87f517db227d44531cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T14:05:27.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T14:05:27.055Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T14:05:27.072Z] ========================================================= [2023-11-08T14:05:27.072Z] EdgeX Global Pipelines Version Info [2023-11-08T14:05:27.072Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:05:27.783Z] ------------------- [2023-11-08T14:05:27.783Z] stable info: [2023-11-08T14:05:27.783Z] ------------------- [2023-11-08T14:05:27.783Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T14:05:27.783Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T14:05:27.783Z] Message: update stable to v1.0.257 [2023-11-08T14:05:28.355Z] ------------------- [2023-11-08T14:05:28.355Z] experimental info: [2023-11-08T14:05:28.355Z] ------------------- [2023-11-08T14:05:28.355Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T14:05:28.355Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T14:05:28.355Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T14:05:28.547Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-11-08T14:05:28.561Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-11-08T14:05:28.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T14:05:28.591Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T14:05:28.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T14:05:28.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T14:05:28.643Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T14:05:28.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T14:05:28.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T14:05:28.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T14:05:28.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T14:05:28.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-11-08T14:05:28.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T14:05:28.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T14:05:28.737Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T14:05:28.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T14:05:28.758Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T14:05:28.770Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T14:05:28.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T14:05:28.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T14:05:28.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T14:05:28.822Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T14:05:28.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T14:05:28.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T14:05:28.888Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T14:05:28.905Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T14:05:28.916Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T14:05:28.933Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-08T14:05:28.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-08T14:05:28.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-08T14:05:28.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] echo [2023-11-08T14:05:29.001Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3e3625 [Pipeline] echo [2023-11-08T14:05:29.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:05:29.068Z] provisioning config files... [2023-11-08T14:05:29.080Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5860641945456024957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:05:29.443Z] ---> docker-login.sh [2023-11-08T14:05:29.443Z] nexus3.edgexfoundry.org:10001 [2023-11-08T14:05:29.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:29.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:29.961Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:29.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:29.961Z] [2023-11-08T14:05:29.961Z] Login Succeeded [2023-11-08T14:05:29.961Z] nexus3.edgexfoundry.org:10002 [2023-11-08T14:05:29.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:29.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:29.961Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:29.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:29.961Z] [2023-11-08T14:05:29.961Z] Login Succeeded [2023-11-08T14:05:29.961Z] nexus3.edgexfoundry.org:10003 [2023-11-08T14:05:29.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:30.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:30.221Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:30.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:30.222Z] [2023-11-08T14:05:30.222Z] Login Succeeded [2023-11-08T14:05:30.222Z] nexus3.edgexfoundry.org:10004 [2023-11-08T14:05:30.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:30.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:30.222Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:30.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:30.222Z] [2023-11-08T14:05:30.222Z] Login Succeeded [2023-11-08T14:05:30.222Z] docker.io [2023-11-08T14:05:30.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:30.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:30.482Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:30.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:30.482Z] [2023-11-08T14:05:30.482Z] Login Succeeded [2023-11-08T14:05:30.482Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T14:05:30.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T14:05:30.851Z] + git rev-list -1 --merges a3e36257f0c9f774ec81edf885f9fc4e99897b55~1..a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] echo [2023-11-08T14:05:30.893Z] -----------> git rev-list -1 --merges a3e36257f0c9f774ec81edf885f9fc4e99897b55~1..a3e36257f0c9f774ec81edf885f9fc4e99897b55 a3e36257f0c9f774ec81edf885f9fc4e99897b55 [false] [Pipeline] sh [2023-11-08T14:05:31.178Z] + git log --format=format:%s -1 a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] echo [2023-11-08T14:05:31.239Z] ========================================================= [2023-11-08T14:05:31.239Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T14:05:31.239Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T14:05:31.578Z] + git log --format=format:%s -1 a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] echo [2023-11-08T14:05:31.590Z] [semverPrep] GIT_COMMIT: a3e36257f0c9f774ec81edf885f9fc4e99897b55, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#449) [Pipeline] echo [2023-11-08T14:05:31.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T14:05:31.958Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T14:05:31.958Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T14:05:31.958Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T14:05:31.958Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T14:05:31.958Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T14:05:31.958Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T14:05:31.958Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:05:32.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:05:32.298Z] [2023-11-08T14:05:32.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:05:32.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:05:32.604Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T14:05:32.604Z] b85a868b505f: Pulling fs layer [2023-11-08T14:05:32.604Z] e2be974225ed: Pulling fs layer [2023-11-08T14:05:32.604Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T14:05:32.604Z] 988bab9f4d93: Pulling fs layer [2023-11-08T14:05:32.604Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T14:05:32.604Z] 988bab9f4d93: Waiting [2023-11-08T14:05:32.604Z] eaf3925da568: Pulling fs layer [2023-11-08T14:05:32.604Z] eaf3925da568: Waiting [2023-11-08T14:05:32.604Z] bab4dde63d76: Pulling fs layer [2023-11-08T14:05:32.604Z] bde34c3a00c8: Pulling fs layer [2023-11-08T14:05:32.604Z] b352a97aabf1: Pulling fs layer [2023-11-08T14:05:32.604Z] 4872d77fe225: Pulling fs layer [2023-11-08T14:05:32.604Z] bde34c3a00c8: Waiting [2023-11-08T14:05:32.604Z] b352a97aabf1: Waiting [2023-11-08T14:05:32.604Z] 5851b861e8e6: Pulling fs layer [2023-11-08T14:05:32.604Z] 4872d77fe225: Waiting [2023-11-08T14:05:32.604Z] 5851b861e8e6: Waiting [2023-11-08T14:05:32.604Z] e2be974225ed: Verifying Checksum [2023-11-08T14:05:32.604Z] e2be974225ed: Download complete [2023-11-08T14:05:32.604Z] 988bab9f4d93: Verifying Checksum [2023-11-08T14:05:32.604Z] 988bab9f4d93: Download complete [2023-11-08T14:05:32.863Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T14:05:32.863Z] 1469e6f7b9e6: Download complete [2023-11-08T14:05:32.863Z] eaf3925da568: Verifying Checksum [2023-11-08T14:05:32.863Z] eaf3925da568: Download complete [2023-11-08T14:05:32.863Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T14:05:32.863Z] 339a4e72a1f5: Download complete [2023-11-08T14:05:32.863Z] bde34c3a00c8: Verifying Checksum [2023-11-08T14:05:32.863Z] bde34c3a00c8: Download complete [2023-11-08T14:05:32.863Z] b352a97aabf1: Download complete [2023-11-08T14:05:32.863Z] 4872d77fe225: Download complete [2023-11-08T14:05:32.863Z] 5851b861e8e6: Download complete [2023-11-08T14:05:32.863Z] b85a868b505f: Verifying Checksum [2023-11-08T14:05:32.863Z] b85a868b505f: Download complete [2023-11-08T14:05:33.123Z] bab4dde63d76: Verifying Checksum [2023-11-08T14:05:33.123Z] bab4dde63d76: Download complete [2023-11-08T14:05:34.071Z] b85a868b505f: Pull complete [2023-11-08T14:05:34.349Z] e2be974225ed: Pull complete [2023-11-08T14:05:34.928Z] 339a4e72a1f5: Pull complete [2023-11-08T14:05:34.928Z] 988bab9f4d93: Pull complete [2023-11-08T14:05:35.190Z] 1469e6f7b9e6: Pull complete [2023-11-08T14:05:35.450Z] eaf3925da568: Pull complete [2023-11-08T14:05:37.361Z] bab4dde63d76: Pull complete [2023-11-08T14:05:37.361Z] bde34c3a00c8: Pull complete [2023-11-08T14:05:37.361Z] b352a97aabf1: Pull complete [2023-11-08T14:05:37.361Z] 4872d77fe225: Pull complete [2023-11-08T14:05:37.361Z] 5851b861e8e6: Pull complete [2023-11-08T14:05:37.361Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T14:05:37.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:05:37.361Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:05:37.455Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:05:37.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T14:05:41.218Z] $ docker top b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb -eo pid,comm [2023-11-08T14:05:41.276Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T14:05:41.276Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T14:05:41.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T14:05:41.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T14:05:41.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T14:05:41.439Z] $ docker exec b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb ssh-agent [2023-11-08T14:05:41.547Z] SSH_AUTH_SOCK=/tmp/ssh-M5ADDplD7tld/agent.31 [2023-11-08T14:05:41.547Z] SSH_AGENT_PID=37 [2023-11-08T14:05:41.555Z] Running ssh-add (command line suppressed) [2023-11-08T14:05:41.654Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12646820383133783256.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12646820383133783256.key) [2023-11-08T14:05:41.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T14:05:41.957Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T14:05:41.977Z] $ docker exec --env ******** --env ******** b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb ssh-agent -k [2023-11-08T14:05:42.075Z] unset SSH_AUTH_SOCK; [2023-11-08T14:05:42.075Z] unset SSH_AGENT_PID; [2023-11-08T14:05:42.077Z] echo Agent pid 37 killed; [2023-11-08T14:05:42.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T14:05:42.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T14:05:42.107Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T14:05:42.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T14:05:42.213Z] $ docker exec b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb ssh-agent [2023-11-08T14:05:42.310Z] SSH_AUTH_SOCK=/tmp/ssh-1rFL3xQ3FaH7/agent.69 [2023-11-08T14:05:42.311Z] SSH_AGENT_PID=75 [2023-11-08T14:05:42.316Z] Running ssh-add (command line suppressed) [2023-11-08T14:05:42.423Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1482316015562067249.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1482316015562067249.key) [2023-11-08T14:05:42.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T14:05:42.727Z] + git semver init [2023-11-08T14:05:42.987Z] 2023-11-08 14:05:42,932 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T14:05:42.987Z] 2023-11-08 14:05:42,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-11-08T14:05:42.987Z] 2023-11-08 14:05:42,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-11-08T14:05:42.987Z] 2023-11-08 14:05:42,933 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T14:05:44.369Z] 2023-11-08 14:05:44,222 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-11-08T14:05:44.369Z] 2023-11-08 14:05:44,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-11-08T14:05:44.369Z] 2023-11-08 14:05:44,223 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:05:44.369Z] 2023-11-08 14:05:44,223 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:05:44.369Z] 3.1.0-dev.29 [Pipeline] } [2023-11-08T14:05:44.380Z] $ docker exec --env ******** --env ******** b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb ssh-agent -k [2023-11-08T14:05:44.483Z] unset SSH_AUTH_SOCK; [2023-11-08T14:05:44.484Z] unset SSH_AGENT_PID; [2023-11-08T14:05:44.484Z] echo Agent pid 75 killed; [2023-11-08T14:05:44.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T14:05:44.801Z] + git semver [Pipeline] } [2023-11-08T14:05:45.078Z] $ docker stop --time=1 b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb [2023-11-08T14:05:46.449Z] $ docker rm -f --volumes b70ae359ff22598c7f64912b0165febd4ddf646865a992cd944c3619d705c2fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T14:05:46.792Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T14:05:47.041Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T14:05:47.045Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:05:47.185Z] provisioning config files... [2023-11-08T14:05:47.193Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1191143209273545275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:05:47.484Z] ---> docker-login.sh [2023-11-08T14:05:47.484Z] nexus3.edgexfoundry.org:10001 [2023-11-08T14:05:47.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:47.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:47.484Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:47.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:47.484Z] [2023-11-08T14:05:47.484Z] Login Succeeded [2023-11-08T14:05:47.484Z] nexus3.edgexfoundry.org:10002 [2023-11-08T14:05:47.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:47.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:47.484Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:47.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:47.484Z] [2023-11-08T14:05:47.484Z] Login Succeeded [2023-11-08T14:05:47.484Z] nexus3.edgexfoundry.org:10003 [2023-11-08T14:05:47.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:47.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:47.744Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:47.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:47.744Z] [2023-11-08T14:05:47.744Z] Login Succeeded [2023-11-08T14:05:47.744Z] nexus3.edgexfoundry.org:10004 [2023-11-08T14:05:47.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:47.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:47.744Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:47.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:47.744Z] [2023-11-08T14:05:47.744Z] Login Succeeded [2023-11-08T14:05:47.744Z] docker.io [2023-11-08T14:05:48.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:05:48.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:05:48.264Z] Configure a credential helper to remove this warning. See [2023-11-08T14:05:48.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:05:48.264Z] [2023-11-08T14:05:48.264Z] Login Succeeded [2023-11-08T14:05:48.264Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T14:05:48.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T14:05:48.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:05:48.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:05:48.343Z] ========================================================= [2023-11-08T14:05:48.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T14:05:48.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:05:48.647Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T14:05:48.647Z] Sending build context to Docker daemon 23.7MB [2023-11-08T14:05:48.647Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T14:05:48.647Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T14:05:48.918Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T14:05:48.918Z] 7264a8db6415: Pulling fs layer [2023-11-08T14:05:48.918Z] c4d48a809fc2: Pulling fs layer [2023-11-08T14:05:48.918Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T14:05:48.918Z] ad3a456e5733: Pulling fs layer [2023-11-08T14:05:48.918Z] 33e27b845d1e: Pulling fs layer [2023-11-08T14:05:48.918Z] c68163c4e522: Pulling fs layer [2023-11-08T14:05:48.918Z] 50da416c3ac9: Pulling fs layer [2023-11-08T14:05:48.918Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T14:05:48.918Z] ad3a456e5733: Waiting [2023-11-08T14:05:48.918Z] 33e27b845d1e: Waiting [2023-11-08T14:05:48.918Z] 50da416c3ac9: Waiting [2023-11-08T14:05:48.918Z] 23d2d4c4bb30: Waiting [2023-11-08T14:05:48.918Z] c68163c4e522: Waiting [2023-11-08T14:05:48.918Z] c4d48a809fc2: Verifying Checksum [2023-11-08T14:05:48.918Z] c4d48a809fc2: Download complete [2023-11-08T14:05:48.918Z] ad3a456e5733: Verifying Checksum [2023-11-08T14:05:48.918Z] ad3a456e5733: Download complete [2023-11-08T14:05:48.918Z] 33e27b845d1e: Download complete [2023-11-08T14:05:48.918Z] 7264a8db6415: Verifying Checksum [2023-11-08T14:05:48.918Z] 7264a8db6415: Download complete [2023-11-08T14:05:48.918Z] c68163c4e522: Verifying Checksum [2023-11-08T14:05:48.918Z] c68163c4e522: Download complete [2023-11-08T14:05:49.177Z] 7264a8db6415: Pull complete [2023-11-08T14:05:49.177Z] c4d48a809fc2: Pull complete [2023-11-08T14:05:49.177Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T14:05:49.439Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T14:05:49.439Z] 4f1c88b9dad5: Download complete [2023-11-08T14:05:49.698Z] 50da416c3ac9: Verifying Checksum [2023-11-08T14:05:49.698Z] 50da416c3ac9: Download complete [2023-11-08T14:05:52.988Z] 4f1c88b9dad5: Pull complete [2023-11-08T14:05:52.988Z] ad3a456e5733: Pull complete [2023-11-08T14:05:52.988Z] 33e27b845d1e: Pull complete [2023-11-08T14:05:52.988Z] c68163c4e522: Pull complete [2023-11-08T14:05:54.892Z] 50da416c3ac9: Pull complete [2023-11-08T14:05:55.855Z] 23d2d4c4bb30: Pull complete [2023-11-08T14:05:55.855Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T14:05:55.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T14:05:55.855Z] ---> 0786185ac409 [2023-11-08T14:05:55.855Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T14:06:02.149Z] Still waiting to schedule task [2023-11-08T14:06:02.150Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-08T14:06:02.449Z] ---> Running in a1183f633d61 [2023-11-08T14:06:02.449Z] Removing intermediate container a1183f633d61 [2023-11-08T14:06:02.449Z] ---> c02b0d20ebb9 [2023-11-08T14:06:02.449Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T14:06:02.449Z] ---> Running in a709f0101665 [2023-11-08T14:06:02.449Z] Removing intermediate container a709f0101665 [2023-11-08T14:06:02.449Z] ---> e8ca0e9035e9 [2023-11-08T14:06:02.449Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T14:06:02.449Z] ---> Running in 34d98cc7bef3 [2023-11-08T14:06:02.449Z] Removing intermediate container 34d98cc7bef3 [2023-11-08T14:06:02.449Z] ---> 28a194e49531 [2023-11-08T14:06:02.449Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-08T14:06:02.449Z] ---> Running in a9e48f53c0cd [2023-11-08T14:06:02.449Z] Removing intermediate container a9e48f53c0cd [2023-11-08T14:06:02.449Z] ---> ab3953aabf27 [2023-11-08T14:06:02.449Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T14:06:02.449Z] ---> Running in e4e7a8ef3150 [2023-11-08T14:06:02.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T14:06:02.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T14:06:02.970Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T14:06:02.970Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T14:06:02.970Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T14:06:03.230Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T14:06:03.230Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T14:06:03.230Z] OK: 268 MiB in 56 packages [2023-11-08T14:06:03.800Z] Removing intermediate container e4e7a8ef3150 [2023-11-08T14:06:03.800Z] ---> 33f5cc00b39c [2023-11-08T14:06:03.800Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T14:06:03.800Z] ---> ff3fe9530121 [2023-11-08T14:06:03.800Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T14:06:03.800Z] ---> Running in 1d5df102cbaf [2023-11-08T14:06:50.549Z] Removing intermediate container 1d5df102cbaf [2023-11-08T14:06:50.549Z] ---> b4c0acbe5a3e [2023-11-08T14:06:50.549Z] Step 10/12 : COPY . . [2023-11-08T14:06:50.549Z] ---> ba898011e4bf [2023-11-08T14:06:50.549Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T14:06:50.549Z] ---> Running in d7f59120c50e [2023-11-08T14:06:50.549Z] Removing intermediate container d7f59120c50e [2023-11-08T14:06:50.549Z] ---> 2d8468bd4d50 [2023-11-08T14:06:50.549Z] Step 12/12 : RUN $MAKE [2023-11-08T14:06:50.549Z] ---> Running in a2cc63b8014f [2023-11-08T14:06:50.549Z] noop [2023-11-08T14:06:50.549Z] Removing intermediate container a2cc63b8014f [2023-11-08T14:06:50.549Z] ---> 07f7b662f3fe [2023-11-08T14:06:50.549Z] Successfully built 07f7b662f3fe [2023-11-08T14:06:50.549Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:06:50.876Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T14:06:50.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:06:50.961Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:06:50.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T14:06:51.358Z] $ docker top 15a08b459a1000882df7e7a881d643b79a1bcffe30973626a8a2726a999e1d39 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T14:06:51.705Z] + go version [2023-11-08T14:06:51.705Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T14:06:51.719Z] $ docker stop --time=1 15a08b459a1000882df7e7a881d643b79a1bcffe30973626a8a2726a999e1d39 [2023-11-08T14:06:52.995Z] $ docker rm -f --volumes 15a08b459a1000882df7e7a881d643b79a1bcffe30973626a8a2726a999e1d39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:06:53.412Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T14:06:53.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:06:53.486Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:06:53.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T14:06:53.868Z] $ docker top 7ef829e0c8f123443f48401887945e03263ebc54834bed8b64a305bedcab6445 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T14:06:54.215Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-08T14:06:54.547Z] + make test [2023-11-08T14:06:54.547Z] go test ./... -coverprofile=coverage.out [2023-11-08T14:06:56.448Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-08T14:07:06.443Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-08T14:07:06.443Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements [2023-11-08T14:07:13.003Z] go vet ./... [2023-11-08T14:07:16.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T14:07:16.289Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T14:07:16.289Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T14:07:16.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T14:07:16.324Z] $ docker stop --time=1 7ef829e0c8f123443f48401887945e03263ebc54834bed8b64a305bedcab6445 [2023-11-08T14:07:25.468Z] $ docker rm -f --volumes 7ef829e0c8f123443f48401887945e03263ebc54834bed8b64a305bedcab6445 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T14:07:25.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T14:07:26.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T14:07:26.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T14:07:26.860Z] + ls -al . [2023-11-08T14:07:26.860Z] total 200 [2023-11-08T14:07:26.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:06 . [2023-11-08T14:07:26.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 14:05 .. [2023-11-08T14:07:26.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:07 .git [2023-11-08T14:07:26.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:05 .github [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 14:05 .gitignore [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 14:05 .golangci.yml [2023-11-08T14:07:26.860Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 14:05 .semver [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 14:05 Attribution.txt [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 14:05 CHANGELOG.md [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 14:05 Dockerfile [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 14:05 GOVERNANCE.md [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 14:05 Jenkinsfile [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 14:05 LICENSE [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 14:05 Makefile [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 14:05 OWNERS.md [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 14:05 README.md [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 14:05 VERSION [2023-11-08T14:07:26.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 14:05 bin [2023-11-08T14:07:26.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:05 cmd [2023-11-08T14:07:26.860Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 14:07 coverage.out [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 8 14:05 go.mod [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 8 14:05 go.sum [2023-11-08T14:07:26.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:05 internal [2023-11-08T14:07:26.860Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:07:27.207Z] + 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=a3e36257f0c9f774ec81edf885f9fc4e99897b55 --label arch=amd64 --label version=3.1.0-dev.29 . [2023-11-08T14:07:27.208Z] Sending build context to Docker daemon 23.74MB [2023-11-08T14:07:27.208Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T14:07:27.208Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T14:07:27.208Z] ---> 07f7b662f3fe [2023-11-08T14:07:27.208Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T14:07:28.727Z] ---> Running in 219aed2cfc9c [2023-11-08T14:07:29.026Z] Removing intermediate container 219aed2cfc9c [2023-11-08T14:07:29.026Z] ---> fb9c36bc3e83 [2023-11-08T14:07:29.026Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T14:07:29.285Z] ---> Running in 19f63d4b77f4 [2023-11-08T14:07:30.258Z] Removing intermediate container 19f63d4b77f4 [2023-11-08T14:07:30.258Z] ---> 4cc05924bfc1 [2023-11-08T14:07:30.258Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T14:07:30.855Z] ---> Running in b2175b085ee9 [2023-11-08T14:07:31.422Z] Removing intermediate container b2175b085ee9 [2023-11-08T14:07:31.422Z] ---> 7bdefd46ee89 [2023-11-08T14:07:31.422Z] Step 6/25 : WORKDIR /device-virtual-go [2023-11-08T14:07:31.713Z] ---> Running in 9e97fe3b6a8c [2023-11-08T14:07:32.649Z] Removing intermediate container 9e97fe3b6a8c [2023-11-08T14:07:32.649Z] ---> c27b19c96e7c [2023-11-08T14:07:32.649Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T14:07:32.649Z] ---> Running in 194cab47329e [2023-11-08T14:07:33.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T14:07:33.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T14:07:33.838Z] OK: 268 MiB in 56 packages [2023-11-08T14:07:34.404Z] Removing intermediate container 194cab47329e [2023-11-08T14:07:34.404Z] ---> d9829b130c9d [2023-11-08T14:07:34.404Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T14:07:34.663Z] ---> 334567d32bba [2023-11-08T14:07:34.663Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T14:07:34.663Z] ---> Running in 53ca9e7e5a53 [2023-11-08T14:07:35.597Z] Removing intermediate container 53ca9e7e5a53 [2023-11-08T14:07:35.597Z] ---> cc23b8d0ae4a [2023-11-08T14:07:35.597Z] Step 10/25 : COPY . . [2023-11-08T14:07:36.534Z] ---> d03ea2b7e575 [2023-11-08T14:07:36.534Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T14:07:36.801Z] ---> Running in d16715b2ab81 [2023-11-08T14:07:36.801Z] Removing intermediate container d16715b2ab81 [2023-11-08T14:07:36.801Z] ---> 702af822b1d4 [2023-11-08T14:07:36.801Z] Step 12/25 : RUN $MAKE [2023-11-08T14:07:36.801Z] ---> Running in b36aee0da310 [2023-11-08T14:07:37.059Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-08T14:07:38.840Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17019 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-11-08T14:07:38.855Z] Running in /w/workspace/device-virtual-go/155 [Pipeline] { [Pipeline] checkout [2023-11-08T14:07:38.889Z] The recommended git tool is: git [2023-11-08T14:07:43.862Z] using credential edgex-jenkins-ssh [2023-11-08T14:07:43.878Z] Cloning the remote Git repository [2023-11-08T14:07:43.918Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-11-08T14:07:44.006Z] > git init /w/workspace/device-virtual-go/155 # timeout=10 [2023-11-08T14:07:44.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-08T14:07:44.133Z] > git --version # timeout=10 [2023-11-08T14:07:44.150Z] > git --version # 'git version 2.25.1' [2023-11-08T14:07:44.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T14:07:44.291Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T14:07:47.182Z] Avoid second fetch [2023-11-08T14:07:47.183Z] Checking out Revision a3e36257f0c9f774ec81edf885f9fc4e99897b55 (main) [2023-11-08T14:07:46.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-08T14:07:46.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T14:07:47.198Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T14:07:47.275Z] > git checkout -f a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 [2023-11-08T14:07:47.714Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#449)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T14:07:48.610Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T14:07:48.610Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T14:07:48.610Z] Dload Upload Total Spent Left Speed [2023-11-08T14:07:48.610Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 94641 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh [2023-11-08T14:07:49.269Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T14:07:49.599Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T14:07:49.599Z] + sudo tee /etc/docker/daemon.new [2023-11-08T14:07:49.599Z] { [2023-11-08T14:07:49.599Z] "registry-mirrors": [ [2023-11-08T14:07:49.599Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T14:07:49.599Z] ], [2023-11-08T14:07:49.599Z] "bip": "10.250.0.254/24", [2023-11-08T14:07:49.599Z] "hosts": [ [2023-11-08T14:07:49.599Z] "tcp://0.0.0.0:5555", [2023-11-08T14:07:49.599Z] "unix:///var/run/docker.sock" [2023-11-08T14:07:49.599Z] ], [2023-11-08T14:07:49.599Z] "mtu": 1458, [2023-11-08T14:07:49.599Z] "selinux-enabled": true, [2023-11-08T14:07:49.599Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T14:07:49.599Z] } [Pipeline] sh [2023-11-08T14:07:49.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T14:07:50.290Z] + sudo service docker restart [2023-11-08T14:08:03.608Z] Removing intermediate container b36aee0da310 [2023-11-08T14:08:03.608Z] ---> 927b873a331d [2023-11-08T14:08:03.608Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T14:08:03.608Z] 3.18: Pulling from library/alpine [2023-11-08T14:08:03.608Z] 96526aa774ef: Pulling fs layer [2023-11-08T14:08:03.608Z] 96526aa774ef: Verifying Checksum [2023-11-08T14:08:03.608Z] 96526aa774ef: Download complete [2023-11-08T14:08:03.608Z] 96526aa774ef: Pull complete [2023-11-08T14:08:03.608Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T14:08:03.608Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T14:08:03.608Z] ---> 8ca4688f4f35 [2023-11-08T14:08:03.608Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-08T14:08:03.608Z] ---> Running in 92134bdc9220 [2023-11-08T14:08:04.174Z] Removing intermediate container 92134bdc9220 [2023-11-08T14:08:04.174Z] ---> 01b7917ad6f2 [2023-11-08T14:08:04.174Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T14:08:04.432Z] ---> Running in 76b539db4098 [2023-11-08T14:08:05.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T14:08:05.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T14:08:05.628Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T14:08:05.628Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T14:08:05.628Z] OK: 7 MiB in 16 packages [2023-11-08T14:08:07.004Z] Removing intermediate container 76b539db4098 [2023-11-08T14:08:07.004Z] ---> 9ad977bb7d56 [2023-11-08T14:08:07.004Z] Step 16/25 : WORKDIR / [2023-11-08T14:08:07.571Z] ---> Running in 776881f58424 [2023-11-08T14:08:08.138Z] Removing intermediate container 776881f58424 [2023-11-08T14:08:08.138Z] ---> f974a2b75b93 [2023-11-08T14:08:08.138Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:08:08.547Z] provisioning config files... [2023-11-08T14:08:08.577Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/155@tmp/config11715414848686637429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:08:08.922Z] ---> docker-login.sh [2023-11-08T14:08:08.923Z] nexus3.edgexfoundry.org:10001 [2023-11-08T14:08:09.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:09.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:09.459Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:09.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:09.459Z] [2023-11-08T14:08:09.459Z] Login Succeeded [2023-11-08T14:08:09.459Z] nexus3.edgexfoundry.org:10002 [2023-11-08T14:08:09.513Z] ---> 6a2a39243fee [2023-11-08T14:08:09.513Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-08T14:08:09.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:09.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:09.725Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:09.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:09.725Z] [2023-11-08T14:08:09.725Z] Login Succeeded [2023-11-08T14:08:09.996Z] nexus3.edgexfoundry.org:10003 [2023-11-08T14:08:09.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:10.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:10.266Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:10.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:10.266Z] [2023-11-08T14:08:10.266Z] Login Succeeded [2023-11-08T14:08:10.266Z] nexus3.edgexfoundry.org:10004 [2023-11-08T14:08:10.450Z] ---> db3b0ac398d3 [2023-11-08T14:08:10.450Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-11-08T14:08:10.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:10.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:10.533Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:10.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:10.533Z] [2023-11-08T14:08:10.533Z] Login Succeeded [2023-11-08T14:08:10.533Z] docker.io [2023-11-08T14:08:10.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:11.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:11.066Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:11.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:11.066Z] [2023-11-08T14:08:11.066Z] Login Succeeded [2023-11-08T14:08:11.066Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T14:08:11.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T14:08:11.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:08:11.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:08:11.343Z] ========================================================= [2023-11-08T14:08:11.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T14:08:11.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:11.703Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T14:08:11.981Z] Sending build context to Docker daemon 11.98MB [2023-11-08T14:08:11.981Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T14:08:11.981Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T14:08:12.253Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T14:08:12.253Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T14:08:12.253Z] 5d54e960e981: Pulling fs layer [2023-11-08T14:08:12.253Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T14:08:12.253Z] f0e02332f6b5: Pulling fs layer [2023-11-08T14:08:12.253Z] cefa15bbcfad: Pulling fs layer [2023-11-08T14:08:12.253Z] 17808c966233: Pulling fs layer [2023-11-08T14:08:12.253Z] f4c1fc716caa: Pulling fs layer [2023-11-08T14:08:12.253Z] f0e02332f6b5: Waiting [2023-11-08T14:08:12.253Z] cefa15bbcfad: Waiting [2023-11-08T14:08:12.253Z] 17808c966233: Waiting [2023-11-08T14:08:12.253Z] f4c1fc716caa: Waiting [2023-11-08T14:08:12.253Z] 5d54e960e981: Download complete [2023-11-08T14:08:12.253Z] f0e02332f6b5: Verifying Checksum [2023-11-08T14:08:12.253Z] f0e02332f6b5: Download complete [2023-11-08T14:08:12.253Z] cefa15bbcfad: Verifying Checksum [2023-11-08T14:08:12.253Z] cefa15bbcfad: Download complete [2023-11-08T14:08:12.253Z] 9fda8d8052c6: Download complete [2023-11-08T14:08:12.449Z] ---> ad50d58cebc9 [2023-11-08T14:08:12.449Z] Step 20/25 : EXPOSE 59900 [2023-11-08T14:08:12.854Z] f4c1fc716caa: Verifying Checksum [2023-11-08T14:08:12.854Z] f4c1fc716caa: Download complete [2023-11-08T14:08:13.019Z] ---> Running in a4bbf4fb701f [2023-11-08T14:08:13.125Z] 9fda8d8052c6: Pull complete [2023-11-08T14:08:13.592Z] Removing intermediate container a4bbf4fb701f [2023-11-08T14:08:13.592Z] ---> 508ebe2be0d6 [2023-11-08T14:08:13.592Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-11-08T14:08:13.712Z] 5d54e960e981: Pull complete [2023-11-08T14:08:13.854Z] ---> Running in fe20ee6f7707 [2023-11-08T14:08:13.996Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T14:08:13.996Z] c4a7e357bf2a: Download complete [2023-11-08T14:08:14.425Z] Removing intermediate container fe20ee6f7707 [2023-11-08T14:08:14.425Z] ---> 7d0e95589c9a [2023-11-08T14:08:14.425Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T14:08:15.364Z] ---> Running in 52cef5d18983 [2023-11-08T14:08:15.414Z] 17808c966233: Verifying Checksum [2023-11-08T14:08:15.414Z] 17808c966233: Download complete [2023-11-08T14:08:16.308Z] Removing intermediate container 52cef5d18983 [2023-11-08T14:08:16.309Z] ---> 4cd6c55d23ce [2023-11-08T14:08:16.309Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T14:08:17.256Z] ---> Running in 7fb226c2f329 [2023-11-08T14:08:17.832Z] Removing intermediate container 7fb226c2f329 [2023-11-08T14:08:17.832Z] ---> c3e99215b7e9 [2023-11-08T14:08:17.832Z] Step 24/25 : LABEL git_sha=a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:08:18.093Z] ---> Running in 2e86c4c9f986 [2023-11-08T14:08:18.093Z] Removing intermediate container 2e86c4c9f986 [2023-11-08T14:08:18.093Z] ---> 8bc2a0f4fdae [2023-11-08T14:08:18.093Z] Step 25/25 : LABEL version=3.1.0-dev.29 [2023-11-08T14:08:18.093Z] ---> Running in e8121f502ae0 [2023-11-08T14:08:18.354Z] Removing intermediate container e8121f502ae0 [2023-11-08T14:08:18.354Z] ---> 99fd5291b4ae [2023-11-08T14:08:18.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T14:08:18.354Z] Successfully built 99fd5291b4ae [2023-11-08T14:08:18.354Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:08:18.468Z] provisioning config files... [2023-11-08T14:08:18.479Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config317752733565066700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:08:18.780Z] ---> docker-login.sh [2023-11-08T14:08:18.780Z] nexus3.edgexfoundry.org:10001 [2023-11-08T14:08:18.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:18.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:18.780Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:18.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:18.780Z] [2023-11-08T14:08:18.780Z] Login Succeeded [2023-11-08T14:08:18.780Z] nexus3.edgexfoundry.org:10002 [2023-11-08T14:08:18.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:18.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:18.780Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:18.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:18.780Z] [2023-11-08T14:08:18.780Z] Login Succeeded [2023-11-08T14:08:18.780Z] nexus3.edgexfoundry.org:10003 [2023-11-08T14:08:19.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:19.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:19.040Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:19.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:19.040Z] [2023-11-08T14:08:19.040Z] Login Succeeded [2023-11-08T14:08:19.040Z] nexus3.edgexfoundry.org:10004 [2023-11-08T14:08:19.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:19.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:19.040Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:19.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:19.040Z] [2023-11-08T14:08:19.040Z] Login Succeeded [2023-11-08T14:08:19.040Z] docker.io [2023-11-08T14:08:19.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:08:19.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:08:19.558Z] Configure a credential helper to remove this warning. See [2023-11-08T14:08:19.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:08:19.558Z] [2023-11-08T14:08:19.558Z] Login Succeeded [2023-11-08T14:08:19.558Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T14:08:19.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T14:08:19.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:08:19.631Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-11-08T14:08:19.631Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:08:19.631Z] latest [2023-11-08T14:08:19.631Z] 3.1.0-dev.29 [2023-11-08T14:08:19.631Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:08:19.631Z] main [2023-11-08T14:08:19.631Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:19.955Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:20.266Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:08:20.266Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T14:08:20.266Z] 819a8bad5cc9: Preparing [2023-11-08T14:08:20.266Z] df071f130343: Preparing [2023-11-08T14:08:20.266Z] 178b9e2c5020: Preparing [2023-11-08T14:08:20.266Z] 2316482042ad: Preparing [2023-11-08T14:08:20.266Z] cc2447e1835a: Preparing [2023-11-08T14:08:20.266Z] df071f130343: Pushed [2023-11-08T14:08:20.266Z] cc2447e1835a: Layer already exists [2023-11-08T14:08:20.266Z] 178b9e2c5020: Pushed [2023-11-08T14:08:20.266Z] 2316482042ad: Pushed [2023-11-08T14:08:22.800Z] 819a8bad5cc9: Pushed [2023-11-08T14:08:23.059Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55: digest: sha256:cec8740304ec7b67873ee9246b9132b55a6b2beb61479099f9f1d21cbf0d9750 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:23.383Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:23.697Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-11-08T14:08:23.697Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T14:08:23.697Z] 819a8bad5cc9: Preparing [2023-11-08T14:08:23.697Z] df071f130343: Preparing [2023-11-08T14:08:23.697Z] 178b9e2c5020: Preparing [2023-11-08T14:08:23.697Z] 2316482042ad: Preparing [2023-11-08T14:08:23.697Z] cc2447e1835a: Preparing [2023-11-08T14:08:23.697Z] 2316482042ad: Layer already exists [2023-11-08T14:08:23.697Z] 819a8bad5cc9: Layer already exists [2023-11-08T14:08:23.697Z] df071f130343: Layer already exists [2023-11-08T14:08:23.697Z] 178b9e2c5020: Layer already exists [2023-11-08T14:08:23.697Z] cc2447e1835a: Layer already exists [2023-11-08T14:08:23.697Z] latest: digest: sha256:cec8740304ec7b67873ee9246b9132b55a6b2beb61479099f9f1d21cbf0d9750 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:24.017Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:24.327Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.29 [2023-11-08T14:08:24.327Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T14:08:24.327Z] 819a8bad5cc9: Preparing [2023-11-08T14:08:24.327Z] df071f130343: Preparing [2023-11-08T14:08:24.327Z] 178b9e2c5020: Preparing [2023-11-08T14:08:24.327Z] 2316482042ad: Preparing [2023-11-08T14:08:24.327Z] cc2447e1835a: Preparing [2023-11-08T14:08:24.327Z] 2316482042ad: Layer already exists [2023-11-08T14:08:24.327Z] cc2447e1835a: Layer already exists [2023-11-08T14:08:24.327Z] 819a8bad5cc9: Layer already exists [2023-11-08T14:08:24.327Z] 178b9e2c5020: Layer already exists [2023-11-08T14:08:24.327Z] df071f130343: Layer already exists [2023-11-08T14:08:24.327Z] 3.1.0-dev.29: digest: sha256:cec8740304ec7b67873ee9246b9132b55a6b2beb61479099f9f1d21cbf0d9750 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:24.634Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:24.932Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:08:24.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T14:08:24.932Z] 819a8bad5cc9: Preparing [2023-11-08T14:08:24.932Z] df071f130343: Preparing [2023-11-08T14:08:24.932Z] 178b9e2c5020: Preparing [2023-11-08T14:08:24.932Z] 2316482042ad: Preparing [2023-11-08T14:08:24.932Z] cc2447e1835a: Preparing [2023-11-08T14:08:24.932Z] 819a8bad5cc9: Layer already exists [2023-11-08T14:08:24.932Z] 178b9e2c5020: Layer already exists [2023-11-08T14:08:24.932Z] cc2447e1835a: Layer already exists [2023-11-08T14:08:24.932Z] df071f130343: Layer already exists [2023-11-08T14:08:24.932Z] 2316482042ad: Layer already exists [2023-11-08T14:08:24.932Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29: digest: sha256:cec8740304ec7b67873ee9246b9132b55a6b2beb61479099f9f1d21cbf0d9750 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:25.241Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:25.544Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-11-08T14:08:25.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-11-08T14:08:25.544Z] 819a8bad5cc9: Preparing [2023-11-08T14:08:25.544Z] df071f130343: Preparing [2023-11-08T14:08:25.544Z] 178b9e2c5020: Preparing [2023-11-08T14:08:25.544Z] 2316482042ad: Preparing [2023-11-08T14:08:25.544Z] cc2447e1835a: Preparing [2023-11-08T14:08:25.544Z] df071f130343: Layer already exists [2023-11-08T14:08:25.544Z] 178b9e2c5020: Layer already exists [2023-11-08T14:08:25.544Z] cc2447e1835a: Layer already exists [2023-11-08T14:08:25.544Z] 2316482042ad: Layer already exists [2023-11-08T14:08:25.544Z] 819a8bad5cc9: Layer already exists [2023-11-08T14:08:25.544Z] main: digest: sha256:cec8740304ec7b67873ee9246b9132b55a6b2beb61479099f9f1d21cbf0d9750 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T14:08:25.587Z] ===================================================== [Pipeline] echo [2023-11-08T14:08:25.593Z] taggedImages: [2023-11-08T14:08:25.593Z] - nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:08:25.593Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-11-08T14:08:25.593Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.29 [2023-11-08T14:08:25.593Z] - nexus3.edgexfoundry.org:10004/device-virtual:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:08:25.593Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:25.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T14:08:25.947Z] [2023-11-08T14:08:25.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:08:26.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T14:08:26.243Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T14:08:26.243Z] 5eb5b503b376: Pulling fs layer [2023-11-08T14:08:26.243Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T14:08:26.243Z] ec43610c2a17: Pulling fs layer [2023-11-08T14:08:26.243Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T14:08:26.243Z] 33b1e0a273af: Pulling fs layer [2023-11-08T14:08:26.243Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T14:08:26.243Z] 2f39f015ded8: Pulling fs layer [2023-11-08T14:08:26.243Z] 3a2ae6a8a46f: Waiting [2023-11-08T14:08:26.243Z] 33b1e0a273af: Waiting [2023-11-08T14:08:26.243Z] 5d3b04190fa2: Waiting [2023-11-08T14:08:26.243Z] 2f39f015ded8: Waiting [2023-11-08T14:08:26.243Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T14:08:26.243Z] 5c69ac0246d0: Download complete [2023-11-08T14:08:26.243Z] 3a2ae6a8a46f: Download complete [2023-11-08T14:08:26.502Z] 33b1e0a273af: Verifying Checksum [2023-11-08T14:08:26.502Z] 33b1e0a273af: Download complete [2023-11-08T14:08:26.502Z] ec43610c2a17: Verifying Checksum [2023-11-08T14:08:26.502Z] ec43610c2a17: Download complete [2023-11-08T14:08:26.502Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T14:08:26.502Z] 5d3b04190fa2: Download complete [2023-11-08T14:08:26.502Z] 5eb5b503b376: Verifying Checksum [2023-11-08T14:08:26.502Z] 5eb5b503b376: Download complete [2023-11-08T14:08:27.068Z] 2f39f015ded8: Download complete [2023-11-08T14:08:27.634Z] 5eb5b503b376: Pull complete [2023-11-08T14:08:27.726Z] c4a7e357bf2a: Pull complete [2023-11-08T14:08:27.726Z] f0e02332f6b5: Pull complete [2023-11-08T14:08:27.726Z] cefa15bbcfad: Pull complete [2023-11-08T14:08:27.892Z] 5c69ac0246d0: Pull complete [2023-11-08T14:08:28.458Z] ec43610c2a17: Pull complete [2023-11-08T14:08:28.458Z] 3a2ae6a8a46f: Pull complete [2023-11-08T14:08:28.715Z] 33b1e0a273af: Pull complete [2023-11-08T14:08:28.715Z] 5d3b04190fa2: Pull complete [2023-11-08T14:08:32.904Z] 2f39f015ded8: Pull complete [2023-11-08T14:08:32.904Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T14:08:32.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T14:08:32.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:08:32.996Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:08:33.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T14:08:35.946Z] 17808c966233: Pull complete [2023-11-08T14:08:36.528Z] f4c1fc716caa: Pull complete [2023-11-08T14:08:36.528Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T14:08:36.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T14:08:36.528Z] ---> ea914061e18c [2023-11-08T14:08:36.528Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T14:08:38.564Z] ---> Running in 337160b0786e [2023-11-08T14:08:38.564Z] Removing intermediate container 337160b0786e [2023-11-08T14:08:38.564Z] ---> 13d7a9c1dbe9 [2023-11-08T14:08:38.564Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T14:08:38.564Z] ---> Running in b77f2667bc1e [2023-11-08T14:08:38.841Z] Removing intermediate container b77f2667bc1e [2023-11-08T14:08:38.841Z] ---> 1a0ccd695ddf [2023-11-08T14:08:38.841Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T14:08:39.120Z] ---> Running in 853d6efcbd2d [2023-11-08T14:08:39.393Z] Removing intermediate container 853d6efcbd2d [2023-11-08T14:08:39.393Z] ---> 97bb8c2c03d4 [2023-11-08T14:08:39.393Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-08T14:08:39.393Z] ---> Running in 71c163b3ae69 [2023-11-08T14:08:39.669Z] Removing intermediate container 71c163b3ae69 [2023-11-08T14:08:39.669Z] ---> 1edc445f1f80 [2023-11-08T14:08:39.669Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T14:08:39.935Z] ---> Running in ef7225354499 [2023-11-08T14:08:40.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T14:08:41.445Z] $ docker top da83b7a996a248887d6bc76d8adee433679a4b0d7b253a977bb4730146687ff4 -eo pid,comm [2023-11-08T14:08:41.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:08:41.836Z] ---> job-cost.sh [2023-11-08T14:08:41.836Z] lf-activate-venv: SKIPPING [2023-11-08T14:08:41.836Z] INFO: No Stack... [2023-11-08T14:08:42.094Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T14:08:42.423Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T14:08:42.423Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T14:08:42.423Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T14:08:42.423Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T14:08:42.663Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T14:08:42.700Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T14:08:42.700Z] OK: 270 MiB in 56 packages [2023-11-08T14:08:42.954Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-11-08T14:08:42.954Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T14:08:42.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [2023-11-08T14:08:42.981Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] did not exist. Created. [2023-11-08T14:08:42.981Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T14:08:43.293Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T14:08:43.325Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T14:08:43.332Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T14:08:43.353Z] $ docker stop --time=1 da83b7a996a248887d6bc76d8adee433679a4b0d7b253a977bb4730146687ff4 [2023-11-08T14:08:44.547Z] $ docker rm -f --volumes da83b7a996a248887d6bc76d8adee433679a4b0d7b253a977bb4730146687ff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T14:08:46.949Z] Removing intermediate container ef7225354499 [2023-11-08T14:08:46.949Z] ---> a5a06c0e65e9 [2023-11-08T14:08:46.949Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-08T14:08:46.949Z] ---> bc79e1de43da [2023-11-08T14:08:46.949Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T14:08:46.949Z] ---> Running in 7548607dc2cc [2023-11-08T14:10:08.572Z] Removing intermediate container 7548607dc2cc [2023-11-08T14:10:08.573Z] ---> b5a26a353207 [2023-11-08T14:10:08.573Z] Step 10/12 : COPY . . [2023-11-08T14:10:08.573Z] ---> fc99e8decd63 [2023-11-08T14:10:08.573Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T14:10:08.573Z] ---> Running in 7a587e89c262 [2023-11-08T14:10:08.573Z] Removing intermediate container 7a587e89c262 [2023-11-08T14:10:08.573Z] ---> 019e01942dad [2023-11-08T14:10:08.573Z] Step 12/12 : RUN $MAKE [2023-11-08T14:10:08.573Z] ---> Running in 55783b45676b [2023-11-08T14:10:08.573Z] noop [2023-11-08T14:10:08.573Z] Removing intermediate container 55783b45676b [2023-11-08T14:10:08.573Z] ---> d1153ccbb0bb [2023-11-08T14:10:08.573Z] Successfully built d1153ccbb0bb [2023-11-08T14:10:08.573Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:10:08.915Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T14:10:08.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:10:09.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-17019 does not seem to be running inside a container [2023-11-08T14:10:09.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/155 -v /w/workspace/device-virtual-go/155:/w/workspace/device-virtual-go/155:rw,z -v /w/workspace/device-virtual-go/155@tmp:/w/workspace/device-virtual-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T14:10:10.379Z] $ docker top 6c3079e40e2b7e8ce21b6cb6ed197ff4ad36b82da214b04b822c1c530023b537 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T14:10:11.216Z] + go version [2023-11-08T14:10:11.216Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T14:10:11.238Z] $ docker stop --time=1 6c3079e40e2b7e8ce21b6cb6ed197ff4ad36b82da214b04b822c1c530023b537 [2023-11-08T14:10:12.838Z] $ docker rm -f --volumes 6c3079e40e2b7e8ce21b6cb6ed197ff4ad36b82da214b04b822c1c530023b537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:10:13.401Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T14:10:13.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:10:13.585Z] prd-ubuntu20.04-docker-arm64-4c-16g-17019 does not seem to be running inside a container [2023-11-08T14:10:13.657Z] $ 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/155 -v /w/workspace/device-virtual-go/155:/w/workspace/device-virtual-go/155:rw,z -v /w/workspace/device-virtual-go/155@tmp:/w/workspace/device-virtual-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T14:10:14.809Z] $ docker top 0b76a354e1570bcca20b8d0133cddac4d6e828ec15f59c2cb8794abb998f33d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T14:10:15.647Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/155 [Pipeline] fileExists [Pipeline] sh [2023-11-08T14:10:15.976Z] + make test [2023-11-08T14:10:15.976Z] go test ./... -coverprofile=coverage.out [2023-11-08T14:10:20.239Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-08T14:11:56.884Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-08T14:11:56.884Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.069s coverage: 58.4% of statements [2023-11-08T14:11:56.884Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T14:11:56.884Z] go vet ./... [2023-11-08T14:12:06.972Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T14:12:06.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T14:12:06.972Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T14:12:06.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T14:12:07.014Z] $ docker stop --time=1 0b76a354e1570bcca20b8d0133cddac4d6e828ec15f59c2cb8794abb998f33d6 [2023-11-08T14:12:08.835Z] $ docker rm -f --volumes 0b76a354e1570bcca20b8d0133cddac4d6e828ec15f59c2cb8794abb998f33d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T14:12:10.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T14:12:10.117Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T14:12:10.692Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T14:12:11.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T14:12:11.449Z] + ls -al . [2023-11-08T14:12:11.449Z] total 196 [2023-11-08T14:12:11.449Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 14:10 . [2023-11-08T14:12:11.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 14:07 .. [2023-11-08T14:12:11.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 14:07 .git [2023-11-08T14:12:11.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:07 .github [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 14:07 .gitignore [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 14:07 .golangci.yml [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 14:07 Attribution.txt [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 14:07 CHANGELOG.md [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 14:07 Dockerfile [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 14:07 GOVERNANCE.md [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 14:07 Jenkinsfile [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 14:07 LICENSE [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 14:07 Makefile [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 14:07 OWNERS.md [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 14:07 README.md [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 14:05 VERSION [2023-11-08T14:12:11.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 14:07 bin [2023-11-08T14:12:11.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:07 cmd [2023-11-08T14:12:11.449Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 14:11 coverage.out [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 8 14:07 go.mod [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 8 14:07 go.sum [2023-11-08T14:12:11.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 14:07 internal [2023-11-08T14:12:11.449Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 14:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:12:11.794Z] + 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=a3e36257f0c9f774ec81edf885f9fc4e99897b55 --label arch=arm64 --label version=3.1.0-dev.29 . [2023-11-08T14:12:12.379Z] Sending build context to Docker daemon 12.03MB [2023-11-08T14:12:12.379Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T14:12:12.379Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T14:12:12.379Z] ---> d1153ccbb0bb [2023-11-08T14:12:12.379Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T14:12:16.628Z] ---> Running in e1cd447d589a [2023-11-08T14:12:16.895Z] Removing intermediate container e1cd447d589a [2023-11-08T14:12:16.895Z] ---> e610f81dbb0c [2023-11-08T14:12:16.895Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T14:12:16.895Z] ---> Running in 87cfe442031e [2023-11-08T14:12:17.478Z] Removing intermediate container 87cfe442031e [2023-11-08T14:12:17.478Z] ---> 08ed29707376 [2023-11-08T14:12:17.478Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T14:12:17.478Z] ---> Running in 680dd8183016 [2023-11-08T14:12:18.063Z] Removing intermediate container 680dd8183016 [2023-11-08T14:12:18.063Z] ---> ed2ac199c71f [2023-11-08T14:12:18.063Z] Step 6/25 : WORKDIR /device-virtual-go [2023-11-08T14:12:18.063Z] ---> Running in 9b9eb316b05e [2023-11-08T14:12:18.649Z] Removing intermediate container 9b9eb316b05e [2023-11-08T14:12:18.649Z] ---> 6ebc60e91f1f [2023-11-08T14:12:18.649Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T14:12:18.649Z] ---> Running in cba04b6fa3f4 [2023-11-08T14:12:20.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T14:12:20.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T14:12:21.599Z] OK: 270 MiB in 56 packages [2023-11-08T14:12:22.574Z] Removing intermediate container cba04b6fa3f4 [2023-11-08T14:12:22.574Z] ---> e1dbdb50b68e [2023-11-08T14:12:22.574Z] Step 8/25 : COPY go.mod vendor* ./ [2023-11-08T14:12:25.932Z] ---> 16c0cbd12c06 [2023-11-08T14:12:25.932Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T14:12:25.932Z] ---> Running in 672f8a0bdcef [2023-11-08T14:12:31.450Z] Removing intermediate container 672f8a0bdcef [2023-11-08T14:12:31.450Z] ---> 030c4b3279e4 [2023-11-08T14:12:31.450Z] Step 10/25 : COPY . . [2023-11-08T14:12:32.034Z] ---> 21e0afb9d273 [2023-11-08T14:12:32.034Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T14:12:32.034Z] ---> Running in 60bc6b45247b [2023-11-08T14:12:32.302Z] Removing intermediate container 60bc6b45247b [2023-11-08T14:12:32.302Z] ---> b596144a7776 [2023-11-08T14:12:32.302Z] Step 12/25 : RUN $MAKE [2023-11-08T14:12:32.302Z] ---> Running in bd169864864a [2023-11-08T14:12:33.718Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-08T14:14:40.453Z] Removing intermediate container bd169864864a [2023-11-08T14:14:40.453Z] ---> 28e9484c5a00 [2023-11-08T14:14:40.453Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T14:14:40.453Z] 3.18: Pulling from library/alpine [2023-11-08T14:14:40.453Z] 579b34f0a95b: Pulling fs layer [2023-11-08T14:14:40.453Z] 579b34f0a95b: Verifying Checksum [2023-11-08T14:14:40.453Z] 579b34f0a95b: Download complete [2023-11-08T14:14:40.453Z] 579b34f0a95b: Pull complete [2023-11-08T14:14:40.453Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T14:14:40.453Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T14:14:40.453Z] ---> 3cc203321400 [2023-11-08T14:14:40.453Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-08T14:14:40.453Z] ---> Running in 945e9564b049 [2023-11-08T14:14:40.453Z] Removing intermediate container 945e9564b049 [2023-11-08T14:14:40.453Z] ---> 0f5d86557781 [2023-11-08T14:14:40.453Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T14:14:40.453Z] ---> Running in 6dd82d1e6617 [2023-11-08T14:14:40.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T14:14:40.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T14:14:40.453Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T14:14:40.453Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T14:14:40.453Z] OK: 8 MiB in 16 packages [2023-11-08T14:14:40.453Z] Removing intermediate container 6dd82d1e6617 [2023-11-08T14:14:40.453Z] ---> 5ac6901a5516 [2023-11-08T14:14:40.453Z] Step 16/25 : WORKDIR / [2023-11-08T14:14:40.453Z] ---> Running in 81b84ab6592e [2023-11-08T14:14:40.453Z] Removing intermediate container 81b84ab6592e [2023-11-08T14:14:40.453Z] ---> cdfacdf3d36d [2023-11-08T14:14:40.453Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-08T14:14:40.453Z] ---> d4d3f2f9c5d0 [2023-11-08T14:14:40.453Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-08T14:14:40.453Z] ---> 355d0508e30b [2023-11-08T14:14:40.453Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-11-08T14:14:40.453Z] ---> 3129366baf1f [2023-11-08T14:14:40.453Z] Step 20/25 : EXPOSE 59900 [2023-11-08T14:14:40.453Z] ---> Running in 7f1d7f194805 [2023-11-08T14:14:40.453Z] Removing intermediate container 7f1d7f194805 [2023-11-08T14:14:40.453Z] ---> 6151ef0b1eb4 [2023-11-08T14:14:40.453Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-11-08T14:14:40.453Z] ---> Running in edafedb8f001 [2023-11-08T14:14:40.453Z] Removing intermediate container edafedb8f001 [2023-11-08T14:14:40.453Z] ---> 5a5c90c3b014 [2023-11-08T14:14:40.453Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T14:14:40.453Z] ---> Running in 5e40b3f10cf4 [2023-11-08T14:14:40.453Z] Removing intermediate container 5e40b3f10cf4 [2023-11-08T14:14:40.453Z] ---> 99a8da31be90 [2023-11-08T14:14:40.453Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T14:14:40.453Z] ---> Running in 8e46b62dacb6 [2023-11-08T14:14:40.453Z] Removing intermediate container 8e46b62dacb6 [2023-11-08T14:14:40.453Z] ---> 9fa00adf25c7 [2023-11-08T14:14:40.453Z] Step 24/25 : LABEL git_sha=a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:14:40.453Z] ---> Running in d62a1c0a6496 [2023-11-08T14:14:40.453Z] Removing intermediate container d62a1c0a6496 [2023-11-08T14:14:40.453Z] ---> 71cb01d5ec88 [2023-11-08T14:14:40.453Z] Step 25/25 : LABEL version=3.1.0-dev.29 [2023-11-08T14:14:40.453Z] ---> Running in 8acc5edee85e [2023-11-08T14:14:40.453Z] Removing intermediate container 8acc5edee85e [2023-11-08T14:14:40.453Z] ---> e520178ee91c [2023-11-08T14:14:40.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T14:14:40.453Z] Successfully built e520178ee91c [2023-11-08T14:14:40.453Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:14:40.582Z] provisioning config files... [2023-11-08T14:14:40.595Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/155@tmp/config9190679617838306115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:14:40.925Z] ---> docker-login.sh [2023-11-08T14:14:40.925Z] nexus3.edgexfoundry.org:10001 [2023-11-08T14:14:40.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:14:41.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:14:41.192Z] Configure a credential helper to remove this warning. See [2023-11-08T14:14:41.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:14:41.192Z] [2023-11-08T14:14:41.192Z] Login Succeeded [2023-11-08T14:14:41.192Z] nexus3.edgexfoundry.org:10002 [2023-11-08T14:14:41.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:14:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:14:41.464Z] Configure a credential helper to remove this warning. See [2023-11-08T14:14:41.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:14:41.464Z] [2023-11-08T14:14:41.464Z] Login Succeeded [2023-11-08T14:14:41.464Z] nexus3.edgexfoundry.org:10003 [2023-11-08T14:14:41.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:14:42.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:14:42.002Z] Configure a credential helper to remove this warning. See [2023-11-08T14:14:42.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:14:42.002Z] [2023-11-08T14:14:42.002Z] Login Succeeded [2023-11-08T14:14:42.002Z] nexus3.edgexfoundry.org:10004 [2023-11-08T14:14:42.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:14:42.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:14:42.270Z] Configure a credential helper to remove this warning. See [2023-11-08T14:14:42.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:14:42.270Z] [2023-11-08T14:14:42.270Z] Login Succeeded [2023-11-08T14:14:42.270Z] docker.io [2023-11-08T14:14:42.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T14:14:42.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T14:14:42.802Z] Configure a credential helper to remove this warning. See [2023-11-08T14:14:42.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T14:14:42.802Z] [2023-11-08T14:14:42.802Z] Login Succeeded [2023-11-08T14:14:42.802Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T14:14:42.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T14:14:42.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T14:14:42.858Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-11-08T14:14:42.858Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:14:42.858Z] latest [2023-11-08T14:14:42.858Z] 3.1.0-dev.29 [2023-11-08T14:14:42.858Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:14:42.858Z] main [2023-11-08T14:14:42.858Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:43.197Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:43.528Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:14:43.528Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T14:14:43.528Z] c42cf66ee745: Preparing [2023-11-08T14:14:43.528Z] 02861964a582: Preparing [2023-11-08T14:14:43.528Z] b49ad18604c2: Preparing [2023-11-08T14:14:43.528Z] c1ad7186298b: Preparing [2023-11-08T14:14:43.528Z] 5f4d9fc4d98d: Preparing [2023-11-08T14:14:43.528Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T14:14:43.791Z] c1ad7186298b: Pushed [2023-11-08T14:14:43.792Z] b49ad18604c2: Pushed [2023-11-08T14:14:43.792Z] 02861964a582: Pushed [2023-11-08T14:14:49.164Z] c42cf66ee745: Pushed [2023-11-08T14:14:49.164Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55: digest: sha256:64d64f131caabc4089cf4b105a74cd56a83464b6eef4c571107bf22fd1672f9e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:49.599Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:49.965Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-11-08T14:14:49.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T14:14:49.965Z] c42cf66ee745: Preparing [2023-11-08T14:14:49.965Z] 02861964a582: Preparing [2023-11-08T14:14:49.965Z] b49ad18604c2: Preparing [2023-11-08T14:14:49.965Z] c1ad7186298b: Preparing [2023-11-08T14:14:49.965Z] 5f4d9fc4d98d: Preparing [2023-11-08T14:14:49.965Z] c42cf66ee745: Layer already exists [2023-11-08T14:14:49.965Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T14:14:49.965Z] 02861964a582: Layer already exists [2023-11-08T14:14:49.965Z] c1ad7186298b: Layer already exists [2023-11-08T14:14:49.965Z] b49ad18604c2: Layer already exists [2023-11-08T14:14:49.965Z] latest: digest: sha256:64d64f131caabc4089cf4b105a74cd56a83464b6eef4c571107bf22fd1672f9e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:50.334Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:50.700Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.29 [2023-11-08T14:14:50.700Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T14:14:50.700Z] c42cf66ee745: Preparing [2023-11-08T14:14:50.700Z] 02861964a582: Preparing [2023-11-08T14:14:50.700Z] b49ad18604c2: Preparing [2023-11-08T14:14:50.700Z] c1ad7186298b: Preparing [2023-11-08T14:14:50.700Z] 5f4d9fc4d98d: Preparing [2023-11-08T14:14:50.700Z] 02861964a582: Layer already exists [2023-11-08T14:14:50.700Z] c42cf66ee745: Layer already exists [2023-11-08T14:14:50.700Z] b49ad18604c2: Layer already exists [2023-11-08T14:14:50.700Z] c1ad7186298b: Layer already exists [2023-11-08T14:14:50.700Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T14:14:50.700Z] 3.1.0-dev.29: digest: sha256:64d64f131caabc4089cf4b105a74cd56a83464b6eef4c571107bf22fd1672f9e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:51.052Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:51.409Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:14:51.409Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T14:14:51.409Z] c42cf66ee745: Preparing [2023-11-08T14:14:51.409Z] 02861964a582: Preparing [2023-11-08T14:14:51.409Z] b49ad18604c2: Preparing [2023-11-08T14:14:51.409Z] c1ad7186298b: Preparing [2023-11-08T14:14:51.409Z] 5f4d9fc4d98d: Preparing [2023-11-08T14:14:51.409Z] b49ad18604c2: Layer already exists [2023-11-08T14:14:51.409Z] c1ad7186298b: Layer already exists [2023-11-08T14:14:51.409Z] c42cf66ee745: Layer already exists [2023-11-08T14:14:51.409Z] 02861964a582: Layer already exists [2023-11-08T14:14:51.409Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T14:14:51.409Z] a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29: digest: sha256:64d64f131caabc4089cf4b105a74cd56a83464b6eef4c571107bf22fd1672f9e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:51.750Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:52.100Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-11-08T14:14:52.100Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-11-08T14:14:52.100Z] c42cf66ee745: Preparing [2023-11-08T14:14:52.100Z] 02861964a582: Preparing [2023-11-08T14:14:52.100Z] b49ad18604c2: Preparing [2023-11-08T14:14:52.100Z] c1ad7186298b: Preparing [2023-11-08T14:14:52.100Z] 5f4d9fc4d98d: Preparing [2023-11-08T14:14:52.100Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T14:14:52.100Z] b49ad18604c2: Layer already exists [2023-11-08T14:14:52.100Z] c42cf66ee745: Layer already exists [2023-11-08T14:14:52.100Z] 02861964a582: Layer already exists [2023-11-08T14:14:52.100Z] c1ad7186298b: Layer already exists [2023-11-08T14:14:52.100Z] main: digest: sha256:64d64f131caabc4089cf4b105a74cd56a83464b6eef4c571107bf22fd1672f9e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T14:14:52.147Z] ===================================================== [Pipeline] echo [2023-11-08T14:14:52.154Z] taggedImages: [2023-11-08T14:14:52.154Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55 [2023-11-08T14:14:52.154Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-11-08T14:14:52.154Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.29 [2023-11-08T14:14:52.154Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a3e36257f0c9f774ec81edf885f9fc4e99897b55-3.1.0-dev.29 [2023-11-08T14:14:52.154Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:52.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T14:14:52.527Z] [2023-11-08T14:14:52.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:14:52.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T14:14:52.859Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T14:14:52.859Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T14:14:52.859Z] 04944245beec: Pulling fs layer [2023-11-08T14:14:52.859Z] 699f458cf7ca: Pulling fs layer [2023-11-08T14:14:52.859Z] 765212b225bb: Pulling fs layer [2023-11-08T14:14:52.859Z] f23df028b6ca: Pulling fs layer [2023-11-08T14:14:52.859Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T14:14:52.859Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T14:14:52.859Z] f23df028b6ca: Waiting [2023-11-08T14:14:52.859Z] d65c8cfc05b1: Waiting [2023-11-08T14:14:52.859Z] 2437ff75d9bd: Waiting [2023-11-08T14:14:52.859Z] 765212b225bb: Waiting [2023-11-08T14:14:53.125Z] 04944245beec: Verifying Checksum [2023-11-08T14:14:53.125Z] 04944245beec: Download complete [2023-11-08T14:14:53.125Z] 765212b225bb: Verifying Checksum [2023-11-08T14:14:53.125Z] 765212b225bb: Download complete [2023-11-08T14:14:53.125Z] f23df028b6ca: Verifying Checksum [2023-11-08T14:14:53.125Z] f23df028b6ca: Download complete [2023-11-08T14:14:53.125Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T14:14:53.125Z] d65c8cfc05b1: Download complete [2023-11-08T14:14:53.125Z] 699f458cf7ca: Verifying Checksum [2023-11-08T14:14:53.125Z] 699f458cf7ca: Download complete [2023-11-08T14:14:53.706Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T14:14:53.706Z] 8998bd30e6a1: Download complete [2023-11-08T14:14:56.284Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T14:14:56.284Z] 2437ff75d9bd: Download complete [2023-11-08T14:14:58.225Z] 8998bd30e6a1: Pull complete [2023-11-08T14:14:58.493Z] 04944245beec: Pull complete [2023-11-08T14:15:00.436Z] 699f458cf7ca: Pull complete [2023-11-08T14:15:00.436Z] 765212b225bb: Pull complete [2023-11-08T14:15:03.776Z] f23df028b6ca: Pull complete [2023-11-08T14:15:03.776Z] d65c8cfc05b1: Pull complete [2023-11-08T14:15:21.967Z] 2437ff75d9bd: Pull complete [2023-11-08T14:15:21.967Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T14:15:21.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T14:15:21.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:15:22.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-17019 does not seem to be running inside a container [2023-11-08T14:15:22.212Z] $ 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/155 -v /w/workspace/device-virtual-go/155:/w/workspace/device-virtual-go/155:rw,z -v /w/workspace/device-virtual-go/155@tmp:/w/workspace/device-virtual-go/155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-08T14:15:24.772Z] $ docker top 17bb8a0601e3d49ce06f8f71df7f3d5faf19aaa717edf851a964b1fcb83b3e00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:15:25.618Z] ---> job-cost.sh [2023-11-08T14:15:25.618Z] lf-activate-venv: SKIPPING [2023-11-08T14:15:25.618Z] INFO: No Stack... [2023-11-08T14:15:25.882Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T14:15:26.837Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T14:15:27.475Z] + cat+ /w/workspace/device-virtual-go/155/archives/cost.csv [2023-11-08T14:15:27.475Z] cut -d, -f6 [Pipeline] lock [2023-11-08T14:15:27.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [2023-11-08T14:15:27.536Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] did not exist. Created. [2023-11-08T14:15:27.536Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T14:15:28.193Z] /w/workspace/device-virtual-go/155@tmp/durable-8391d2f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T14:15:28.855Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T14:15:28.876Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T14:15:28.930Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T14:15:28.937Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T14:15:28.955Z] $ docker stop --time=1 17bb8a0601e3d49ce06f8f71df7f3d5faf19aaa717edf851a964b1fcb83b3e00 [2023-11-08T14:15:33.056Z] $ docker rm -f --volumes 17bb8a0601e3d49ce06f8f71df7f3d5faf19aaa717edf851a964b1fcb83b3e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-08T14:15:33.480Z] provisioning config files... [2023-11-08T14:15:33.486Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9675173132253156921tmp [Pipeline] { [Pipeline] sh [2023-11-08T14:15:33.782Z] + set +x [2023-11-08T14:15:33.782Z] + curl -s https://codecov.io/bash [2023-11-08T14:15:33.782Z] + bash -s -- [2023-11-08T14:15:34.042Z] [2023-11-08T14:15:34.042Z] _____ _ [2023-11-08T14:15:34.042Z] / ____| | | [2023-11-08T14:15:34.042Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T14:15:34.042Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T14:15:34.042Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T14:15:34.042Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T14:15:34.042Z] Bash-1.0.6 [2023-11-08T14:15:34.042Z] [2023-11-08T14:15:34.042Z] [2023-11-08T14:15:34.042Z] ==> git version 2.25.1 found [2023-11-08T14:15:34.042Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-08T14:15:34.042Z] Release-Date: 2020-01-08 [2023-11-08T14:15:34.042Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-08T14:15:34.042Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T14:15:34.042Z] ==> Jenkins CI detected. [2023-11-08T14:15:34.042Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-11-08T14:15:34.042Z] project root: . [2023-11-08T14:15:34.042Z] --> token set from env [2023-11-08T14:15:34.042Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T14:15:34.042Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T14:15:34.042Z] ==> Python coveragepy not found [2023-11-08T14:15:34.042Z] ==> Searching for coverage reports in: [2023-11-08T14:15:34.042Z] + . [2023-11-08T14:15:34.042Z] -> Found 1 reports [2023-11-08T14:15:34.042Z] ==> Detecting git/mercurial file structure [2023-11-08T14:15:34.042Z] ==> Reading reports [2023-11-08T14:15:34.042Z] + ./coverage.out bytes=43063 [2023-11-08T14:15:34.042Z] ==> Appending adjustments [2023-11-08T14:15:34.042Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T14:15:34.042Z] + Found adjustments [2023-11-08T14:15:34.042Z] ==> Gzipping contents [2023-11-08T14:15:34.042Z] 8.0K /tmp/codecov.pNDBjG.gz [2023-11-08T14:15:34.042Z] ==> Uploading reports [2023-11-08T14:15:34.042Z] url: https://codecov.io [2023-11-08T14:15:34.042Z] query: branch=main&commit=a3e36257f0c9f774ec81edf885f9fc4e99897b55&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T14:15:34.042Z] -> Pinging Codecov [2023-11-08T14:15:34.042Z] 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=a3e36257f0c9f774ec81edf885f9fc4e99897b55&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T14:15:34.302Z] -> Uploading to [2023-11-08T14:15:34.302Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/5E52B4B073DB2E39498172D8E973AA87/a3e36257f0c9f774ec81edf885f9fc4e99897b55/4af880fe-9719-42cf-a802-3e364f20dd8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T141534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ae2c6400ba4491b2eba6f1d277402741759b273f74a9e73fa77f1285f258985 [2023-11-08T14:15:34.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T14:15:34.302Z] Dload Upload Total Spent Left Speed [2023-11-08T14:15:34.562Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22615 --:--:-- --:--:-- --:--:-- 22615 100 4998 0 0 100 4998 0 19523 --:--:-- --:--:-- --:--:-- 19523 [2023-11-08T14:15:34.562Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] } [2023-11-08T14:15:34.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-08T14:15:34.750Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-08T14:15:34.773Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:15:35.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T14:15:35.073Z] [2023-11-08T14:15:35.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:15:35.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T14:15:35.370Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-08T14:15:35.370Z] df9b9388f04a: Pulling fs layer [2023-11-08T14:15:35.370Z] 52dc419b0ee2: Pulling fs layer [2023-11-08T14:15:35.370Z] 25bc292e5bac: Pulling fs layer [2023-11-08T14:15:35.370Z] 114826534d7a: Pulling fs layer [2023-11-08T14:15:35.370Z] 4657fd5d0bcf: Pulling fs layer [2023-11-08T14:15:35.370Z] 6ad1cebc031e: Pulling fs layer [2023-11-08T14:15:35.370Z] 8a3aa393b2d8: Pulling fs layer [2023-11-08T14:15:35.370Z] 114826534d7a: Waiting [2023-11-08T14:15:35.370Z] 4657fd5d0bcf: Waiting [2023-11-08T14:15:35.370Z] 6ad1cebc031e: Waiting [2023-11-08T14:15:35.370Z] 8a3aa393b2d8: Waiting [2023-11-08T14:15:35.370Z] 25bc292e5bac: Verifying Checksum [2023-11-08T14:15:35.370Z] 25bc292e5bac: Download complete [2023-11-08T14:15:35.370Z] 52dc419b0ee2: Download complete [2023-11-08T14:15:35.370Z] 4657fd5d0bcf: Verifying Checksum [2023-11-08T14:15:35.370Z] 4657fd5d0bcf: Download complete [2023-11-08T14:15:35.370Z] df9b9388f04a: Download complete [2023-11-08T14:15:35.633Z] df9b9388f04a: Pull complete [2023-11-08T14:15:35.633Z] 6ad1cebc031e: Verifying Checksum [2023-11-08T14:15:35.633Z] 6ad1cebc031e: Download complete [2023-11-08T14:15:35.633Z] 52dc419b0ee2: Pull complete [2023-11-08T14:15:35.893Z] 25bc292e5bac: Pull complete [2023-11-08T14:15:36.151Z] 114826534d7a: Verifying Checksum [2023-11-08T14:15:36.151Z] 114826534d7a: Download complete [2023-11-08T14:15:36.409Z] 8a3aa393b2d8: Verifying Checksum [2023-11-08T14:15:36.409Z] 8a3aa393b2d8: Download complete [2023-11-08T14:15:39.688Z] 114826534d7a: Pull complete [2023-11-08T14:15:39.688Z] 4657fd5d0bcf: Pull complete [2023-11-08T14:15:39.688Z] 6ad1cebc031e: Pull complete [2023-11-08T14:15:42.216Z] 8a3aa393b2d8: Pull complete [2023-11-08T14:15:42.216Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-08T14:15:42.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T14:15:42.216Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:15:42.294Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:15:42.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-08T14:15:50.217Z] $ docker top ba38590e830e4b1c5f2efe8cf14311426b6652bca4a46de45ff412337010e89d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-08T14:15:50.278Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-11-08T14:15:50.559Z] + set -o pipefail [2023-11-08T14:15:50.559Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-11-08T14:15:55.829Z] [2023-11-08T14:15:55.829Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-11-08T14:15:55.829Z] [2023-11-08T14:15:55.829Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/f515681b-33e2-4ec0-91d5-9c10e09c6f2f [2023-11-08T14:15:55.829Z] [2023-11-08T14:15:55.829Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-08T14:15:55.829Z] [2023-11-08T14:15:56.090Z] [2023-11-08T14:15:56.090Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-08T14:15:56.090Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-08T14:15:56.090Z] More details here: https://snyk.co/ue1NS [2023-11-08T14:15:56.090Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-08T14:15:56.090Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-08T14:15:56.105Z] $ docker stop --time=1 ba38590e830e4b1c5f2efe8cf14311426b6652bca4a46de45ff412337010e89d [2023-11-08T14:16:01.180Z] $ docker rm -f --volumes ba38590e830e4b1c5f2efe8cf14311426b6652bca4a46de45ff412337010e89d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T14:16:01.906Z] + git log --format=format:%s -1 a3e36257f0c9f774ec81edf885f9fc4e99897b55 [Pipeline] sh [2023-11-08T14:16:02.198Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T14:16:02.199Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:02.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:16:02.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:16:02.644Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:16:02.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T14:16:03.090Z] $ docker top 9de8fe0b00d675b9d81ac36ede3ed86c8db714d66d12b256c54eb11607b3f062 -eo pid,comm [2023-11-08T14:16:03.140Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T14:16:03.140Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T14:16:03.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T14:16:03.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T14:16:03.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T14:16:03.292Z] $ docker exec 9de8fe0b00d675b9d81ac36ede3ed86c8db714d66d12b256c54eb11607b3f062 ssh-agent [2023-11-08T14:16:03.396Z] SSH_AUTH_SOCK=/tmp/ssh-cQRRtyi9A1VM/agent.32 [2023-11-08T14:16:03.396Z] SSH_AGENT_PID=38 [2023-11-08T14:16:03.400Z] Running ssh-add (command line suppressed) [2023-11-08T14:16:03.492Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1328222952944250198.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1328222952944250198.key) [2023-11-08T14:16:03.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T14:16:03.797Z] + git semver tag [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,973 [run_tag] DEBUG tag force:False [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,974 [check_head_tag] DEBUG check head tag [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,974 [execute] INFO git cat-file --batch-check [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,978 [execute] INFO git cat-file --batch [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,991 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,991 [execute] INFO git tag -a v3.1.0-dev.29 -m v3.1.0-dev.29 [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,992 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.29', '-m', 'v3.1.0-dev.29'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T14:16:04.056Z] 2023-11-08 14:16:03,996 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:04.056Z] 3.1.0-dev.29 [Pipeline] } [2023-11-08T14:16:04.065Z] $ docker exec --env ******** --env ******** 9de8fe0b00d675b9d81ac36ede3ed86c8db714d66d12b256c54eb11607b3f062 ssh-agent -k [2023-11-08T14:16:04.156Z] unset SSH_AUTH_SOCK; [2023-11-08T14:16:04.157Z] unset SSH_AGENT_PID; [2023-11-08T14:16:04.157Z] echo Agent pid 38 killed; [2023-11-08T14:16:04.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T14:16:04.462Z] + git semver [Pipeline] } [2023-11-08T14:16:04.734Z] $ docker stop --time=1 9de8fe0b00d675b9d81ac36ede3ed86c8db714d66d12b256c54eb11607b3f062 [2023-11-08T14:16:06.025Z] $ docker rm -f --volumes 9de8fe0b00d675b9d81ac36ede3ed86c8db714d66d12b256c54eb11607b3f062 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:06.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T14:16:06.439Z] [2023-11-08T14:16:06.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:06.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T14:16:06.744Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-08T14:16:06.744Z] ab5ef0e58194: Pulling fs layer [2023-11-08T14:16:06.744Z] 9712f1f96733: Pulling fs layer [2023-11-08T14:16:06.744Z] 63f879dbbcfc: Pulling fs layer [2023-11-08T14:16:06.744Z] 0d9ebad4ef96: Pulling fs layer [2023-11-08T14:16:06.744Z] e9a5061849ea: Pulling fs layer [2023-11-08T14:16:06.744Z] d747dcd14b5f: Pulling fs layer [2023-11-08T14:16:06.744Z] 2de7ff778b66: Pulling fs layer [2023-11-08T14:16:06.744Z] 0d9ebad4ef96: Waiting [2023-11-08T14:16:06.744Z] e9a5061849ea: Waiting [2023-11-08T14:16:06.744Z] d747dcd14b5f: Waiting [2023-11-08T14:16:06.744Z] 2de7ff778b66: Waiting [2023-11-08T14:16:06.744Z] 9712f1f96733: Verifying Checksum [2023-11-08T14:16:06.744Z] 9712f1f96733: Download complete [2023-11-08T14:16:07.003Z] 63f879dbbcfc: Verifying Checksum [2023-11-08T14:16:07.003Z] 63f879dbbcfc: Download complete [2023-11-08T14:16:07.261Z] e9a5061849ea: Verifying Checksum [2023-11-08T14:16:07.261Z] e9a5061849ea: Download complete [2023-11-08T14:16:07.261Z] ab5ef0e58194: Verifying Checksum [2023-11-08T14:16:07.261Z] ab5ef0e58194: Download complete [2023-11-08T14:16:07.261Z] d747dcd14b5f: Download complete [2023-11-08T14:16:07.261Z] 0d9ebad4ef96: Verifying Checksum [2023-11-08T14:16:07.261Z] 0d9ebad4ef96: Download complete [2023-11-08T14:16:07.520Z] 2de7ff778b66: Verifying Checksum [2023-11-08T14:16:07.520Z] 2de7ff778b66: Download complete [2023-11-08T14:16:10.051Z] ab5ef0e58194: Pull complete [2023-11-08T14:16:10.051Z] 9712f1f96733: Pull complete [2023-11-08T14:16:10.311Z] 63f879dbbcfc: Pull complete [2023-11-08T14:16:14.502Z] 0d9ebad4ef96: Pull complete [2023-11-08T14:16:14.502Z] e9a5061849ea: Pull complete [2023-11-08T14:16:14.502Z] d747dcd14b5f: Pull complete [2023-11-08T14:16:15.438Z] 2de7ff778b66: Pull complete [2023-11-08T14:16:15.438Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-08T14:16:15.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T14:16:15.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:16:15.519Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:16:15.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-08T14:16:25.297Z] $ docker top a82824059bbf9045680c466eea2f94840141b9038f48935a98767f845f6263fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:16:25.361Z] provisioning config files... [2023-11-08T14:16:25.368Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7746923458022165920tmp [2023-11-08T14:16:25.378Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12213422147615143393tmp [2023-11-08T14:16:25.388Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config360426819836309677tmp [Pipeline] { [Pipeline] echo [2023-11-08T14:16:25.405Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:25.686Z] ---> sigul-configuration.sh [2023-11-08T14:16:25.686Z] gpg: directory `/root/.gnupg' created [2023-11-08T14:16:25.686Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-08T14:16:25.686Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-08T14:16:25.686Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-08T14:16:25.686Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-08T14:16:25.686Z] gpg: CAST5 encrypted data [2023-11-08T14:16:25.686Z] gpg: encrypted with 1 passphrase [2023-11-08T14:16:25.686Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-08T14:16:25.972Z] + mkdir /home/jenkins [2023-11-08T14:16:25.972Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-08T14:16:26.257Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-08T14:16:26.266Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:26.548Z] ---> sigul-install.sh [2023-11-08T14:16:26.548Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-08T14:16:26.831Z] + git tag --list [2023-11-08T14:16:26.831Z] v1.0.0 [2023-11-08T14:16:26.831Z] v1.1.0 [2023-11-08T14:16:26.831Z] v1.1.1 [2023-11-08T14:16:26.831Z] v1.2.1 [2023-11-08T14:16:26.831Z] v1.2.2 [2023-11-08T14:16:26.831Z] v1.2.3 [2023-11-08T14:16:26.831Z] v1.3.0 [2023-11-08T14:16:26.831Z] v1.3.1 [2023-11-08T14:16:26.831Z] v2.0.0 [2023-11-08T14:16:26.831Z] v2.1.0 [2023-11-08T14:16:26.831Z] v2.1.1 [2023-11-08T14:16:26.831Z] v2.2.0 [2023-11-08T14:16:26.831Z] v2.3.0 [2023-11-08T14:16:26.831Z] v3.0 [2023-11-08T14:16:26.831Z] v3.0.0 [2023-11-08T14:16:26.831Z] v3.1.0-dev.1 [2023-11-08T14:16:26.831Z] v3.1.0-dev.10 [2023-11-08T14:16:26.831Z] v3.1.0-dev.11 [2023-11-08T14:16:26.831Z] v3.1.0-dev.12 [2023-11-08T14:16:26.831Z] v3.1.0-dev.13 [2023-11-08T14:16:26.831Z] v3.1.0-dev.14 [2023-11-08T14:16:26.831Z] v3.1.0-dev.15 [2023-11-08T14:16:26.831Z] v3.1.0-dev.16 [2023-11-08T14:16:26.831Z] v3.1.0-dev.17 [2023-11-08T14:16:26.831Z] v3.1.0-dev.18 [2023-11-08T14:16:26.831Z] v3.1.0-dev.19 [2023-11-08T14:16:26.831Z] v3.1.0-dev.2 [2023-11-08T14:16:26.831Z] v3.1.0-dev.20 [2023-11-08T14:16:26.831Z] v3.1.0-dev.21 [2023-11-08T14:16:26.831Z] v3.1.0-dev.22 [2023-11-08T14:16:26.831Z] v3.1.0-dev.23 [2023-11-08T14:16:26.831Z] v3.1.0-dev.24 [2023-11-08T14:16:26.831Z] v3.1.0-dev.25 [2023-11-08T14:16:26.831Z] v3.1.0-dev.26 [2023-11-08T14:16:26.831Z] v3.1.0-dev.27 [2023-11-08T14:16:26.831Z] v3.1.0-dev.28 [2023-11-08T14:16:26.831Z] v3.1.0-dev.29 [2023-11-08T14:16:26.831Z] v3.1.0-dev.3 [2023-11-08T14:16:26.831Z] v3.1.0-dev.4 [2023-11-08T14:16:26.831Z] v3.1.0-dev.5 [2023-11-08T14:16:26.831Z] v3.1.0-dev.6 [2023-11-08T14:16:26.831Z] v3.1.0-dev.7 [2023-11-08T14:16:26.831Z] v3.1.0-dev.8 [2023-11-08T14:16:26.831Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-08T14:16:27.120Z] + lftools sign git-tag v3.1.0-dev.29 [2023-11-08T14:16:27.686Z] Signing Git tag with Sigul... [2023-11-08T14:16:27.686Z] Signing v3.1.0-dev.29 [Pipeline] echo [2023-11-08T14:16:27.954Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:28.238Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-08T14:16:28.246Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-08T14:16:28.270Z] $ docker stop --time=1 a82824059bbf9045680c466eea2f94840141b9038f48935a98767f845f6263fd [2023-11-08T14:16:30.038Z] $ docker rm -f --volumes a82824059bbf9045680c466eea2f94840141b9038f48935a98767f845f6263fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-08T14:16:30.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T14:16:30.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:30.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:16:30.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:16:30.877Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:16:30.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T14:16:31.768Z] $ docker top de7e9a32934fb8e5e9780c594b2048e043f6611b56a38b9851eb6c8c281800d0 -eo pid,comm [2023-11-08T14:16:31.814Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T14:16:31.814Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T14:16:31.851Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T14:16:31.851Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T14:16:31.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T14:16:31.971Z] $ docker exec de7e9a32934fb8e5e9780c594b2048e043f6611b56a38b9851eb6c8c281800d0 ssh-agent [2023-11-08T14:16:32.094Z] SSH_AUTH_SOCK=/tmp/ssh-i9w7jcDkDcxZ/agent.14 [2023-11-08T14:16:32.094Z] SSH_AGENT_PID=20 [2023-11-08T14:16:32.104Z] Running ssh-add (command line suppressed) [2023-11-08T14:16:32.223Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3298740063862312590.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3298740063862312590.key) [2023-11-08T14:16:32.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T14:16:32.530Z] + git semver bump pre [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [bump_version] DEBUG bumping version:3.1.0-dev.29 on axis:pre with prefix:dev [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [bump_version] DEBUG bumped version:3.1.0-dev.30 [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [write_version] DEBUG write version:3.1.0-dev.30 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,708 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,711 [execute] INFO git cat-file --batch-check [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,717 [execute] INFO git cat-file --batch [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T14:16:32.789Z] 2023-11-08 14:16:32,722 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:32.789Z] 3.1.0-dev.30 [Pipeline] } [2023-11-08T14:16:32.798Z] $ docker exec --env ******** --env ******** de7e9a32934fb8e5e9780c594b2048e043f6611b56a38b9851eb6c8c281800d0 ssh-agent -k [2023-11-08T14:16:32.892Z] unset SSH_AUTH_SOCK; [2023-11-08T14:16:32.892Z] unset SSH_AGENT_PID; [2023-11-08T14:16:32.892Z] echo Agent pid 20 killed; [2023-11-08T14:16:32.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T14:16:33.211Z] + git semver [Pipeline] } [2023-11-08T14:16:33.484Z] $ docker stop --time=1 de7e9a32934fb8e5e9780c594b2048e043f6611b56a38b9851eb6c8c281800d0 [2023-11-08T14:16:35.029Z] $ docker rm -f --volumes de7e9a32934fb8e5e9780c594b2048e043f6611b56a38b9851eb6c8c281800d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T14:16:35.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T14:16:35.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:35.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T14:16:35.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:16:35.733Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:16:35.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T14:16:36.741Z] $ docker top d30aa034619c426c6429b0350e6cab795fff2846db760cf6c348a189e2b53b23 -eo pid,comm [2023-11-08T14:16:36.799Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T14:16:36.799Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T14:16:36.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T14:16:36.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T14:16:36.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T14:16:36.948Z] $ docker exec d30aa034619c426c6429b0350e6cab795fff2846db760cf6c348a189e2b53b23 ssh-agent [2023-11-08T14:16:37.060Z] SSH_AUTH_SOCK=/tmp/ssh-R1AbHP2p0Liu/agent.14 [2023-11-08T14:16:37.060Z] SSH_AGENT_PID=20 [2023-11-08T14:16:37.071Z] Running ssh-add (command line suppressed) [2023-11-08T14:16:37.177Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_700143917003626747.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_700143917003626747.key) [2023-11-08T14:16:37.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T14:16:37.509Z] + git semver push [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,660 [run_push] DEBUG push [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,660 [execute] INFO git cat-file --batch-check [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,664 [execute] INFO git rev-list be83eba2599f6e351b586f127333fdc292d16857 -- [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,664 [execute] DEBUG Popen(['git', 'rev-list', 'be83eba2599f6e351b586f127333fdc292d16857', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,673 [execute] INFO git fetch -v origin [2023-11-08T14:16:37.768Z] 2023-11-08 14:16:37,674 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-08T14:16:38.336Z] 2023-11-08 14:16:38,233 [run_push] DEBUG no remote changes detected [2023-11-08T14:16:38.336Z] 2023-11-08 14:16:38,233 [execute] INFO git push origin semver [2023-11-08T14:16:38.336Z] 2023-11-08 14:16:38,234 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T14:16:39.275Z] 2023-11-08 14:16:39,070 [run_push] DEBUG push all version tags [2023-11-08T14:16:39.275Z] 2023-11-08 14:16:39,071 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-08T14:16:39.275Z] 2023-11-08 14:16:39,071 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T14:16:40.210Z] 2023-11-08 14:16:39,877 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-11-08T14:16:40.210Z] 3.1.0-dev.30 [Pipeline] } [2023-11-08T14:16:40.220Z] $ docker exec --env ******** --env ******** d30aa034619c426c6429b0350e6cab795fff2846db760cf6c348a189e2b53b23 ssh-agent -k [2023-11-08T14:16:40.308Z] unset SSH_AUTH_SOCK; [2023-11-08T14:16:40.309Z] unset SSH_AGENT_PID; [2023-11-08T14:16:40.309Z] echo Agent pid 20 killed; [2023-11-08T14:16:40.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T14:16:40.624Z] + git semver [Pipeline] } [2023-11-08T14:16:40.898Z] $ docker stop --time=1 d30aa034619c426c6429b0350e6cab795fff2846db760cf6c348a189e2b53b23 [2023-11-08T14:16:42.180Z] $ docker rm -f --volumes d30aa034619c426c6429b0350e6cab795fff2846db760cf6c348a189e2b53b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-08T14:16:42.675Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-11-08T14:16:42.675Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T14:16:42.675Z] total 16 [2023-11-08T14:16:42.675Z] drwxr-xr-x 3 root root 4096 Nov 8 14:08 . [2023-11-08T14:16:42.675Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 14:16 .. [2023-11-08T14:16:42.675Z] drwxr-xr-x 2 root root 4096 Nov 8 14:08 cost [2023-11-08T14:16:42.675Z] -rw-r--r-- 1 root root 89 Nov 8 14:08 cost.csv [2023-11-08T14:16:42.675Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T14:16:42.675Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-11-08T14:16:42.675Z] total 16 [2023-11-08T14:16:42.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 14:08 . [2023-11-08T14:16:42.675Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 14:16 .. [2023-11-08T14:16:42.675Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 14:08 cost [2023-11-08T14:16:42.675Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 8 14:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:42.969Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:43.828Z] ---> package-listing.sh [2023-11-08T14:16:43.828Z] ++ facter osfamily [2023-11-08T14:16:43.828Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T14:16:44.087Z] + OS_FAMILY=debian [2023-11-08T14:16:44.087Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-11-08T14:16:44.087Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T14:16:44.087Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T14:16:44.087Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T14:16:44.087Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T14:16:44.087Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-11-08T14:16:44.087Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T14:16:44.087Z] + case "${OS_FAMILY}" in [2023-11-08T14:16:44.087Z] + dpkg -l [2023-11-08T14:16:44.087Z] + grep '^ii' [2023-11-08T14:16:44.087Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T14:16:44.087Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T14:16:44.087Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T14:16:44.087Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-11-08T14:16:44.087Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-11-08T14:16:44.087Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-11-08T14:16:44.098Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T14:16:44.376Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T14:16:44.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T14:16:44.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T14:16:45.008Z] prd-ubuntu20.04-docker-8c-8g-17018 does not seem to be running inside a container [2023-11-08T14:16:45.037Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T14:16:45.244Z] $ docker top 7a7ae372018c5815b8f7d36e6b562b5586235bd4d59720c1036fd7a8bb2b5412 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T14:16:45.578Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T14:16:45.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T14:16:46.141Z] + ls /var/log/sa-host [2023-11-08T14:16:46.141Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T14:16:46.231Z] provisioning config files... [2023-11-08T14:16:46.240Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config277862930743092770tmp [Pipeline] { [Pipeline] echo [2023-11-08T14:16:46.250Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:46.533Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T14:16:46.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:46.871Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T14:16:46.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:47.173Z] ---> sudo-logs.sh [2023-11-08T14:16:47.173Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T14:16:47.206Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:47.491Z] ---> job-cost.sh [2023-11-08T14:16:47.491Z] lf-activate-venv: SKIPPING [2023-11-08T14:16:47.491Z] DEBUG: total: 0.2199999988079071 [2023-11-08T14:16:47.491Z] INFO: Retrieving Stack Cost... [2023-11-08T14:16:47.750Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T14:16:48.318Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T14:16:48.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T14:16:48.619Z] ---> logs-deploy.sh [2023-11-08T14:16:48.619Z] lf-activate-venv: SKIPPING [2023-11-08T14:16:48.619Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/155 [2023-11-08T14:16:48.619Z] INFO: archiving workspace using pattern(s): [2023-11-08T14:16:49.556Z] Archives upload complete. [2023-11-08T14:16:49.556Z] INFO: archiving logs to Nexus