Pull request #468 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a+14494e7562879e41062c7461f1813d33e0fc95a7 (44b6e9defa47f3e7883404b14d792832573bf68e) 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-ssh1836202926181349460.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-ssh2819448283480131239.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh17977966378511877262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh16706177769377430158.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh6050303592064050301.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh5283828548653860617.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2848 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 Merging remotes/origin/main commit 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a Merge succeeded, producing 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a Checking out Revision 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a (PR-468) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 Commit message: "build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:26:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:26:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:26:26 ========================================================= 13:26:26 EdgeX Global Pipelines Version Info 13:26:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:26:27 ------------------- 13:26:27 stable info: 13:26:27 ------------------- 13:26:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:26:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:26:27 Message: update stable to v1.0.258 13:26:27 ------------------- 13:26:27 experimental info: 13:26:27 ------------------- 13:26:27 Commited By: **** collab-it+edgex@linuxfoundation.org 13:26:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:26:27 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:26:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:26:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cba9c8 [Pipeline] echo 13:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:29 provisioning config files... 13:26:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config17584089178304657916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:30 ---> ****-login.sh 13:26:30 nexus3.edgexfoundry.org:10001 13:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:30 Configure a credential helper to remove this warning. See 13:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:30 13:26:30 Login Succeeded 13:26:30 nexus3.edgexfoundry.org:10002 13:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:30 Configure a credential helper to remove this warning. See 13:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:30 13:26:30 Login Succeeded 13:26:30 nexus3.edgexfoundry.org:10003 13:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:30 Configure a credential helper to remove this warning. See 13:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:30 13:26:30 Login Succeeded 13:26:30 nexus3.edgexfoundry.org:10004 13:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:30 Configure a credential helper to remove this warning. See 13:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:30 13:26:30 Login Succeeded 13:26:30 ****.io 13:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:31 Configure a credential helper to remove this warning. See 13:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:31 13:26:31 Login Succeeded 13:26:31 ---> ****-login.sh ends [Pipeline] } 13:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:26:31 + git rev-list -1 --merges 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a~1..0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [Pipeline] echo 13:26:31 -----------> git rev-list -1 --merges 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a~1..0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [false] [Pipeline] sh 13:26:32 + git log --format=format:%s -1 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [Pipeline] echo 13:26:32 ========================================================= 13:26:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:26:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:32 + git log --format=format:%s -1 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [Pipeline] echo 13:26:32 [semverPrep] GIT_COMMIT: 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a, Commit Message: build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0 [Pipeline] echo 13:26:32 [semverPrep] This is not a build commit. [Pipeline] sh 13:26:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:26:33 + grep -v github /etc/ssh/ssh_known_hosts 13:26:33 + [ -e /tmp/ssh_known_hosts ] 13:26:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:26:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:26:33 + sudo tee -a /etc/ssh/ssh_known_hosts 13:26:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:33 13:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:34 0.1.4: Pulling from edgex-devops/py-git-semver 13:26:34 b85a868b505f: Pulling fs layer 13:26:34 e2be974225ed: Pulling fs layer 13:26:34 339a4e72a1f5: Pulling fs layer 13:26:34 988bab9f4d93: Pulling fs layer 13:26:34 1469e6f7b9e6: Pulling fs layer 13:26:34 eaf3925da568: Pulling fs layer 13:26:34 bab4dde63d76: Pulling fs layer 13:26:34 bde34c3a00c8: Pulling fs layer 13:26:34 b352a97aabf1: Pulling fs layer 13:26:34 4872d77fe225: Pulling fs layer 13:26:34 5851b861e8e6: Pulling fs layer 13:26:34 1469e6f7b9e6: Waiting 13:26:34 988bab9f4d93: Waiting 13:26:34 eaf3925da568: Waiting 13:26:34 bde34c3a00c8: Waiting 13:26:34 bab4dde63d76: Waiting 13:26:34 b352a97aabf1: Waiting 13:26:34 e2be974225ed: Download complete 13:26:34 988bab9f4d93: Verifying Checksum 13:26:34 988bab9f4d93: Download complete 13:26:34 339a4e72a1f5: Verifying Checksum 13:26:34 339a4e72a1f5: Download complete 13:26:34 eaf3925da568: Verifying Checksum 13:26:34 eaf3925da568: Download complete 13:26:34 1469e6f7b9e6: Verifying Checksum 13:26:34 1469e6f7b9e6: Download complete 13:26:34 bde34c3a00c8: Verifying Checksum 13:26:34 bde34c3a00c8: Download complete 13:26:34 b352a97aabf1: Download complete 13:26:34 4872d77fe225: Download complete 13:26:34 5851b861e8e6: Verifying Checksum 13:26:34 5851b861e8e6: Download complete 13:26:34 b85a868b505f: Download complete 13:26:34 bab4dde63d76: Verifying Checksum 13:26:34 bab4dde63d76: Download complete 13:26:35 b85a868b505f: Pull complete 13:26:35 e2be974225ed: Pull complete 13:26:36 339a4e72a1f5: Pull complete 13:26:36 988bab9f4d93: Pull complete 13:26:36 1469e6f7b9e6: Pull complete 13:26:36 eaf3925da568: Pull complete 13:26:38 bab4dde63d76: Pull complete 13:26:38 bde34c3a00c8: Pull complete 13:26:38 b352a97aabf1: Pull complete 13:26:38 4872d77fe225: Pull complete 13:26:38 5851b861e8e6: Pull complete 13:26:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:38 prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container 13:26:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:26:42 $ docker top 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 -eo pid,comm 13:26:42 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). 13:26:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:42 [ssh-agent] Looking for ssh-agent implementation... 13:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:42 $ docker exec 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 ssh-agent 13:26:42 SSH_AUTH_SOCK=/tmp/ssh-OmaWzBd792yd/agent.32 13:26:42 SSH_AGENT_PID=38 13:26:42 Running ssh-add (command line suppressed) 13:26:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_13154055791748114322.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_13154055791748114322.key) 13:26:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:43 + git tag --points-at HEAD [Pipeline] } 13:26:43 $ docker exec --env ******** --env ******** 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 ssh-agent -k 13:26:43 unset SSH_AUTH_SOCK; 13:26:43 unset SSH_AGENT_PID; 13:26:43 echo Agent pid 38 killed; 13:26:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:43 [ssh-agent] Looking for ssh-agent implementation... 13:26:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:43 $ docker exec 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 ssh-agent 13:26:43 SSH_AUTH_SOCK=/tmp/ssh-ckvlrlLDzNXY/agent.71 13:26:43 SSH_AGENT_PID=77 13:26:43 Running ssh-add (command line suppressed) 13:26:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3638795394466135763.key (/w/workspace/foundry_device-virtual-go_PR-468@tmp/private_key_3638795394466135763.key) 13:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:44 + git semver init 13:26:44 2024-04-19 13:26:44,259 [run_init] DEBUG init version:0.0.0 force:False 13:26:44 2024-04-19 13:26:44,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-468/.semver 13:26:44 2024-04-19 13:26:44,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-468/.semver 13:26:44 2024-04-19 13:26:44,260 [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) 13:26:45 2024-04-19 13:26:45,597 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-468/.git/info/exclude 13:26:45 2024-04-19 13:26:45,598 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 with force:False 13:26:45 2024-04-19 13:26:45,598 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 13:26:45 2024-04-19 13:26:45,602 [execute] INFO git cat-file --batch-check 13:26:45 2024-04-19 13:26:45,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 13:26:45 2024-04-19 13:26:45,608 [execute] INFO git cat-file --batch 13:26:45 2024-04-19 13:26:45,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 13:26:45 2024-04-19 13:26:45,613 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-468/.semver/PR-468 13:26:45 0.0.0 [Pipeline] } 13:26:45 $ docker exec --env ******** --env ******** 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 ssh-agent -k 13:26:45 unset SSH_AUTH_SOCK; 13:26:45 unset SSH_AGENT_PID; 13:26:45 echo Agent pid 77 killed; 13:26:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:26:46 + git semver [Pipeline] } 13:26:46 $ docker stop --time=1 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 13:26:47 $ docker rm -f --volumes 84bbd3dff45c2a6c15f8ddb0b5c665e6d3f19ff92205b37c59165707ec4d83e1 [Pipeline] // withDockerContainer [Pipeline] sh 13:26:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:26:48 Stashed 1 file(s) [Pipeline] echo 13:26:48 [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 13:26:49 provisioning config files... 13:26:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config3117707412360757438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:49 ---> ****-login.sh 13:26:49 nexus3.edgexfoundry.org:10001 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 nexus3.edgexfoundry.org:10002 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 nexus3.edgexfoundry.org:10003 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 nexus3.edgexfoundry.org:10004 13:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:49 Configure a credential helper to remove this warning. See 13:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:49 13:26:49 Login Succeeded 13:26:49 ****.io 13:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:50 Configure a credential helper to remove this warning. See 13:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:50 13:26:50 Login Succeeded 13:26:50 ---> ****-login.sh ends [Pipeline] } 13:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:26:50 ========================================================= 13:26:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:26:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:51 + 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 . 13:26:51 Sending build context to Docker daemon 31.8MB 13:26:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:26:51 Step 2/12 : FROM ${BASE} AS builder 13:26:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:26:51 7264a8db6415: Pulling fs layer 13:26:51 c4d48a809fc2: Pulling fs layer 13:26:51 4f1c88b9dad5: Pulling fs layer 13:26:51 ad3a456e5733: Pulling fs layer 13:26:51 69c7f0334f64: Pulling fs layer 13:26:51 1f1c1a5573a3: Pulling fs layer 13:26:51 ce7588e14bc9: Pulling fs layer 13:26:51 b5e4710f87ac: Pulling fs layer 13:26:51 ad3a456e5733: Waiting 13:26:51 69c7f0334f64: Waiting 13:26:51 ce7588e14bc9: Waiting 13:26:51 1f1c1a5573a3: Waiting 13:26:51 b5e4710f87ac: Waiting 13:26:51 c4d48a809fc2: Download complete 13:26:51 ad3a456e5733: Verifying Checksum 13:26:51 ad3a456e5733: Download complete 13:26:51 69c7f0334f64: Verifying Checksum 13:26:51 69c7f0334f64: Download complete 13:26:51 7264a8db6415: Verifying Checksum 13:26:51 7264a8db6415: Download complete 13:26:51 1f1c1a5573a3: Verifying Checksum 13:26:51 1f1c1a5573a3: Download complete 13:26:51 b5e4710f87ac: Verifying Checksum 13:26:51 b5e4710f87ac: Download complete 13:26:51 7264a8db6415: Pull complete 13:26:51 4f1c88b9dad5: Verifying Checksum 13:26:51 4f1c88b9dad5: Download complete 13:26:52 c4d48a809fc2: Pull complete 13:26:52 ce7588e14bc9: Verifying Checksum 13:26:52 ce7588e14bc9: Download complete 13:26:55 4f1c88b9dad5: Pull complete 13:26:55 ad3a456e5733: Pull complete 13:26:55 69c7f0334f64: Pull complete 13:26:55 1f1c1a5573a3: Pull complete 13:26:57 ce7588e14bc9: Pull complete 13:26:58 b5e4710f87ac: Pull complete 13:26:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:26:58 ---> 88b5674ff536 13:26:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:27:04 Still waiting to schedule task 13:27:04 Executor slot already in use 13:27:04 ‘prd-centos7-blackbox-4c-2g-2400’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2823’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2826’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2827’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-8c-8g-2855’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2831’ is offline 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2832’ is offline 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2833’ is offline 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2834’ is offline 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2837’ is offline 13:27:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2852’ is offline 13:27:06 ---> Running in c5b6ce02dd7d 13:27:06 Removing intermediate container c5b6ce02dd7d 13:27:06 ---> 48ed903e9c02 13:27:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:27:06 ---> Running in 6db8ad7202b2 13:27:06 Removing intermediate container 6db8ad7202b2 13:27:06 ---> edb6ca721ca2 13:27:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:27:06 ---> Running in 28d1354a3a1d 13:27:06 Removing intermediate container 28d1354a3a1d 13:27:06 ---> cce2397ba376 13:27:06 Step 6/12 : WORKDIR /device-virtual-go 13:27:06 ---> Running in afef98dcf3da 13:27:06 Removing intermediate container afef98dcf3da 13:27:06 ---> 676ac18015be 13:27:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:27:06 ---> Running in a336db4b332c 13:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:27:06 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:27:06 (2/4) Installing libedit (20221030.3.1-r1) 13:27:06 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:27:06 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:27:06 Executing busybox-1.36.1-r5.trigger 13:27:06 OK: 268 MiB in 56 packages 13:27:06 Removing intermediate container a336db4b332c 13:27:06 ---> 7cb1d716669c 13:27:06 Step 8/12 : COPY go.mod vendor* ./ 13:27:06 ---> 913a1119269e 13:27:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:06 ---> Running in fd5f8406fcc1 13:28:03 Removing intermediate container fd5f8406fcc1 13:28:03 ---> f363c829e7ec 13:28:03 Step 10/12 : COPY . . 13:28:03 ---> 598ff44646d6 13:28:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:03 ---> Running in a112a0c2d98b 13:28:04 Removing intermediate container a112a0c2d98b 13:28:04 ---> 92a215b65ef8 13:28:04 Step 12/12 : RUN $MAKE 13:28:04 ---> Running in 01adecbbfb8b 13:28:04 noop 13:28:04 Removing intermediate container 01adecbbfb8b 13:28:04 ---> f1e7c3935eb0 13:28:04 Successfully built f1e7c3935eb0 13:28:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:05 + docker inspect -f . ci-base-image-x86_64 13:28:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:05 prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container 13:28:05 $ 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 ******** ci-base-image-x86_64 cat 13:28:05 $ docker top 5bea4bf58401afc44ed6b14554e8052a55827e004a4b858423a8a01b528dd7f5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:06 + go version 13:28:06 go version go1.21.0 linux/amd64 [Pipeline] } 13:28:06 $ docker stop --time=1 5bea4bf58401afc44ed6b14554e8052a55827e004a4b858423a8a01b528dd7f5 13:28:07 $ docker rm -f --volumes 5bea4bf58401afc44ed6b14554e8052a55827e004a4b858423a8a01b528dd7f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:08 + docker inspect -f . ci-base-image-x86_64 13:28:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:08 prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container 13:28:08 $ 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 ******** ci-base-image-x86_64 cat 13:28:08 $ docker top 08179769ac22b11f76e015ae44283b63555cb873c6c84b36f23e94782f690e75 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:09 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] fileExists [Pipeline] sh 13:28:09 + make test 13:28:09 go test ./... -coverprofile=coverage.out 13:28:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:28:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:28:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements 13:28:35 go vet ./... 13:28:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:28:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:28:38 ./bin/test-attribution-txt.sh 13:28:38 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:28:38 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:28:38 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:28:38 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:28:38 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:28:38 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:28:38 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:28:38 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:28:38 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:28:38 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:28:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:28:38 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:28:39 $ docker stop --time=1 08179769ac22b11f76e015ae44283b63555cb873c6c84b36f23e94782f690e75 13:28:43 $ docker rm -f --volumes 08179769ac22b11f76e015ae44283b63555cb873c6c84b36f23e94782f690e75 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:28:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:28:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:28:45 + ls -al . 13:28:45 total 268 13:28:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:28 . 13:28:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:26 .. 13:28:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:28 .git 13:28:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:26 .github 13:28:45 -rw-rw-r-- 1 jenkins jenkins 272 Apr 19 13:26 .gitignore 13:28:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:26 .golangci.yml 13:28:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:26 .semver 13:28:45 -rw-rw-r-- 1 jenkins jenkins 9708 Apr 19 13:26 Attribution.txt 13:28:45 -rw-rw-r-- 1 jenkins jenkins 15941 Apr 19 13:26 CHANGELOG.md 13:28:45 -rw-rw-r-- 1 jenkins jenkins 1755 Apr 19 13:26 Dockerfile 13:28:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:26 GOVERNANCE.md 13:28:45 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 13:26 Jenkinsfile 13:28:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:26 LICENSE 13:28:45 -rw-rw-r-- 1 jenkins jenkins 1953 Apr 19 13:26 Makefile 13:28:45 -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 13:26 OWNERS.md 13:28:45 -rw-rw-r-- 1 jenkins jenkins 4103 Apr 19 13:26 README.md 13:28:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:26 VERSION 13:28:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:26 bin 13:28:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:26 cmd 13:28:45 -rw-r--r-- 1 jenkins jenkins 43063 Apr 19 13:28 coverage.out 13:28:45 -rw-rw-r-- 1 jenkins jenkins 6985 Apr 19 13:26 go.mod 13:28:45 -rw-rw-r-- 1 jenkins jenkins 101257 Apr 19 13:26 go.sum 13:28:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:26 internal 13:28:45 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 13:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:45 + 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=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a --label arch=amd64 --label version=0.0.0 . 13:28:45 Sending build context to Docker daemon 31.84MB 13:28:45 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:28:45 Step 2/26 : FROM ${BASE} AS builder 13:28:45 ---> f1e7c3935eb0 13:28:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:28:46 ---> Running in 7bb2eddb427f 13:28:46 Removing intermediate container 7bb2eddb427f 13:28:46 ---> 496d101acb8e 13:28:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:28:46 ---> Running in 2a10900cfe43 13:28:46 Removing intermediate container 2a10900cfe43 13:28:46 ---> 6aed358ea22b 13:28:46 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:28:46 ---> Running in 8280b4fb6b9c 13:28:46 Removing intermediate container 8280b4fb6b9c 13:28:46 ---> 587322af6a72 13:28:46 Step 6/26 : WORKDIR /device-virtual-go 13:28:46 ---> Running in 71112eb7a2fe 13:28:46 Removing intermediate container 71112eb7a2fe 13:28:46 ---> 1fb3b5133015 13:28:46 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:46 ---> Running in a71319561619 13:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:47 OK: 268 MiB in 56 packages 13:28:47 Removing intermediate container a71319561619 13:28:47 ---> 698549863c79 13:28:47 Step 8/26 : COPY go.mod vendor* ./ 13:28:47 ---> e9a02542e593 13:28:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:47 ---> Running in 38c83328299a 13:28:48 Removing intermediate container 38c83328299a 13:28:48 ---> 46333297d688 13:28:48 Step 10/26 : COPY . . 13:28:49 ---> 620ee65b7ce8 13:28:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:49 ---> Running in 1446f1b625b0 13:28:49 Removing intermediate container 1446f1b625b0 13:28:49 ---> a6d99d77be6d 13:28:49 Step 12/26 : RUN $MAKE 13:28:49 ---> Running in d1cec537d552 13:28:49 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.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:29:21 Removing intermediate container d1cec537d552 13:29:21 ---> 55ea742e2927 13:29:21 Step 13/26 : FROM alpine:3.18 13:29:21 3.18: Pulling from library/alpine 13:29:21 619be1103602: Pulling fs layer 13:29:21 619be1103602: Download complete 13:29:21 619be1103602: Pull complete 13:29:21 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:29:21 Status: Downloaded newer image for alpine:3.18 13:29:21 ---> d3782b16ccc9 13:29:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:29:21 ---> Running in 35c2d9d6a26f 13:29:21 Removing intermediate container 35c2d9d6a26f 13:29:21 ---> 56801425a664 13:29:21 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:29:21 ---> Running in f7a13d659e9f 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:21 (1/1) Installing dumb-init (1.2.5-r2) 13:29:21 Executing busybox-1.36.1-r5.trigger 13:29:21 OK: 7 MiB in 16 packages 13:29:21 Removing intermediate container f7a13d659e9f 13:29:21 ---> 21a9953d10b9 13:29:21 Step 16/26 : RUN apk --no-cache upgrade 13:29:21 ---> Running in 549931b57b1c 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:21 Upgrading critical system libraries and apk-tools: 13:29:21 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:29:21 Executing busybox-1.36.1-r5.trigger 13:29:21 Continuing the upgrade transaction with new apk-tools: 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:21 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:29:21 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:29:21 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:29:21 OK: 7 MiB in 16 packages 13:29:21 Removing intermediate container 549931b57b1c 13:29:21 ---> 5b8207cacf1e 13:29:21 Step 17/26 : WORKDIR / 13:29:21 ---> Running in 667455da2348 13:29:21 Removing intermediate container 667455da2348 13:29:21 ---> d30bb98b0202 13:29:21 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:29:21 ---> 81cfac002fd1 13:29:21 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:29:21 ---> 52cd0400ae35 13:29:21 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:29:21 ---> 659b00f4cf48 13:29:21 Step 21/26 : EXPOSE 59900 13:29:21 ---> Running in a0f3fb2a7c78 13:29:21 Removing intermediate container a0f3fb2a7c78 13:29:21 ---> 2d40fc92fb4e 13:29:21 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:29:21 ---> Running in 165091b32328 13:29:21 Removing intermediate container 165091b32328 13:29:21 ---> 694bfca486e8 13:29:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:29:21 ---> Running in 5e937076434d 13:29:21 Removing intermediate container 5e937076434d 13:29:21 ---> ad0b07c73438 13:29:21 Step 24/26 : LABEL arch=amd64 13:29:21 ---> Running in 38024b87a881 13:29:21 Removing intermediate container 38024b87a881 13:29:21 ---> 97b88b9880e8 13:29:21 Step 25/26 : LABEL git_sha=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 13:29:21 ---> Running in 4407ae95cc48 13:29:21 Removing intermediate container 4407ae95cc48 13:29:21 ---> 11e1942b8242 13:29:21 Step 26/26 : LABEL version=0.0.0 13:29:21 ---> Running in b784fc70d74d 13:29:22 Removing intermediate container b784fc70d74d 13:29:22 ---> a1c062a87299 13:29:22 [Warning] One or more build-args [ARCH] were not consumed 13:29:22 Successfully built a1c062a87299 13:29:22 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:30 13:29:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:30 latest: Pulling from edgex-lftools-log-publisher 13:29:30 5eb5b503b376: Pulling fs layer 13:29:30 5c69ac0246d0: Pulling fs layer 13:29:30 ec43610c2a17: Pulling fs layer 13:29:30 3a2ae6a8a46f: Pulling fs layer 13:29:30 33b1e0a273af: Pulling fs layer 13:29:30 5d3b04190fa2: Pulling fs layer 13:29:30 2f39f015ded8: Pulling fs layer 13:29:30 3a2ae6a8a46f: Waiting 13:29:30 33b1e0a273af: Waiting 13:29:30 5d3b04190fa2: Waiting 13:29:30 2f39f015ded8: Waiting 13:29:30 5c69ac0246d0: Download complete 13:29:30 3a2ae6a8a46f: Download complete 13:29:30 ec43610c2a17: Verifying Checksum 13:29:30 ec43610c2a17: Download complete 13:29:30 33b1e0a273af: Verifying Checksum 13:29:30 33b1e0a273af: Download complete 13:29:30 5d3b04190fa2: Verifying Checksum 13:29:30 5d3b04190fa2: Download complete 13:29:31 5eb5b503b376: Verifying Checksum 13:29:31 5eb5b503b376: Download complete 13:29:31 2f39f015ded8: Download complete 13:29:32 5eb5b503b376: Pull complete 13:29:32 5c69ac0246d0: Pull complete 13:29:32 ec43610c2a17: Pull complete 13:29:32 3a2ae6a8a46f: Pull complete 13:29:33 33b1e0a273af: Pull complete 13:29:33 5d3b04190fa2: Pull complete 13:29:37 2f39f015ded8: Pull complete 13:29:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:37 prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container 13:29:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:29:41 $ docker top 734ec4bb61df96e800e546bc7cb6f1a7b1f00501ce30c835bafa656e63b41861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:42 ---> job-cost.sh 13:29:42 lf-activate-venv: SKIPPING 13:29:42 INFO: No Stack... 13:29:42 INFO: Retrieving Pricing Info for: v3-standard-8 13:29:42 INFO: Archiving Costs [Pipeline] sh 13:29:43 + cat /w/workspace/foundry_device-virtual-go_PR-468/archives/cost.csv 13:29:43 + cut -d, -f6 [Pipeline] lock 13:29:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] 13:29:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] did not exist. Created. 13:29:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:29:43 + echo total: 0.2199999988079071 [Pipeline] stash 13:29:43 Stashed 1 file(s) [Pipeline] } 13:29:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:29:43 $ docker stop --time=1 734ec4bb61df96e800e546bc7cb6f1a7b1f00501ce30c835bafa656e63b41861 13:29:44 $ docker rm -f --volumes 734ec4bb61df96e800e546bc7cb6f1a7b1f00501ce30c835bafa656e63b41861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:35:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3085 in /w/workspace/foundry_device-virtual-go_PR-468 [Pipeline] { [Pipeline] ws 13:35:24 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 13:35:27 The recommended git tool is: git 13:35:34 using credential edgex-jenkins-ssh 13:35:34 Cloning the remote Git repository 13:35:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:35:34 > git init /w/workspace/device-virtual-go/1 # timeout=10 13:35:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:35:34 > git --version # timeout=10 13:35:34 > git --version # 'git version 2.25.1' 13:35:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:35:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:35:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:39 > 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 13:35:39 Merging remotes/origin/main commit 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 13:35:40 Merge succeeded, producing 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 13:35:40 Checking out Revision 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a (PR-468) 13:35:40 Commit message: "build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0" 13:35:39 > git config core.sparsecheckout # timeout=10 13:35:39 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 13:35:40 > git remote # timeout=10 13:35:40 > git config --get remote.origin.url # timeout=10 13:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:40 > git merge 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 13:35:40 > git rev-parse HEAD^{commit} # timeout=10 13:35:40 > git config core.sparsecheckout # timeout=10 13:35:40 > git checkout -f 0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a # timeout=10 13:35:41 > git --version # timeout=10 13:35:41 > git --version # 'git version 2.25.1' 13:35:41 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:35:46 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:46 Dload Upload Total Spent Left Speed 13:35:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 13:35:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:35:46 + + sudo teesudo /etc/docker/daemon.new jq 13:35:46 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:35:46 { 13:35:46 "registry-mirrors": [ 13:35:46 "https://nexus3.edgexfoundry.org:10001" 13:35:46 ], 13:35:46 "bip": "10.250.0.254/24", 13:35:46 "hosts": [ 13:35:46 "tcp://0.0.0.0:5555", 13:35:46 "unix:///var/run/docker.sock" 13:35:46 ], 13:35:46 "mtu": 1458, 13:35:46 "selinux-enabled": true, 13:35:46 "seccomp-profile": "/etc/docker/seccomp.json" 13:35:46 } [Pipeline] sh 13:35:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:35:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:36:06 provisioning config files... 13:36:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13384223802416799478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:06 ---> ****-login.sh 13:36:06 nexus3.edgexfoundry.org:10001 13:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:07 Configure a credential helper to remove this warning. See 13:36:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:07 13:36:07 Login Succeeded 13:36:07 nexus3.edgexfoundry.org:10002 13:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:08 Configure a credential helper to remove this warning. See 13:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:08 13:36:08 Login Succeeded 13:36:08 nexus3.edgexfoundry.org:10003 13:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:08 Configure a credential helper to remove this warning. See 13:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:08 13:36:08 Login Succeeded 13:36:08 nexus3.edgexfoundry.org:10004 13:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:09 Configure a credential helper to remove this warning. See 13:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:09 13:36:09 Login Succeeded 13:36:09 ****.io 13:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:36:09 Configure a credential helper to remove this warning. See 13:36:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:36:09 13:36:09 Login Succeeded 13:36:09 ---> ****-login.sh ends [Pipeline] } 13:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:36:10 ========================================================= 13:36:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:36:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:10 + 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 . 13:36:11 Sending build context to Docker daemon 16.08MB 13:36:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:36:11 Step 2/12 : FROM ${BASE} AS builder 13:36:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:36:11 9fda8d8052c6: Pulling fs layer 13:36:11 5d54e960e981: Pulling fs layer 13:36:11 c4a7e357bf2a: Pulling fs layer 13:36:11 f0e02332f6b5: Pulling fs layer 13:36:11 872ee5b61b7b: Pulling fs layer 13:36:11 0c6a40ed1a82: Pulling fs layer 13:36:11 94ae7d8d031c: Pulling fs layer 13:36:11 f0e02332f6b5: Waiting 13:36:11 872ee5b61b7b: Waiting 13:36:11 0c6a40ed1a82: Waiting 13:36:11 94ae7d8d031c: Waiting 13:36:11 5d54e960e981: Verifying Checksum 13:36:11 5d54e960e981: Download complete 13:36:11 f0e02332f6b5: Verifying Checksum 13:36:11 f0e02332f6b5: Download complete 13:36:11 872ee5b61b7b: Verifying Checksum 13:36:11 872ee5b61b7b: Download complete 13:36:11 9fda8d8052c6: Verifying Checksum 13:36:12 94ae7d8d031c: Verifying Checksum 13:36:12 94ae7d8d031c: Download complete 13:36:12 9fda8d8052c6: Pull complete 13:36:13 5d54e960e981: Pull complete 13:36:13 c4a7e357bf2a: Verifying Checksum 13:36:13 c4a7e357bf2a: Download complete 13:36:15 0c6a40ed1a82: Verifying Checksum 13:36:15 0c6a40ed1a82: Download complete 13:36:30 c4a7e357bf2a: Pull complete 13:36:30 f0e02332f6b5: Pull complete 13:36:30 872ee5b61b7b: Pull complete 13:36:38 0c6a40ed1a82: Pull complete 13:36:39 94ae7d8d031c: Pull complete 13:36:39 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:36:39 ---> 86de565de09d 13:36:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:36:40 ---> Running in 7f3a4b0520e8 13:36:40 Removing intermediate container 7f3a4b0520e8 13:36:40 ---> 46c75c09f49c 13:36:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:36:41 ---> Running in 034346239c12 13:36:41 Removing intermediate container 034346239c12 13:36:41 ---> 1e3ab81f659e 13:36:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:36:41 ---> Running in 689c80a0b404 13:36:42 Removing intermediate container 689c80a0b404 13:36:42 ---> b0a5a3f07405 13:36:42 Step 6/12 : WORKDIR /device-virtual-go 13:36:42 ---> Running in 3a8ca2ed0b1d 13:36:42 Removing intermediate container 3a8ca2ed0b1d 13:36:42 ---> d854f266ba2f 13:36:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:42 ---> Running in a38ee3150f21 13:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:36:45 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:36:45 (2/4) Installing libedit (20221030.3.1-r1) 13:36:45 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:36:45 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:36:45 Executing busybox-1.36.1-r5.trigger 13:36:46 OK: 271 MiB in 56 packages 13:36:47 Removing intermediate container a38ee3150f21 13:36:47 ---> 2054597a6d29 13:36:47 Step 8/12 : COPY go.mod vendor* ./ 13:36:47 ---> 982173fd0c60 13:36:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:47 ---> Running in d5de2a23f398 13:38:54 Removing intermediate container d5de2a23f398 13:38:54 ---> a948fb998ae6 13:38:54 Step 10/12 : COPY . . 13:38:56 ---> 131f8eb98911 13:38:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:38:56 ---> Running in 8acdc889cb01 13:38:56 Removing intermediate container 8acdc889cb01 13:38:56 ---> 146ce8063fe2 13:38:56 Step 12/12 : RUN $MAKE 13:38:56 ---> Running in c4ded97db3c3 13:38:58 noop 13:38:58 Removing intermediate container c4ded97db3c3 13:38:58 ---> a47968eeac90 13:38:58 Successfully built a47968eeac90 13:38:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:59 + docker inspect -f . ci-base-image-arm64 13:38:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:59 prd-ubuntu20.04-docker-arm64-4c-16g-3085 does not seem to be running inside a container 13:38:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 13:39:01 $ docker top 549d86838a51ec319160f461f2b7ef24054587522440b1f248cc44d1cc0484b4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:39:02 + go version 13:39:02 go version go1.21.0 linux/arm64 [Pipeline] } 13:39:02 $ docker stop --time=1 549d86838a51ec319160f461f2b7ef24054587522440b1f248cc44d1cc0484b4 13:39:06 $ docker rm -f --volumes 549d86838a51ec319160f461f2b7ef24054587522440b1f248cc44d1cc0484b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:07 + docker inspect -f . ci-base-image-arm64 13:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-3085 does not seem to be running inside a container 13:39:08 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 13:39:10 $ docker top 8e6a42258b42268b3cdcb9e44470a2df2ea91d038b2922c1d64646828a0e4bdc -eo pid,comm [Pipeline] { [Pipeline] sh 13:39:11 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 13:39:12 + make test 13:39:12 go test ./... -coverprofile=coverage.out 13:39:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:42:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:42:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.085s coverage: 58.4% of statements 13:42:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:42:41 go vet ./... 13:43:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:43:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:43:20 ./bin/test-attribution-txt.sh 13:43:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:43:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:43:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:43:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:43:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:43:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:43:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:43:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:43:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:43:21 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:43:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:43:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:43:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:43:21 $ docker stop --time=1 8e6a42258b42268b3cdcb9e44470a2df2ea91d038b2922c1d64646828a0e4bdc 13:43:23 $ docker rm -f --volumes 8e6a42258b42268b3cdcb9e44470a2df2ea91d038b2922c1d64646828a0e4bdc [Pipeline] // withDockerContainer [Pipeline] sh 13:43:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:43:25 Warning: overwriting stash ‘coverage-report’ 13:43:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:43:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:43:26 + ls -al . 13:43:26 total 264 13:43:26 drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 13:39 . 13:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:35 .. 13:43:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:35 .git 13:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 .github 13:43:26 -rw-rw-r-- 1 jenkins jenkins 272 Apr 19 13:35 .gitignore 13:43:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:35 .golangci.yml 13:43:26 -rw-rw-r-- 1 jenkins jenkins 9708 Apr 19 13:35 Attribution.txt 13:43:26 -rw-rw-r-- 1 jenkins jenkins 15941 Apr 19 13:35 CHANGELOG.md 13:43:26 -rw-rw-r-- 1 jenkins jenkins 1755 Apr 19 13:35 Dockerfile 13:43:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:35 GOVERNANCE.md 13:43:26 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 13:35 Jenkinsfile 13:43:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:35 LICENSE 13:43:26 -rw-rw-r-- 1 jenkins jenkins 1953 Apr 19 13:35 Makefile 13:43:26 -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 13:35 OWNERS.md 13:43:26 -rw-rw-r-- 1 jenkins jenkins 4103 Apr 19 13:35 README.md 13:43:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:26 VERSION 13:43:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:35 bin 13:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 cmd 13:43:26 -rw-r--r-- 1 jenkins jenkins 43063 Apr 19 13:42 coverage.out 13:43:26 -rw-rw-r-- 1 jenkins jenkins 6985 Apr 19 13:35 go.mod 13:43:26 -rw-rw-r-- 1 jenkins jenkins 101257 Apr 19 13:35 go.sum 13:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 internal 13:43:26 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 13:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:27 + 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=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a --label arch=arm64 --label version=0.0.0 . 13:43:27 Sending build context to Docker daemon 16.12MB 13:43:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:43:27 Step 2/26 : FROM ${BASE} AS builder 13:43:27 ---> a47968eeac90 13:43:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:43:28 ---> Running in b25fbc175c43 13:43:28 Removing intermediate container b25fbc175c43 13:43:28 ---> c0a01935f51f 13:43:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:43:28 ---> Running in 4c60b90ded85 13:43:28 Removing intermediate container 4c60b90ded85 13:43:28 ---> e6291e9223ba 13:43:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:43:28 ---> Running in 839469669a9d 13:43:29 Removing intermediate container 839469669a9d 13:43:29 ---> acb9ee120a90 13:43:29 Step 6/26 : WORKDIR /device-virtual-go 13:43:29 ---> Running in 9f004610a689 13:43:30 Removing intermediate container 9f004610a689 13:43:30 ---> a1754744b489 13:43:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:43:30 ---> Running in 9e88842e9fad 13:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:43:33 OK: 271 MiB in 56 packages 13:43:34 Removing intermediate container 9e88842e9fad 13:43:34 ---> 22f23bf9251a 13:43:34 Step 8/26 : COPY go.mod vendor* ./ 13:43:34 ---> 959f80d7bf2c 13:43:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:43:35 ---> Running in 17d6aabbb059 13:43:38 Removing intermediate container 17d6aabbb059 13:43:38 ---> 0555d40dfea7 13:43:38 Step 10/26 : COPY . . 13:43:39 ---> 14a9e1535022 13:43:39 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:43:39 ---> Running in ba129e504c6b 13:43:40 Removing intermediate container ba129e504c6b 13:43:40 ---> a9523af837dc 13:43:40 Step 12/26 : RUN $MAKE 13:43:40 ---> Running in 8b1f61916eb7 13:43:41 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.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:47:18 Removing intermediate container 8b1f61916eb7 13:47:18 ---> 2b8f64da5d38 13:47:18 Step 13/26 : FROM alpine:3.18 13:47:18 3.18: Pulling from library/alpine 13:47:18 c6b39de5b339: Pulling fs layer 13:47:18 c6b39de5b339: Verifying Checksum 13:47:18 c6b39de5b339: Pull complete 13:47:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:47:18 Status: Downloaded newer image for alpine:3.18 13:47:18 ---> 33abbf032149 13:47:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:47:18 ---> Running in a80c031763c5 13:47:18 Removing intermediate container a80c031763c5 13:47:18 ---> 483d28d47dc1 13:47:18 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:47:18 ---> Running in 12d32d37901b 13:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:20 (1/1) Installing dumb-init (1.2.5-r2) 13:47:20 Executing busybox-1.36.1-r5.trigger 13:47:20 OK: 8 MiB in 16 packages 13:47:21 Removing intermediate container 12d32d37901b 13:47:21 ---> 39b51e87bb66 13:47:21 Step 16/26 : RUN apk --no-cache upgrade 13:47:21 ---> Running in 77282b1eec45 13:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:24 Upgrading critical system libraries and apk-tools: 13:47:24 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:47:24 Executing busybox-1.36.1-r5.trigger 13:47:24 Continuing the upgrade transaction with new apk-tools: 13:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:26 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:47:26 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:47:26 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:47:26 OK: 8 MiB in 16 packages 13:47:28 Removing intermediate container 77282b1eec45 13:47:28 ---> 07449f93f125 13:47:28 Step 17/26 : WORKDIR / 13:47:28 ---> Running in a400c53cbc79 13:47:28 Removing intermediate container a400c53cbc79 13:47:28 ---> 1ead10117083 13:47:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:47:29 ---> e9cde39841be 13:47:29 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:47:29 ---> fba9fd088965 13:47:29 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:47:32 ---> a59b1789d98a 13:47:32 Step 21/26 : EXPOSE 59900 13:47:32 ---> Running in ece4fa304704 13:47:32 Removing intermediate container ece4fa304704 13:47:32 ---> e9e95bae1524 13:47:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:47:32 ---> Running in 1fd625872f3a 13:47:33 Removing intermediate container 1fd625872f3a 13:47:33 ---> 6955f819198c 13:47:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:47:33 ---> Running in 1819af3e424f 13:47:33 Removing intermediate container 1819af3e424f 13:47:33 ---> 06317f742ef6 13:47:33 Step 24/26 : LABEL arch=arm64 13:47:33 ---> Running in 3f4144a28ce8 13:47:34 Removing intermediate container 3f4144a28ce8 13:47:34 ---> 92fd45b7d4b0 13:47:34 Step 25/26 : LABEL git_sha=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a 13:47:34 ---> Running in f4a19958b6ce 13:47:34 Removing intermediate container f4a19958b6ce 13:47:34 ---> b7348c55885e 13:47:34 Step 26/26 : LABEL version=0.0.0 13:47:34 ---> Running in c8e45311d060 13:47:35 Removing intermediate container c8e45311d060 13:47:35 ---> 8fc35f0f97f6 13:47:35 [Warning] One or more build-args [ARCH] were not consumed 13:47:35 Successfully built 8fc35f0f97f6 13:47:35 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:36 13:47:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:36 arm64: Pulling from edgex-lftools-log-publisher 13:47:36 8998bd30e6a1: Pulling fs layer 13:47:36 04944245beec: Pulling fs layer 13:47:36 699f458cf7ca: Pulling fs layer 13:47:36 765212b225bb: Pulling fs layer 13:47:36 f23df028b6ca: Pulling fs layer 13:47:36 d65c8cfc05b1: Pulling fs layer 13:47:36 2437ff75d9bd: Pulling fs layer 13:47:36 765212b225bb: Waiting 13:47:36 f23df028b6ca: Waiting 13:47:36 d65c8cfc05b1: Waiting 13:47:36 2437ff75d9bd: Waiting 13:47:36 04944245beec: Verifying Checksum 13:47:36 04944245beec: Download complete 13:47:36 765212b225bb: Verifying Checksum 13:47:36 765212b225bb: Download complete 13:47:36 f23df028b6ca: Verifying Checksum 13:47:36 f23df028b6ca: Download complete 13:47:37 d65c8cfc05b1: Verifying Checksum 13:47:37 d65c8cfc05b1: Download complete 13:47:37 699f458cf7ca: Verifying Checksum 13:47:37 699f458cf7ca: Download complete 13:47:37 8998bd30e6a1: Verifying Checksum 13:47:37 8998bd30e6a1: Download complete 13:47:41 2437ff75d9bd: Verifying Checksum 13:47:41 2437ff75d9bd: Download complete 13:47:43 8998bd30e6a1: Pull complete 13:47:43 04944245beec: Pull complete 13:47:45 699f458cf7ca: Pull complete 13:47:45 765212b225bb: Pull complete 13:47:46 f23df028b6ca: Pull complete 13:47:47 d65c8cfc05b1: Pull complete 13:48:05 2437ff75d9bd: Pull complete 13:48:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:48:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:05 prd-ubuntu20.04-docker-arm64-4c-16g-3085 does not seem to be running inside a container 13:48:05 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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:arm64 cat 13:48:08 $ docker top f3cc4c281929b9206864fc67d34515e171cdb6d97d732520a98ae05da8221a14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:48:09 ---> job-cost.sh 13:48:09 lf-activate-venv: SKIPPING 13:48:09 INFO: No Stack... 13:48:10 INFO: Retrieving Pricing Info for: v3-standard-4 13:48:11 INFO: Archiving Costs [Pipeline] sh 13:48:11 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 13:48:11 + cut -d, -f6 [Pipeline] lock 13:48:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] 13:48:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] did not exist. Created. 13:48:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:48:12 /w/workspace/device-virtual-go/1@tmp/durable-2a6af8f5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:48:13 + echo total: 0.10999999940395355 [Pipeline] stash 13:48:13 Warning: overwriting stash ‘stack-cost’ 13:48:13 Stashed 1 file(s) [Pipeline] } 13:48:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:48:13 $ docker stop --time=1 f3cc4c281929b9206864fc67d34515e171cdb6d97d732520a98ae05da8221a14 13:48:15 $ docker rm -f --volumes f3cc4c281929b9206864fc67d34515e171cdb6d97d732520a98ae05da8221a14 [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 13:48:16 provisioning config files... 13:48:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config10248770821172347271tmp [Pipeline] { [Pipeline] sh 13:48:16 + set +x 13:48:16 + curl -s https://codecov.io/bash 13:48:16 + bash -s -- 13:48:16 13:48:16 _____ _ 13:48:16 / ____| | | 13:48:16 | | ___ __| | ___ ___ _____ __ 13:48:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:48:16 | |___| (_) | (_| | __/ (_| (_) \ V / 13:48:16 \_____\___/ \__,_|\___|\___\___/ \_/ 13:48:16 Bash-1.0.6 13:48:16 13:48:16 13:48:16 ==> git version 2.25.1 found 13:48:16 ==> 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 13:48:16 Release-Date: 2020-01-08 13:48:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:48:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:48:16 ==> Jenkins CI detected. 13:48:16 current dir:  /w/workspace/foundry_device-virtual-go_PR-468 13:48:16 project root: . 13:48:16 --> token set from env 13:48:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:48:16 ==> Running gcov in . (disable via -X gcov) 13:48:16 ==> Python coveragepy not found 13:48:16 ==> Searching for coverage reports in: 13:48:16 + . 13:48:16 -> Found 1 reports 13:48:16 ==> Detecting git/mercurial file structure 13:48:16 ==> Reading reports 13:48:16 + ./coverage.out bytes=43063 13:48:16 ==> Appending adjustments 13:48:16 https://docs.codecov.io/docs/fixing-reports 13:48:16 + Found adjustments 13:48:16 ==> Gzipping contents 13:48:16 8.0K /tmp/codecov.f7EsDc.gz 13:48:16 ==> Uploading reports 13:48:16 url: https://codecov.io 13:48:16 query: branch=PR-468&commit=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= 13:48:16 -> Pinging Codecov 13:48:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-468&commit=0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=468&job=&cmd_args= 13:48:17 -> Uploading to 13:48:17 https://storage.googleapis.com/codecov/v4/raw/2024-04-19/5E52B4B073DB2E39498172D8E973AA87/0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a/c2e62a21-d9c3-442a-b352-60224cd793c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240419T134816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=418a88cfb651c4787c78933171ff0d9b4cfd0123c4648eeb375e4b858d3b9124 13:48:17 % Total % Received % Xferd Average Speed Time Time Time Current 13:48:17 Dload Upload Total Spent Left Speed 13:48:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 24620 --:--:-- --:--:-- --:--:-- 24500 100 4998 0 0 100 4998 0 20153 --:--:-- --:--:-- --:--:-- 20072 13:48:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0cba9c874c2e53c2fc6b7525dc3399e4a6330f7a [Pipeline] } 13:48:17 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:48:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-468/archives ] 13:48:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives 13:48:19 total 16 13:48:19 drwxr-xr-x 3 root root 4096 Apr 19 13:29 . 13:48:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:29 .. 13:48:19 drwxr-xr-x 2 root root 4096 Apr 19 13:29 cost 13:48:19 -rw-r--r-- 1 root root 89 Apr 19 13:29 cost.csv 13:48:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-468/archives 13:48:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-468/archives 13:48:19 total 16 13:48:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:29 . 13:48:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:29 .. 13:48:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:29 cost 13:48:19 -rw-r--r-- 1 jenkins jenkins 89 Apr 19 13:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:48:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:48:20 ---> package-listing.sh 13:48:20 ++ facter osfamily 13:48:20 ++ tr '[:upper:]' '[:lower:]' 13:48:20 + OS_FAMILY=debian 13:48:20 + workspace=/w/workspace/foundry_device-virtual-go_PR-468 13:48:20 + START_PACKAGES=/tmp/packages_start.txt 13:48:20 + END_PACKAGES=/tmp/packages_end.txt 13:48:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:48:20 + PACKAGES=/tmp/packages_start.txt 13:48:20 + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' 13:48:20 + PACKAGES=/tmp/packages_end.txt 13:48:20 + case "${OS_FAMILY}" in 13:48:20 + dpkg -l 13:48:20 + grep '^ii' 13:48:20 + '[' -f /tmp/packages_start.txt ']' 13:48:20 + '[' -f /tmp/packages_end.txt ']' 13:48:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:48:20 + '[' /w/workspace/foundry_device-virtual-go_PR-468 ']' 13:48:20 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-468/archives/ 13:48:20 + 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 13:48:20 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 13:48:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:21 prd-ubuntu20.04-docker-8c-8g-2848 does not seem to be running inside a container 13:48:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:48:22 $ docker top 968c858d6c8448a1b4d4b4f64214534e1c1b72f4c133441d1e5689127c1f56ed -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:22 + touch /tmp/pre-build-complete [Pipeline] sh 13:48:22 + mkdir -p /var/log/sysstat [Pipeline] sh 13:48:23 + ls /var/log/sa-host 13:48:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:23 provisioning config files... 13:48:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-468@tmp/config8440146449211913763tmp [Pipeline] { [Pipeline] echo 13:48:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:48:28 ---> create-netrc.sh [Pipeline] } 13:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:50:15 ---> python-tools-install.sh [Pipeline] echo 13:50:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:50:16 ---> sudo-logs.sh 13:50:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:50:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:50:16 ---> job-cost.sh 13:50:16 lf-activate-venv: SKIPPING 13:50:16 DEBUG: total: 0.2199999988079071 13:50:16 INFO: Retrieving Stack Cost... 13:50:17 INFO: Retrieving Pricing Info for: v3-standard-8 13:50:17 INFO: Archiving Costs [Pipeline] echo 13:50:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:50:17 ---> logs-deploy.sh 13:50:17 lf-activate-venv: SKIPPING 13:50:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-468/1 13:50:17 INFO: archiving workspace using pattern(s): 13:50:18 Archives upload complete. 13:50:18 INFO: archiving logs to Nexus