Pull request #494 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a279f98f717bbebfa7be9b7d8176129db5cb6575+ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 (6f4c805cc89b0140c29761ed883fd57a81782cd8) 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-ssh6533411093856767021.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh13411557985002078635.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-494/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-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16191676417339259210.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-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4409258537797002237.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh16905874103243941304.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-494/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-494/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16119542527238854064.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22417 in /w/workspace/foundry_device-virtual-go_PR-494 [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-494 # 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/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 into PR head commit a279f98f717bbebfa7be9b7d8176129db5cb6575 Merge succeeded, producing a279f98f717bbebfa7be9b7d8176129db5cb6575 Checking out Revision a279f98f717bbebfa7be9b7d8176129db5cb6575 (PR-494) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f a279f98f717bbebfa7be9b7d8176129db5cb6575 # 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 ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a279f98f717bbebfa7be9b7d8176129db5cb6575 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-10T11:13:48.692Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-10T11:13:48.938Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-10T11:13:49.073Z] ========================================================= [2024-10-10T11:13:49.073Z] EdgeX Global Pipelines Version Info [2024-10-10T11:13:49.073Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:13:49.834Z] ------------------- [2024-10-10T11:13:49.834Z] stable info: [2024-10-10T11:13:49.834Z] ------------------- [2024-10-10T11:13:49.834Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-10T11:13:49.834Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T11:13:49.834Z] Message: update stable to v1.0.265 [2024-10-10T11:13:50.404Z] ------------------- [2024-10-10T11:13:50.404Z] experimental info: [2024-10-10T11:13:50.404Z] ------------------- [2024-10-10T11:13:50.404Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-10T11:13:50.404Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-10T11:13:50.404Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-10T11:13:50.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-10-10T11:13:50.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-10-10T11:13:50.745Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-10T11:13:50.799Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-10T11:13:50.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-10T11:13:50.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-10T11:13:50.969Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-10T11:13:51.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-10T11:13:51.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-10T11:13:51.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-10T11:13:51.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-10T11:13:51.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-10-10T11:13:51.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-10T11:13:51.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-10T11:13:51.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T11:13:51.486Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T11:13:51.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T11:13:51.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T11:13:51.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-10T11:13:51.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-10T11:13:51.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-10T11:13:51.833Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-10T11:13:51.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-10T11:13:51.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-10T11:13:52.004Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-10T11:13:52.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-10T11:13:52.122Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-10T11:13:52.177Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-494 [Pipeline] echo [2024-10-10T11:13:52.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-494 [Pipeline] echo [2024-10-10T11:13:52.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-494 [Pipeline] echo [2024-10-10T11:13:52.345Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a279f98f717bbebfa7be9b7d8176129db5cb6575 [Pipeline] echo [2024-10-10T11:13:52.399Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a279f98 [Pipeline] echo [2024-10-10T11:13:52.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T11:13:52.605Z] provisioning config files... [2024-10-10T11:13:52.619Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-494@tmp/config1100558571750526467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:13:53.035Z] ---> ****-login.sh [2024-10-10T11:13:53.035Z] nexus3.edgexfoundry.org:10001 [2024-10-10T11:13:53.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:13:53.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:13:53.300Z] Configure a credential helper to remove this warning. See [2024-10-10T11:13:53.300Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:13:53.300Z] [2024-10-10T11:13:53.300Z] Login Succeeded [2024-10-10T11:13:53.300Z] nexus3.edgexfoundry.org:10002 [2024-10-10T11:13:53.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:13:53.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:13:53.561Z] Configure a credential helper to remove this warning. See [2024-10-10T11:13:53.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:13:53.561Z] [2024-10-10T11:13:53.561Z] Login Succeeded [2024-10-10T11:13:53.561Z] nexus3.edgexfoundry.org:10003 [2024-10-10T11:13:53.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:13:53.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:13:53.561Z] Configure a credential helper to remove this warning. See [2024-10-10T11:13:53.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:13:53.561Z] [2024-10-10T11:13:53.561Z] Login Succeeded [2024-10-10T11:13:53.561Z] nexus3.edgexfoundry.org:10004 [2024-10-10T11:13:53.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:13:53.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:13:53.562Z] Configure a credential helper to remove this warning. See [2024-10-10T11:13:53.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:13:53.562Z] [2024-10-10T11:13:53.562Z] Login Succeeded [2024-10-10T11:13:53.562Z] ****.io [2024-10-10T11:13:53.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:13:53.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:13:53.822Z] Configure a credential helper to remove this warning. See [2024-10-10T11:13:53.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:13:53.822Z] [2024-10-10T11:13:53.822Z] Login Succeeded [2024-10-10T11:13:53.822Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T11:13:53.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-10T11:13:54.533Z] + git rev-list -1 --merges a279f98f717bbebfa7be9b7d8176129db5cb6575~1..a279f98f717bbebfa7be9b7d8176129db5cb6575 [Pipeline] echo [2024-10-10T11:13:54.578Z] -----------> git rev-list -1 --merges a279f98f717bbebfa7be9b7d8176129db5cb6575~1..a279f98f717bbebfa7be9b7d8176129db5cb6575 a279f98f717bbebfa7be9b7d8176129db5cb6575 [false] [Pipeline] sh [2024-10-10T11:13:54.900Z] + git log --format=format:%s -1 a279f98f717bbebfa7be9b7d8176129db5cb6575 [Pipeline] echo [2024-10-10T11:13:54.949Z] ========================================================= [2024-10-10T11:13:54.949Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-10T11:13:54.949Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T11:13:55.424Z] + git log --format=format:%s -1 a279f98f717bbebfa7be9b7d8176129db5cb6575 [Pipeline] echo [2024-10-10T11:13:55.461Z] [semverPrep] GIT_COMMIT: a279f98f717bbebfa7be9b7d8176129db5cb6575, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-10T11:13:55.502Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-10T11:13:55.915Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-10T11:13:55.915Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-10T11:13:55.915Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-10T11:13:55.915Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-10T11:13:55.915Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-10T11:13:55.915Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-10T11:13:55.915Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:13:56.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T11:13:56.439Z] [2024-10-10T11:13:56.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:13:56.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T11:13:56.844Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-10T11:13:56.844Z] b85a868b505f: Pulling fs layer [2024-10-10T11:13:56.844Z] e2be974225ed: Pulling fs layer [2024-10-10T11:13:56.844Z] 339a4e72a1f5: Pulling fs layer [2024-10-10T11:13:56.844Z] 988bab9f4d93: Pulling fs layer [2024-10-10T11:13:56.844Z] 1469e6f7b9e6: Pulling fs layer [2024-10-10T11:13:56.844Z] eaf3925da568: Pulling fs layer [2024-10-10T11:13:56.844Z] bab4dde63d76: Pulling fs layer [2024-10-10T11:13:56.844Z] 988bab9f4d93: Waiting [2024-10-10T11:13:56.844Z] 1469e6f7b9e6: Waiting [2024-10-10T11:13:56.844Z] eaf3925da568: Waiting [2024-10-10T11:13:56.844Z] bde34c3a00c8: Pulling fs layer [2024-10-10T11:13:56.844Z] b352a97aabf1: Pulling fs layer [2024-10-10T11:13:56.844Z] bde34c3a00c8: Waiting [2024-10-10T11:13:56.844Z] bab4dde63d76: Waiting [2024-10-10T11:13:56.844Z] 4872d77fe225: Pulling fs layer [2024-10-10T11:13:56.844Z] b352a97aabf1: Waiting [2024-10-10T11:13:56.844Z] 5851b861e8e6: Pulling fs layer [2024-10-10T11:13:56.844Z] 4872d77fe225: Waiting [2024-10-10T11:13:56.844Z] 5851b861e8e6: Waiting [2024-10-10T11:13:56.844Z] e2be974225ed: Download complete [2024-10-10T11:13:56.844Z] 988bab9f4d93: Download complete [2024-10-10T11:13:56.844Z] 1469e6f7b9e6: Verifying Checksum [2024-10-10T11:13:56.844Z] 1469e6f7b9e6: Download complete [2024-10-10T11:13:56.844Z] eaf3925da568: Download complete [2024-10-10T11:13:56.844Z] 339a4e72a1f5: Verifying Checksum [2024-10-10T11:13:56.844Z] 339a4e72a1f5: Download complete [2024-10-10T11:13:57.104Z] bde34c3a00c8: Download complete [2024-10-10T11:13:57.104Z] b352a97aabf1: Download complete [2024-10-10T11:13:57.104Z] 4872d77fe225: Verifying Checksum [2024-10-10T11:13:57.104Z] 4872d77fe225: Download complete [2024-10-10T11:13:57.104Z] 5851b861e8e6: Download complete [2024-10-10T11:13:57.104Z] b85a868b505f: Verifying Checksum [2024-10-10T11:13:57.104Z] b85a868b505f: Download complete [2024-10-10T11:13:57.364Z] bab4dde63d76: Verifying Checksum [2024-10-10T11:13:57.364Z] bab4dde63d76: Download complete [2024-10-10T11:13:58.301Z] b85a868b505f: Pull complete [2024-10-10T11:13:58.561Z] e2be974225ed: Pull complete [2024-10-10T11:13:58.825Z] 339a4e72a1f5: Pull complete [2024-10-10T11:13:58.825Z] 988bab9f4d93: Pull complete [2024-10-10T11:13:59.085Z] 1469e6f7b9e6: Pull complete [2024-10-10T11:13:59.344Z] eaf3925da568: Pull complete [2024-10-10T11:14:01.247Z] bab4dde63d76: Pull complete [2024-10-10T11:14:01.247Z] bde34c3a00c8: Pull complete [2024-10-10T11:14:01.247Z] b352a97aabf1: Pull complete [2024-10-10T11:14:01.247Z] 4872d77fe225: Pull complete [2024-10-10T11:14:01.247Z] 5851b861e8e6: Pull complete [2024-10-10T11:14:01.247Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-10T11:14:01.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T11:14:01.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:14:01.540Z] prd-ubuntu20.04-docker-8c-8g-22417 does not seem to be running inside a container [2024-10-10T11:14:01.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-494 -v /w/workspace/foundry_device-virtual-go_PR-494:/w/workspace/foundry_device-virtual-go_PR-494:rw,z -v /w/workspace/foundry_device-virtual-go_PR-494@tmp:/w/workspace/foundry_device-virtual-go_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-10T11:14:05.117Z] $ docker top aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 -eo pid,comm [2024-10-10T11:14:05.173Z] 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-10-10T11:14:05.173Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-10T11:14:05.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T11:14:05.330Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T11:14:05.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T11:14:05.451Z] $ docker exec aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 ssh-agent [2024-10-10T11:14:05.564Z] SSH_AUTH_SOCK=/tmp/ssh-0Rjm2R50whBv/agent.32 [2024-10-10T11:14:05.564Z] SSH_AGENT_PID=38 [2024-10-10T11:14:05.571Z] Running ssh-add (command line suppressed) [2024-10-10T11:14:05.665Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-494@tmp/private_key_10288391321811499161.key (/w/workspace/foundry_device-virtual-go_PR-494@tmp/private_key_10288391321811499161.key) [2024-10-10T11:14:05.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T11:14:06.031Z] + git tag --points-at HEAD [Pipeline] } [2024-10-10T11:14:06.056Z] $ docker exec --env ******** --env ******** aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 ssh-agent -k [2024-10-10T11:14:06.154Z] unset SSH_AUTH_SOCK; [2024-10-10T11:14:06.154Z] unset SSH_AGENT_PID; [2024-10-10T11:14:06.154Z] echo Agent pid 38 killed; [2024-10-10T11:14:06.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-10T11:14:06.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T11:14:06.278Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T11:14:06.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T11:14:06.393Z] $ docker exec aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 ssh-agent [2024-10-10T11:14:06.510Z] SSH_AUTH_SOCK=/tmp/ssh-AFNrXaitbTja/agent.71 [2024-10-10T11:14:06.510Z] SSH_AGENT_PID=77 [2024-10-10T11:14:06.515Z] Running ssh-add (command line suppressed) [2024-10-10T11:14:06.640Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-494@tmp/private_key_4986593024357892724.key (/w/workspace/foundry_device-virtual-go_PR-494@tmp/private_key_4986593024357892724.key) [2024-10-10T11:14:06.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T11:14:07.018Z] + git semver init [2024-10-10T11:14:07.278Z] 2024-10-10 11:14:07,178 [run_init] DEBUG init version:0.0.0 force:False [2024-10-10T11:14:07.278Z] 2024-10-10 11:14:07,179 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-494/.semver [2024-10-10T11:14:07.278Z] 2024-10-10 11:14:07,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-494/.semver [2024-10-10T11:14:07.278Z] 2024-10-10 11:14:07,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-494/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-494, universal_newlines=False, shell=None, istream=None) [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,071 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-494/.git/info/exclude [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,071 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-494/.semver/PR-494 with force:False [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,071 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-494/.semver/PR-494 [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,076 [execute] INFO git cat-file --batch-check [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-494/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,083 [execute] INFO git cat-file --batch [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-494/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T11:14:09.186Z] 2024-10-10 11:14:09,088 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-494/.semver/PR-494 [2024-10-10T11:14:09.186Z] 0.0.0 [Pipeline] } [2024-10-10T11:14:09.213Z] $ docker exec --env ******** --env ******** aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 ssh-agent -k [2024-10-10T11:14:09.304Z] unset SSH_AUTH_SOCK; [2024-10-10T11:14:09.304Z] unset SSH_AGENT_PID; [2024-10-10T11:14:09.306Z] echo Agent pid 77 killed; [2024-10-10T11:14:09.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-10T11:14:09.778Z] + git semver [Pipeline] } [2024-10-10T11:14:10.065Z] $ docker stop --time=1 aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 [2024-10-10T11:14:11.337Z] $ docker rm -f --volumes aeef022d0afa5868e835497299dda051af5ffd99a01580c7cae763d2cae4f207 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T11:14:11.772Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-10T11:14:12.076Z] Stashed 1 file(s) [Pipeline] echo [2024-10-10T11:14:12.104Z] [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-10-10T11:14:12.870Z] provisioning config files... [2024-10-10T11:14:12.880Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-494@tmp/config7818174210992174279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:14:13.245Z] ---> ****-login.sh [2024-10-10T11:14:13.246Z] nexus3.edgexfoundry.org:10001 [2024-10-10T11:14:13.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:14:13.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:14:13.246Z] Configure a credential helper to remove this warning. See [2024-10-10T11:14:13.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:14:13.246Z] [2024-10-10T11:14:13.246Z] Login Succeeded [2024-10-10T11:14:13.246Z] nexus3.edgexfoundry.org:10002 [2024-10-10T11:14:13.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:14:13.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:14:13.246Z] Configure a credential helper to remove this warning. See [2024-10-10T11:14:13.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:14:13.246Z] [2024-10-10T11:14:13.246Z] Login Succeeded [2024-10-10T11:14:13.246Z] nexus3.edgexfoundry.org:10003 [2024-10-10T11:14:13.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:14:13.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:14:13.505Z] Configure a credential helper to remove this warning. See [2024-10-10T11:14:13.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:14:13.505Z] [2024-10-10T11:14:13.505Z] Login Succeeded [2024-10-10T11:14:13.505Z] nexus3.edgexfoundry.org:10004 [2024-10-10T11:14:13.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:14:13.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:14:13.505Z] Configure a credential helper to remove this warning. See [2024-10-10T11:14:13.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:14:13.505Z] [2024-10-10T11:14:13.505Z] Login Succeeded [2024-10-10T11:14:13.505Z] ****.io [2024-10-10T11:14:13.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:14:13.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:14:13.765Z] Configure a credential helper to remove this warning. See [2024-10-10T11:14:13.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:14:13.765Z] [2024-10-10T11:14:13.765Z] Login Succeeded [2024-10-10T11:14:13.765Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T11:14:13.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T11:14:14.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T11:14:14.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T11:14:14.140Z] ========================================================= [2024-10-10T11:14:14.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-10T11:14:14.140Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:14:14.666Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-10T11:14:14.666Z] Sending build context to Docker daemon 37.64MB [2024-10-10T11:14:14.666Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T11:14:14.666Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-10T11:14:14.925Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-10T11:14:14.925Z] 43c4264eed91: Pulling fs layer [2024-10-10T11:14:14.925Z] 4cc291be95ef: Pulling fs layer [2024-10-10T11:14:14.925Z] 2ac1f1163629: Pulling fs layer [2024-10-10T11:14:14.925Z] 5c3c966382ef: Pulling fs layer [2024-10-10T11:14:14.925Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T11:14:14.925Z] 5d5c8e513c77: Pulling fs layer [2024-10-10T11:14:14.925Z] 9f66e0745190: Pulling fs layer [2024-10-10T11:14:14.925Z] f49a43e4bbc0: Pulling fs layer [2024-10-10T11:14:14.925Z] 561ebcabdf7f: Pulling fs layer [2024-10-10T11:14:14.925Z] 5c3c966382ef: Waiting [2024-10-10T11:14:14.925Z] 4f4fb700ef54: Waiting [2024-10-10T11:14:14.925Z] 5d5c8e513c77: Waiting [2024-10-10T11:14:14.925Z] 9f66e0745190: Waiting [2024-10-10T11:14:14.925Z] f49a43e4bbc0: Waiting [2024-10-10T11:14:14.925Z] 561ebcabdf7f: Waiting [2024-10-10T11:14:14.925Z] 4cc291be95ef: Download complete [2024-10-10T11:14:14.925Z] 5c3c966382ef: Verifying Checksum [2024-10-10T11:14:14.925Z] 5c3c966382ef: Download complete [2024-10-10T11:14:14.925Z] 4f4fb700ef54: Verifying Checksum [2024-10-10T11:14:14.925Z] 4f4fb700ef54: Download complete [2024-10-10T11:14:14.925Z] 5d5c8e513c77: Verifying Checksum [2024-10-10T11:14:14.925Z] 5d5c8e513c77: Download complete [2024-10-10T11:14:14.925Z] 43c4264eed91: Download complete [2024-10-10T11:14:14.925Z] 9f66e0745190: Verifying Checksum [2024-10-10T11:14:14.925Z] 9f66e0745190: Download complete [2024-10-10T11:14:15.185Z] 43c4264eed91: Pull complete [2024-10-10T11:14:15.185Z] 561ebcabdf7f: Verifying Checksum [2024-10-10T11:14:15.185Z] 561ebcabdf7f: Download complete [2024-10-10T11:14:15.185Z] 4cc291be95ef: Pull complete [2024-10-10T11:14:15.444Z] 2ac1f1163629: Download complete [2024-10-10T11:14:15.702Z] f49a43e4bbc0: Verifying Checksum [2024-10-10T11:14:15.702Z] f49a43e4bbc0: Download complete [2024-10-10T11:14:18.984Z] 2ac1f1163629: Pull complete [2024-10-10T11:14:18.984Z] 5c3c966382ef: Pull complete [2024-10-10T11:14:18.984Z] 4f4fb700ef54: Pull complete [2024-10-10T11:14:18.984Z] 5d5c8e513c77: Pull complete [2024-10-10T11:14:18.984Z] 9f66e0745190: Pull complete [2024-10-10T11:14:21.516Z] f49a43e4bbc0: Pull complete [2024-10-10T11:14:21.516Z] 561ebcabdf7f: Pull complete [2024-10-10T11:14:21.516Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-10T11:14:21.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-10T11:14:21.516Z] ---> 3a752c3f9dda [2024-10-10T11:14:21.516Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T11:14:26.795Z] ---> Running in af8359ca5147 [2024-10-10T11:14:27.055Z] Removing intermediate container af8359ca5147 [2024-10-10T11:14:27.055Z] ---> 2ba37fbde245 [2024-10-10T11:14:27.055Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T11:14:27.055Z] ---> Running in a8ff19542e86 [2024-10-10T11:14:27.055Z] Removing intermediate container a8ff19542e86 [2024-10-10T11:14:27.055Z] ---> 28eb8fac9703 [2024-10-10T11:14:27.055Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-10T11:14:27.055Z] ---> Running in 5528af0109f2 [2024-10-10T11:14:27.055Z] Removing intermediate container 5528af0109f2 [2024-10-10T11:14:27.055Z] ---> 5c1e7339f246 [2024-10-10T11:14:27.055Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-10T11:14:27.055Z] ---> Running in 37f00473531e [2024-10-10T11:14:27.314Z] Removing intermediate container 37f00473531e [2024-10-10T11:14:27.314Z] ---> 6f9d76d88d9a [2024-10-10T11:14:27.314Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T11:14:27.314Z] ---> Running in 388cdab61b72 [2024-10-10T11:14:27.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T11:14:27.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T11:14:27.638Z] Still waiting to schedule task [2024-10-10T11:14:27.638Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-10T11:14:27.835Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T11:14:27.835Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-10T11:14:27.835Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T11:14:27.835Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T11:14:27.835Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:14:27.835Z] OK: 250 MiB in 58 packages [2024-10-10T11:14:28.404Z] Removing intermediate container 388cdab61b72 [2024-10-10T11:14:28.404Z] ---> 646c886a03df [2024-10-10T11:14:28.404Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-10T11:14:28.404Z] ---> 5097456c0c85 [2024-10-10T11:14:28.404Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T11:14:28.404Z] ---> Running in 2c68b8ba6a92 [2024-10-10T11:15:24.676Z] Removing intermediate container 2c68b8ba6a92 [2024-10-10T11:15:24.676Z] ---> 4f97781341b2 [2024-10-10T11:15:24.676Z] Step 10/12 : COPY . . [2024-10-10T11:15:24.676Z] ---> e25229f714e2 [2024-10-10T11:15:24.676Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T11:15:24.676Z] ---> Running in 624afca4d0ad [2024-10-10T11:15:24.676Z] Removing intermediate container 624afca4d0ad [2024-10-10T11:15:24.676Z] ---> 07529d51251e [2024-10-10T11:15:24.676Z] Step 12/12 : RUN $MAKE [2024-10-10T11:15:24.676Z] ---> Running in e4dc6ac05cb6 [2024-10-10T11:15:24.676Z] noop [2024-10-10T11:15:24.676Z] Removing intermediate container e4dc6ac05cb6 [2024-10-10T11:15:24.676Z] ---> d5b8da52fd2c [2024-10-10T11:15:24.676Z] Successfully built d5b8da52fd2c [2024-10-10T11:15:24.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:15:25.166Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T11:15:25.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:15:25.334Z] prd-ubuntu20.04-docker-8c-8g-22417 does not seem to be running inside a container [2024-10-10T11:15:25.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-494 -v /w/workspace/foundry_device-virtual-go_PR-494:/w/workspace/foundry_device-virtual-go_PR-494:rw,z -v /w/workspace/foundry_device-virtual-go_PR-494@tmp:/w/workspace/foundry_device-virtual-go_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T11:15:25.658Z] $ docker top 58f218a8446a8652b7d2143889086c78b0608052b0d2140f98f625cea9269222 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T11:15:26.077Z] + go version [2024-10-10T11:15:26.077Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-10T11:15:26.120Z] $ docker stop --time=1 58f218a8446a8652b7d2143889086c78b0608052b0d2140f98f625cea9269222 [2024-10-10T11:15:27.371Z] $ docker rm -f --volumes 58f218a8446a8652b7d2143889086c78b0608052b0d2140f98f625cea9269222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:15:28.172Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T11:15:28.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:15:28.347Z] prd-ubuntu20.04-docker-8c-8g-22417 does not seem to be running inside a container [2024-10-10T11:15:28.376Z] $ 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-494 -v /w/workspace/foundry_device-virtual-go_PR-494:/w/workspace/foundry_device-virtual-go_PR-494:rw,z -v /w/workspace/foundry_device-virtual-go_PR-494@tmp:/w/workspace/foundry_device-virtual-go_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T11:15:28.682Z] $ docker top ab05a950560c6067b0aec21f2b75c2430d90bfbfd8482dd5d30b1a8fd8dad702 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T11:15:29.102Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-494 [Pipeline] fileExists [Pipeline] sh [2024-10-10T11:15:29.484Z] + make test [2024-10-10T11:15:29.484Z] go test ./... -coverprofile=coverage.out [2024-10-10T11:15:31.387Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-10T11:15:49.464Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-10T11:15:49.464Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements [2024-10-10T11:15:57.571Z] go vet ./... [2024-10-10T11:16:04.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T11:16:04.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T11:16:04.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T11:16:04.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T11:16:04.217Z] $ docker stop --time=1 ab05a950560c6067b0aec21f2b75c2430d90bfbfd8482dd5d30b1a8fd8dad702 [2024-10-10T11:16:08.253Z] $ docker rm -f --volumes ab05a950560c6067b0aec21f2b75c2430d90bfbfd8482dd5d30b1a8fd8dad702 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T11:16:08.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T11:16:08.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-10T11:16:09.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T11:16:09.972Z] + ls -al . [2024-10-10T11:16:09.972Z] total 276 [2024-10-10T11:16:09.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:15 . [2024-10-10T11:16:09.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:13 .. [2024-10-10T11:16:09.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:15 .git [2024-10-10T11:16:09.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:13 .github [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 10 11:13 .gitignore [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 11:13 .golangci.yml [2024-10-10T11:16:09.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:14 .semver [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 10 11:13 Attribution.txt [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 10 11:13 CHANGELOG.md [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 10 11:13 Dockerfile [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:13 GOVERNANCE.md [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:13 Jenkinsfile [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:13 LICENSE [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 10 11:13 Makefile [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:13 OWNERS.md [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 10 11:13 README.md [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:14 VERSION [2024-10-10T11:16:09.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:13 bin [2024-10-10T11:16:09.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:13 cmd [2024-10-10T11:16:09.972Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 10 11:15 coverage.out [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 10 11:13 go.mod [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 10 11:13 go.sum [2024-10-10T11:16:09.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:13 internal [2024-10-10T11:16:09.972Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:16:10.395Z] + 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=a279f98f717bbebfa7be9b7d8176129db5cb6575 --label arch=amd64 --label version=0.0.0 . [2024-10-10T11:16:10.395Z] Sending build context to Docker daemon 37.69MB [2024-10-10T11:16:10.395Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T11:16:10.395Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-10T11:16:10.395Z] ---> d5b8da52fd2c [2024-10-10T11:16:10.395Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T11:16:10.964Z] ---> Running in 36e4e9deb98b [2024-10-10T11:16:10.964Z] Removing intermediate container 36e4e9deb98b [2024-10-10T11:16:10.964Z] ---> b0fb3176cd3e [2024-10-10T11:16:10.964Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T11:16:10.964Z] ---> Running in 6fb8702d1402 [2024-10-10T11:16:10.964Z] Removing intermediate container 6fb8702d1402 [2024-10-10T11:16:10.964Z] ---> fe0fef7b9b19 [2024-10-10T11:16:10.964Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-10T11:16:10.964Z] ---> Running in eeda52f0d357 [2024-10-10T11:16:11.223Z] Removing intermediate container eeda52f0d357 [2024-10-10T11:16:11.223Z] ---> 2bab547e727b [2024-10-10T11:16:11.223Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-10T11:16:11.223Z] ---> Running in e8a0c3f1d95f [2024-10-10T11:16:11.223Z] Removing intermediate container e8a0c3f1d95f [2024-10-10T11:16:11.223Z] ---> fbbdefdf0ed6 [2024-10-10T11:16:11.223Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T11:16:11.223Z] ---> Running in bea8d229ee45 [2024-10-10T11:16:11.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:11.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:11.888Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22418 in /w/workspace/foundry_device-virtual-go_PR-494 [Pipeline] { [Pipeline] ws [2024-10-10T11:16:11.967Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2024-10-10T11:16:12.001Z] OK: 250 MiB in 58 packages [Pipeline] checkout [2024-10-10T11:16:12.264Z] Removing intermediate container bea8d229ee45 [2024-10-10T11:16:12.264Z] ---> 6ea01612fd68 [2024-10-10T11:16:12.264Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-10T11:16:12.523Z] ---> 59636f4cd3e9 [2024-10-10T11:16:12.523Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T11:16:12.523Z] ---> Running in 07601b2ae5ce [2024-10-10T11:16:13.089Z] Removing intermediate container 07601b2ae5ce [2024-10-10T11:16:13.089Z] ---> b7c79dd90184 [2024-10-10T11:16:13.089Z] Step 10/26 : COPY . . [2024-10-10T11:16:14.022Z] ---> 683140ecebb4 [2024-10-10T11:16:14.022Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T11:16:14.022Z] ---> Running in a32953907109 [2024-10-10T11:16:14.283Z] Removing intermediate container a32953907109 [2024-10-10T11:16:14.283Z] ---> 8793d7eefef1 [2024-10-10T11:16:14.283Z] Step 12/26 : RUN $MAKE [2024-10-10T11:16:14.283Z] ---> Running in 9734d9d78e91 [2024-10-10T11:16:14.542Z] 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.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-10T11:16:15.089Z] The recommended git tool is: git [2024-10-10T11:16:19.332Z] using credential edgex-jenkins-ssh [2024-10-10T11:16:19.352Z] Cloning the remote Git repository [2024-10-10T11:16:19.387Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-10-10T11:16:19.471Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-10-10T11:16:19.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-10T11:16:19.611Z] > git --version # timeout=10 [2024-10-10T11:16:19.629Z] > git --version # 'git version 2.25.1' [2024-10-10T11:16:19.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T11:16:19.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T11:16:23.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-10T11:16:23.188Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T11:16:24.541Z] Merging remotes/origin/main commit ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 into PR head commit a279f98f717bbebfa7be9b7d8176129db5cb6575 [2024-10-10T11:16:24.847Z] Merge succeeded, producing a279f98f717bbebfa7be9b7d8176129db5cb6575 [2024-10-10T11:16:24.848Z] Checking out Revision a279f98f717bbebfa7be9b7d8176129db5cb6575 (PR-494) [2024-10-10T11:16:23.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-10-10T11:16:24.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-10-10T11:16:24.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T11:16:24.041Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-10T11:16:24.558Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T11:16:24.661Z] > git checkout -f a279f98f717bbebfa7be9b7d8176129db5cb6575 # timeout=10 [2024-10-10T11:16:24.748Z] > git remote # timeout=10 [2024-10-10T11:16:24.765Z] > git config --get remote.origin.url # timeout=10 [2024-10-10T11:16:24.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T11:16:24.806Z] > git merge ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 # timeout=10 [2024-10-10T11:16:24.831Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-10T11:16:24.852Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T11:16:24.866Z] > git checkout -f a279f98f717bbebfa7be9b7d8176129db5cb6575 # timeout=10 [2024-10-10T11:16:25.366Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-10T11:16:25.405Z] > git --version # timeout=10 [2024-10-10T11:16:25.419Z] > git --version # 'git version 2.25.1' [2024-10-10T11:16:25.437Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T11:16:30.288Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-10T11:16:30.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T11:16:30.288Z] Dload Upload Total Spent Left Speed [2024-10-10T11:16:30.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 88468 0 --:--:-- --:--:-- --:--:-- 88468 [Pipeline] sh [2024-10-10T11:16:30.637Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-10T11:16:30.990Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-10T11:16:30.991Z] + sudo tee /etc/docker/daemon.new [2024-10-10T11:16:30.991Z] { [2024-10-10T11:16:30.991Z] "registry-mirrors": [ [2024-10-10T11:16:30.991Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-10T11:16:30.991Z] ], [2024-10-10T11:16:30.991Z] "bip": "10.250.0.254/24", [2024-10-10T11:16:30.991Z] "hosts": [ [2024-10-10T11:16:30.991Z] "tcp://0.0.0.0:5555", [2024-10-10T11:16:30.991Z] "unix:///var/run/docker.sock" [2024-10-10T11:16:30.991Z] ], [2024-10-10T11:16:30.991Z] "mtu": 1458, [2024-10-10T11:16:30.991Z] "selinux-enabled": true, [2024-10-10T11:16:30.991Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-10T11:16:30.991Z] } [Pipeline] sh [2024-10-10T11:16:31.347Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-10T11:16:31.703Z] + sudo service docker restart [2024-10-10T11:16:46.616Z] Removing intermediate container 9734d9d78e91 [2024-10-10T11:16:46.617Z] ---> 776ed0aed821 [2024-10-10T11:16:46.617Z] Step 13/26 : FROM alpine:3.20 [2024-10-10T11:16:46.617Z] 3.20: Pulling from library/alpine [2024-10-10T11:16:46.617Z] 43c4264eed91: Already exists [2024-10-10T11:16:46.617Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T11:16:46.617Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T11:16:46.617Z] ---> 91ef0af61f39 [2024-10-10T11:16:46.617Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-10T11:16:46.617Z] ---> Running in 270de77b9f5a [2024-10-10T11:16:46.617Z] Removing intermediate container 270de77b9f5a [2024-10-10T11:16:46.617Z] ---> 3260c0d6cf98 [2024-10-10T11:16:46.617Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-10T11:16:46.617Z] ---> Running in cbdc6eef73e7 [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.617Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T11:16:46.617Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:16:46.617Z] OK: 8 MiB in 15 packages [2024-10-10T11:16:46.617Z] Removing intermediate container cbdc6eef73e7 [2024-10-10T11:16:46.617Z] ---> d1d3ae56c73e [2024-10-10T11:16:46.617Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-10T11:16:46.617Z] ---> Running in e5103b6fc0c7 [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.617Z] Upgrading critical system libraries and apk-tools: [2024-10-10T11:16:46.617Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T11:16:46.617Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:16:46.617Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T11:16:46.876Z] OK: 8 MiB in 15 packages [2024-10-10T11:16:47.136Z] Removing intermediate container e5103b6fc0c7 [2024-10-10T11:16:47.136Z] ---> ece729f070ed [2024-10-10T11:16:47.136Z] Step 17/26 : WORKDIR / [2024-10-10T11:16:47.136Z] ---> Running in 058710c5497a [2024-10-10T11:16:47.397Z] Removing intermediate container 058710c5497a [2024-10-10T11:16:47.397Z] ---> aa2ce72969fc [2024-10-10T11:16:47.397Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-10T11:16:47.397Z] ---> 42af31f5cfb9 [2024-10-10T11:16:47.397Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-10T11:16:47.662Z] ---> 56124b63ed72 [2024-10-10T11:16:47.662Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-10T11:16:48.601Z] ---> 22bd3949a0bc [2024-10-10T11:16:48.601Z] Step 21/26 : EXPOSE 59900 [2024-10-10T11:16:48.601Z] ---> Running in f74ba633d58f [2024-10-10T11:16:48.601Z] Removing intermediate container f74ba633d58f [2024-10-10T11:16:48.601Z] ---> fc56e32f4813 [2024-10-10T11:16:48.601Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-10T11:16:48.601Z] ---> Running in 5fd3b2a077b4 [2024-10-10T11:16:48.601Z] Removing intermediate container 5fd3b2a077b4 [2024-10-10T11:16:48.601Z] ---> dece1b17be2d [2024-10-10T11:16:48.601Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-10T11:16:48.859Z] ---> Running in 7116cc64e814 [2024-10-10T11:16:48.859Z] Removing intermediate container 7116cc64e814 [2024-10-10T11:16:48.859Z] ---> c1e9750cb9b3 [2024-10-10T11:16:48.859Z] Step 24/26 : LABEL arch=amd64 [2024-10-10T11:16:48.859Z] ---> Running in 967d696f087e [2024-10-10T11:16:48.859Z] Removing intermediate container 967d696f087e [2024-10-10T11:16:48.859Z] ---> 3113d64447e6 [2024-10-10T11:16:48.859Z] Step 25/26 : LABEL git_sha=a279f98f717bbebfa7be9b7d8176129db5cb6575 [2024-10-10T11:16:48.859Z] ---> Running in 8c3faaf702dc [2024-10-10T11:16:49.118Z] Removing intermediate container 8c3faaf702dc [2024-10-10T11:16:49.118Z] ---> 72b0e73a64ea [2024-10-10T11:16:49.118Z] Step 26/26 : LABEL version=0.0.0 [2024-10-10T11:16:49.118Z] ---> Running in b728364e5bf9 [2024-10-10T11:16:49.118Z] Removing intermediate container b728364e5bf9 [2024-10-10T11:16:49.118Z] ---> 2381cd92aa10 [2024-10-10T11:16:49.118Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T11:16:49.118Z] Successfully built 2381cd92aa10 [2024-10-10T11:16:49.118Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T11:16:50.050Z] provisioning config files... [2024-10-10T11:16:50.082Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config14862905949978293410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:16:50.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T11:16:50.172Z] [2024-10-10T11:16:50.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:16:50.581Z] ---> ****-login.sh [2024-10-10T11:16:50.581Z] nexus3.edgexfoundry.org:10001 [2024-10-10T11:16:50.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T11:16:50.771Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-10T11:16:50.771Z] 5eb5b503b376: Pulling fs layer [2024-10-10T11:16:50.771Z] 5c69ac0246d0: Pulling fs layer [2024-10-10T11:16:50.771Z] ec43610c2a17: Pulling fs layer [2024-10-10T11:16:50.771Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-10T11:16:50.771Z] 33b1e0a273af: Pulling fs layer [2024-10-10T11:16:50.771Z] 5d3b04190fa2: Pulling fs layer [2024-10-10T11:16:50.771Z] 2f39f015ded8: Pulling fs layer [2024-10-10T11:16:50.771Z] 33b1e0a273af: Waiting [2024-10-10T11:16:50.771Z] 5c69ac0246d0: Verifying Checksum [2024-10-10T11:16:50.771Z] 5c69ac0246d0: Download complete [2024-10-10T11:16:50.771Z] 3a2ae6a8a46f: Download complete [2024-10-10T11:16:50.771Z] 33b1e0a273af: Verifying Checksum [2024-10-10T11:16:50.771Z] 33b1e0a273af: Download complete [2024-10-10T11:16:50.771Z] 5d3b04190fa2: Verifying Checksum [2024-10-10T11:16:50.771Z] 5d3b04190fa2: Download complete [2024-10-10T11:16:50.771Z] ec43610c2a17: Verifying Checksum [2024-10-10T11:16:50.771Z] ec43610c2a17: Download complete [2024-10-10T11:16:50.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:16:51.028Z] 5eb5b503b376: Verifying Checksum [2024-10-10T11:16:51.028Z] 5eb5b503b376: Download complete [2024-10-10T11:16:51.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:16:51.115Z] Configure a credential helper to remove this warning. See [2024-10-10T11:16:51.115Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:16:51.115Z] [2024-10-10T11:16:51.115Z] Login Succeeded [2024-10-10T11:16:51.115Z] nexus3.edgexfoundry.org:10002 [2024-10-10T11:16:51.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:16:51.596Z] 2f39f015ded8: Verifying Checksum [2024-10-10T11:16:51.596Z] 2f39f015ded8: Download complete [2024-10-10T11:16:51.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:16:51.655Z] Configure a credential helper to remove this warning. See [2024-10-10T11:16:51.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:16:51.655Z] [2024-10-10T11:16:51.655Z] Login Succeeded [2024-10-10T11:16:51.655Z] nexus3.edgexfoundry.org:10003 [2024-10-10T11:16:51.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:16:51.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:16:51.928Z] Configure a credential helper to remove this warning. See [2024-10-10T11:16:51.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:16:51.928Z] [2024-10-10T11:16:51.928Z] Login Succeeded [2024-10-10T11:16:51.928Z] nexus3.edgexfoundry.org:10004 [2024-10-10T11:16:52.165Z] 5eb5b503b376: Pull complete [2024-10-10T11:16:52.165Z] 5c69ac0246d0: Pull complete [2024-10-10T11:16:52.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:16:52.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:16:52.470Z] Configure a credential helper to remove this warning. See [2024-10-10T11:16:52.470Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:16:52.470Z] [2024-10-10T11:16:52.470Z] Login Succeeded [2024-10-10T11:16:52.470Z] ****.io [2024-10-10T11:16:52.733Z] ec43610c2a17: Pull complete [2024-10-10T11:16:52.733Z] 3a2ae6a8a46f: Pull complete [2024-10-10T11:16:52.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T11:16:52.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T11:16:52.742Z] Configure a credential helper to remove this warning. See [2024-10-10T11:16:52.742Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T11:16:52.742Z] [2024-10-10T11:16:52.742Z] Login Succeeded [2024-10-10T11:16:52.992Z] 33b1e0a273af: Pull complete [2024-10-10T11:16:52.992Z] 5d3b04190fa2: Pull complete [2024-10-10T11:16:53.014Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T11:16:53.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T11:16:53.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T11:16:53.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T11:16:53.595Z] ========================================================= [2024-10-10T11:16:53.595Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-10T11:16:53.595Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:16:54.158Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-10T11:16:54.746Z] Sending build context to Docker daemon 19.01MB [2024-10-10T11:16:54.746Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T11:16:54.746Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-10T11:16:54.746Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-10T11:16:54.746Z] cf04c63912e1: Pulling fs layer [2024-10-10T11:16:54.746Z] 55b35a11ae5e: Pulling fs layer [2024-10-10T11:16:54.746Z] a37a00ec5f00: Pulling fs layer [2024-10-10T11:16:54.746Z] 50b3750afda1: Pulling fs layer [2024-10-10T11:16:54.746Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T11:16:54.746Z] 80978eb59214: Pulling fs layer [2024-10-10T11:16:54.746Z] c9f46d7d2bd2: Pulling fs layer [2024-10-10T11:16:54.746Z] c5a475d317c9: Pulling fs layer [2024-10-10T11:16:54.746Z] 50b3750afda1: Waiting [2024-10-10T11:16:54.746Z] 4f4fb700ef54: Waiting [2024-10-10T11:16:54.746Z] 80978eb59214: Waiting [2024-10-10T11:16:54.746Z] c9f46d7d2bd2: Waiting [2024-10-10T11:16:54.746Z] c5a475d317c9: Waiting [2024-10-10T11:16:55.018Z] 55b35a11ae5e: Verifying Checksum [2024-10-10T11:16:55.018Z] 55b35a11ae5e: Download complete [2024-10-10T11:16:55.018Z] 50b3750afda1: Verifying Checksum [2024-10-10T11:16:55.018Z] 50b3750afda1: Download complete [2024-10-10T11:16:55.018Z] 4f4fb700ef54: Verifying Checksum [2024-10-10T11:16:55.018Z] 4f4fb700ef54: Download complete [2024-10-10T11:16:55.018Z] 80978eb59214: Verifying Checksum [2024-10-10T11:16:55.018Z] 80978eb59214: Download complete [2024-10-10T11:16:55.018Z] cf04c63912e1: Verifying Checksum [2024-10-10T11:16:55.018Z] cf04c63912e1: Download complete [2024-10-10T11:16:55.298Z] c5a475d317c9: Verifying Checksum [2024-10-10T11:16:55.298Z] c5a475d317c9: Download complete [2024-10-10T11:16:55.888Z] cf04c63912e1: Pull complete [2024-10-10T11:16:56.481Z] 55b35a11ae5e: Pull complete [2024-10-10T11:16:57.073Z] a37a00ec5f00: Download complete [2024-10-10T11:16:57.182Z] 2f39f015ded8: Pull complete [2024-10-10T11:16:57.182Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-10T11:16:57.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T11:16:57.182Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:16:57.482Z] prd-ubuntu20.04-docker-8c-8g-22417 does not seem to be running inside a container [2024-10-10T11:16:57.509Z] $ 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-494 -v /w/workspace/foundry_device-virtual-go_PR-494:/w/workspace/foundry_device-virtual-go_PR-494:rw,z -v /w/workspace/foundry_device-virtual-go_PR-494@tmp:/w/workspace/foundry_device-virtual-go_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-10T11:16:57.659Z] c9f46d7d2bd2: Verifying Checksum [2024-10-10T11:16:57.659Z] c9f46d7d2bd2: Download complete [2024-10-10T11:17:02.384Z] $ docker top 320c341d7059a175403ebf014f0304a191cf3a817ce36235ca74fc335de664d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:17:02.912Z] ---> job-cost.sh [2024-10-10T11:17:02.912Z] lf-activate-venv: SKIPPING [2024-10-10T11:17:02.912Z] INFO: No Stack... [2024-10-10T11:17:03.483Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T11:17:03.742Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T11:17:04.066Z] + cat /w/workspace/foundry_device-virtual-go_PR-494/archives/cost.csv [2024-10-10T11:17:04.066Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T11:17:04.120Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [2024-10-10T11:17:04.126Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] did not exist. Created. [2024-10-10T11:17:04.134Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T11:17:04.564Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-10T11:17:04.622Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T11:17:04.669Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T11:17:04.766Z] $ docker stop --time=1 320c341d7059a175403ebf014f0304a191cf3a817ce36235ca74fc335de664d4 [2024-10-10T11:17:05.913Z] $ docker rm -f --volumes 320c341d7059a175403ebf014f0304a191cf3a817ce36235ca74fc335de664d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-10T11:17:12.667Z] a37a00ec5f00: Pull complete [2024-10-10T11:17:12.668Z] 50b3750afda1: Pull complete [2024-10-10T11:17:12.668Z] 4f4fb700ef54: Pull complete [2024-10-10T11:17:12.668Z] 80978eb59214: Pull complete [2024-10-10T11:17:19.322Z] c9f46d7d2bd2: Pull complete [2024-10-10T11:17:20.290Z] c5a475d317c9: Pull complete [2024-10-10T11:17:20.290Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-10T11:17:20.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-10T11:17:20.290Z] ---> be29e6b0f0d4 [2024-10-10T11:17:20.290Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T11:17:22.223Z] ---> Running in 95d46e15acdf [2024-10-10T11:17:22.223Z] Removing intermediate container 95d46e15acdf [2024-10-10T11:17:22.223Z] ---> 389d929fefcb [2024-10-10T11:17:22.223Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T11:17:22.223Z] ---> Running in 0ba144c39b00 [2024-10-10T11:17:22.488Z] Removing intermediate container 0ba144c39b00 [2024-10-10T11:17:22.488Z] ---> acf1c9df94bb [2024-10-10T11:17:22.488Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-10T11:17:22.488Z] ---> Running in 21335182484e [2024-10-10T11:17:22.760Z] Removing intermediate container 21335182484e [2024-10-10T11:17:22.760Z] ---> 44f7c25b8ce3 [2024-10-10T11:17:22.760Z] Step 6/12 : WORKDIR /device-virtual-go [2024-10-10T11:17:23.030Z] ---> Running in bf5bf7fda09e [2024-10-10T11:17:23.299Z] Removing intermediate container bf5bf7fda09e [2024-10-10T11:17:23.299Z] ---> 4531937ff8c1 [2024-10-10T11:17:23.299Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T11:17:23.299Z] ---> Running in 5863e2f2ccc3 [2024-10-10T11:17:24.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T11:17:24.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T11:17:26.125Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T11:17:26.125Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-10T11:17:26.125Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T11:17:26.125Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T11:17:26.125Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:17:26.125Z] OK: 242 MiB in 58 packages [2024-10-10T11:17:27.088Z] Removing intermediate container 5863e2f2ccc3 [2024-10-10T11:17:27.088Z] ---> b82fbf5be0e8 [2024-10-10T11:17:27.088Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-10T11:17:27.670Z] ---> 5ed69ab19ec8 [2024-10-10T11:17:27.670Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T11:17:27.670Z] ---> Running in 1715ee141d69 [2024-10-10T11:19:19.338Z] Removing intermediate container 1715ee141d69 [2024-10-10T11:19:19.338Z] ---> aafec98e323a [2024-10-10T11:19:19.338Z] Step 10/12 : COPY . . [2024-10-10T11:19:19.338Z] ---> f609a3262280 [2024-10-10T11:19:19.338Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T11:19:19.338Z] ---> Running in 65943a18ace5 [2024-10-10T11:19:19.338Z] Removing intermediate container 65943a18ace5 [2024-10-10T11:19:19.338Z] ---> ba749519e794 [2024-10-10T11:19:19.338Z] Step 12/12 : RUN $MAKE [2024-10-10T11:19:19.338Z] ---> Running in 762d72292f18 [2024-10-10T11:19:19.338Z] noop [2024-10-10T11:19:19.338Z] Removing intermediate container 762d72292f18 [2024-10-10T11:19:19.338Z] ---> d738cf0f898d [2024-10-10T11:19:19.338Z] Successfully built d738cf0f898d [2024-10-10T11:19:19.338Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:19:19.856Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T11:19:19.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:19:20.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-22418 does not seem to be running inside a container [2024-10-10T11:19:20.231Z] $ 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-10-10T11:19:21.440Z] $ docker top 6f4b3555d23f86b26789ad946b5bf636ae305025980998243197914b93abe87b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T11:19:22.337Z] + go version [2024-10-10T11:19:22.337Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-10T11:19:22.375Z] $ docker stop --time=1 6f4b3555d23f86b26789ad946b5bf636ae305025980998243197914b93abe87b [2024-10-10T11:19:24.009Z] $ docker rm -f --volumes 6f4b3555d23f86b26789ad946b5bf636ae305025980998243197914b93abe87b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:19:24.915Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T11:19:24.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:19:25.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-22418 does not seem to be running inside a container [2024-10-10T11:19:25.287Z] $ 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-10-10T11:19:26.457Z] $ docker top 50056905157fa1f2d41cabb7b87ea95dda30a7b0d6a2d9697cccc7e6f0e32133 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T11:19:27.306Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-10T11:19:27.708Z] + make test [2024-10-10T11:19:27.980Z] go test ./... -coverprofile=coverage.out [2024-10-10T11:19:34.766Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-10-10T11:22:57.041Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-10-10T11:22:57.041Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.057s coverage: 58.3% of statements [2024-10-10T11:22:57.041Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-10T11:22:57.041Z] go vet ./... [2024-10-10T11:23:43.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T11:23:43.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T11:23:43.936Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T11:23:43.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T11:23:44.027Z] $ docker stop --time=1 50056905157fa1f2d41cabb7b87ea95dda30a7b0d6a2d9697cccc7e6f0e32133 [2024-10-10T11:23:45.976Z] $ docker rm -f --volumes 50056905157fa1f2d41cabb7b87ea95dda30a7b0d6a2d9697cccc7e6f0e32133 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T11:23:47.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T11:23:47.662Z] Warning: overwriting stash ‘coverage-report’ [2024-10-10T11:23:48.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T11:23:48.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T11:23:49.136Z] + ls -al . [2024-10-10T11:23:49.136Z] total 272 [2024-10-10T11:23:49.136Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 10 11:19 . [2024-10-10T11:23:49.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 11:16 .. [2024-10-10T11:23:49.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 11:16 .git [2024-10-10T11:23:49.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:16 .github [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 272 Oct 10 11:16 .gitignore [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 11:16 .golangci.yml [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 18321 Oct 10 11:16 Attribution.txt [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 15941 Oct 10 11:16 CHANGELOG.md [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 1755 Oct 10 11:16 Dockerfile [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 11:16 GOVERNANCE.md [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 11:16 Jenkinsfile [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 11:16 LICENSE [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 1953 Oct 10 11:16 Makefile [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 11:16 OWNERS.md [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 4103 Oct 10 11:16 README.md [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 11:14 VERSION [2024-10-10T11:23:49.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 11:16 bin [2024-10-10T11:23:49.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:16 cmd [2024-10-10T11:23:49.136Z] -rw-r--r-- 1 jenkins jenkins 43316 Oct 10 11:22 coverage.out [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 6895 Oct 10 11:16 go.mod [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 10 11:16 go.sum [2024-10-10T11:23:49.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 11:16 internal [2024-10-10T11:23:49.136Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 11:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:23:49.582Z] + 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=a279f98f717bbebfa7be9b7d8176129db5cb6575 --label arch=arm64 --label version=0.0.0 . [2024-10-10T11:23:50.169Z] Sending build context to Docker daemon 19.05MB [2024-10-10T11:23:50.169Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T11:23:50.169Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-10T11:23:50.169Z] ---> d738cf0f898d [2024-10-10T11:23:50.169Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T11:23:50.435Z] ---> Running in e2bf2a43b98d [2024-10-10T11:23:50.702Z] Removing intermediate container e2bf2a43b98d [2024-10-10T11:23:50.702Z] ---> 0d8a05cc7a2b [2024-10-10T11:23:50.702Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T11:23:50.702Z] ---> Running in 58033b9bca42 [2024-10-10T11:23:50.972Z] Removing intermediate container 58033b9bca42 [2024-10-10T11:23:50.972Z] ---> d7ac07cfe75f [2024-10-10T11:23:50.972Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-10-10T11:23:50.972Z] ---> Running in a7d71539215c [2024-10-10T11:23:51.562Z] Removing intermediate container a7d71539215c [2024-10-10T11:23:51.562Z] ---> 7671c69949dc [2024-10-10T11:23:51.562Z] Step 6/26 : WORKDIR /device-virtual-go [2024-10-10T11:23:51.562Z] ---> Running in 7f364509b8f7 [2024-10-10T11:23:51.832Z] Removing intermediate container 7f364509b8f7 [2024-10-10T11:23:51.832Z] ---> 6c9db220cbe6 [2024-10-10T11:23:51.832Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T11:23:51.832Z] ---> Running in e2981abd1c16 [2024-10-10T11:23:52.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T11:23:53.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T11:23:54.779Z] OK: 242 MiB in 58 packages [2024-10-10T11:23:55.753Z] Removing intermediate container e2981abd1c16 [2024-10-10T11:23:55.753Z] ---> d32bb497b65c [2024-10-10T11:23:55.753Z] Step 8/26 : COPY go.mod vendor* ./ [2024-10-10T11:23:56.026Z] ---> 5904e51d1940 [2024-10-10T11:23:56.026Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T11:23:56.296Z] ---> Running in 3b690e0e1760 [2024-10-10T11:23:58.880Z] Removing intermediate container 3b690e0e1760 [2024-10-10T11:23:58.880Z] ---> 219c1aca230f [2024-10-10T11:23:58.880Z] Step 10/26 : COPY . . [2024-10-10T11:24:00.296Z] ---> bd06d6815f5f [2024-10-10T11:24:00.296Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T11:24:00.296Z] ---> Running in 22b515bc7bc9 [2024-10-10T11:24:00.563Z] Removing intermediate container 22b515bc7bc9 [2024-10-10T11:24:00.563Z] ---> d47d0d02aa4f [2024-10-10T11:24:00.563Z] Step 12/26 : RUN $MAKE [2024-10-10T11:24:00.563Z] ---> Running in b16b5bd77dc2 [2024-10-10T11:24:01.525Z] 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.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-10-10T11:27:23.317Z] Removing intermediate container b16b5bd77dc2 [2024-10-10T11:27:23.317Z] ---> 6530f03a73a9 [2024-10-10T11:27:23.317Z] Step 13/26 : FROM alpine:3.20 [2024-10-10T11:27:23.317Z] 3.20: Pulling from library/alpine [2024-10-10T11:27:23.317Z] cf04c63912e1: Already exists [2024-10-10T11:27:23.317Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T11:27:23.317Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T11:27:23.317Z] ---> c157a85ed455 [2024-10-10T11:27:23.317Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-10-10T11:27:23.317Z] ---> Running in dc45b169ba3c [2024-10-10T11:27:23.317Z] Removing intermediate container dc45b169ba3c [2024-10-10T11:27:23.317Z] ---> b9ab9e81e5d9 [2024-10-10T11:27:23.317Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-10-10T11:27:23.317Z] ---> Running in 1eee2c20d9c5 [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T11:27:23.317Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:27:23.317Z] OK: 9 MiB in 15 packages [2024-10-10T11:27:23.317Z] Removing intermediate container 1eee2c20d9c5 [2024-10-10T11:27:23.317Z] ---> e5687ac900e2 [2024-10-10T11:27:23.317Z] Step 16/26 : RUN apk --no-cache upgrade [2024-10-10T11:27:23.317Z] ---> Running in 3a5ffa0f3955 [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] Upgrading critical system libraries and apk-tools: [2024-10-10T11:27:23.317Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T11:27:23.317Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T11:27:23.317Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T11:27:23.317Z] OK: 9 MiB in 15 packages [2024-10-10T11:27:23.317Z] Removing intermediate container 3a5ffa0f3955 [2024-10-10T11:27:23.317Z] ---> 77ec0c4ba580 [2024-10-10T11:27:23.317Z] Step 17/26 : WORKDIR / [2024-10-10T11:27:23.317Z] ---> Running in 374e476f21f4 [2024-10-10T11:27:23.317Z] Removing intermediate container 374e476f21f4 [2024-10-10T11:27:23.317Z] ---> 4737b879723d [2024-10-10T11:27:23.317Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-10-10T11:27:23.901Z] ---> f1e76071db50 [2024-10-10T11:27:23.901Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-10-10T11:27:24.171Z] ---> 5766ca7efdb9 [2024-10-10T11:27:24.172Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-10-10T11:27:26.111Z] ---> 68e8fbc8d85b [2024-10-10T11:27:26.111Z] Step 21/26 : EXPOSE 59900 [2024-10-10T11:27:26.111Z] ---> Running in 08206dc86300 [2024-10-10T11:27:26.111Z] Removing intermediate container 08206dc86300 [2024-10-10T11:27:26.111Z] ---> 4214c25fb36f [2024-10-10T11:27:26.111Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-10-10T11:27:26.111Z] ---> Running in 8483344e3f90 [2024-10-10T11:27:26.378Z] Removing intermediate container 8483344e3f90 [2024-10-10T11:27:26.378Z] ---> 0ba38df68ebd [2024-10-10T11:27:26.378Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-10T11:27:26.378Z] ---> Running in 435a60c8e580 [2024-10-10T11:27:26.961Z] Removing intermediate container 435a60c8e580 [2024-10-10T11:27:26.961Z] ---> 1693436faf2d [2024-10-10T11:27:26.961Z] Step 24/26 : LABEL arch=arm64 [2024-10-10T11:27:26.961Z] ---> Running in 171d8a949744 [2024-10-10T11:27:27.227Z] Removing intermediate container 171d8a949744 [2024-10-10T11:27:27.227Z] ---> 5f264a22ee21 [2024-10-10T11:27:27.227Z] Step 25/26 : LABEL git_sha=a279f98f717bbebfa7be9b7d8176129db5cb6575 [2024-10-10T11:27:27.227Z] ---> Running in 61a6fbbaeb67 [2024-10-10T11:27:27.493Z] Removing intermediate container 61a6fbbaeb67 [2024-10-10T11:27:27.493Z] ---> 40707accd67f [2024-10-10T11:27:27.493Z] Step 26/26 : LABEL version=0.0.0 [2024-10-10T11:27:27.493Z] ---> Running in 56afb88814ad [2024-10-10T11:27:27.759Z] Removing intermediate container 56afb88814ad [2024-10-10T11:27:27.759Z] ---> c07b3e97dc87 [2024-10-10T11:27:27.759Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T11:27:27.759Z] Successfully built c07b3e97dc87 [2024-10-10T11:27:27.759Z] 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-10-10T11:27:28.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T11:27:28.701Z] [2024-10-10T11:27:28.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:27:29.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T11:27:29.391Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-10T11:27:29.392Z] 8998bd30e6a1: Pulling fs layer [2024-10-10T11:27:29.392Z] 04944245beec: Pulling fs layer [2024-10-10T11:27:29.392Z] 699f458cf7ca: Pulling fs layer [2024-10-10T11:27:29.392Z] 765212b225bb: Pulling fs layer [2024-10-10T11:27:29.392Z] f23df028b6ca: Pulling fs layer [2024-10-10T11:27:29.392Z] d65c8cfc05b1: Pulling fs layer [2024-10-10T11:27:29.392Z] 2437ff75d9bd: Pulling fs layer [2024-10-10T11:27:29.392Z] f23df028b6ca: Waiting [2024-10-10T11:27:29.392Z] d65c8cfc05b1: Waiting [2024-10-10T11:27:29.392Z] 2437ff75d9bd: Waiting [2024-10-10T11:27:29.392Z] 765212b225bb: Waiting [2024-10-10T11:27:29.392Z] 04944245beec: Verifying Checksum [2024-10-10T11:27:29.392Z] 04944245beec: Download complete [2024-10-10T11:27:29.392Z] 765212b225bb: Verifying Checksum [2024-10-10T11:27:29.392Z] 765212b225bb: Download complete [2024-10-10T11:27:29.392Z] f23df028b6ca: Verifying Checksum [2024-10-10T11:27:29.392Z] f23df028b6ca: Download complete [2024-10-10T11:27:29.392Z] d65c8cfc05b1: Verifying Checksum [2024-10-10T11:27:29.392Z] d65c8cfc05b1: Download complete [2024-10-10T11:27:29.659Z] 699f458cf7ca: Verifying Checksum [2024-10-10T11:27:29.659Z] 699f458cf7ca: Download complete [2024-10-10T11:27:29.926Z] 8998bd30e6a1: Verifying Checksum [2024-10-10T11:27:29.926Z] 8998bd30e6a1: Download complete [2024-10-10T11:27:32.506Z] 2437ff75d9bd: Verifying Checksum [2024-10-10T11:27:32.506Z] 2437ff75d9bd: Download complete [2024-10-10T11:27:34.447Z] 8998bd30e6a1: Pull complete [2024-10-10T11:27:34.714Z] 04944245beec: Pull complete [2024-10-10T11:27:36.654Z] 699f458cf7ca: Pull complete [2024-10-10T11:27:36.654Z] 765212b225bb: Pull complete [2024-10-10T11:27:37.237Z] f23df028b6ca: Pull complete [2024-10-10T11:27:37.504Z] d65c8cfc05b1: Pull complete [2024-10-10T11:27:55.695Z] 2437ff75d9bd: Pull complete [2024-10-10T11:27:55.695Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-10T11:27:55.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T11:27:55.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:27:56.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-22418 does not seem to be running inside a container [2024-10-10T11:27:56.128Z] $ 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-10-10T11:27:58.741Z] $ docker top 4f6cb8acb7a6ee93dd93f83ce64d239f548532562e6d961e855f10c4a9121139 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:27:59.657Z] ---> job-cost.sh [2024-10-10T11:27:59.657Z] lf-activate-venv: SKIPPING [2024-10-10T11:27:59.657Z] INFO: No Stack... [2024-10-10T11:27:59.922Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-10T11:28:00.872Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T11:28:01.544Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-10-10T11:28:01.544Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T11:28:01.618Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [2024-10-10T11:28:01.624Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] did not exist. Created. [2024-10-10T11:28:01.629Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T11:28:02.359Z] /w/workspace/device-virtual-go/1@tmp/durable-555fc4fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-10T11:28:02.710Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-10T11:28:03.011Z] Warning: overwriting stash ‘stack-cost’ [2024-10-10T11:28:03.054Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T11:28:03.073Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-494-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T11:28:03.153Z] $ docker stop --time=1 4f6cb8acb7a6ee93dd93f83ce64d239f548532562e6d961e855f10c4a9121139 [2024-10-10T11:28:04.627Z] $ docker rm -f --volumes 4f6cb8acb7a6ee93dd93f83ce64d239f548532562e6d961e855f10c4a9121139 [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-10-10T11:28:05.826Z] provisioning config files... [2024-10-10T11:28:05.834Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-494@tmp/config8271782950027738803tmp [Pipeline] { [Pipeline] sh [2024-10-10T11:28:06.189Z] + set +x [2024-10-10T11:28:06.189Z] + bash -s -- [2024-10-10T11:28:06.189Z] + curl -s https://codecov.io/bash [2024-10-10T11:28:06.189Z] [2024-10-10T11:28:06.189Z] _____ _ [2024-10-10T11:28:06.189Z] / ____| | | [2024-10-10T11:28:06.189Z] | | ___ __| | ___ ___ _____ __ [2024-10-10T11:28:06.189Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-10T11:28:06.189Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-10T11:28:06.189Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-10T11:28:06.189Z] Bash-1.0.6 [2024-10-10T11:28:06.189Z] [2024-10-10T11:28:06.189Z] [2024-10-10T11:28:06.189Z] ==> git version 2.25.1 found [2024-10-10T11:28:06.189Z] ==> 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-10-10T11:28:06.189Z] Release-Date: 2020-01-08 [2024-10-10T11:28:06.189Z] 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-10-10T11:28:06.189Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-10T11:28:06.189Z] ==> Jenkins CI detected. [2024-10-10T11:28:06.189Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-494 [2024-10-10T11:28:06.189Z] project root: . [2024-10-10T11:28:06.189Z] --> token set from env [2024-10-10T11:28:06.189Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-10T11:28:06.189Z] ==> Running gcov in . (disable via -X gcov) [2024-10-10T11:28:06.189Z] ==> Python coveragepy not found [2024-10-10T11:28:06.189Z] ==> Searching for coverage reports in: [2024-10-10T11:28:06.189Z] + . [2024-10-10T11:28:06.189Z] -> Found 1 reports [2024-10-10T11:28:06.189Z] ==> Detecting git/mercurial file structure [2024-10-10T11:28:06.450Z] ==> Reading reports [2024-10-10T11:28:06.450Z] + ./coverage.out bytes=43316 [2024-10-10T11:28:06.450Z] ==> Appending adjustments [2024-10-10T11:28:06.450Z] https://docs.codecov.io/docs/fixing-reports [2024-10-10T11:28:06.450Z] + Found adjustments [2024-10-10T11:28:06.450Z] ==> Gzipping contents [2024-10-10T11:28:06.450Z] 8.0K /tmp/codecov.MbT0Yi.gz [2024-10-10T11:28:06.450Z] ==> Uploading reports [2024-10-10T11:28:06.450Z] url: https://codecov.io [2024-10-10T11:28:06.450Z] query: branch=PR-494&commit=a279f98f717bbebfa7be9b7d8176129db5cb6575&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=494&job=&cmd_args= [2024-10-10T11:28:06.450Z] -> Pinging Codecov [2024-10-10T11:28:06.450Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-494&commit=a279f98f717bbebfa7be9b7d8176129db5cb6575&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=494&job=&cmd_args= [2024-10-10T11:28:06.711Z] -> Uploading to [2024-10-10T11:28:06.711Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/a279f98f717bbebfa7be9b7d8176129db5cb6575/8ed43b2d-cf16-4b31-97a5-63bd6f0aa2f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241010%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241010T112806Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5c379b81eb1a1c5413e925cb5029301e4ce409fbd7df23673e9713f7f76c13d9 [2024-10-10T11:28:06.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T11:28:06.711Z] Dload Upload Total Spent Left Speed [2024-10-10T11:28:06.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 22202 --:--:-- --:--:-- --:--:-- 22202 [2024-10-10T11:28:06.974Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a279f98f717bbebfa7be9b7d8176129db5cb6575 [Pipeline] } [2024-10-10T11:28:07.009Z] 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-10-10T11:28:09.217Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-494/archives ] [2024-10-10T11:28:09.217Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-494/archives [2024-10-10T11:28:09.217Z] total 16 [2024-10-10T11:28:09.217Z] drwxr-xr-x 3 root root 4096 Oct 10 11:17 . [2024-10-10T11:28:09.217Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 11:17 .. [2024-10-10T11:28:09.218Z] drwxr-xr-x 2 root root 4096 Oct 10 11:17 cost [2024-10-10T11:28:09.218Z] -rw-r--r-- 1 root root 89 Oct 10 11:17 cost.csv [2024-10-10T11:28:09.218Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-494/archives [2024-10-10T11:28:09.218Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-494/archives [2024-10-10T11:28:09.218Z] total 16 [2024-10-10T11:28:09.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 11:17 . [2024-10-10T11:28:09.218Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 11:17 .. [2024-10-10T11:28:09.218Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 11:17 cost [2024-10-10T11:28:09.218Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 10 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:09.565Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:10.470Z] ---> package-listing.sh [2024-10-10T11:28:10.470Z] ++ facter osfamily [2024-10-10T11:28:10.470Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-10T11:28:10.730Z] + OS_FAMILY=debian [2024-10-10T11:28:10.730Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-494 [2024-10-10T11:28:10.730Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-10T11:28:10.730Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-10T11:28:10.730Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-10T11:28:10.730Z] + PACKAGES=/tmp/packages_start.txt [2024-10-10T11:28:10.730Z] + '[' /w/workspace/foundry_device-virtual-go_PR-494 ']' [2024-10-10T11:28:10.730Z] + PACKAGES=/tmp/packages_end.txt [2024-10-10T11:28:10.730Z] + case "${OS_FAMILY}" in [2024-10-10T11:28:10.730Z] + dpkg -l [2024-10-10T11:28:10.730Z] + grep '^ii' [2024-10-10T11:28:10.730Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-10T11:28:10.730Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-10T11:28:10.730Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-10T11:28:10.730Z] + '[' /w/workspace/foundry_device-virtual-go_PR-494 ']' [2024-10-10T11:28:10.730Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-494/archives/ [2024-10-10T11:28:10.730Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-494/archives/ [Pipeline] echo [2024-10-10T11:28:10.776Z] 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-494/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-10T11:28:11.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T11:28:11.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T11:28:11.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T11:28:11.893Z] prd-ubuntu20.04-docker-8c-8g-22417 does not seem to be running inside a container [2024-10-10T11:28:11.920Z] $ 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-494/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-494 -v /w/workspace/foundry_device-virtual-go_PR-494:/w/workspace/foundry_device-virtual-go_PR-494:rw,z -v /w/workspace/foundry_device-virtual-go_PR-494@tmp:/w/workspace/foundry_device-virtual-go_PR-494@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-10-10T11:28:12.092Z] $ docker top 87b90ca42dafd440abd9490c9ed17d27b05aa1871bb9f1cd3fb51fafd2ed6c3e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T11:28:12.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-10T11:28:12.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-10T11:28:13.153Z] + ls /var/log/sa-host [2024-10-10T11:28:13.153Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T11:28:13.405Z] provisioning config files... [2024-10-10T11:28:13.415Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-494@tmp/config8490478367823437044tmp [Pipeline] { [Pipeline] echo [2024-10-10T11:28:13.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:13.818Z] ---> create-netrc.sh [Pipeline] } [2024-10-10T11:28:13.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:14.294Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-10T11:28:14.337Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:14.662Z] ---> sudo-logs.sh [2024-10-10T11:28:14.662Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-10T11:28:14.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:15.169Z] ---> job-cost.sh [2024-10-10T11:28:15.169Z] lf-activate-venv: SKIPPING [2024-10-10T11:28:15.169Z] DEBUG: total: 0.2199999988079071 [2024-10-10T11:28:15.169Z] INFO: Retrieving Stack Cost... [2024-10-10T11:28:15.451Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T11:28:15.725Z] INFO: Archiving Costs [Pipeline] echo [2024-10-10T11:28:15.767Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T11:28:16.127Z] ---> logs-deploy.sh [2024-10-10T11:28:16.127Z] lf-activate-venv: SKIPPING [2024-10-10T11:28:16.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-494/1 [2024-10-10T11:28:16.127Z] INFO: archiving workspace using pattern(s): [2024-10-10T11:28:17.081Z] Archives upload complete. [2024-10-10T11:28:17.081Z] INFO: archiving logs to Nexus