Pull request #487 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bd97b1b2ef36a78fdf720effea29e692056ac11+af071ee2e985f9b80a504a3fceca5d8623c96847 (33bcc7ab4d231ee3d80804f5a6becae99b6d4d88) 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-ssh1905250814861127650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh7393736397175230920.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 f3350a1713306dce7682ed7e37d5774890d03277 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-487/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-487/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12236370037876034997.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-487/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11966947190058523448.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh16156301384270977132.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-487/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-487/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3518632951349287165.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 f3350a1713306dce7682ed7e37d5774890d03277 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 Running on prd-ubuntu20.04-docker-8c-8g-9287 in /w/workspace/foundry_device-virtual-go_PR-487 [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-487 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/487/head:refs/remotes/origin/PR-487 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit af071ee2e985f9b80a504a3fceca5d8623c96847 into PR head commit 9bd97b1b2ef36a78fdf720effea29e692056ac11 Merge succeeded, producing 9bd97b1b2ef36a78fdf720effea29e692056ac11 Checking out Revision 9bd97b1b2ef36a78fdf720effea29e692056ac11 (PR-487) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd97b1b2ef36a78fdf720effea29e692056ac11 # 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 af071ee2e985f9b80a504a3fceca5d8623c96847 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd97b1b2ef36a78fdf720effea29e692056ac11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-03T12:00:17.853Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-03T12:00:18.110Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-03T12:00:18.234Z] ========================================================= [2024-09-03T12:00:18.234Z] EdgeX Global Pipelines Version Info [2024-09-03T12:00:18.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:00:19.003Z] ------------------- [2024-09-03T12:00:19.003Z] stable info: [2024-09-03T12:00:19.003Z] ------------------- [2024-09-03T12:00:19.003Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T12:00:19.003Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T12:00:19.003Z] Message: update stable to v1.0.263 [2024-09-03T12:00:19.574Z] ------------------- [2024-09-03T12:00:19.574Z] experimental info: [2024-09-03T12:00:19.574Z] ------------------- [2024-09-03T12:00:19.574Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T12:00:19.575Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T12:00:19.575Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-03T12:00:19.808Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-09-03T12:00:19.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-09-03T12:00:19.932Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-03T12:00:20.008Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-03T12:00:20.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-03T12:00:20.126Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-03T12:00:20.186Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-03T12:00:20.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-03T12:00:20.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-03T12:00:20.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-03T12:00:20.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-03T12:00:20.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-09-03T12:00:20.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-03T12:00:20.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-03T12:00:20.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-03T12:00:20.799Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-03T12:00:20.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T12:00:20.935Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T12:00:21.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-03T12:00:21.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-03T12:00:21.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-03T12:00:21.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-03T12:00:21.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-03T12:00:21.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-03T12:00:21.430Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-03T12:00:21.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-03T12:00:21.556Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-03T12:00:21.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-487 [Pipeline] echo [2024-09-03T12:00:21.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-487 [Pipeline] echo [2024-09-03T12:00:21.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-487 [Pipeline] echo [2024-09-03T12:00:23.259Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bd97b1b2ef36a78fdf720effea29e692056ac11 [Pipeline] echo [2024-09-03T12:00:23.356Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bd97b1 [Pipeline] echo [2024-09-03T12:00:23.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T12:00:23.624Z] provisioning config files... [2024-09-03T12:00:23.640Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-487@tmp/config1231217493694072351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:00:24.046Z] ---> ****-login.sh [2024-09-03T12:00:24.046Z] nexus3.edgexfoundry.org:10001 [2024-09-03T12:00:24.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:00:24.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:00:24.308Z] Configure a credential helper to remove this warning. See [2024-09-03T12:00:24.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:00:24.308Z] [2024-09-03T12:00:24.308Z] Login Succeeded [2024-09-03T12:00:24.308Z] nexus3.edgexfoundry.org:10002 [2024-09-03T12:00:24.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:00:24.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:00:24.573Z] Configure a credential helper to remove this warning. See [2024-09-03T12:00:24.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:00:24.573Z] [2024-09-03T12:00:24.573Z] Login Succeeded [2024-09-03T12:00:24.573Z] nexus3.edgexfoundry.org:10003 [2024-09-03T12:00:24.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:00:24.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:00:24.573Z] Configure a credential helper to remove this warning. See [2024-09-03T12:00:24.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:00:24.573Z] [2024-09-03T12:00:24.573Z] Login Succeeded [2024-09-03T12:00:24.573Z] nexus3.edgexfoundry.org:10004 [2024-09-03T12:00:24.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:00:24.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:00:24.834Z] Configure a credential helper to remove this warning. See [2024-09-03T12:00:24.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:00:24.834Z] [2024-09-03T12:00:24.834Z] Login Succeeded [2024-09-03T12:00:24.834Z] ****.io [2024-09-03T12:00:24.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:00:25.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:00:25.095Z] Configure a credential helper to remove this warning. See [2024-09-03T12:00:25.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:00:25.095Z] [2024-09-03T12:00:25.095Z] Login Succeeded [2024-09-03T12:00:25.095Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T12:00:25.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-03T12:00:25.827Z] + git rev-list -1 --merges 9bd97b1b2ef36a78fdf720effea29e692056ac11~1..9bd97b1b2ef36a78fdf720effea29e692056ac11 [Pipeline] echo [2024-09-03T12:00:25.872Z] -----------> git rev-list -1 --merges 9bd97b1b2ef36a78fdf720effea29e692056ac11~1..9bd97b1b2ef36a78fdf720effea29e692056ac11 9bd97b1b2ef36a78fdf720effea29e692056ac11 [false] [Pipeline] sh [2024-09-03T12:00:26.205Z] + git log --format=format:%s -1 9bd97b1b2ef36a78fdf720effea29e692056ac11 [Pipeline] echo [2024-09-03T12:00:26.254Z] ========================================================= [2024-09-03T12:00:26.254Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-03T12:00:26.254Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T12:00:26.740Z] + git log --format=format:%s -1 9bd97b1b2ef36a78fdf720effea29e692056ac11 [Pipeline] echo [2024-09-03T12:00:26.781Z] [semverPrep] GIT_COMMIT: 9bd97b1b2ef36a78fdf720effea29e692056ac11, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-03T12:00:26.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-03T12:00:27.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-03T12:00:27.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-03T12:00:27.262Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-03T12:00:27.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-03T12:00:27.262Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-03T12:00:27.262Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-03T12:00:27.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:00:27.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T12:00:27.815Z] [2024-09-03T12:00:27.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:00:28.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T12:00:28.242Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-03T12:00:28.242Z] b85a868b505f: Pulling fs layer [2024-09-03T12:00:28.242Z] e2be974225ed: Pulling fs layer [2024-09-03T12:00:28.242Z] 339a4e72a1f5: Pulling fs layer [2024-09-03T12:00:28.242Z] 988bab9f4d93: Pulling fs layer [2024-09-03T12:00:28.242Z] 1469e6f7b9e6: Pulling fs layer [2024-09-03T12:00:28.242Z] eaf3925da568: Pulling fs layer [2024-09-03T12:00:28.242Z] bab4dde63d76: Pulling fs layer [2024-09-03T12:00:28.242Z] bde34c3a00c8: Pulling fs layer [2024-09-03T12:00:28.242Z] b352a97aabf1: Pulling fs layer [2024-09-03T12:00:28.242Z] 4872d77fe225: Pulling fs layer [2024-09-03T12:00:28.242Z] 5851b861e8e6: Pulling fs layer [2024-09-03T12:00:28.242Z] 988bab9f4d93: Waiting [2024-09-03T12:00:28.242Z] 1469e6f7b9e6: Waiting [2024-09-03T12:00:28.242Z] eaf3925da568: Waiting [2024-09-03T12:00:28.242Z] bab4dde63d76: Waiting [2024-09-03T12:00:28.242Z] bde34c3a00c8: Waiting [2024-09-03T12:00:28.242Z] b352a97aabf1: Waiting [2024-09-03T12:00:28.242Z] 4872d77fe225: Waiting [2024-09-03T12:00:28.242Z] 5851b861e8e6: Waiting [2024-09-03T12:00:28.242Z] e2be974225ed: Download complete [2024-09-03T12:00:28.242Z] 988bab9f4d93: Download complete [2024-09-03T12:00:28.242Z] 1469e6f7b9e6: Verifying Checksum [2024-09-03T12:00:28.242Z] 1469e6f7b9e6: Download complete [2024-09-03T12:00:28.504Z] 339a4e72a1f5: Verifying Checksum [2024-09-03T12:00:28.504Z] 339a4e72a1f5: Download complete [2024-09-03T12:00:28.504Z] eaf3925da568: Verifying Checksum [2024-09-03T12:00:28.504Z] eaf3925da568: Download complete [2024-09-03T12:00:28.504Z] bde34c3a00c8: Verifying Checksum [2024-09-03T12:00:28.504Z] bde34c3a00c8: Download complete [2024-09-03T12:00:28.504Z] b352a97aabf1: Verifying Checksum [2024-09-03T12:00:28.504Z] b352a97aabf1: Download complete [2024-09-03T12:00:28.504Z] 4872d77fe225: Verifying Checksum [2024-09-03T12:00:28.504Z] 4872d77fe225: Download complete [2024-09-03T12:00:28.504Z] 5851b861e8e6: Verifying Checksum [2024-09-03T12:00:28.504Z] 5851b861e8e6: Download complete [2024-09-03T12:00:28.504Z] b85a868b505f: Verifying Checksum [2024-09-03T12:00:28.504Z] b85a868b505f: Download complete [2024-09-03T12:00:28.763Z] bab4dde63d76: Verifying Checksum [2024-09-03T12:00:28.763Z] bab4dde63d76: Download complete [2024-09-03T12:00:29.704Z] b85a868b505f: Pull complete [2024-09-03T12:00:29.704Z] e2be974225ed: Pull complete [2024-09-03T12:00:30.274Z] 339a4e72a1f5: Pull complete [2024-09-03T12:00:30.274Z] 988bab9f4d93: Pull complete [2024-09-03T12:00:30.537Z] 1469e6f7b9e6: Pull complete [2024-09-03T12:00:30.795Z] eaf3925da568: Pull complete [2024-09-03T12:00:32.703Z] bab4dde63d76: Pull complete [2024-09-03T12:00:32.703Z] bde34c3a00c8: Pull complete [2024-09-03T12:00:32.703Z] b352a97aabf1: Pull complete [2024-09-03T12:00:32.703Z] 4872d77fe225: Pull complete [2024-09-03T12:00:32.965Z] 5851b861e8e6: Pull complete [2024-09-03T12:00:32.965Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-03T12:00:32.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T12:00:32.965Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:00:53.280Z] prd-ubuntu20.04-docker-8c-8g-9287 does not seem to be running inside a container [2024-09-03T12:00:53.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-487 -v /w/workspace/foundry_device-virtual-go_PR-487:/w/workspace/foundry_device-virtual-go_PR-487:rw,z -v /w/workspace/foundry_device-virtual-go_PR-487@tmp:/w/workspace/foundry_device-virtual-go_PR-487@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-03T12:00:57.742Z] $ docker top d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a -eo pid,comm [2024-09-03T12:00:57.797Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-03T12:00:57.797Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-03T12:00:57.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T12:00:57.962Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T12:00:58.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T12:00:58.087Z] $ docker exec d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a ssh-agent [2024-09-03T12:00:58.212Z] SSH_AUTH_SOCK=/tmp/ssh-LHbibjbOfP79/agent.32 [2024-09-03T12:00:58.212Z] SSH_AGENT_PID=38 [2024-09-03T12:00:58.219Z] Running ssh-add (command line suppressed) [2024-09-03T12:00:58.319Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-487@tmp/private_key_11700186909747914027.key (/w/workspace/foundry_device-virtual-go_PR-487@tmp/private_key_11700186909747914027.key) [2024-09-03T12:00:58.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T12:00:58.681Z] + git tag --points-at HEAD [Pipeline] } [2024-09-03T12:00:58.703Z] $ docker exec --env ******** --env ******** d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a ssh-agent -k [2024-09-03T12:00:58.804Z] unset SSH_AUTH_SOCK; [2024-09-03T12:00:58.805Z] unset SSH_AGENT_PID; [2024-09-03T12:00:58.805Z] echo Agent pid 38 killed; [2024-09-03T12:00:58.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-03T12:00:58.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T12:00:58.923Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T12:00:59.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T12:00:59.041Z] $ docker exec d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a ssh-agent [2024-09-03T12:00:59.144Z] SSH_AUTH_SOCK=/tmp/ssh-iE5uY22q4YL1/agent.71 [2024-09-03T12:00:59.144Z] SSH_AGENT_PID=76 [2024-09-03T12:00:59.149Z] Running ssh-add (command line suppressed) [2024-09-03T12:00:59.267Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-487@tmp/private_key_9378644588497416527.key (/w/workspace/foundry_device-virtual-go_PR-487@tmp/private_key_9378644588497416527.key) [2024-09-03T12:00:59.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T12:00:59.628Z] + git semver init [2024-09-03T12:00:59.888Z] 2024-09-03 12:00:59,797 [run_init] DEBUG init version:0.0.0 force:False [2024-09-03T12:00:59.888Z] 2024-09-03 12:00:59,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-487/.semver [2024-09-03T12:00:59.888Z] 2024-09-03 12:00:59,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-487/.semver [2024-09-03T12:00:59.888Z] 2024-09-03 12:00:59,798 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-487/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-487, universal_newlines=False, shell=None, istream=None) [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,803 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-487/.git/info/exclude [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,803 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-487/.semver/PR-487 with force:False [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,803 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-487/.semver/PR-487 [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,808 [execute] INFO git cat-file --batch-check [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-487/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,815 [execute] INFO git cat-file --batch [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-487/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T12:01:02.429Z] 2024-09-03 12:01:01,821 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-487/.semver/PR-487 [2024-09-03T12:01:02.429Z] 0.0.0 [Pipeline] } [2024-09-03T12:01:02.458Z] $ docker exec --env ******** --env ******** d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a ssh-agent -k [2024-09-03T12:01:02.570Z] unset SSH_AUTH_SOCK; [2024-09-03T12:01:02.570Z] unset SSH_AGENT_PID; [2024-09-03T12:01:02.571Z] echo Agent pid 76 killed; [2024-09-03T12:01:02.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-03T12:01:03.042Z] + git semver [Pipeline] } [2024-09-03T12:01:03.330Z] $ docker stop --time=1 d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a [2024-09-03T12:01:04.620Z] $ docker rm -f --volumes d09f3bca1d0587e91b7ef877d363597878f6bbb688a24bbeb27f899f45b3582a [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T12:01:05.057Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-03T12:01:05.373Z] Stashed 1 file(s) [Pipeline] echo [2024-09-03T12:01:05.397Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T12:01:06.162Z] provisioning config files... [2024-09-03T12:01:06.173Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-487@tmp/config8143656419281308433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:01:06.542Z] ---> ****-login.sh [2024-09-03T12:01:06.542Z] nexus3.edgexfoundry.org:10001 [2024-09-03T12:01:06.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:01:06.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:01:06.542Z] Configure a credential helper to remove this warning. See [2024-09-03T12:01:06.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:01:06.542Z] [2024-09-03T12:01:06.542Z] Login Succeeded [2024-09-03T12:01:06.542Z] nexus3.edgexfoundry.org:10002 [2024-09-03T12:01:06.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:01:06.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:01:06.542Z] Configure a credential helper to remove this warning. See [2024-09-03T12:01:06.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:01:06.542Z] [2024-09-03T12:01:06.542Z] Login Succeeded [2024-09-03T12:01:06.542Z] nexus3.edgexfoundry.org:10003 [2024-09-03T12:01:06.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:01:06.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:01:06.803Z] Configure a credential helper to remove this warning. See [2024-09-03T12:01:06.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:01:06.804Z] [2024-09-03T12:01:06.804Z] Login Succeeded [2024-09-03T12:01:06.804Z] nexus3.edgexfoundry.org:10004 [2024-09-03T12:01:06.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:01:06.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:01:06.804Z] Configure a credential helper to remove this warning. See [2024-09-03T12:01:06.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:01:06.804Z] [2024-09-03T12:01:06.804Z] Login Succeeded [2024-09-03T12:01:06.804Z] ****.io [2024-09-03T12:01:07.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:01:07.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:01:07.064Z] Configure a credential helper to remove this warning. See [2024-09-03T12:01:07.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:01:07.064Z] [2024-09-03T12:01:07.064Z] Login Succeeded [2024-09-03T12:01:07.064Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T12:01:07.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T12:01:07.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T12:01:07.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T12:01:07.406Z] ========================================================= [2024-09-03T12:01:07.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-03T12:01:07.406Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:01:07.898Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-03T12:01:07.898Z] Sending build context to Docker daemon 37.6MB [2024-09-03T12:01:07.898Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T12:01:07.898Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-03T12:01:08.158Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-03T12:01:08.158Z] 619be1103602: Pulling fs layer [2024-09-03T12:01:08.158Z] 7862e08f4a3e: Pulling fs layer [2024-09-03T12:01:08.158Z] 5df492c9dc93: Pulling fs layer [2024-09-03T12:01:08.158Z] 7629e6793208: Pulling fs layer [2024-09-03T12:01:08.158Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T12:01:08.158Z] fb5054dd5b73: Pulling fs layer [2024-09-03T12:01:08.158Z] eeca6798cff9: Pulling fs layer [2024-09-03T12:01:08.158Z] aa269ceb94a6: Pulling fs layer [2024-09-03T12:01:08.158Z] ada007ff1a6a: Pulling fs layer [2024-09-03T12:01:08.158Z] 7629e6793208: Waiting [2024-09-03T12:01:08.158Z] aa269ceb94a6: Waiting [2024-09-03T12:01:08.158Z] 4f4fb700ef54: Waiting [2024-09-03T12:01:08.158Z] ada007ff1a6a: Waiting [2024-09-03T12:01:08.158Z] fb5054dd5b73: Waiting [2024-09-03T12:01:08.158Z] eeca6798cff9: Waiting [2024-09-03T12:01:08.158Z] 7862e08f4a3e: Download complete [2024-09-03T12:01:08.158Z] 7629e6793208: Verifying Checksum [2024-09-03T12:01:08.158Z] 7629e6793208: Download complete [2024-09-03T12:01:08.158Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T12:01:08.158Z] 4f4fb700ef54: Download complete [2024-09-03T12:01:08.158Z] fb5054dd5b73: Download complete [2024-09-03T12:01:08.158Z] 619be1103602: Verifying Checksum [2024-09-03T12:01:08.158Z] 619be1103602: Download complete [2024-09-03T12:01:08.158Z] eeca6798cff9: Verifying Checksum [2024-09-03T12:01:08.158Z] eeca6798cff9: Download complete [2024-09-03T12:01:08.416Z] ada007ff1a6a: Verifying Checksum [2024-09-03T12:01:08.416Z] ada007ff1a6a: Download complete [2024-09-03T12:01:08.416Z] 619be1103602: Pull complete [2024-09-03T12:01:08.675Z] 7862e08f4a3e: Pull complete [2024-09-03T12:01:08.675Z] 5df492c9dc93: Verifying Checksum [2024-09-03T12:01:08.675Z] 5df492c9dc93: Download complete [2024-09-03T12:01:08.934Z] aa269ceb94a6: Verifying Checksum [2024-09-03T12:01:08.934Z] aa269ceb94a6: Download complete [2024-09-03T12:01:12.224Z] 5df492c9dc93: Pull complete [2024-09-03T12:01:12.224Z] 7629e6793208: Pull complete [2024-09-03T12:01:12.224Z] 4f4fb700ef54: Pull complete [2024-09-03T12:01:12.485Z] fb5054dd5b73: Pull complete [2024-09-03T12:01:12.485Z] eeca6798cff9: Pull complete [2024-09-03T12:01:15.017Z] aa269ceb94a6: Pull complete [2024-09-03T12:01:15.277Z] ada007ff1a6a: Pull complete [2024-09-03T12:01:15.277Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-03T12:01:15.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-03T12:01:15.277Z] ---> f489d0715acc [2024-09-03T12:01:15.277Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-03T12:01:20.920Z] Still waiting to schedule task [2024-09-03T12:01:20.920Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-03T12:01:21.853Z] ---> Running in d0c4f81c2455 [2024-09-03T12:01:21.853Z] Removing intermediate container d0c4f81c2455 [2024-09-03T12:01:21.853Z] ---> 21e5ca60ff05 [2024-09-03T12:01:21.853Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-03T12:01:21.853Z] ---> Running in d61660358aa8 [2024-09-03T12:01:21.853Z] Removing intermediate container d61660358aa8 [2024-09-03T12:01:21.853Z] ---> a71361418071 [2024-09-03T12:01:21.853Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-03T12:01:21.853Z] ---> Running in 8d271675bf56 [2024-09-03T12:01:21.853Z] Removing intermediate container 8d271675bf56 [2024-09-03T12:01:21.853Z] ---> 2fa98bff8c45 [2024-09-03T12:01:21.853Z] Step 6/12 : WORKDIR /device-virtual-go [2024-09-03T12:01:21.853Z] ---> Running in 9e219ab3ad66 [2024-09-03T12:01:22.112Z] Removing intermediate container 9e219ab3ad66 [2024-09-03T12:01:22.113Z] ---> d9032d33c906 [2024-09-03T12:01:22.113Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-03T12:01:22.113Z] ---> Running in 3c920a2e2520 [2024-09-03T12:01:22.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T12:01:22.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T12:01:22.631Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-03T12:01:22.631Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-03T12:01:22.631Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-03T12:01:22.631Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-03T12:01:22.631Z] Executing busybox-1.36.1-r5.trigger [2024-09-03T12:01:22.631Z] OK: 268 MiB in 56 packages [2024-09-03T12:01:23.231Z] Removing intermediate container 3c920a2e2520 [2024-09-03T12:01:23.231Z] ---> df65138852cf [2024-09-03T12:01:23.231Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-03T12:01:23.489Z] ---> 1db8f801c28c [2024-09-03T12:01:23.489Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T12:01:23.489Z] ---> Running in 3d2a439712b0 [2024-09-03T12:02:31.216Z] Removing intermediate container 3d2a439712b0 [2024-09-03T12:02:31.216Z] ---> 2ceecc68d030 [2024-09-03T12:02:31.216Z] Step 10/12 : COPY . . [2024-09-03T12:02:31.216Z] ---> a54ee83ba1be [2024-09-03T12:02:31.216Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-03T12:02:31.216Z] ---> Running in 706428fc875b [2024-09-03T12:02:31.216Z] Removing intermediate container 706428fc875b [2024-09-03T12:02:31.216Z] ---> e2b242fd244c [2024-09-03T12:02:31.216Z] Step 12/12 : RUN $MAKE [2024-09-03T12:02:31.216Z] ---> Running in fcd13be6eaff [2024-09-03T12:02:31.216Z] noop [2024-09-03T12:02:31.216Z] Removing intermediate container fcd13be6eaff [2024-09-03T12:02:31.216Z] ---> 53776fd1f407 [2024-09-03T12:02:31.216Z] Successfully built 53776fd1f407 [2024-09-03T12:02:31.216Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:02:31.731Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T12:02:31.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:02:31.909Z] prd-ubuntu20.04-docker-8c-8g-9287 does not seem to be running inside a container [2024-09-03T12:02:31.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-487 -v /w/workspace/foundry_device-virtual-go_PR-487:/w/workspace/foundry_device-virtual-go_PR-487:rw,z -v /w/workspace/foundry_device-virtual-go_PR-487@tmp:/w/workspace/foundry_device-virtual-go_PR-487@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 ******** ci-base-image-x86_64 cat [2024-09-03T12:02:32.271Z] $ docker top 3307e91f589214a733012bbf6460a2e109e52ede09e08bfaa1efdb81a2cfdb6a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T12:02:32.718Z] + go version [2024-09-03T12:02:32.718Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-03T12:02:32.757Z] $ docker stop --time=1 3307e91f589214a733012bbf6460a2e109e52ede09e08bfaa1efdb81a2cfdb6a [2024-09-03T12:02:33.996Z] $ docker rm -f --volumes 3307e91f589214a733012bbf6460a2e109e52ede09e08bfaa1efdb81a2cfdb6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:02:34.842Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T12:02:34.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:02:35.110Z] prd-ubuntu20.04-docker-8c-8g-9287 does not seem to be running inside a container [2024-09-03T12:02:35.142Z] $ 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-487 -v /w/workspace/foundry_device-virtual-go_PR-487:/w/workspace/foundry_device-virtual-go_PR-487:rw,z -v /w/workspace/foundry_device-virtual-go_PR-487@tmp:/w/workspace/foundry_device-virtual-go_PR-487@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 ******** ci-base-image-x86_64 cat [2024-09-03T12:02:35.451Z] $ docker top 12fcedac4f78adbfaf4e8d0fc56acd15b0bbcca601833e08a4d97439e9f72d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T12:02:35.854Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-487 [Pipeline] fileExists [Pipeline] sh [2024-09-03T12:02:36.237Z] + make test [2024-09-03T12:02:36.237Z] go test ./... -coverprofile=coverage.out [2024-09-03T12:02:38.149Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-09-03T12:02:56.234Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-09-03T12:02:56.234Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-09-03T12:03:01.789Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9288 in /w/workspace/foundry_device-virtual-go_PR-487 [Pipeline] { [Pipeline] ws [2024-09-03T12:03:01.864Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-09-03T12:03:02.793Z] go vet ./... [2024-09-03T12:03:04.973Z] The recommended git tool is: git [2024-09-03T12:03:08.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T12:03:08.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T12:03:08.068Z] ./bin/test-attribution-txt.sh [2024-09-03T12:03:08.068Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-03T12:03:08.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T12:03:08.195Z] $ docker stop --time=1 12fcedac4f78adbfaf4e8d0fc56acd15b0bbcca601833e08a4d97439e9f72d62 [2024-09-03T12:03:13.577Z] using credential edgex-jenkins-ssh [2024-09-03T12:03:13.605Z] Cloning the remote Git repository [2024-09-03T12:03:13.650Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-09-03T12:03:13.768Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-09-03T12:03:13.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-09-03T12:03:13.986Z] > git --version # timeout=10 [2024-09-03T12:03:14.020Z] > git --version # 'git version 2.25.1' [2024-09-03T12:03:14.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T12:03:14.269Z] $ docker rm -f --volumes 12fcedac4f78adbfaf4e8d0fc56acd15b0bbcca601833e08a4d97439e9f72d62 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T12:03:14.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T12:03:14.988Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-03T12:03:14.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T12:03:15.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T12:03:16.072Z] + ls -al . [2024-09-03T12:03:16.072Z] total 276 [2024-09-03T12:03:16.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 12:02 . [2024-09-03T12:03:16.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 12:00 .. [2024-09-03T12:03:16.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 12:02 .git [2024-09-03T12:03:16.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:00 .github [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 3 12:00 .gitignore [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 3 12:00 .golangci.yml [2024-09-03T12:03:16.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 12:01 .semver [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 17933 Sep 3 12:00 Attribution.txt [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 15941 Sep 3 12:00 CHANGELOG.md [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 1755 Sep 3 12:00 Dockerfile [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 12:00 GOVERNANCE.md [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 3 12:00 Jenkinsfile [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 3 12:00 LICENSE [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 1953 Sep 3 12:00 Makefile [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 3 12:00 OWNERS.md [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 4103 Sep 3 12:00 README.md [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 12:01 VERSION [2024-09-03T12:03:16.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 12:00 bin [2024-09-03T12:03:16.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:00 cmd [2024-09-03T12:03:16.072Z] -rw-r--r-- 1 jenkins jenkins 43247 Sep 3 12:02 coverage.out [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 6923 Sep 3 12:00 go.mod [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 101673 Sep 3 12:00 go.sum [2024-09-03T12:03:16.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:00 internal [2024-09-03T12:03:16.072Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 3 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:03:16.496Z] + 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=9bd97b1b2ef36a78fdf720effea29e692056ac11 --label arch=amd64 --label version=0.0.0 . [2024-09-03T12:03:16.496Z] Sending build context to Docker daemon 37.65MB [2024-09-03T12:03:16.496Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T12:03:16.496Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-03T12:03:16.496Z] ---> 53776fd1f407 [2024-09-03T12:03:16.496Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-03T12:03:17.436Z] ---> Running in fcbc263ba203 [2024-09-03T12:03:17.437Z] Removing intermediate container fcbc263ba203 [2024-09-03T12:03:17.437Z] ---> b90613374e58 [2024-09-03T12:03:17.437Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-03T12:03:17.437Z] ---> Running in 355c57a7cb4b [2024-09-03T12:03:17.437Z] Removing intermediate container 355c57a7cb4b [2024-09-03T12:03:17.437Z] ---> e885687098f0 [2024-09-03T12:03:17.437Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-03T12:03:17.437Z] ---> Running in 184b0602f968 [2024-09-03T12:03:17.696Z] Removing intermediate container 184b0602f968 [2024-09-03T12:03:17.696Z] ---> 6d5b6a48a0e4 [2024-09-03T12:03:17.696Z] Step 6/26 : WORKDIR /device-virtual-go [2024-09-03T12:03:17.696Z] ---> Running in 82b6936a24e1 [2024-09-03T12:03:17.696Z] Removing intermediate container 82b6936a24e1 [2024-09-03T12:03:17.696Z] ---> 5b131a88f419 [2024-09-03T12:03:17.696Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-03T12:03:17.696Z] ---> Running in 28271dc8c3a3 [2024-09-03T12:03:17.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:18.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:18.477Z] OK: 268 MiB in 56 packages [2024-09-03T12:03:18.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-09-03T12:03:18.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T12:03:18.736Z] Removing intermediate container 28271dc8c3a3 [2024-09-03T12:03:18.736Z] ---> 6157cdbfe4b8 [2024-09-03T12:03:18.736Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-03T12:03:18.736Z] ---> bab41e7683d6 [2024-09-03T12:03:18.736Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T12:03:18.996Z] ---> Running in e844c39e780f [2024-09-03T12:03:19.563Z] Removing intermediate container e844c39e780f [2024-09-03T12:03:19.563Z] ---> cb809469c768 [2024-09-03T12:03:19.563Z] Step 10/26 : COPY . . [2024-09-03T12:03:19.949Z] Merging remotes/origin/main commit af071ee2e985f9b80a504a3fceca5d8623c96847 into PR head commit 9bd97b1b2ef36a78fdf720effea29e692056ac11 [2024-09-03T12:03:19.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-09-03T12:03:19.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-09-03T12:03:19.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T12:03:19.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/487/head:refs/remotes/origin/PR-487 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-03T12:03:19.969Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T12:03:20.038Z] > git checkout -f 9bd97b1b2ef36a78fdf720effea29e692056ac11 # timeout=10 [2024-09-03T12:03:20.119Z] > git remote # timeout=10 [2024-09-03T12:03:20.136Z] > git config --get remote.origin.url # timeout=10 [2024-09-03T12:03:20.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T12:03:20.185Z] > git merge af071ee2e985f9b80a504a3fceca5d8623c96847 # timeout=10 [2024-09-03T12:03:20.212Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-03T12:03:20.227Z] Merge succeeded, producing 9bd97b1b2ef36a78fdf720effea29e692056ac11 [2024-09-03T12:03:20.228Z] Checking out Revision 9bd97b1b2ef36a78fdf720effea29e692056ac11 (PR-487) [2024-09-03T12:03:20.802Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-09-03T12:03:20.852Z] > git --version # timeout=10 [2024-09-03T12:03:20.864Z] > git --version # 'git version 2.25.1' [2024-09-03T12:03:20.895Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T12:03:20.943Z] ---> 3d413e98c063 [2024-09-03T12:03:20.943Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-03T12:03:20.943Z] ---> Running in 021469e5ed17 [2024-09-03T12:03:20.943Z] Removing intermediate container 021469e5ed17 [2024-09-03T12:03:20.943Z] ---> cbfec88840df [2024-09-03T12:03:20.943Z] Step 12/26 : RUN $MAKE [2024-09-03T12:03:20.943Z] ---> Running in 5db9c4999b4f [2024-09-03T12:03:21.205Z] 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.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-09-03T12:03:20.241Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T12:03:20.257Z] > git checkout -f 9bd97b1b2ef36a78fdf720effea29e692056ac11 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T12:03:25.926Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-03T12:03:25.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T12:03:25.926Z] Dload Upload Total Spent Left Speed [2024-09-03T12:03:25.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 82230 0 --:--:-- --:--:-- --:--:-- 82230 [Pipeline] sh [2024-09-03T12:03:26.284Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-03T12:03:26.645Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-03T12:03:26.645Z] + sudo tee /etc/docker/daemon.new [2024-09-03T12:03:26.645Z] { [2024-09-03T12:03:26.645Z] "registry-mirrors": [ [2024-09-03T12:03:26.645Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-03T12:03:26.645Z] ], [2024-09-03T12:03:26.645Z] "bip": "10.250.0.254/24", [2024-09-03T12:03:26.645Z] "hosts": [ [2024-09-03T12:03:26.645Z] "tcp://0.0.0.0:5555", [2024-09-03T12:03:26.645Z] "unix:///var/run/docker.sock" [2024-09-03T12:03:26.645Z] ], [2024-09-03T12:03:26.645Z] "mtu": 1458, [2024-09-03T12:03:26.645Z] "selinux-enabled": true, [2024-09-03T12:03:26.645Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-03T12:03:26.645Z] } [Pipeline] sh [2024-09-03T12:03:27.009Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-03T12:03:27.378Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T12:03:45.725Z] provisioning config files... [2024-09-03T12:03:45.751Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config67560945312169788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:03:46.234Z] ---> ****-login.sh [2024-09-03T12:03:46.234Z] nexus3.edgexfoundry.org:10001 [2024-09-03T12:03:46.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:03:46.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:03:46.779Z] Configure a credential helper to remove this warning. See [2024-09-03T12:03:46.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:03:46.779Z] [2024-09-03T12:03:46.779Z] Login Succeeded [2024-09-03T12:03:46.779Z] nexus3.edgexfoundry.org:10002 [2024-09-03T12:03:47.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:03:47.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:03:47.323Z] Configure a credential helper to remove this warning. See [2024-09-03T12:03:47.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:03:47.323Z] [2024-09-03T12:03:47.323Z] Login Succeeded [2024-09-03T12:03:47.323Z] nexus3.edgexfoundry.org:10003 [2024-09-03T12:03:47.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:03:47.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:03:47.596Z] Configure a credential helper to remove this warning. See [2024-09-03T12:03:47.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:03:47.596Z] [2024-09-03T12:03:47.596Z] Login Succeeded [2024-09-03T12:03:47.596Z] nexus3.edgexfoundry.org:10004 [2024-09-03T12:03:47.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:03:47.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:03:47.866Z] Configure a credential helper to remove this warning. See [2024-09-03T12:03:47.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:03:47.866Z] [2024-09-03T12:03:47.866Z] Login Succeeded [2024-09-03T12:03:48.142Z] ****.io [2024-09-03T12:03:48.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T12:03:48.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T12:03:48.411Z] Configure a credential helper to remove this warning. See [2024-09-03T12:03:48.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T12:03:48.411Z] [2024-09-03T12:03:48.411Z] Login Succeeded [2024-09-03T12:03:48.411Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T12:03:48.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T12:03:48.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T12:03:48.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T12:03:48.984Z] ========================================================= [2024-09-03T12:03:48.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-03T12:03:48.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:03:49.523Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-03T12:03:50.122Z] Sending build context to Docker daemon 18.99MB [2024-09-03T12:03:50.122Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T12:03:50.122Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-03T12:03:50.398Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-03T12:03:50.398Z] c6b39de5b339: Pulling fs layer [2024-09-03T12:03:50.398Z] a69c41024577: Pulling fs layer [2024-09-03T12:03:50.398Z] d6de4b400683: Pulling fs layer [2024-09-03T12:03:50.398Z] 35cb2a7552d0: Pulling fs layer [2024-09-03T12:03:50.398Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T12:03:50.398Z] 464afbd9ba4c: Pulling fs layer [2024-09-03T12:03:50.398Z] 00f215d4a9da: Pulling fs layer [2024-09-03T12:03:50.398Z] d496ad576159: Pulling fs layer [2024-09-03T12:03:50.398Z] 464afbd9ba4c: Waiting [2024-09-03T12:03:50.398Z] 00f215d4a9da: Waiting [2024-09-03T12:03:50.398Z] 35cb2a7552d0: Waiting [2024-09-03T12:03:50.398Z] d496ad576159: Waiting [2024-09-03T12:03:50.398Z] 4f4fb700ef54: Waiting [2024-09-03T12:03:50.398Z] a69c41024577: Verifying Checksum [2024-09-03T12:03:50.398Z] a69c41024577: Download complete [2024-09-03T12:03:50.398Z] 35cb2a7552d0: Verifying Checksum [2024-09-03T12:03:50.398Z] 35cb2a7552d0: Download complete [2024-09-03T12:03:50.398Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T12:03:50.398Z] 4f4fb700ef54: Download complete [2024-09-03T12:03:50.398Z] c6b39de5b339: Download complete [2024-09-03T12:03:50.398Z] 464afbd9ba4c: Verifying Checksum [2024-09-03T12:03:50.398Z] 464afbd9ba4c: Download complete [2024-09-03T12:03:50.669Z] d496ad576159: Verifying Checksum [2024-09-03T12:03:50.669Z] d496ad576159: Download complete [2024-09-03T12:03:51.265Z] c6b39de5b339: Pull complete [2024-09-03T12:03:51.850Z] a69c41024577: Pull complete [2024-09-03T12:03:52.129Z] d6de4b400683: Verifying Checksum [2024-09-03T12:03:52.129Z] d6de4b400683: Download complete [2024-09-03T12:03:53.384Z] Removing intermediate container 5db9c4999b4f [2024-09-03T12:03:53.384Z] ---> 4cf40e64c915 [2024-09-03T12:03:53.384Z] Step 13/26 : FROM alpine:3.18 [2024-09-03T12:03:53.384Z] 3.18: Pulling from library/alpine [2024-09-03T12:03:53.384Z] 930bdd4d222e: Pulling fs layer [2024-09-03T12:03:53.384Z] 930bdd4d222e: Verifying Checksum [2024-09-03T12:03:53.384Z] 930bdd4d222e: Download complete [2024-09-03T12:03:53.539Z] 00f215d4a9da: Verifying Checksum [2024-09-03T12:03:53.539Z] 00f215d4a9da: Download complete [2024-09-03T12:03:53.642Z] 930bdd4d222e: Pull complete [2024-09-03T12:03:53.642Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T12:03:53.642Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T12:03:53.642Z] ---> 18f865063206 [2024-09-03T12:03:53.642Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-09-03T12:03:53.901Z] ---> Running in e2f893845473 [2024-09-03T12:03:53.901Z] Removing intermediate container e2f893845473 [2024-09-03T12:03:53.901Z] ---> fb1012a4a5e2 [2024-09-03T12:03:53.901Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-03T12:03:53.901Z] ---> Running in cc94431e8c0e [2024-09-03T12:03:54.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:54.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:54.420Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T12:03:54.420Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T12:03:54.420Z] OK: 7 MiB in 16 packages [2024-09-03T12:03:54.987Z] Removing intermediate container cc94431e8c0e [2024-09-03T12:03:54.987Z] ---> 554267190f9d [2024-09-03T12:03:54.987Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-03T12:03:54.987Z] ---> Running in f80acad2b8c6 [2024-09-03T12:03:55.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:55.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T12:03:55.503Z] OK: 7 MiB in 16 packages [2024-09-03T12:03:55.763Z] Removing intermediate container f80acad2b8c6 [2024-09-03T12:03:55.763Z] ---> 560ea36d855d [2024-09-03T12:03:55.763Z] Step 17/26 : WORKDIR / [2024-09-03T12:03:55.763Z] ---> Running in 7552ccacd511 [2024-09-03T12:03:55.763Z] Removing intermediate container 7552ccacd511 [2024-09-03T12:03:55.763Z] ---> cf796df7d8a0 [2024-09-03T12:03:55.763Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-09-03T12:03:56.022Z] ---> aff27f7b39ce [2024-09-03T12:03:56.022Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-09-03T12:03:56.022Z] ---> c573c9c21ef2 [2024-09-03T12:03:56.022Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-09-03T12:03:57.490Z] ---> efd1933e3ef2 [2024-09-03T12:03:57.490Z] Step 21/26 : EXPOSE 59900 [2024-09-03T12:03:57.490Z] ---> Running in 2d2d3f801873 [2024-09-03T12:03:57.490Z] Removing intermediate container 2d2d3f801873 [2024-09-03T12:03:57.490Z] ---> 82d887aa2f77 [2024-09-03T12:03:57.490Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-09-03T12:03:57.490Z] ---> Running in 8fd6b99723ca [2024-09-03T12:03:57.490Z] Removing intermediate container 8fd6b99723ca [2024-09-03T12:03:57.490Z] ---> 6f434f18b878 [2024-09-03T12:03:57.490Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T12:03:57.490Z] ---> Running in e1dbc77d1615 [2024-09-03T12:03:57.490Z] Removing intermediate container e1dbc77d1615 [2024-09-03T12:03:57.490Z] ---> 94057dd5bd36 [2024-09-03T12:03:57.490Z] Step 24/26 : LABEL arch=amd64 [2024-09-03T12:03:57.490Z] ---> Running in 01729f8dae94 [2024-09-03T12:03:57.490Z] Removing intermediate container 01729f8dae94 [2024-09-03T12:03:57.490Z] ---> e3fb706445d4 [2024-09-03T12:03:57.490Z] Step 25/26 : LABEL git_sha=9bd97b1b2ef36a78fdf720effea29e692056ac11 [2024-09-03T12:03:57.490Z] ---> Running in 259154d35fe4 [2024-09-03T12:03:57.749Z] Removing intermediate container 259154d35fe4 [2024-09-03T12:03:57.749Z] ---> d9d35e67819e [2024-09-03T12:03:57.749Z] Step 26/26 : LABEL version=0.0.0 [2024-09-03T12:03:57.749Z] ---> Running in 0220c046b1df [2024-09-03T12:03:57.749Z] Removing intermediate container 0220c046b1df [2024-09-03T12:03:57.749Z] ---> 1240ca19709a [2024-09-03T12:03:57.749Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T12:03:57.749Z] Successfully built 1240ca19709a [2024-09-03T12:03:57.749Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:03:58.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T12:03:58.793Z] [2024-09-03T12:03:58.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:03:59.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T12:03:59.206Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-03T12:03:59.206Z] 5eb5b503b376: Pulling fs layer [2024-09-03T12:03:59.206Z] 5c69ac0246d0: Pulling fs layer [2024-09-03T12:03:59.206Z] ec43610c2a17: Pulling fs layer [2024-09-03T12:03:59.206Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-03T12:03:59.206Z] 33b1e0a273af: Pulling fs layer [2024-09-03T12:03:59.206Z] 5d3b04190fa2: Pulling fs layer [2024-09-03T12:03:59.206Z] 2f39f015ded8: Pulling fs layer [2024-09-03T12:03:59.206Z] 3a2ae6a8a46f: Waiting [2024-09-03T12:03:59.206Z] 33b1e0a273af: Waiting [2024-09-03T12:03:59.206Z] 5d3b04190fa2: Waiting [2024-09-03T12:03:59.206Z] 2f39f015ded8: Waiting [2024-09-03T12:03:59.206Z] 5c69ac0246d0: Download complete [2024-09-03T12:03:59.206Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-03T12:03:59.206Z] 3a2ae6a8a46f: Download complete [2024-09-03T12:03:59.206Z] 33b1e0a273af: Verifying Checksum [2024-09-03T12:03:59.206Z] 33b1e0a273af: Download complete [2024-09-03T12:03:59.206Z] ec43610c2a17: Verifying Checksum [2024-09-03T12:03:59.206Z] ec43610c2a17: Download complete [2024-09-03T12:03:59.206Z] 5d3b04190fa2: Download complete [2024-09-03T12:03:59.465Z] 5eb5b503b376: Verifying Checksum [2024-09-03T12:03:59.465Z] 5eb5b503b376: Download complete [2024-09-03T12:04:00.030Z] 2f39f015ded8: Download complete [2024-09-03T12:04:00.596Z] 5eb5b503b376: Pull complete [2024-09-03T12:04:00.596Z] 5c69ac0246d0: Pull complete [2024-09-03T12:04:01.161Z] ec43610c2a17: Pull complete [2024-09-03T12:04:01.161Z] 3a2ae6a8a46f: Pull complete [2024-09-03T12:04:01.419Z] 33b1e0a273af: Pull complete [2024-09-03T12:04:01.419Z] 5d3b04190fa2: Pull complete [2024-09-03T12:04:05.603Z] 2f39f015ded8: Pull complete [2024-09-03T12:04:05.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-03T12:04:05.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T12:04:05.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:04:05.853Z] prd-ubuntu20.04-docker-8c-8g-9287 does not seem to be running inside a container [2024-09-03T12:04:05.863Z] d6de4b400683: Pull complete [2024-09-03T12:04:05.863Z] 35cb2a7552d0: Pull complete [2024-09-03T12:04:05.863Z] 4f4fb700ef54: Pull complete [2024-09-03T12:04:05.863Z] 464afbd9ba4c: Pull complete [2024-09-03T12:04:05.888Z] $ 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-487 -v /w/workspace/foundry_device-virtual-go_PR-487:/w/workspace/foundry_device-virtual-go_PR-487:rw,z -v /w/workspace/foundry_device-virtual-go_PR-487@tmp:/w/workspace/foundry_device-virtual-go_PR-487@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 [2024-09-03T12:04:11.116Z] $ docker top b81136636ca2c9d8d8c3003d0d935785a24eda340209a35b6a8bfdf19ef584ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:04:11.626Z] ---> job-cost.sh [2024-09-03T12:04:11.626Z] lf-activate-venv: SKIPPING [2024-09-03T12:04:11.626Z] INFO: No Stack... [2024-09-03T12:04:11.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T12:04:12.146Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T12:04:12.470Z] + cat /w/workspace/foundry_device-virtual-go_PR-487/archives/cost.csv [2024-09-03T12:04:12.470Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T12:04:12.520Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [2024-09-03T12:04:12.526Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] did not exist. Created. [2024-09-03T12:04:12.532Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T12:04:12.950Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-03T12:04:13.007Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T12:04:13.045Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T12:04:13.139Z] $ docker stop --time=1 b81136636ca2c9d8d8c3003d0d935785a24eda340209a35b6a8bfdf19ef584ac [2024-09-03T12:04:14.280Z] $ docker rm -f --volumes b81136636ca2c9d8d8c3003d0d935785a24eda340209a35b6a8bfdf19ef584ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-03T12:04:15.980Z] 00f215d4a9da: Pull complete [2024-09-03T12:04:15.980Z] d496ad576159: Pull complete [2024-09-03T12:04:15.980Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-03T12:04:16.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-03T12:04:16.258Z] ---> f246e2811388 [2024-09-03T12:04:16.258Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-03T12:04:16.848Z] ---> Running in b17bf5963bda [2024-09-03T12:04:17.117Z] Removing intermediate container b17bf5963bda [2024-09-03T12:04:17.117Z] ---> ade6e5eed0a7 [2024-09-03T12:04:17.117Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-03T12:04:17.393Z] ---> Running in 75d096e1003f [2024-09-03T12:04:17.661Z] Removing intermediate container 75d096e1003f [2024-09-03T12:04:17.661Z] ---> 0960c6daa250 [2024-09-03T12:04:17.661Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-03T12:04:17.661Z] ---> Running in 15ead3ccfd4e [2024-09-03T12:04:17.928Z] Removing intermediate container 15ead3ccfd4e [2024-09-03T12:04:17.928Z] ---> e189b128f57e [2024-09-03T12:04:17.928Z] Step 6/12 : WORKDIR /device-virtual-go [2024-09-03T12:04:17.928Z] ---> Running in 5f86177d1428 [2024-09-03T12:04:18.194Z] Removing intermediate container 5f86177d1428 [2024-09-03T12:04:18.194Z] ---> 054c7b675081 [2024-09-03T12:04:18.194Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-03T12:04:18.462Z] ---> Running in e9358c553b55 [2024-09-03T12:04:19.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T12:04:19.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T12:04:20.694Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-03T12:04:20.694Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-03T12:04:20.694Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-03T12:04:20.979Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-03T12:04:20.979Z] Executing busybox-1.36.1-r5.trigger [2024-09-03T12:04:20.979Z] OK: 271 MiB in 56 packages [2024-09-03T12:04:22.961Z] Removing intermediate container e9358c553b55 [2024-09-03T12:04:22.961Z] ---> c590b53c3860 [2024-09-03T12:04:22.961Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-03T12:04:23.232Z] ---> eb69052292f0 [2024-09-03T12:04:23.232Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T12:04:23.232Z] ---> Running in 567a7e291977 [2024-09-03T12:06:14.878Z] Removing intermediate container 567a7e291977 [2024-09-03T12:06:14.878Z] ---> 21b89c41d0ef [2024-09-03T12:06:14.878Z] Step 10/12 : COPY . . [2024-09-03T12:06:14.878Z] ---> 1c1d4ceca7a5 [2024-09-03T12:06:14.878Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-03T12:06:14.878Z] ---> Running in 1f07dc4a090a [2024-09-03T12:06:14.878Z] Removing intermediate container 1f07dc4a090a [2024-09-03T12:06:14.878Z] ---> db96f8d91fd0 [2024-09-03T12:06:14.878Z] Step 12/12 : RUN $MAKE [2024-09-03T12:06:14.878Z] ---> Running in fd021da1a25e [2024-09-03T12:06:14.878Z] noop [2024-09-03T12:06:14.878Z] Removing intermediate container fd021da1a25e [2024-09-03T12:06:14.878Z] ---> 336544920d68 [2024-09-03T12:06:14.878Z] Successfully built 336544920d68 [2024-09-03T12:06:14.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:06:15.429Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T12:06:15.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:06:15.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-9288 does not seem to be running inside a container [2024-09-03T12:06:15.855Z] $ 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 [2024-09-03T12:06:17.102Z] $ docker top b19ab48d81429d25be34908d87b8fd3e01c22a081afde9657297480755edc500 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T12:06:17.999Z] + go version [2024-09-03T12:06:17.999Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-03T12:06:18.043Z] $ docker stop --time=1 b19ab48d81429d25be34908d87b8fd3e01c22a081afde9657297480755edc500 [2024-09-03T12:06:19.656Z] $ docker rm -f --volumes b19ab48d81429d25be34908d87b8fd3e01c22a081afde9657297480755edc500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:06:20.579Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T12:06:20.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:06:20.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-9288 does not seem to be running inside a container [2024-09-03T12:06:20.934Z] $ 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 [2024-09-03T12:06:22.124Z] $ docker top 2955e97aa4325b5735df019a97bc30014a175c69b728e3767770e4d1157d2190 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T12:06:22.736Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-03T12:06:23.421Z] + make test [2024-09-03T12:06:23.421Z] go test ./... -coverprofile=coverage.out [2024-09-03T12:06:30.078Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-09-03T12:09:37.180Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-09-03T12:09:37.180Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.058s coverage: 58.3% of statements [2024-09-03T12:09:37.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-03T12:09:37.760Z] go vet ./... [2024-09-03T12:10:24.623Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T12:10:24.623Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T12:10:24.623Z] ./bin/test-attribution-txt.sh [2024-09-03T12:10:24.623Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-03T12:10:24.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T12:10:24.731Z] $ docker stop --time=1 2955e97aa4325b5735df019a97bc30014a175c69b728e3767770e4d1157d2190 [2024-09-03T12:10:26.581Z] $ docker rm -f --volumes 2955e97aa4325b5735df019a97bc30014a175c69b728e3767770e4d1157d2190 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T12:10:28.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T12:10:28.208Z] Warning: overwriting stash ‘coverage-report’ [2024-09-03T12:10:28.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T12:10:29.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T12:10:29.657Z] + ls -al . [2024-09-03T12:10:29.657Z] total 272 [2024-09-03T12:10:29.657Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 3 12:06 . [2024-09-03T12:10:29.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 12:03 .. [2024-09-03T12:10:29.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 12:03 .git [2024-09-03T12:10:29.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:03 .github [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 3 12:03 .gitignore [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 3 12:03 .golangci.yml [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 17933 Sep 3 12:03 Attribution.txt [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 15941 Sep 3 12:03 CHANGELOG.md [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 1755 Sep 3 12:03 Dockerfile [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 12:03 GOVERNANCE.md [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 3 12:03 Jenkinsfile [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 3 12:03 LICENSE [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 1953 Sep 3 12:03 Makefile [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 3 12:03 OWNERS.md [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 4103 Sep 3 12:03 README.md [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 12:01 VERSION [2024-09-03T12:10:29.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 12:03 bin [2024-09-03T12:10:29.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:03 cmd [2024-09-03T12:10:29.657Z] -rw-r--r-- 1 jenkins jenkins 43247 Sep 3 12:09 coverage.out [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 6923 Sep 3 12:03 go.mod [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 101673 Sep 3 12:03 go.sum [2024-09-03T12:10:29.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 12:03 internal [2024-09-03T12:10:29.657Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 3 12:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:10:30.114Z] + 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=9bd97b1b2ef36a78fdf720effea29e692056ac11 --label arch=arm64 --label version=0.0.0 . [2024-09-03T12:10:30.702Z] Sending build context to Docker daemon 19.04MB [2024-09-03T12:10:30.702Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T12:10:30.702Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-03T12:10:30.702Z] ---> 336544920d68 [2024-09-03T12:10:30.702Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-03T12:10:30.969Z] ---> Running in 978fef58d870 [2024-09-03T12:10:31.235Z] Removing intermediate container 978fef58d870 [2024-09-03T12:10:31.235Z] ---> 5c3a18306fe9 [2024-09-03T12:10:31.235Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-03T12:10:31.235Z] ---> Running in b458f7aefa5d [2024-09-03T12:10:31.505Z] Removing intermediate container b458f7aefa5d [2024-09-03T12:10:31.505Z] ---> 86d86355dfca [2024-09-03T12:10:31.505Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-03T12:10:31.774Z] ---> Running in 57b0b3712b6a [2024-09-03T12:10:32.041Z] Removing intermediate container 57b0b3712b6a [2024-09-03T12:10:32.041Z] ---> 0510eb47a7f2 [2024-09-03T12:10:32.041Z] Step 6/26 : WORKDIR /device-virtual-go [2024-09-03T12:10:32.041Z] ---> Running in 735f226b24c5 [2024-09-03T12:10:32.311Z] Removing intermediate container 735f226b24c5 [2024-09-03T12:10:32.311Z] ---> afc2bd469056 [2024-09-03T12:10:32.311Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-03T12:10:32.311Z] ---> Running in 40df55e713c1 [2024-09-03T12:10:33.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T12:10:33.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T12:10:34.838Z] OK: 271 MiB in 56 packages [2024-09-03T12:10:35.810Z] Removing intermediate container 40df55e713c1 [2024-09-03T12:10:35.810Z] ---> e36cf58bd5ce [2024-09-03T12:10:35.810Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-03T12:10:36.079Z] ---> 84745b1ec131 [2024-09-03T12:10:36.079Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T12:10:36.365Z] ---> Running in 8565ae8f84d9 [2024-09-03T12:10:38.962Z] Removing intermediate container 8565ae8f84d9 [2024-09-03T12:10:38.962Z] ---> 5edfd555fc97 [2024-09-03T12:10:38.962Z] Step 10/26 : COPY . . [2024-09-03T12:10:39.926Z] ---> b118d170d8d2 [2024-09-03T12:10:39.926Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-03T12:10:40.195Z] ---> Running in 02fd6f3fdf2c [2024-09-03T12:10:40.465Z] Removing intermediate container 02fd6f3fdf2c [2024-09-03T12:10:40.465Z] ---> f8885d40e858 [2024-09-03T12:10:40.465Z] Step 12/26 : RUN $MAKE [2024-09-03T12:10:40.465Z] ---> Running in 2b8cf3a8e4b5 [2024-09-03T12:10:41.424Z] 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.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-09-03T12:14:03.226Z] Removing intermediate container 2b8cf3a8e4b5 [2024-09-03T12:14:03.226Z] ---> 8d667f7fdcc0 [2024-09-03T12:14:03.226Z] Step 13/26 : FROM alpine:3.18 [2024-09-03T12:14:03.226Z] 3.18: Pulling from library/alpine [2024-09-03T12:14:03.226Z] 4983c3fe2029: Pulling fs layer [2024-09-03T12:14:03.226Z] 4983c3fe2029: Verifying Checksum [2024-09-03T12:14:03.226Z] 4983c3fe2029: Download complete [2024-09-03T12:14:03.226Z] 4983c3fe2029: Pull complete [2024-09-03T12:14:03.226Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T12:14:03.226Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T12:14:03.226Z] ---> a0237000ae83 [2024-09-03T12:14:03.226Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-09-03T12:14:03.226Z] ---> Running in 973a58bf9b1b [2024-09-03T12:14:03.226Z] Removing intermediate container 973a58bf9b1b [2024-09-03T12:14:03.226Z] ---> 9861e1d5e649 [2024-09-03T12:14:03.226Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-03T12:14:03.226Z] ---> Running in 1f7134a2181d [2024-09-03T12:14:03.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T12:14:03.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T12:14:03.226Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T12:14:03.226Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T12:14:03.226Z] OK: 8 MiB in 16 packages [2024-09-03T12:14:03.226Z] Removing intermediate container 1f7134a2181d [2024-09-03T12:14:03.226Z] ---> 4f0dc49f639a [2024-09-03T12:14:03.226Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-03T12:14:03.226Z] ---> Running in f307a7e9e14b [2024-09-03T12:14:03.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T12:14:03.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T12:14:03.226Z] OK: 8 MiB in 16 packages [2024-09-03T12:14:03.226Z] Removing intermediate container f307a7e9e14b [2024-09-03T12:14:03.226Z] ---> 907423225dbc [2024-09-03T12:14:03.226Z] Step 17/26 : WORKDIR / [2024-09-03T12:14:03.226Z] ---> Running in be1fd239ab0e [2024-09-03T12:14:03.495Z] Removing intermediate container be1fd239ab0e [2024-09-03T12:14:03.495Z] ---> 5aa8c226b797 [2024-09-03T12:14:03.495Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-09-03T12:14:04.080Z] ---> 9be56cec35d7 [2024-09-03T12:14:04.080Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-09-03T12:14:04.683Z] ---> 56848b85ab9c [2024-09-03T12:14:04.683Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-09-03T12:14:06.634Z] ---> 95b14417f2b6 [2024-09-03T12:14:06.634Z] Step 21/26 : EXPOSE 59900 [2024-09-03T12:14:06.634Z] ---> Running in 8206bf29cc75 [2024-09-03T12:14:06.901Z] Removing intermediate container 8206bf29cc75 [2024-09-03T12:14:06.901Z] ---> 695aa9710158 [2024-09-03T12:14:06.901Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-09-03T12:14:06.901Z] ---> Running in d9bcd6c92293 [2024-09-03T12:14:07.168Z] Removing intermediate container d9bcd6c92293 [2024-09-03T12:14:07.168Z] ---> 798f304eef3a [2024-09-03T12:14:07.168Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T12:14:07.168Z] ---> Running in 17197d083cbd [2024-09-03T12:14:07.435Z] Removing intermediate container 17197d083cbd [2024-09-03T12:14:07.435Z] ---> 7fd80754f7c9 [2024-09-03T12:14:07.435Z] Step 24/26 : LABEL arch=arm64 [2024-09-03T12:14:07.703Z] ---> Running in 793bc1e9bc24 [2024-09-03T12:14:07.970Z] Removing intermediate container 793bc1e9bc24 [2024-09-03T12:14:07.970Z] ---> ac3b81c21332 [2024-09-03T12:14:07.970Z] Step 25/26 : LABEL git_sha=9bd97b1b2ef36a78fdf720effea29e692056ac11 [2024-09-03T12:14:07.970Z] ---> Running in a7d5a3936f71 [2024-09-03T12:14:08.237Z] Removing intermediate container a7d5a3936f71 [2024-09-03T12:14:08.237Z] ---> 84dd848ed99e [2024-09-03T12:14:08.237Z] Step 26/26 : LABEL version=0.0.0 [2024-09-03T12:14:08.237Z] ---> Running in c2e2e64a303a [2024-09-03T12:14:08.508Z] Removing intermediate container c2e2e64a303a [2024-09-03T12:14:08.508Z] ---> 2d665f6c19b0 [2024-09-03T12:14:08.508Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T12:14:08.508Z] Successfully built 2d665f6c19b0 [2024-09-03T12:14:08.508Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:14:09.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T12:14:09.489Z] [2024-09-03T12:14:09.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:14:09.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T12:14:09.935Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-03T12:14:09.935Z] 8998bd30e6a1: Pulling fs layer [2024-09-03T12:14:09.935Z] 04944245beec: Pulling fs layer [2024-09-03T12:14:09.935Z] 699f458cf7ca: Pulling fs layer [2024-09-03T12:14:09.935Z] 765212b225bb: Pulling fs layer [2024-09-03T12:14:09.935Z] f23df028b6ca: Pulling fs layer [2024-09-03T12:14:09.935Z] d65c8cfc05b1: Pulling fs layer [2024-09-03T12:14:09.935Z] 2437ff75d9bd: Pulling fs layer [2024-09-03T12:14:09.935Z] f23df028b6ca: Waiting [2024-09-03T12:14:09.935Z] d65c8cfc05b1: Waiting [2024-09-03T12:14:09.935Z] 765212b225bb: Waiting [2024-09-03T12:14:09.935Z] 2437ff75d9bd: Waiting [2024-09-03T12:14:10.204Z] 04944245beec: Verifying Checksum [2024-09-03T12:14:10.204Z] 04944245beec: Download complete [2024-09-03T12:14:10.204Z] 765212b225bb: Verifying Checksum [2024-09-03T12:14:10.204Z] 765212b225bb: Download complete [2024-09-03T12:14:10.204Z] f23df028b6ca: Verifying Checksum [2024-09-03T12:14:10.204Z] d65c8cfc05b1: Verifying Checksum [2024-09-03T12:14:10.204Z] d65c8cfc05b1: Download complete [2024-09-03T12:14:10.204Z] 699f458cf7ca: Verifying Checksum [2024-09-03T12:14:10.471Z] 699f458cf7ca: Download complete [2024-09-03T12:14:10.737Z] 8998bd30e6a1: Verifying Checksum [2024-09-03T12:14:10.737Z] 8998bd30e6a1: Download complete [2024-09-03T12:14:13.337Z] 2437ff75d9bd: Verifying Checksum [2024-09-03T12:14:13.337Z] 2437ff75d9bd: Download complete [2024-09-03T12:14:15.278Z] 8998bd30e6a1: Pull complete [2024-09-03T12:14:15.863Z] 04944245beec: Pull complete [2024-09-03T12:14:17.272Z] 699f458cf7ca: Pull complete [2024-09-03T12:14:17.539Z] 765212b225bb: Pull complete [2024-09-03T12:14:18.500Z] f23df028b6ca: Pull complete [2024-09-03T12:14:18.500Z] d65c8cfc05b1: Pull complete [2024-09-03T12:14:36.704Z] 2437ff75d9bd: Pull complete [2024-09-03T12:14:36.704Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-03T12:14:36.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T12:14:36.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:14:37.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-9288 does not seem to be running inside a container [2024-09-03T12:14:37.131Z] $ 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 [2024-09-03T12:14:39.850Z] $ docker top 57268c7e9ba3d85b70ff6186094994d9f279ae894e907cc253cfa001334a83b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:40.775Z] ---> job-cost.sh [2024-09-03T12:14:40.775Z] lf-activate-venv: SKIPPING [2024-09-03T12:14:40.775Z] INFO: No Stack... [2024-09-03T12:14:41.042Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-03T12:14:42.005Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T12:14:42.697Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-09-03T12:14:42.697Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T12:14:42.758Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [2024-09-03T12:14:42.767Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] did not exist. Created. [2024-09-03T12:14:42.773Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T12:14:43.513Z] /w/workspace/device-virtual-go/1@tmp/durable-8313dd62/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-03T12:14:44.190Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-03T12:14:44.238Z] Warning: overwriting stash ‘stack-cost’ [2024-09-03T12:14:44.310Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T12:14:44.330Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-487-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T12:14:44.434Z] $ docker stop --time=1 57268c7e9ba3d85b70ff6186094994d9f279ae894e907cc253cfa001334a83b9 [2024-09-03T12:14:45.961Z] $ docker rm -f --volumes 57268c7e9ba3d85b70ff6186094994d9f279ae894e907cc253cfa001334a83b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-09-03T12:14:47.262Z] provisioning config files... [2024-09-03T12:14:47.271Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-487@tmp/config16077342088756919877tmp [Pipeline] { [Pipeline] sh [2024-09-03T12:14:47.638Z] + set +x [2024-09-03T12:14:47.638Z] + bash -s -- [2024-09-03T12:14:47.638Z] + curl -s https://codecov.io/bash [2024-09-03T12:14:47.638Z] [2024-09-03T12:14:47.638Z] _____ _ [2024-09-03T12:14:47.638Z] / ____| | | [2024-09-03T12:14:47.638Z] | | ___ __| | ___ ___ _____ __ [2024-09-03T12:14:47.638Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-03T12:14:47.638Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-03T12:14:47.638Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-03T12:14:47.638Z] Bash-1.0.6 [2024-09-03T12:14:47.638Z] [2024-09-03T12:14:47.638Z] [2024-09-03T12:14:47.638Z] ==> git version 2.25.1 found [2024-09-03T12:14:47.638Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-09-03T12:14:47.638Z] Release-Date: 2020-01-08 [2024-09-03T12:14:47.638Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-03T12:14:47.638Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-03T12:14:47.638Z] ==> Jenkins CI detected. [2024-09-03T12:14:47.638Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-487 [2024-09-03T12:14:47.638Z] project root: . [2024-09-03T12:14:47.638Z] --> token set from env [2024-09-03T12:14:47.638Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-03T12:14:47.638Z] ==> Running gcov in . (disable via -X gcov) [2024-09-03T12:14:47.638Z] ==> Python coveragepy not found [2024-09-03T12:14:47.638Z] ==> Searching for coverage reports in: [2024-09-03T12:14:47.638Z] + . [2024-09-03T12:14:47.638Z] -> Found 1 reports [2024-09-03T12:14:47.638Z] ==> Detecting git/mercurial file structure [2024-09-03T12:14:47.638Z] ==> Reading reports [2024-09-03T12:14:47.638Z] + ./coverage.out bytes=43247 [2024-09-03T12:14:47.638Z] ==> Appending adjustments [2024-09-03T12:14:47.638Z] https://docs.codecov.io/docs/fixing-reports [2024-09-03T12:14:47.898Z] + Found adjustments [2024-09-03T12:14:47.898Z] ==> Gzipping contents [2024-09-03T12:14:47.898Z] 8.0K /tmp/codecov.UxT1Fg.gz [2024-09-03T12:14:47.898Z] ==> Uploading reports [2024-09-03T12:14:47.898Z] url: https://codecov.io [2024-09-03T12:14:47.898Z] query: branch=PR-487&commit=9bd97b1b2ef36a78fdf720effea29e692056ac11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-487%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=487&job=&cmd_args= [2024-09-03T12:14:47.898Z] -> Pinging Codecov [2024-09-03T12:14:47.898Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-487&commit=9bd97b1b2ef36a78fdf720effea29e692056ac11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-487%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=487&job=&cmd_args= [2024-09-03T12:14:47.898Z] -> Uploading to [2024-09-03T12:14:47.898Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-03/5E52B4B073DB2E39498172D8E973AA87/9bd97b1b2ef36a78fdf720effea29e692056ac11/bdfdbded-0fb0-44c1-a2da-1196901a1103.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T121447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee62b88fc227b09dd548f3fd6fdd2d475f9e52005f50da8675ab4381f57b8b23 [2024-09-03T12:14:47.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T12:14:47.898Z] Dload Upload Total Spent Left Speed [2024-09-03T12:14:48.158Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20581 --:--:-- --:--:-- --:--:-- 20581 [2024-09-03T12:14:48.159Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9bd97b1b2ef36a78fdf720effea29e692056ac11 [Pipeline] } [2024-09-03T12:14:48.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-03T12:14:50.569Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-487/archives ] [2024-09-03T12:14:50.569Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-487/archives [2024-09-03T12:14:50.569Z] total 16 [2024-09-03T12:14:50.569Z] drwxr-xr-x 3 root root 4096 Sep 3 12:04 . [2024-09-03T12:14:50.569Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 3 12:04 .. [2024-09-03T12:14:50.569Z] drwxr-xr-x 2 root root 4096 Sep 3 12:04 cost [2024-09-03T12:14:50.569Z] -rw-r--r-- 1 root root 89 Sep 3 12:04 cost.csv [2024-09-03T12:14:50.569Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-487/archives [2024-09-03T12:14:50.569Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-487/archives [2024-09-03T12:14:50.569Z] total 16 [2024-09-03T12:14:50.569Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 12:04 . [2024-09-03T12:14:50.569Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 3 12:04 .. [2024-09-03T12:14:50.569Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 12:04 cost [2024-09-03T12:14:50.569Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 3 12:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:50.919Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:51.831Z] ---> package-listing.sh [2024-09-03T12:14:51.832Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-03T12:14:51.832Z] ++ facter osfamily [2024-09-03T12:14:52.090Z] + OS_FAMILY=debian [2024-09-03T12:14:52.091Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-487 [2024-09-03T12:14:52.091Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-03T12:14:52.091Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-03T12:14:52.091Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-03T12:14:52.091Z] + PACKAGES=/tmp/packages_start.txt [2024-09-03T12:14:52.091Z] + '[' /w/workspace/foundry_device-virtual-go_PR-487 ']' [2024-09-03T12:14:52.091Z] + PACKAGES=/tmp/packages_end.txt [2024-09-03T12:14:52.091Z] + case "${OS_FAMILY}" in [2024-09-03T12:14:52.091Z] + dpkg -l [2024-09-03T12:14:52.091Z] + grep '^ii' [2024-09-03T12:14:52.091Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-03T12:14:52.091Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-03T12:14:52.091Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-03T12:14:52.091Z] + '[' /w/workspace/foundry_device-virtual-go_PR-487 ']' [2024-09-03T12:14:52.091Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-487/archives/ [2024-09-03T12:14:52.091Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-487/archives/ [Pipeline] echo [2024-09-03T12:14:52.138Z] 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-487/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-03T12:14:52.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T12:14:53.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T12:14:53.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T12:14:53.280Z] prd-ubuntu20.04-docker-8c-8g-9287 does not seem to be running inside a container [2024-09-03T12:14:53.321Z] $ 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-487/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-487 -v /w/workspace/foundry_device-virtual-go_PR-487:/w/workspace/foundry_device-virtual-go_PR-487:rw,z -v /w/workspace/foundry_device-virtual-go_PR-487@tmp:/w/workspace/foundry_device-virtual-go_PR-487@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T12:14:53.561Z] $ docker top b1e4e1c55f15feac0897aa20efae3fb902eb377d086afba3d0aaf05ddbc473b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T12:14:53.959Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-03T12:14:54.278Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-03T12:14:54.597Z] + ls /var/log/sa-host [2024-09-03T12:14:54.597Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T12:14:54.876Z] provisioning config files... [2024-09-03T12:14:54.886Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-487@tmp/config6152083300162332604tmp [Pipeline] { [Pipeline] echo [2024-09-03T12:14:54.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:55.438Z] ---> create-netrc.sh [Pipeline] } [2024-09-03T12:14:55.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:55.907Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-03T12:14:55.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:56.279Z] ---> sudo-logs.sh [2024-09-03T12:14:56.279Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-03T12:14:56.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:56.725Z] ---> job-cost.sh [2024-09-03T12:14:56.725Z] lf-activate-venv: SKIPPING [2024-09-03T12:14:56.725Z] DEBUG: total: 0.2199999988079071 [2024-09-03T12:14:56.725Z] INFO: Retrieving Stack Cost... [2024-09-03T12:14:57.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T12:14:57.471Z] INFO: Archiving Costs [Pipeline] echo [2024-09-03T12:14:57.513Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T12:14:57.833Z] ---> logs-deploy.sh [2024-09-03T12:14:57.833Z] lf-activate-venv: SKIPPING [2024-09-03T12:14:57.833Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-487/1 [2024-09-03T12:14:57.833Z] INFO: archiving workspace using pattern(s): [2024-09-03T12:14:58.770Z] Archives upload complete. [2024-09-03T12:14:58.770Z] INFO: archiving logs to Nexus