Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a+ce586e9030a93f7faa235112db1c98351cbead98 (f83768e08835b8f022ed203d1b094c76983c394f) 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-ssh286932073500881570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13325821612072592257.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/PR-468/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/PR-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3162579630602460091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9170172894373257757.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/PR-468/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/PR-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12413640723475112233.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-344 in /w/workspace/foundry_device-virtual-go_PR-468 [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/foundry_device-virtual-go_PR-468 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ce586e9030a93f7faa235112db1c98351cbead98 into PR head commit 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a Merge succeeded, producing f43c55675ab34c1aed388119082f139de939403c Checking out Revision f43c55675ab34c1aed388119082f139de939403c (PR-468) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43c55675ab34c1aed388119082f139de939403c # timeout=10 Commit message: "Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-17T08:13:26.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-17T08:13:26.735Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-17T08:13:26.763Z] ========================================================= [2024-05-17T08:13:26.763Z] EdgeX Global Pipelines Version Info [2024-05-17T08:13:26.763Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:13:27.473Z] ------------------- [2024-05-17T08:13:27.473Z] stable info: [2024-05-17T08:13:27.473Z] ------------------- [2024-05-17T08:13:27.473Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-17T08:13:27.473Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-17T08:13:27.473Z] Message: update stable to v1.0.258 [2024-05-17T08:13:28.042Z] ------------------- [2024-05-17T08:13:28.042Z] experimental info: [2024-05-17T08:13:28.042Z] ------------------- [2024-05-17T08:13:28.042Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-17T08:13:28.042Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-17T08:13:28.042Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-17T08:13:28.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-05-17T08:13:28.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-05-17T08:13:28.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-17T08:13:28.189Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-17T08:13:28.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-17T08:13:28.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-17T08:13:28.258Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-17T08:13:28.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-17T08:13:28.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-17T08:13:28.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-17T08:13:28.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-17T08:13:28.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-05-17T08:13:28.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-17T08:13:28.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-17T08:13:28.441Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-17T08:13:28.462Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-17T08:13:28.483Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-17T08:13:28.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-17T08:13:28.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-17T08:13:28.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-17T08:13:28.576Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-17T08:13:28.599Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-17T08:13:28.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-17T08:13:28.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-17T08:13:28.669Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-17T08:13:28.691Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-17T08:13:28.716Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-17T08:13:28.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo [2024-05-17T08:13:28.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo [2024-05-17T08:13:28.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo [2024-05-17T08:13:28.810Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo [2024-05-17T08:13:28.833Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43c556 [Pipeline] echo [2024-05-17T08:13:28.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-17T08:13:28.921Z] provisioning config files... [2024-05-17T08:13:28.936Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config5645328141216329334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:13:29.267Z] ---> ****-login.sh [2024-05-17T08:13:29.267Z] nexus3.edgexfoundry.org:10001 [2024-05-17T08:13:29.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:29.529Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:29.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:29.529Z] [2024-05-17T08:13:29.529Z] Login Succeeded [2024-05-17T08:13:29.529Z] nexus3.edgexfoundry.org:10002 [2024-05-17T08:13:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:29.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:29.789Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:29.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:29.790Z] [2024-05-17T08:13:29.790Z] Login Succeeded [2024-05-17T08:13:29.790Z] nexus3.edgexfoundry.org:10003 [2024-05-17T08:13:29.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:29.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:29.790Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:29.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:29.790Z] [2024-05-17T08:13:29.790Z] Login Succeeded [2024-05-17T08:13:29.790Z] nexus3.edgexfoundry.org:10004 [2024-05-17T08:13:29.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:30.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:30.050Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:30.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:30.050Z] [2024-05-17T08:13:30.050Z] Login Succeeded [2024-05-17T08:13:30.050Z] ****.io [2024-05-17T08:13:30.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:30.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:30.314Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:30.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:30.314Z] [2024-05-17T08:13:30.314Z] Login Succeeded [2024-05-17T08:13:30.314Z] ---> ****-login.sh ends [Pipeline] } [2024-05-17T08:13:30.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-17T08:13:30.745Z] + git rev-list -1 --merges f43c55675ab34c1aed388119082f139de939403c~1..f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo [2024-05-17T08:13:30.769Z] -----------> git rev-list -1 --merges f43c55675ab34c1aed388119082f139de939403c~1..f43c55675ab34c1aed388119082f139de939403c f43c55675ab34c1aed388119082f139de939403c [2024-05-17T08:13:30.769Z] f43c55675ab34c1aed388119082f139de939403c [false] [Pipeline] sh [2024-05-17T08:13:31.063Z] + git log --format=format:%s -1 f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo [2024-05-17T08:13:31.078Z] ========================================================= [2024-05-17T08:13:31.078Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-17T08:13:31.078Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-17T08:13:31.406Z] + git log --format=format:%s -1 f43c55675ab34c1aed388119082f139de939403c [Pipeline] echo [2024-05-17T08:13:31.419Z] [semverPrep] GIT_COMMIT: f43c55675ab34c1aed388119082f139de939403c, Commit Message: Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD [Pipeline] echo [2024-05-17T08:13:31.434Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-17T08:13:31.826Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-17T08:13:31.826Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-17T08:13:31.826Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-17T08:13:31.826Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-17T08:13:31.826Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-17T08:13:31.826Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-17T08:13:31.826Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:13:32.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-17T08:13:32.274Z] [2024-05-17T08:13:32.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:13:32.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-17T08:13:32.580Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-17T08:13:32.580Z] b85a868b505f: Pulling fs layer [2024-05-17T08:13:32.580Z] e2be974225ed: Pulling fs layer [2024-05-17T08:13:32.580Z] 339a4e72a1f5: Pulling fs layer [2024-05-17T08:13:32.580Z] 988bab9f4d93: Pulling fs layer [2024-05-17T08:13:32.580Z] 1469e6f7b9e6: Pulling fs layer [2024-05-17T08:13:32.580Z] eaf3925da568: Pulling fs layer [2024-05-17T08:13:32.580Z] bab4dde63d76: Pulling fs layer [2024-05-17T08:13:32.580Z] bde34c3a00c8: Pulling fs layer [2024-05-17T08:13:32.580Z] b352a97aabf1: Pulling fs layer [2024-05-17T08:13:32.580Z] 4872d77fe225: Pulling fs layer [2024-05-17T08:13:32.580Z] 5851b861e8e6: Pulling fs layer [2024-05-17T08:13:32.580Z] 988bab9f4d93: Waiting [2024-05-17T08:13:32.580Z] 1469e6f7b9e6: Waiting [2024-05-17T08:13:32.580Z] eaf3925da568: Waiting [2024-05-17T08:13:32.580Z] bab4dde63d76: Waiting [2024-05-17T08:13:32.580Z] bde34c3a00c8: Waiting [2024-05-17T08:13:32.580Z] b352a97aabf1: Waiting [2024-05-17T08:13:32.580Z] 4872d77fe225: Waiting [2024-05-17T08:13:32.580Z] 5851b861e8e6: Waiting [2024-05-17T08:13:32.580Z] e2be974225ed: Download complete [2024-05-17T08:13:32.580Z] 988bab9f4d93: Verifying Checksum [2024-05-17T08:13:32.580Z] 988bab9f4d93: Download complete [2024-05-17T08:13:32.840Z] 1469e6f7b9e6: Verifying Checksum [2024-05-17T08:13:32.840Z] 1469e6f7b9e6: Download complete [2024-05-17T08:13:32.840Z] eaf3925da568: Verifying Checksum [2024-05-17T08:13:32.840Z] eaf3925da568: Download complete [2024-05-17T08:13:32.840Z] 339a4e72a1f5: Verifying Checksum [2024-05-17T08:13:32.840Z] 339a4e72a1f5: Download complete [2024-05-17T08:13:32.840Z] bde34c3a00c8: Download complete [2024-05-17T08:13:32.840Z] b352a97aabf1: Download complete [2024-05-17T08:13:32.840Z] 4872d77fe225: Download complete [2024-05-17T08:13:32.840Z] 5851b861e8e6: Verifying Checksum [2024-05-17T08:13:32.840Z] 5851b861e8e6: Download complete [2024-05-17T08:13:32.840Z] b85a868b505f: Download complete [2024-05-17T08:13:33.100Z] bab4dde63d76: Verifying Checksum [2024-05-17T08:13:33.100Z] bab4dde63d76: Download complete [2024-05-17T08:13:34.036Z] b85a868b505f: Pull complete [2024-05-17T08:13:34.295Z] e2be974225ed: Pull complete [2024-05-17T08:13:34.554Z] 339a4e72a1f5: Pull complete [2024-05-17T08:13:34.814Z] 988bab9f4d93: Pull complete [2024-05-17T08:13:34.814Z] 1469e6f7b9e6: Pull complete [2024-05-17T08:13:35.073Z] eaf3925da568: Pull complete [2024-05-17T08:13:36.448Z] bab4dde63d76: Pull complete [2024-05-17T08:13:36.708Z] bde34c3a00c8: Pull complete [2024-05-17T08:13:36.708Z] b352a97aabf1: Pull complete [2024-05-17T08:13:36.708Z] 4872d77fe225: Pull complete [2024-05-17T08:13:36.708Z] 5851b861e8e6: Pull complete [2024-05-17T08:13:36.968Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-17T08:13:36.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-17T08:13:36.968Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:13:37.119Z] prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container [2024-05-17T08:13:37.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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/py-git-semver:0.1.4 cat [2024-05-17T08:13:39.525Z] $ docker top b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 -eo pid,comm [2024-05-17T08:13:39.573Z] 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). [2024-05-17T08:13:39.573Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-17T08:13:39.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-17T08:13:39.630Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-17T08:13:39.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-17T08:13:39.735Z] $ docker exec b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent [2024-05-17T08:13:39.820Z] SSH_AUTH_SOCK=/tmp/ssh-v7qDdV1b04j0/agent.33 [2024-05-17T08:13:39.820Z] SSH_AGENT_PID=39 [2024-05-17T08:13:39.827Z] Running ssh-add (command line suppressed) [2024-05-17T08:13:39.927Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3771140028124140583.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3771140028124140583.key) [2024-05-17T08:13:39.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-17T08:13:40.227Z] + git tag --points-at HEAD [Pipeline] } [2024-05-17T08:13:40.241Z] $ docker exec --env ******** --env ******** b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent -k [2024-05-17T08:13:40.341Z] unset SSH_AUTH_SOCK; [2024-05-17T08:13:40.341Z] unset SSH_AGENT_PID; [2024-05-17T08:13:40.341Z] echo Agent pid 39 killed; [2024-05-17T08:13:40.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-17T08:13:40.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-17T08:13:40.383Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-17T08:13:40.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-17T08:13:40.505Z] $ docker exec b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent [2024-05-17T08:13:40.597Z] SSH_AUTH_SOCK=/tmp/ssh-MaJh8ywZE1fC/agent.72 [2024-05-17T08:13:40.597Z] SSH_AGENT_PID=78 [2024-05-17T08:13:40.601Z] Running ssh-add (command line suppressed) [2024-05-17T08:13:40.701Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_10718272678481531014.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_10718272678481531014.key) [2024-05-17T08:13:40.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-17T08:13:41.006Z] + git semver init [2024-05-17T08:13:41.265Z] 2024-05-17 08:13:41,205 [run_init] DEBUG init version:0.0.0 force:False [2024-05-17T08:13:41.265Z] 2024-05-17 08:13:41,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-468/.semver [2024-05-17T08:13:41.265Z] 2024-05-17 08:13:41,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-468/.semver [2024-05-17T08:13:41.265Z] 2024-05-17 08:13:41,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-468/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-468, universal_newlines=False, shell=None, istream=None) [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,702 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-468/.git/info/exclude [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,702 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 with force:False [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,702 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,705 [execute] INFO git cat-file --batch-check [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,711 [execute] INFO git cat-file --batch [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2024-05-17T08:13:43.169Z] 2024-05-17 08:13:42,716 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 [2024-05-17T08:13:43.169Z] 0.0.0 [Pipeline] } [2024-05-17T08:13:43.181Z] $ docker exec --env ******** --env ******** b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 ssh-agent -k [2024-05-17T08:13:43.279Z] unset SSH_AUTH_SOCK; [2024-05-17T08:13:43.280Z] unset SSH_AGENT_PID; [2024-05-17T08:13:43.280Z] echo Agent pid 78 killed; [2024-05-17T08:13:43.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-17T08:13:43.614Z] + git semver [Pipeline] } [2024-05-17T08:13:43.891Z] $ docker stop --time=1 b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 [2024-05-17T08:13:45.174Z] $ docker rm -f --volumes b07d75b162f01b1a27bc3f16c8829588f56e4f09b7c623897f11b83d65385937 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-17T08:13:45.521Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-17T08:13:45.753Z] Stashed 1 file(s) [Pipeline] echo [2024-05-17T08:13:45.756Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2024-05-17T08:13:45.937Z] provisioning config files... [2024-05-17T08:13:45.949Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config12347500092586231806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:13:46.257Z] ---> ****-login.sh [2024-05-17T08:13:46.257Z] nexus3.edgexfoundry.org:10001 [2024-05-17T08:13:46.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:46.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:46.257Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:46.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:46.257Z] [2024-05-17T08:13:46.257Z] Login Succeeded [2024-05-17T08:13:46.257Z] nexus3.edgexfoundry.org:10002 [2024-05-17T08:13:46.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:46.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:46.258Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:46.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:46.258Z] [2024-05-17T08:13:46.258Z] Login Succeeded [2024-05-17T08:13:46.258Z] nexus3.edgexfoundry.org:10003 [2024-05-17T08:13:46.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:46.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:46.518Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:46.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:46.518Z] [2024-05-17T08:13:46.518Z] Login Succeeded [2024-05-17T08:13:46.519Z] nexus3.edgexfoundry.org:10004 [2024-05-17T08:13:46.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:46.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:46.519Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:46.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:46.519Z] [2024-05-17T08:13:46.519Z] Login Succeeded [2024-05-17T08:13:46.519Z] ****.io [2024-05-17T08:13:46.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:13:46.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:13:46.779Z] Configure a credential helper to remove this warning. See [2024-05-17T08:13:46.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:13:46.779Z] [2024-05-17T08:13:46.779Z] Login Succeeded [2024-05-17T08:13:46.779Z] ---> ****-login.sh ends [Pipeline] } [2024-05-17T08:13:46.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-17T08:13:46.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-17T08:13:46.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-17T08:13:46.914Z] ========================================================= [2024-05-17T08:13:46.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-17T08:13:46.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:13:47.255Z] + 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 . [2024-05-17T08:13:47.255Z] Sending build context to Docker daemon 37.73MB [2024-05-17T08:13:47.255Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-17T08:13:47.255Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-17T08:13:47.514Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-17T08:13:47.514Z] 619be1103602: Pulling fs layer [2024-05-17T08:13:47.514Z] 7862e08f4a3e: Pulling fs layer [2024-05-17T08:13:47.514Z] 5df492c9dc93: Pulling fs layer [2024-05-17T08:13:47.514Z] 7629e6793208: Pulling fs layer [2024-05-17T08:13:47.514Z] 4f4fb700ef54: Pulling fs layer [2024-05-17T08:13:47.514Z] fb5054dd5b73: Pulling fs layer [2024-05-17T08:13:47.514Z] eeca6798cff9: Pulling fs layer [2024-05-17T08:13:47.514Z] aa269ceb94a6: Pulling fs layer [2024-05-17T08:13:47.514Z] ada007ff1a6a: Pulling fs layer [2024-05-17T08:13:47.514Z] 4f4fb700ef54: Waiting [2024-05-17T08:13:47.514Z] fb5054dd5b73: Waiting [2024-05-17T08:13:47.514Z] eeca6798cff9: Waiting [2024-05-17T08:13:47.514Z] aa269ceb94a6: Waiting [2024-05-17T08:13:47.514Z] 7629e6793208: Waiting [2024-05-17T08:13:47.514Z] ada007ff1a6a: Waiting [2024-05-17T08:13:47.514Z] 7862e08f4a3e: Verifying Checksum [2024-05-17T08:13:47.514Z] 7862e08f4a3e: Download complete [2024-05-17T08:13:47.514Z] 7629e6793208: Verifying Checksum [2024-05-17T08:13:47.514Z] 7629e6793208: Download complete [2024-05-17T08:13:47.514Z] 4f4fb700ef54: Download complete [2024-05-17T08:13:47.514Z] 619be1103602: Verifying Checksum [2024-05-17T08:13:47.514Z] 619be1103602: Download complete [2024-05-17T08:13:47.514Z] fb5054dd5b73: Download complete [2024-05-17T08:13:47.514Z] eeca6798cff9: Verifying Checksum [2024-05-17T08:13:47.514Z] eeca6798cff9: Download complete [2024-05-17T08:13:47.773Z] 619be1103602: Pull complete [2024-05-17T08:13:47.773Z] ada007ff1a6a: Verifying Checksum [2024-05-17T08:13:47.773Z] ada007ff1a6a: Download complete [2024-05-17T08:13:47.773Z] 7862e08f4a3e: Pull complete [2024-05-17T08:13:48.031Z] 5df492c9dc93: Verifying Checksum [2024-05-17T08:13:48.031Z] 5df492c9dc93: Download complete [2024-05-17T08:13:48.290Z] aa269ceb94a6: Verifying Checksum [2024-05-17T08:13:48.290Z] aa269ceb94a6: Download complete [2024-05-17T08:13:51.574Z] 5df492c9dc93: Pull complete [2024-05-17T08:13:51.574Z] 7629e6793208: Pull complete [2024-05-17T08:13:51.574Z] 4f4fb700ef54: Pull complete [2024-05-17T08:13:51.574Z] fb5054dd5b73: Pull complete [2024-05-17T08:13:51.574Z] eeca6798cff9: Pull complete [2024-05-17T08:13:53.476Z] aa269ceb94a6: Pull complete [2024-05-17T08:13:54.044Z] ada007ff1a6a: Pull complete [2024-05-17T08:13:54.044Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-17T08:13:54.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-17T08:13:54.044Z] ---> f489d0715acc [2024-05-17T08:13:54.044Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-17T08:13:58.240Z] ---> Running in 2d1e3b3f38f7 [2024-05-17T08:13:58.240Z] Removing intermediate container 2d1e3b3f38f7 [2024-05-17T08:13:58.240Z] ---> f4b6609dd82a [2024-05-17T08:13:58.240Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-17T08:13:58.240Z] ---> Running in d6280fee7e0c [2024-05-17T08:13:58.240Z] Removing intermediate container d6280fee7e0c [2024-05-17T08:13:58.240Z] ---> 8af28bcb078d [2024-05-17T08:13:58.240Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-17T08:13:58.240Z] ---> Running in 3735dffd0099 [2024-05-17T08:13:58.240Z] Removing intermediate container 3735dffd0099 [2024-05-17T08:13:58.240Z] ---> 1196a690ec67 [2024-05-17T08:13:58.240Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-17T08:13:58.240Z] ---> Running in b490c56fbc14 [2024-05-17T08:13:58.240Z] Removing intermediate container b490c56fbc14 [2024-05-17T08:13:58.240Z] ---> 4e0f1c62aba2 [2024-05-17T08:13:58.240Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-17T08:13:58.240Z] ---> Running in 4c1f6cf1e567 [2024-05-17T08:13:58.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-17T08:13:58.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-17T08:13:58.758Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-17T08:13:58.758Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-17T08:13:58.758Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-17T08:13:58.758Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-17T08:13:58.758Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:13:58.758Z] OK: 268 MiB in 56 packages [2024-05-17T08:13:59.326Z] Removing intermediate container 4c1f6cf1e567 [2024-05-17T08:13:59.326Z] ---> ebdff477989d [2024-05-17T08:13:59.326Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-17T08:13:59.326Z] ---> bc97bbccdb2c [2024-05-17T08:13:59.326Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-17T08:13:59.326Z] ---> Running in fda05f81270a [2024-05-17T08:14:00.882Z] Still waiting to schedule task [2024-05-17T08:14:00.882Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-17T08:15:07.013Z] Removing intermediate container fda05f81270a [2024-05-17T08:15:07.013Z] ---> e9538e15e1a4 [2024-05-17T08:15:07.013Z] Step 10/12 : COPY . . [2024-05-17T08:15:07.013Z] ---> 186456f670e3 [2024-05-17T08:15:07.013Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-17T08:15:07.013Z] ---> Running in 5d14d85cd3a5 [2024-05-17T08:15:07.013Z] Removing intermediate container 5d14d85cd3a5 [2024-05-17T08:15:07.013Z] ---> d6091146bf09 [2024-05-17T08:15:07.013Z] Step 12/12 : RUN $MAKE [2024-05-17T08:15:07.013Z] ---> Running in 9292c8be313a [2024-05-17T08:15:07.013Z] noop [2024-05-17T08:15:07.013Z] Removing intermediate container 9292c8be313a [2024-05-17T08:15:07.013Z] ---> 6947d6c980f3 [2024-05-17T08:15:07.013Z] Successfully built 6947d6c980f3 [2024-05-17T08:15:07.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:15:07.342Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-17T08:15:07.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:15:07.417Z] prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container [2024-05-17T08:15:07.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-17T08:15:07.803Z] $ docker top f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-17T08:15:08.146Z] + go version [2024-05-17T08:15:08.146Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-17T08:15:08.157Z] $ docker stop --time=1 f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 [2024-05-17T08:15:09.422Z] $ docker rm -f --volumes f067260d0fddfcefcdde05b0899e3e0cb70fd81470fbfbc71607b767ca7e44d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:15:09.853Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-17T08:15:09.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:15:09.929Z] prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container [2024-05-17T08:15:09.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-17T08:15:10.279Z] $ docker top f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-17T08:15:10.625Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] fileExists [Pipeline] sh [2024-05-17T08:15:10.928Z] + make test [2024-05-17T08:15:10.928Z] go test ./... -coverprofile=coverage.out [2024-05-17T08:15:12.320Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-17T08:15:30.392Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-17T08:15:30.392Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements [2024-05-17T08:15:42.265Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-345 in /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] { [Pipeline] ws [2024-05-17T08:15:42.286Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2024-05-17T08:15:42.589Z] go vet ./... [2024-05-17T08:15:45.511Z] The recommended git tool is: git [2024-05-17T08:15:46.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-17T08:15:46.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-17T08:15:46.770Z] ./bin/test-attribution-txt.sh [2024-05-17T08:15:46.770Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-17T08:15:46.770Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-17T08:15:46.771Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-17T08:15:46.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-17T08:15:46.809Z] $ docker stop --time=1 f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 [2024-05-17T08:15:50.517Z] $ docker rm -f --volumes f450b74eb9abca4e02d7bd6e3ddf7bbe2c2c33f8e74e332ca9ead1b55c1690f8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-17T08:15:51.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-17T08:15:51.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-17T08:15:51.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-17T08:15:52.068Z] + ls -al . [2024-05-17T08:15:52.069Z] total 268 [2024-05-17T08:15:52.069Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 . [2024-05-17T08:15:52.069Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 08:13 .. [2024-05-17T08:15:52.069Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 .git [2024-05-17T08:15:52.069Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 .github [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 272 May 17 08:13 .gitignore [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 08:13 .golangci.yml [2024-05-17T08:15:52.069Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 08:13 .semver [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 9708 May 17 08:13 Attribution.txt [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 17 08:13 CHANGELOG.md [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 17 08:13 Dockerfile [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 08:13 GOVERNANCE.md [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 660 May 17 08:13 Jenkinsfile [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 08:13 LICENSE [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 1953 May 17 08:13 Makefile [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 623 May 17 08:13 OWNERS.md [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 17 08:13 README.md [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 08:13 VERSION [2024-05-17T08:15:52.069Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 08:13 bin [2024-05-17T08:15:52.069Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 cmd [2024-05-17T08:15:52.069Z] -rw-r--r-- 1 jenkins jenkins 43063 May 17 08:15 coverage.out [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 6985 May 17 08:13 go.mod [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 101257 May 17 08:13 go.sum [2024-05-17T08:15:52.069Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:13 internal [2024-05-17T08:15:52.069Z] -rw-rw-r-- 1 jenkins jenkins 235 May 17 08:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:15:52.389Z] + 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=f43c55675ab34c1aed388119082f139de939403c --label arch=amd64 --label version=0.0.0 . [2024-05-17T08:15:52.389Z] Sending build context to Docker daemon 37.77MB [2024-05-17T08:15:52.389Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-17T08:15:52.389Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-17T08:15:52.389Z] ---> 6947d6c980f3 [2024-05-17T08:15:52.389Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-17T08:15:52.955Z] ---> Running in be95ff3e1170 [2024-05-17T08:15:53.214Z] Removing intermediate container be95ff3e1170 [2024-05-17T08:15:53.214Z] ---> 4266537ba9ee [2024-05-17T08:15:53.214Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-17T08:15:53.214Z] ---> Running in 1055c19a0aa4 [2024-05-17T08:15:53.214Z] Removing intermediate container 1055c19a0aa4 [2024-05-17T08:15:53.214Z] ---> a1a913d5ae13 [2024-05-17T08:15:53.214Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-17T08:15:53.214Z] ---> Running in a96fb16466e0 [2024-05-17T08:15:53.214Z] Removing intermediate container a96fb16466e0 [2024-05-17T08:15:53.214Z] ---> bebf6d0ddeda [2024-05-17T08:15:53.214Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-17T08:15:53.214Z] ---> Running in 7af132b3255f [2024-05-17T08:15:53.473Z] Removing intermediate container 7af132b3255f [2024-05-17T08:15:53.473Z] ---> 0ca1e27f9de3 [2024-05-17T08:15:53.473Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-17T08:15:53.473Z] ---> Running in 4b9109ccb56b [2024-05-17T08:15:53.569Z] using credential edgex-jenkins-ssh [2024-05-17T08:15:53.590Z] Cloning the remote Git repository [2024-05-17T08:15:53.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-17T08:15:53.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-17T08:15:53.990Z] OK: 268 MiB in 56 packages [2024-05-17T08:15:54.557Z] Removing intermediate container 4b9109ccb56b [2024-05-17T08:15:54.557Z] ---> eb8db86c5111 [2024-05-17T08:15:54.557Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-17T08:15:54.557Z] ---> 3faaafdc96da [2024-05-17T08:15:54.557Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-17T08:15:54.557Z] ---> Running in 4819025f70e1 [2024-05-17T08:15:53.638Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-05-17T08:15:53.745Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2024-05-17T08:15:53.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-17T08:15:53.987Z] > git --version # timeout=10 [2024-05-17T08:15:54.047Z] > git --version # 'git version 2.25.1' [2024-05-17T08:15:54.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-17T08:15:54.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-17T08:15:55.495Z] Removing intermediate container 4819025f70e1 [2024-05-17T08:15:55.495Z] ---> fb05fd1a5a80 [2024-05-17T08:15:55.495Z] Step 10/26 : COPY . . [2024-05-17T08:15:56.068Z] ---> 57923206bc05 [2024-05-17T08:15:56.068Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-17T08:15:56.068Z] ---> Running in 19935da8fe5f [2024-05-17T08:15:56.327Z] Removing intermediate container 19935da8fe5f [2024-05-17T08:15:56.327Z] ---> 8944a08ef4a7 [2024-05-17T08:15:56.327Z] Step 12/26 : RUN $MAKE [2024-05-17T08:15:56.327Z] ---> Running in 9c5377d6d007 [2024-05-17T08:15:56.585Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-17T08:15:57.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-17T08:15:57.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-17T08:15:58.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-05-17T08:15:58.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-05-17T08:15:58.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-17T08:15:58.820Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-17T08:15:59.316Z] Merging remotes/origin/main commit ce586e9030a93f7faa235112db1c98351cbead98 into PR head commit 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [2024-05-17T08:15:59.619Z] Merge succeeded, producing f739391e595e84d4663b91e193669f51205ba41c [2024-05-17T08:15:59.620Z] Checking out Revision f739391e595e84d4663b91e193669f51205ba41c (PR-468) [2024-05-17T08:15:59.334Z] > git config core.sparsecheckout # timeout=10 [2024-05-17T08:15:59.396Z] > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 [2024-05-17T08:15:59.481Z] > git remote # timeout=10 [2024-05-17T08:15:59.496Z] > git config --get remote.origin.url # timeout=10 [2024-05-17T08:15:59.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-17T08:15:59.530Z] > git merge ce586e9030a93f7faa235112db1c98351cbead98 # timeout=10 [2024-05-17T08:15:59.603Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-17T08:15:59.626Z] > git config core.sparsecheckout # timeout=10 [2024-05-17T08:15:59.638Z] > git checkout -f f739391e595e84d4663b91e193669f51205ba41c # timeout=10 [2024-05-17T08:16:03.157Z] Commit message: "Merge commit 'ce586e9030a93f7faa235112db1c98351cbead98' into HEAD" [2024-05-17T08:16:03.157Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-17T08:16:04.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-17T08:16:04.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-17T08:16:04.771Z] Dload Upload Total Spent Left Speed [2024-05-17T08:16:04.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-05-17T08:16:05.101Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-17T08:16:05.429Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-17T08:16:05.429Z] + sudo tee /etc/docker/daemon.new [2024-05-17T08:16:05.429Z] { [2024-05-17T08:16:05.429Z] "registry-mirrors": [ [2024-05-17T08:16:05.429Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-17T08:16:05.429Z] ], [2024-05-17T08:16:05.429Z] "bip": "10.250.0.254/24", [2024-05-17T08:16:05.429Z] "hosts": [ [2024-05-17T08:16:05.429Z] "tcp://0.0.0.0:5555", [2024-05-17T08:16:05.429Z] "unix:///var/run/docker.sock" [2024-05-17T08:16:05.429Z] ], [2024-05-17T08:16:05.429Z] "mtu": 1458, [2024-05-17T08:16:05.429Z] "selinux-enabled": true, [2024-05-17T08:16:05.429Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-17T08:16:05.429Z] } [Pipeline] sh [2024-05-17T08:16:05.758Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-17T08:16:06.085Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-17T08:16:24.339Z] provisioning config files... [2024-05-17T08:16:24.367Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config391703270279169676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:16:24.822Z] ---> ****-login.sh [2024-05-17T08:16:24.822Z] nexus3.edgexfoundry.org:10001 [2024-05-17T08:16:25.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:16:25.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:16:25.372Z] Configure a credential helper to remove this warning. See [2024-05-17T08:16:25.372Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:16:25.372Z] [2024-05-17T08:16:25.372Z] Login Succeeded [2024-05-17T08:16:25.372Z] nexus3.edgexfoundry.org:10002 [2024-05-17T08:16:25.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:16:25.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:16:25.909Z] Configure a credential helper to remove this warning. See [2024-05-17T08:16:25.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:16:25.909Z] [2024-05-17T08:16:25.909Z] Login Succeeded [2024-05-17T08:16:25.909Z] nexus3.edgexfoundry.org:10003 [2024-05-17T08:16:25.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:16:26.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:16:26.179Z] Configure a credential helper to remove this warning. See [2024-05-17T08:16:26.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:16:26.179Z] [2024-05-17T08:16:26.179Z] Login Succeeded [2024-05-17T08:16:26.179Z] nexus3.edgexfoundry.org:10004 [2024-05-17T08:16:26.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:16:26.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:16:26.451Z] Configure a credential helper to remove this warning. See [2024-05-17T08:16:26.451Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:16:26.451Z] [2024-05-17T08:16:26.451Z] Login Succeeded [2024-05-17T08:16:26.451Z] ****.io [2024-05-17T08:16:26.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-17T08:16:26.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-17T08:16:26.987Z] Configure a credential helper to remove this warning. See [2024-05-17T08:16:26.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-17T08:16:26.987Z] [2024-05-17T08:16:26.987Z] Login Succeeded [2024-05-17T08:16:26.987Z] ---> ****-login.sh ends [Pipeline] } [2024-05-17T08:16:27.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-17T08:16:27.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-17T08:16:27.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-17T08:16:27.340Z] ========================================================= [2024-05-17T08:16:27.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-17T08:16:27.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:16:27.815Z] + 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 . [2024-05-17T08:16:28.401Z] Sending build context to Docker daemon 19.07MB [2024-05-17T08:16:28.401Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-17T08:16:28.401Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-17T08:16:28.401Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-17T08:16:28.401Z] c6b39de5b339: Pulling fs layer [2024-05-17T08:16:28.401Z] a69c41024577: Pulling fs layer [2024-05-17T08:16:28.401Z] d6de4b400683: Pulling fs layer [2024-05-17T08:16:28.401Z] 35cb2a7552d0: Pulling fs layer [2024-05-17T08:16:28.401Z] 4f4fb700ef54: Pulling fs layer [2024-05-17T08:16:28.401Z] 464afbd9ba4c: Pulling fs layer [2024-05-17T08:16:28.401Z] 00f215d4a9da: Pulling fs layer [2024-05-17T08:16:28.401Z] d496ad576159: Pulling fs layer [2024-05-17T08:16:28.401Z] 35cb2a7552d0: Waiting [2024-05-17T08:16:28.401Z] 4f4fb700ef54: Waiting [2024-05-17T08:16:28.401Z] 464afbd9ba4c: Waiting [2024-05-17T08:16:28.401Z] 00f215d4a9da: Waiting [2024-05-17T08:16:28.401Z] d496ad576159: Waiting [2024-05-17T08:16:28.401Z] a69c41024577: Verifying Checksum [2024-05-17T08:16:28.401Z] a69c41024577: Download complete [2024-05-17T08:16:28.401Z] 35cb2a7552d0: Verifying Checksum [2024-05-17T08:16:28.401Z] 35cb2a7552d0: Download complete [2024-05-17T08:16:28.401Z] 4f4fb700ef54: Verifying Checksum [2024-05-17T08:16:28.401Z] 4f4fb700ef54: Download complete [2024-05-17T08:16:28.401Z] 464afbd9ba4c: Verifying Checksum [2024-05-17T08:16:28.401Z] 464afbd9ba4c: Download complete [2024-05-17T08:16:28.662Z] Removing intermediate container 9c5377d6d007 [2024-05-17T08:16:28.662Z] ---> f02a91b2f516 [2024-05-17T08:16:28.662Z] Step 13/26 : FROM alpine:3.18 [2024-05-17T08:16:28.662Z] 3.18: Pulling from library/alpine [2024-05-17T08:16:28.662Z] 619be1103602: Already exists [2024-05-17T08:16:28.662Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-17T08:16:28.662Z] Status: Downloaded newer image for alpine:3.18 [2024-05-17T08:16:28.662Z] ---> d3782b16ccc9 [2024-05-17T08:16:28.662Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-17T08:16:28.662Z] ---> Running in 8024463f3fab [2024-05-17T08:16:28.662Z] Removing intermediate container 8024463f3fab [2024-05-17T08:16:28.662Z] ---> d85aff2de0e5 [2024-05-17T08:16:28.662Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-17T08:16:28.662Z] ---> Running in 1b0205416ad5 [2024-05-17T08:16:28.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:28.670Z] c6b39de5b339: Verifying Checksum [2024-05-17T08:16:28.670Z] c6b39de5b339: Download complete [2024-05-17T08:16:28.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:28.943Z] d496ad576159: Verifying Checksum [2024-05-17T08:16:28.943Z] d496ad576159: Download complete [2024-05-17T08:16:29.179Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-17T08:16:29.179Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:16:29.179Z] OK: 7 MiB in 16 packages [2024-05-17T08:16:29.437Z] Removing intermediate container 1b0205416ad5 [2024-05-17T08:16:29.437Z] ---> 76e074089afd [2024-05-17T08:16:29.437Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-17T08:16:29.437Z] ---> Running in 1c54788e6784 [2024-05-17T08:16:29.544Z] c6b39de5b339: Pull complete [2024-05-17T08:16:29.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:29.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:30.130Z] a69c41024577: Pull complete [2024-05-17T08:16:30.218Z] Upgrading critical system libraries and apk-tools: [2024-05-17T08:16:30.218Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-17T08:16:30.218Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:16:30.218Z] Continuing the upgrade transaction with new apk-tools: [2024-05-17T08:16:30.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:30.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-17T08:16:30.398Z] d6de4b400683: Verifying Checksum [2024-05-17T08:16:30.398Z] d6de4b400683: Download complete [2024-05-17T08:16:30.478Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-17T08:16:30.478Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-17T08:16:30.478Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-17T08:16:30.478Z] OK: 7 MiB in 16 packages [2024-05-17T08:16:31.046Z] Removing intermediate container 1c54788e6784 [2024-05-17T08:16:31.046Z] ---> df482280aeea [2024-05-17T08:16:31.046Z] Step 17/26 : WORKDIR / [2024-05-17T08:16:31.046Z] ---> Running in 1efa460e7a67 [2024-05-17T08:16:31.046Z] Removing intermediate container 1efa460e7a67 [2024-05-17T08:16:31.046Z] ---> b042a2070d0c [2024-05-17T08:16:31.046Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-17T08:16:31.305Z] ---> 1bc3d3a496be [2024-05-17T08:16:31.305Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-17T08:16:31.305Z] ---> 5dce069d79d8 [2024-05-17T08:16:31.305Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-17T08:16:31.355Z] 00f215d4a9da: Verifying Checksum [2024-05-17T08:16:31.355Z] 00f215d4a9da: Download complete [2024-05-17T08:16:32.241Z] ---> 07ffd0bfa69b [2024-05-17T08:16:32.241Z] Step 21/26 : EXPOSE 59900 [2024-05-17T08:16:32.241Z] ---> Running in 6ea321eda62a [2024-05-17T08:16:32.241Z] Removing intermediate container 6ea321eda62a [2024-05-17T08:16:32.241Z] ---> 1c30beaa48c7 [2024-05-17T08:16:32.241Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-17T08:16:32.241Z] ---> Running in b7da34b65d34 [2024-05-17T08:16:32.501Z] Removing intermediate container b7da34b65d34 [2024-05-17T08:16:32.501Z] ---> 063331ba56ab [2024-05-17T08:16:32.501Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-17T08:16:32.501Z] ---> Running in fc1de86f9a73 [2024-05-17T08:16:32.501Z] Removing intermediate container fc1de86f9a73 [2024-05-17T08:16:32.501Z] ---> 12c76d71487f [2024-05-17T08:16:32.501Z] Step 24/26 : LABEL arch=amd64 [2024-05-17T08:16:32.501Z] ---> Running in 368c551f2ec1 [2024-05-17T08:16:32.501Z] Removing intermediate container 368c551f2ec1 [2024-05-17T08:16:32.501Z] ---> bc587a513d0c [2024-05-17T08:16:32.501Z] Step 25/26 : LABEL git_sha=f43c55675ab34c1aed388119082f139de939403c [2024-05-17T08:16:32.501Z] ---> Running in 668e41f688ad [2024-05-17T08:16:32.760Z] Removing intermediate container 668e41f688ad [2024-05-17T08:16:32.760Z] ---> 16036c9cd410 [2024-05-17T08:16:32.760Z] Step 26/26 : LABEL version=0.0.0 [2024-05-17T08:16:32.760Z] ---> Running in 4b57d88257ed [2024-05-17T08:16:32.760Z] Removing intermediate container 4b57d88257ed [2024-05-17T08:16:32.760Z] ---> 5840436db4c0 [2024-05-17T08:16:32.760Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-17T08:16:32.760Z] Successfully built 5840436db4c0 [2024-05-17T08:16:32.760Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:16:33.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-17T08:16:33.267Z] [2024-05-17T08:16:33.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:16:33.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-17T08:16:33.575Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-17T08:16:33.575Z] 5eb5b503b376: Pulling fs layer [2024-05-17T08:16:33.575Z] 5c69ac0246d0: Pulling fs layer [2024-05-17T08:16:33.575Z] ec43610c2a17: Pulling fs layer [2024-05-17T08:16:33.575Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-17T08:16:33.575Z] 33b1e0a273af: Pulling fs layer [2024-05-17T08:16:33.575Z] 5d3b04190fa2: Pulling fs layer [2024-05-17T08:16:33.575Z] 2f39f015ded8: Pulling fs layer [2024-05-17T08:16:33.575Z] 3a2ae6a8a46f: Waiting [2024-05-17T08:16:33.575Z] 33b1e0a273af: Waiting [2024-05-17T08:16:33.575Z] 5d3b04190fa2: Waiting [2024-05-17T08:16:33.575Z] 2f39f015ded8: Waiting [2024-05-17T08:16:33.575Z] 5c69ac0246d0: Verifying Checksum [2024-05-17T08:16:33.575Z] 5c69ac0246d0: Download complete [2024-05-17T08:16:33.575Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-17T08:16:33.575Z] 3a2ae6a8a46f: Download complete [2024-05-17T08:16:33.575Z] 33b1e0a273af: Verifying Checksum [2024-05-17T08:16:33.575Z] 33b1e0a273af: Download complete [2024-05-17T08:16:33.575Z] 5d3b04190fa2: Verifying Checksum [2024-05-17T08:16:33.575Z] 5d3b04190fa2: Download complete [2024-05-17T08:16:33.575Z] ec43610c2a17: Verifying Checksum [2024-05-17T08:16:33.575Z] ec43610c2a17: Download complete [2024-05-17T08:16:33.833Z] 5eb5b503b376: Verifying Checksum [2024-05-17T08:16:33.833Z] 5eb5b503b376: Download complete [2024-05-17T08:16:34.399Z] 2f39f015ded8: Verifying Checksum [2024-05-17T08:16:34.965Z] 5eb5b503b376: Pull complete [2024-05-17T08:16:34.965Z] 5c69ac0246d0: Pull complete [2024-05-17T08:16:35.531Z] ec43610c2a17: Pull complete [2024-05-17T08:16:35.531Z] 3a2ae6a8a46f: Pull complete [2024-05-17T08:16:35.790Z] 33b1e0a273af: Pull complete [2024-05-17T08:16:35.790Z] 5d3b04190fa2: Pull complete [2024-05-17T08:16:39.978Z] 2f39f015ded8: Pull complete [2024-05-17T08:16:39.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-17T08:16:39.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-17T08:16:39.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:16:40.079Z] prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container [2024-05-17T08:16:40.115Z] $ 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/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-17T08:16:43.663Z] d6de4b400683: Pull complete [2024-05-17T08:16:43.663Z] 35cb2a7552d0: Pull complete [2024-05-17T08:16:43.663Z] 4f4fb700ef54: Pull complete [2024-05-17T08:16:43.663Z] 464afbd9ba4c: Pull complete [2024-05-17T08:16:43.878Z] $ docker top 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:16:44.289Z] ---> job-cost.sh [2024-05-17T08:16:44.289Z] lf-activate-venv: SKIPPING [2024-05-17T08:16:44.289Z] INFO: No Stack... [2024-05-17T08:16:44.550Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-17T08:16:44.809Z] INFO: Archiving Costs [Pipeline] sh [2024-05-17T08:16:45.105Z] + cat /w/workspace/foundry_device-virtual-go_PR-468/archives/cost.csv [2024-05-17T08:16:45.105Z] + cut -d, -f6 [Pipeline] lock [2024-05-17T08:16:45.118Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [2024-05-17T08:16:45.126Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] did not exist. Created. [2024-05-17T08:16:45.133Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-17T08:16:45.442Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-17T08:16:45.474Z] Stashed 1 file(s) [Pipeline] } [2024-05-17T08:16:45.482Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-17T08:16:45.512Z] $ docker stop --time=1 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 [2024-05-17T08:16:46.668Z] $ docker rm -f --volumes 294a40783888038af17e693fdcf69ada256ff1c32b01a4960301f013f2124eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-17T08:16:53.737Z] 00f215d4a9da: Pull complete [2024-05-17T08:16:53.737Z] d496ad576159: Pull complete [2024-05-17T08:16:53.737Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-17T08:16:54.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-17T08:16:54.008Z] ---> f246e2811388 [2024-05-17T08:16:54.008Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-17T08:16:55.419Z] ---> Running in 06a4a45b0202 [2024-05-17T08:16:55.688Z] Removing intermediate container 06a4a45b0202 [2024-05-17T08:16:55.688Z] ---> d0e29adcb717 [2024-05-17T08:16:55.688Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-17T08:16:55.956Z] ---> Running in 0419a1cb136b [2024-05-17T08:16:56.223Z] Removing intermediate container 0419a1cb136b [2024-05-17T08:16:56.223Z] ---> 7f52a8f186ff [2024-05-17T08:16:56.223Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-05-17T08:16:56.223Z] ---> Running in 7a8bcae6bddf [2024-05-17T08:16:56.491Z] Removing intermediate container 7a8bcae6bddf [2024-05-17T08:16:56.491Z] ---> 5cdbd130d2c1 [2024-05-17T08:16:56.491Z] Step 6/12 : WORKDIR /device-virtual-go [2024-05-17T08:16:56.491Z] ---> Running in ec550bb72adb [2024-05-17T08:16:56.762Z] Removing intermediate container ec550bb72adb [2024-05-17T08:16:56.762Z] ---> 2eccccf57207 [2024-05-17T08:16:56.762Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-17T08:16:56.762Z] ---> Running in 4c283c980897 [2024-05-17T08:16:58.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-17T08:16:58.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-17T08:16:59.413Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-17T08:16:59.413Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-17T08:16:59.413Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-17T08:16:59.413Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-17T08:16:59.413Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:16:59.413Z] OK: 271 MiB in 56 packages [2024-05-17T08:17:00.841Z] Removing intermediate container 4c283c980897 [2024-05-17T08:17:00.841Z] ---> 76be74cb58ee [2024-05-17T08:17:00.841Z] Step 8/12 : COPY go.mod vendor* ./ [2024-05-17T08:17:01.108Z] ---> 7e01f17e60ff [2024-05-17T08:17:01.108Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-17T08:17:01.375Z] ---> Running in 0576e85247f9 [2024-05-17T08:18:53.056Z] Removing intermediate container 0576e85247f9 [2024-05-17T08:18:53.056Z] ---> 3980d0a989d0 [2024-05-17T08:18:53.056Z] Step 10/12 : COPY . . [2024-05-17T08:18:53.056Z] ---> 101f0d159d79 [2024-05-17T08:18:53.056Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-17T08:18:53.056Z] ---> Running in 2d6d036f3484 [2024-05-17T08:18:53.056Z] Removing intermediate container 2d6d036f3484 [2024-05-17T08:18:53.056Z] ---> eb976db0d8f1 [2024-05-17T08:18:53.056Z] Step 12/12 : RUN $MAKE [2024-05-17T08:18:53.056Z] ---> Running in e9e80a184ee4 [2024-05-17T08:18:53.056Z] noop [2024-05-17T08:18:53.056Z] Removing intermediate container e9e80a184ee4 [2024-05-17T08:18:53.056Z] ---> e642fe0539a4 [2024-05-17T08:18:53.056Z] Successfully built e642fe0539a4 [2024-05-17T08:18:53.056Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:18:53.415Z] + docker inspect -f . ci-base-image-arm64 [2024-05-17T08:18:53.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:18:53.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container [2024-05-17T08:18:53.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-17T08:18:54.957Z] $ docker top f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-17T08:18:55.816Z] + go version [2024-05-17T08:18:55.816Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-17T08:18:55.834Z] $ docker stop --time=1 f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 [2024-05-17T08:18:57.435Z] $ docker rm -f --volumes f39d4a7223ce35e909be09a47e78f2e1ebb08d4adccd85e9bb7c5105796af087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:18:58.016Z] + docker inspect -f . ci-base-image-arm64 [2024-05-17T08:18:58.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:18:58.208Z] prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container [2024-05-17T08:18:58.275Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-17T08:18:59.441Z] $ docker top b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-17T08:19:00.287Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2024-05-17T08:19:00.942Z] + make test [2024-05-17T08:19:00.942Z] go test ./... -coverprofile=coverage.out [2024-05-17T08:19:06.289Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-05-17T08:22:13.058Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-05-17T08:22:13.058Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.4% of statements [2024-05-17T08:22:13.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-17T08:22:13.058Z] go vet ./... [2024-05-17T08:22:59.900Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-17T08:22:59.900Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-17T08:22:59.900Z] ./bin/test-attribution-txt.sh [2024-05-17T08:22:59.900Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-17T08:22:59.900Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-17T08:22:59.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-17T08:22:59.939Z] $ docker stop --time=1 b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a [2024-05-17T08:23:01.933Z] $ docker rm -f --volumes b95c241662c20569879003c513de9632d268a00506c86195726042a72efec43a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-17T08:23:03.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-17T08:23:03.444Z] Warning: overwriting stash ‘coverage-report’ [2024-05-17T08:23:04.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-17T08:23:04.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-17T08:23:04.732Z] + ls -al . [2024-05-17T08:23:04.732Z] total 264 [2024-05-17T08:23:04.732Z] drwxrwxr-x 7 jenkins jenkins 4096 May 17 08:19 . [2024-05-17T08:23:04.732Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 08:15 .. [2024-05-17T08:23:04.732Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 08:15 .git [2024-05-17T08:23:04.732Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 .github [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 272 May 17 08:15 .gitignore [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 08:15 .golangci.yml [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 9708 May 17 08:15 Attribution.txt [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 15941 May 17 08:15 CHANGELOG.md [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 1755 May 17 08:15 Dockerfile [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 08:15 GOVERNANCE.md [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 660 May 17 08:15 Jenkinsfile [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 08:15 LICENSE [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 1953 May 17 08:15 Makefile [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 623 May 17 08:15 OWNERS.md [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 4103 May 17 08:15 README.md [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 08:13 VERSION [2024-05-17T08:23:04.732Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 08:15 bin [2024-05-17T08:23:04.732Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 cmd [2024-05-17T08:23:04.732Z] -rw-r--r-- 1 jenkins jenkins 43063 May 17 08:22 coverage.out [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 6985 May 17 08:15 go.mod [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 101257 May 17 08:15 go.sum [2024-05-17T08:23:04.732Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 08:15 internal [2024-05-17T08:23:04.732Z] -rw-rw-r-- 1 jenkins jenkins 235 May 17 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:23:05.076Z] + 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=f739391e595e84d4663b91e193669f51205ba41c --label arch=arm64 --label version=0.0.0 . [2024-05-17T08:23:05.658Z] Sending build context to Docker daemon 19.11MB [2024-05-17T08:23:05.659Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-17T08:23:05.659Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-17T08:23:05.659Z] ---> e642fe0539a4 [2024-05-17T08:23:05.659Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-17T08:23:05.924Z] ---> Running in 4107ecaf3036 [2024-05-17T08:23:06.192Z] Removing intermediate container 4107ecaf3036 [2024-05-17T08:23:06.192Z] ---> f5b2f0ae05c4 [2024-05-17T08:23:06.192Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-17T08:23:06.192Z] ---> Running in a57ffa656e06 [2024-05-17T08:23:06.459Z] Removing intermediate container a57ffa656e06 [2024-05-17T08:23:06.459Z] ---> ae14ac699416 [2024-05-17T08:23:06.459Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-05-17T08:23:06.459Z] ---> Running in 63782b70b828 [2024-05-17T08:23:06.731Z] Removing intermediate container 63782b70b828 [2024-05-17T08:23:06.731Z] ---> 0f8f900d52de [2024-05-17T08:23:06.731Z] Step 6/26 : WORKDIR /device-virtual-go [2024-05-17T08:23:06.731Z] ---> Running in 3dfe632ba4ba [2024-05-17T08:23:07.321Z] Removing intermediate container 3dfe632ba4ba [2024-05-17T08:23:07.321Z] ---> 063e371c7d36 [2024-05-17T08:23:07.321Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-17T08:23:07.321Z] ---> Running in cd378317b754 [2024-05-17T08:23:08.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-17T08:23:08.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-17T08:23:09.520Z] OK: 271 MiB in 56 packages [2024-05-17T08:23:10.105Z] Removing intermediate container cd378317b754 [2024-05-17T08:23:10.105Z] ---> 5a398895604e [2024-05-17T08:23:10.105Z] Step 8/26 : COPY go.mod vendor* ./ [2024-05-17T08:23:10.692Z] ---> d10d5e52370b [2024-05-17T08:23:10.692Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-17T08:23:10.692Z] ---> Running in b385e46c8a0c [2024-05-17T08:23:13.274Z] Removing intermediate container b385e46c8a0c [2024-05-17T08:23:13.274Z] ---> 1d7db790d34c [2024-05-17T08:23:13.274Z] Step 10/26 : COPY . . [2024-05-17T08:23:14.680Z] ---> 76bc8fe1e13a [2024-05-17T08:23:14.680Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-17T08:23:14.680Z] ---> Running in 3e196caa1c6f [2024-05-17T08:23:14.946Z] Removing intermediate container 3e196caa1c6f [2024-05-17T08:23:14.946Z] ---> d810d3cac425 [2024-05-17T08:23:14.946Z] Step 12/26 : RUN $MAKE [2024-05-17T08:23:14.946Z] ---> Running in 26336b6ed43d [2024-05-17T08:23:15.903Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-05-17T08:26:37.702Z] Removing intermediate container 26336b6ed43d [2024-05-17T08:26:37.702Z] ---> 0be4d0cbc645 [2024-05-17T08:26:37.702Z] Step 13/26 : FROM alpine:3.18 [2024-05-17T08:26:37.702Z] 3.18: Pulling from library/alpine [2024-05-17T08:26:37.702Z] c6b39de5b339: Already exists [2024-05-17T08:26:37.702Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-17T08:26:37.702Z] Status: Downloaded newer image for alpine:3.18 [2024-05-17T08:26:37.702Z] ---> 33abbf032149 [2024-05-17T08:26:37.702Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-05-17T08:26:37.702Z] ---> Running in 23f608df1597 [2024-05-17T08:26:37.702Z] Removing intermediate container 23f608df1597 [2024-05-17T08:26:37.702Z] ---> d62f2a14a54c [2024-05-17T08:26:37.702Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-05-17T08:26:37.702Z] ---> Running in a9c94858f4f3 [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-17T08:26:37.702Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:26:37.702Z] OK: 8 MiB in 16 packages [2024-05-17T08:26:37.702Z] Removing intermediate container a9c94858f4f3 [2024-05-17T08:26:37.702Z] ---> a329f4278879 [2024-05-17T08:26:37.702Z] Step 16/26 : RUN apk --no-cache upgrade [2024-05-17T08:26:37.702Z] ---> Running in 5fee486a901d [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] Upgrading critical system libraries and apk-tools: [2024-05-17T08:26:37.702Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-17T08:26:37.702Z] Executing busybox-1.36.1-r5.trigger [2024-05-17T08:26:37.702Z] Continuing the upgrade transaction with new apk-tools: [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-17T08:26:37.702Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-17T08:26:37.702Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-17T08:26:37.702Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-17T08:26:37.702Z] OK: 8 MiB in 16 packages [2024-05-17T08:26:37.702Z] Removing intermediate container 5fee486a901d [2024-05-17T08:26:37.702Z] ---> 6d282698a5e7 [2024-05-17T08:26:37.702Z] Step 17/26 : WORKDIR / [2024-05-17T08:26:37.702Z] ---> Running in e1cdfe9ea612 [2024-05-17T08:26:37.702Z] Removing intermediate container e1cdfe9ea612 [2024-05-17T08:26:37.702Z] ---> fea5eed46c3c [2024-05-17T08:26:37.702Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-05-17T08:26:37.702Z] ---> 9c2841cca3f7 [2024-05-17T08:26:37.702Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-05-17T08:26:37.702Z] ---> 4712b6da0c0a [2024-05-17T08:26:37.702Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-05-17T08:26:38.287Z] ---> b1652ad6c8dd [2024-05-17T08:26:38.287Z] Step 21/26 : EXPOSE 59900 [2024-05-17T08:26:38.287Z] ---> Running in 19065853f836 [2024-05-17T08:26:38.555Z] Removing intermediate container 19065853f836 [2024-05-17T08:26:38.555Z] ---> 1734bd187907 [2024-05-17T08:26:38.555Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-05-17T08:26:38.555Z] ---> Running in 249804e72c56 [2024-05-17T08:26:38.821Z] Removing intermediate container 249804e72c56 [2024-05-17T08:26:38.821Z] ---> 37eade78f1fe [2024-05-17T08:26:38.821Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-17T08:26:39.088Z] ---> Running in 18663be3e664 [2024-05-17T08:26:39.354Z] Removing intermediate container 18663be3e664 [2024-05-17T08:26:39.354Z] ---> a58d3bc9dbe2 [2024-05-17T08:26:39.354Z] Step 24/26 : LABEL arch=arm64 [2024-05-17T08:26:39.354Z] ---> Running in bfec2c5329b4 [2024-05-17T08:26:39.626Z] Removing intermediate container bfec2c5329b4 [2024-05-17T08:26:39.626Z] ---> 44312a7b12cc [2024-05-17T08:26:39.626Z] Step 25/26 : LABEL git_sha=f739391e595e84d4663b91e193669f51205ba41c [2024-05-17T08:26:39.626Z] ---> Running in 114eea58bd28 [2024-05-17T08:26:39.892Z] Removing intermediate container 114eea58bd28 [2024-05-17T08:26:39.892Z] ---> 8a5d31fdcd40 [2024-05-17T08:26:39.892Z] Step 26/26 : LABEL version=0.0.0 [2024-05-17T08:26:40.158Z] ---> Running in afb87f51057f [2024-05-17T08:26:40.423Z] Removing intermediate container afb87f51057f [2024-05-17T08:26:40.423Z] ---> aa29cf0d6600 [2024-05-17T08:26:40.423Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-17T08:26:40.423Z] Successfully built aa29cf0d6600 [2024-05-17T08:26:40.423Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:26:40.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-17T08:26:40.903Z] [2024-05-17T08:26:40.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:26:41.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-17T08:26:41.236Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-17T08:26:41.236Z] 8998bd30e6a1: Pulling fs layer [2024-05-17T08:26:41.236Z] 04944245beec: Pulling fs layer [2024-05-17T08:26:41.236Z] 699f458cf7ca: Pulling fs layer [2024-05-17T08:26:41.236Z] 765212b225bb: Pulling fs layer [2024-05-17T08:26:41.236Z] f23df028b6ca: Pulling fs layer [2024-05-17T08:26:41.236Z] d65c8cfc05b1: Pulling fs layer [2024-05-17T08:26:41.236Z] 2437ff75d9bd: Pulling fs layer [2024-05-17T08:26:41.236Z] f23df028b6ca: Waiting [2024-05-17T08:26:41.236Z] d65c8cfc05b1: Waiting [2024-05-17T08:26:41.236Z] 765212b225bb: Waiting [2024-05-17T08:26:41.236Z] 2437ff75d9bd: Waiting [2024-05-17T08:26:41.503Z] 04944245beec: Verifying Checksum [2024-05-17T08:26:41.504Z] 04944245beec: Download complete [2024-05-17T08:26:41.504Z] 765212b225bb: Verifying Checksum [2024-05-17T08:26:41.504Z] 765212b225bb: Download complete [2024-05-17T08:26:41.504Z] f23df028b6ca: Verifying Checksum [2024-05-17T08:26:41.504Z] f23df028b6ca: Download complete [2024-05-17T08:26:41.504Z] d65c8cfc05b1: Verifying Checksum [2024-05-17T08:26:41.504Z] d65c8cfc05b1: Download complete [2024-05-17T08:26:41.770Z] 699f458cf7ca: Verifying Checksum [2024-05-17T08:26:41.770Z] 699f458cf7ca: Download complete [2024-05-17T08:26:42.038Z] 8998bd30e6a1: Verifying Checksum [2024-05-17T08:26:42.038Z] 8998bd30e6a1: Download complete [2024-05-17T08:26:44.618Z] 2437ff75d9bd: Verifying Checksum [2024-05-17T08:26:44.618Z] 2437ff75d9bd: Download complete [2024-05-17T08:26:46.563Z] 8998bd30e6a1: Pull complete [2024-05-17T08:26:47.145Z] 04944245beec: Pull complete [2024-05-17T08:26:48.549Z] 699f458cf7ca: Pull complete [2024-05-17T08:26:48.814Z] 765212b225bb: Pull complete [2024-05-17T08:26:49.769Z] f23df028b6ca: Pull complete [2024-05-17T08:26:49.769Z] d65c8cfc05b1: Pull complete [2024-05-17T08:27:07.948Z] 2437ff75d9bd: Pull complete [2024-05-17T08:27:07.948Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-17T08:27:07.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-17T08:27:07.948Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:27:08.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-345 does not seem to be running inside a container [2024-05-17T08:27:08.259Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-17T08:27:10.947Z] $ docker top 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:11.464Z] ---> job-cost.sh [2024-05-17T08:27:11.730Z] lf-activate-venv: SKIPPING [2024-05-17T08:27:11.730Z] INFO: No Stack... [2024-05-17T08:27:11.996Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-17T08:27:14.143Z] INFO: Archiving Costs [Pipeline] sh [2024-05-17T08:27:14.765Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2024-05-17T08:27:14.766Z] + cut -d, -f6 [Pipeline] lock [2024-05-17T08:27:14.794Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [2024-05-17T08:27:14.802Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] did not exist. Created. [2024-05-17T08:27:14.809Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-17T08:27:15.462Z] /w/workspace/device-virtual-go/2@tmp/durable-b60a8a75/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-17T08:27:16.099Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-17T08:27:16.127Z] Warning: overwriting stash ‘stack-cost’ [2024-05-17T08:27:16.173Z] Stashed 1 file(s) [Pipeline] } [2024-05-17T08:27:16.185Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-468-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-17T08:27:16.214Z] $ docker stop --time=1 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e [2024-05-17T08:27:17.705Z] $ docker rm -f --volumes 8017a6631e5f72c6072c4fec776ab79cc9e134839b22a810ee7ae49eda33934e [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 [2024-05-17T08:27:18.168Z] provisioning config files... [2024-05-17T08:27:18.173Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config205328597769976140tmp [Pipeline] { [Pipeline] sh [2024-05-17T08:27:18.520Z] + set +x [2024-05-17T08:27:18.520Z] + + bash -s -- [2024-05-17T08:27:18.520Z] curl -s https://codecov.io/bash [2024-05-17T08:27:18.520Z] [2024-05-17T08:27:18.520Z] _____ _ [2024-05-17T08:27:18.520Z] / ____| | | [2024-05-17T08:27:18.520Z] | | ___ __| | ___ ___ _____ __ [2024-05-17T08:27:18.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-17T08:27:18.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-17T08:27:18.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-17T08:27:18.520Z] Bash-1.0.6 [2024-05-17T08:27:18.520Z] [2024-05-17T08:27:18.520Z] [2024-05-17T08:27:18.520Z] ==> git version 2.25.1 found [2024-05-17T08:27:18.520Z] ==> 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 [2024-05-17T08:27:18.520Z] Release-Date: 2020-01-08 [2024-05-17T08:27:18.520Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-17T08:27:18.520Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-17T08:27:18.520Z] ==> Jenkins CI detected. [2024-05-17T08:27:18.520Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-468 [2024-05-17T08:27:18.520Z] project root: . [2024-05-17T08:27:18.520Z] --> token set from env [2024-05-17T08:27:18.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-17T08:27:18.520Z] ==> Running gcov in . (disable via -X gcov) [2024-05-17T08:27:18.520Z] ==> Python coveragepy not found [2024-05-17T08:27:18.520Z] ==> Searching for coverage reports in: [2024-05-17T08:27:18.520Z] + . [2024-05-17T08:27:18.520Z] -> Found 1 reports [2024-05-17T08:27:18.520Z] ==> Detecting git/mercurial file structure [2024-05-17T08:27:18.812Z] ==> Reading reports [2024-05-17T08:27:18.812Z] + ./coverage.out bytes=43063 [2024-05-17T08:27:18.812Z] ==> Appending adjustments [2024-05-17T08:27:18.812Z] https://docs.codecov.io/docs/fixing-reports [2024-05-17T08:27:18.812Z] + Found adjustments [2024-05-17T08:27:18.812Z] ==> Gzipping contents [2024-05-17T08:27:18.812Z] 8.0K /tmp/codecov.lSgU3N.gz [2024-05-17T08:27:18.812Z] ==> Uploading reports [2024-05-17T08:27:18.812Z] url: https://codecov.io [2024-05-17T08:27:18.812Z] query: branch=PR-468&commit=f43c55675ab34c1aed388119082f139de939403c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= [2024-05-17T08:27:18.812Z] -> Pinging Codecov [2024-05-17T08:27:18.812Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-468&commit=f43c55675ab34c1aed388119082f139de939403c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= [2024-05-17T08:27:18.812Z] -> Uploading to [2024-05-17T08:27:18.812Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-17/5E52B4B073DB2E39498172D8E973AA87/f43c55675ab34c1aed388119082f139de939403c/e0671072-0800-4df8-ab76-26e2eebad721.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240517%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240517T082718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2edd0e1e7cb73b8efb90e9f4f3ceafb69e6848a4ef3cb15a250477bd84177ebc [2024-05-17T08:27:18.812Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-17T08:27:18.812Z] Dload Upload Total Spent Left Speed [2024-05-17T08:27:19.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 20912 --:--:-- --:--:-- --:--:-- 20912 [2024-05-17T08:27:19.082Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f43c55675ab34c1aed388119082f139de939403c [Pipeline] } [2024-05-17T08:27:19.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-17T08:27:19.983Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-468/archives ] [2024-05-17T08:27:19.984Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives [2024-05-17T08:27:19.984Z] total 16 [2024-05-17T08:27:19.984Z] drwxr-xr-x 3 root root 4096 May 17 08:16 . [2024-05-17T08:27:19.984Z] drwxrwxr-x 9 jenkins jenkins 4096 May 17 08:16 .. [2024-05-17T08:27:19.984Z] drwxr-xr-x 2 root root 4096 May 17 08:16 cost [2024-05-17T08:27:19.984Z] -rw-r--r-- 1 root root 89 May 17 08:16 cost.csv [2024-05-17T08:27:19.984Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-468/archives [2024-05-17T08:27:19.984Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives [2024-05-17T08:27:19.984Z] total 16 [2024-05-17T08:27:19.984Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 08:16 . [2024-05-17T08:27:19.984Z] drwxrwxr-x 9 jenkins jenkins 4096 May 17 08:16 .. [2024-05-17T08:27:19.984Z] drwxr-xr-x 2 jenkins jenkins 4096 May 17 08:16 cost [2024-05-17T08:27:19.984Z] -rw-r--r-- 1 jenkins jenkins 89 May 17 08:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:20.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:21.309Z] ---> package-listing.sh [2024-05-17T08:27:21.309Z] ++ facter osfamily [2024-05-17T08:27:21.309Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-17T08:27:21.568Z] + OS_FAMILY=debian [2024-05-17T08:27:21.568Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-468 [2024-05-17T08:27:21.568Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-17T08:27:21.568Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-17T08:27:21.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-17T08:27:21.568Z] + PACKAGES=/tmp/packages_start.txt [2024-05-17T08:27:21.568Z] + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' [2024-05-17T08:27:21.568Z] + PACKAGES=/tmp/packages_end.txt [2024-05-17T08:27:21.568Z] + case "${OS_FAMILY}" in [2024-05-17T08:27:21.568Z] + dpkg -l [2024-05-17T08:27:21.568Z] + grep '^ii' [2024-05-17T08:27:21.568Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-17T08:27:21.568Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-17T08:27:21.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-17T08:27:21.568Z] + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' [2024-05-17T08:27:21.568Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-468/archives/ [2024-05-17T08:27:21.568Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-468/archives/ [Pipeline] echo [2024-05-17T08:27:21.577Z] 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/foundry_device-virtual-go_PR-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-17T08:27:21.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-17T08:27:22.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-17T08:27:22.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-17T08:27:22.489Z] prd-ubuntu20.04-docker-8c-8g-344 does not seem to be running inside a container [2024-05-17T08:27:22.514Z] $ 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/foundry_device-virtual-go_PR-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-468 -v /w/workspace/foundry_device-virtual-go_PR-468:/w/workspace/foundry_device-virtual-go_PR-468:rw,z -v /w/workspace/foundry_device-virtual-go_PR-468@tmp:/w/workspace/foundry_device-virtual-go_PR-468@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-17T08:27:22.705Z] $ docker top 11930c550e7594c39f3873ac16b6dc77814f7d2b171ba65ec116532535825a15 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-17T08:27:23.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-17T08:27:23.336Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-17T08:27:23.620Z] + ls /var/log/sa-host [2024-05-17T08:27:23.620Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-17T08:27:23.807Z] provisioning config files... [2024-05-17T08:27:23.814Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config10410086687991262613tmp [Pipeline] { [Pipeline] echo [2024-05-17T08:27:23.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:24.115Z] ---> create-netrc.sh [Pipeline] } [2024-05-17T08:27:24.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:24.472Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-17T08:27:24.481Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:24.766Z] ---> sudo-logs.sh [2024-05-17T08:27:24.766Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-17T08:27:24.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:25.085Z] ---> job-cost.sh [2024-05-17T08:27:25.085Z] lf-activate-venv: SKIPPING [2024-05-17T08:27:25.085Z] DEBUG: total: 0.2199999988079071 [2024-05-17T08:27:25.085Z] INFO: Retrieving Stack Cost... [2024-05-17T08:27:25.345Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-17T08:27:25.911Z] INFO: Archiving Costs [Pipeline] echo [2024-05-17T08:27:25.922Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-17T08:27:26.206Z] ---> logs-deploy.sh [2024-05-17T08:27:26.206Z] lf-activate-venv: SKIPPING [2024-05-17T08:27:26.206Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-468/2 [2024-05-17T08:27:26.206Z] INFO: archiving workspace using pattern(s): [2024-05-17T08:27:27.144Z] Archives upload complete. [2024-05-17T08:27:27.144Z] INFO: archiving logs to Nexus