Pull request #505 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c806ea5eed6953ac2c54f2e558d20434d4a77eda+a9a957061edcebee319f695d5df98e4602cbd79e (0d083791d4ac5b32c0c45b6da2e25387a24e0053) 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-ssh14689675952602644882.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-ssh16385019475862860858.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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18397188410794606948.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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh693703129369859356.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-ssh6558832966636639688.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6632266403063661659.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26358 in /w/workspace/foundry_device-virtual-go_PR-505 [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-505 # 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a9a957061edcebee319f695d5df98e4602cbd79e into PR head commit c806ea5eed6953ac2c54f2e558d20434d4a77eda Merge succeeded, producing c806ea5eed6953ac2c54f2e558d20434d4a77eda Checking out Revision c806ea5eed6953ac2c54f2e558d20434d4a77eda (PR-505) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" 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 c806ea5eed6953ac2c54f2e558d20434d4a77eda # 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 a9a957061edcebee319f695d5df98e4602cbd79e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c806ea5eed6953ac2c54f2e558d20434d4a77eda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-13T11:54:27.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-13T11:54:27.668Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-13T11:54:27.807Z] ========================================================= [2024-11-13T11:54:27.807Z] EdgeX Global Pipelines Version Info [2024-11-13T11:54:27.807Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-13T11:54:28.587Z] ------------------- [2024-11-13T11:54:28.587Z] stable info: [2024-11-13T11:54:28.587Z] ------------------- [2024-11-13T11:54:28.587Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-13T11:54:28.587Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-13T11:54:28.587Z] Message: update stable to v1.0.265 [2024-11-13T11:54:29.158Z] ------------------- [2024-11-13T11:54:29.158Z] experimental info: [2024-11-13T11:54:29.158Z] ------------------- [2024-11-13T11:54:29.158Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-13T11:54:29.158Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-13T11:54:29.158Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-13T11:54:29.378Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-11-13T11:54:29.440Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-11-13T11:54:29.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-13T11:54:29.563Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-13T11:54:29.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-13T11:54:29.680Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-13T11:54:29.735Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-13T11:54:29.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-13T11:54:29.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-13T11:54:29.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-13T11:54:29.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-13T11:54:30.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-11-13T11:54:30.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-13T11:54:30.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-13T11:54:30.227Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-13T11:54:30.284Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-13T11:54:30.341Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-13T11:54:30.407Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-13T11:54:30.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-13T11:54:30.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-13T11:54:30.595Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-13T11:54:30.656Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-13T11:54:30.722Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-13T11:54:30.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-13T11:54:30.840Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-13T11:54:30.902Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-13T11:54:30.964Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-13T11:54:31.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-11-13T11:54:31.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-11-13T11:54:31.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-11-13T11:54:31.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c806ea5eed6953ac2c54f2e558d20434d4a77eda [Pipeline] echo [2024-11-13T11:54:31.290Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c806ea5 [Pipeline] echo [2024-11-13T11:54:31.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T11:54:31.514Z] provisioning config files... [2024-11-13T11:54:31.528Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-505@tmp/config16721708919403533292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T11:54:31.930Z] ---> ****-login.sh [2024-11-13T11:54:31.930Z] nexus3.edgexfoundry.org:10001 [2024-11-13T11:54:32.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:32.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:32.191Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:32.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:32.191Z] [2024-11-13T11:54:32.191Z] Login Succeeded [2024-11-13T11:54:32.191Z] nexus3.edgexfoundry.org:10002 [2024-11-13T11:54:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:32.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:32.452Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:32.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:32.452Z] [2024-11-13T11:54:32.452Z] Login Succeeded [2024-11-13T11:54:32.452Z] nexus3.edgexfoundry.org:10003 [2024-11-13T11:54:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:32.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:32.452Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:32.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:32.452Z] [2024-11-13T11:54:32.452Z] Login Succeeded [2024-11-13T11:54:32.452Z] nexus3.edgexfoundry.org:10004 [2024-11-13T11:54:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:32.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:32.712Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:32.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:32.712Z] [2024-11-13T11:54:32.712Z] Login Succeeded [2024-11-13T11:54:32.712Z] ****.io [2024-11-13T11:54:32.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:32.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:32.971Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:32.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:32.972Z] [2024-11-13T11:54:32.972Z] Login Succeeded [2024-11-13T11:54:32.972Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T11:54:33.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-13T11:54:33.713Z] + git rev-list -1 --merges c806ea5eed6953ac2c54f2e558d20434d4a77eda~1..c806ea5eed6953ac2c54f2e558d20434d4a77eda [Pipeline] echo [2024-11-13T11:54:33.764Z] -----------> git rev-list -1 --merges c806ea5eed6953ac2c54f2e558d20434d4a77eda~1..c806ea5eed6953ac2c54f2e558d20434d4a77eda c806ea5eed6953ac2c54f2e558d20434d4a77eda [false] [Pipeline] sh [2024-11-13T11:54:34.088Z] + git log --format=format:%s -1 c806ea5eed6953ac2c54f2e558d20434d4a77eda [Pipeline] echo [2024-11-13T11:54:34.133Z] ========================================================= [2024-11-13T11:54:34.133Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-13T11:54:34.133Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T11:54:34.583Z] + git log --format=format:%s -1 c806ea5eed6953ac2c54f2e558d20434d4a77eda [Pipeline] echo [2024-11-13T11:54:34.624Z] [semverPrep] GIT_COMMIT: c806ea5eed6953ac2c54f2e558d20434d4a77eda, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-13T11:54:34.665Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-13T11:54:35.085Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-13T11:54:35.086Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-13T11:54:35.086Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-13T11:54:35.086Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-13T11:54:35.086Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-13T11:54:35.086Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-13T11:54:35.086Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:54:35.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T11:54:35.619Z] [2024-11-13T11:54:35.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:54:36.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T11:54:36.019Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-13T11:54:36.019Z] b85a868b505f: Pulling fs layer [2024-11-13T11:54:36.019Z] e2be974225ed: Pulling fs layer [2024-11-13T11:54:36.019Z] 339a4e72a1f5: Pulling fs layer [2024-11-13T11:54:36.019Z] 988bab9f4d93: Pulling fs layer [2024-11-13T11:54:36.019Z] 1469e6f7b9e6: Pulling fs layer [2024-11-13T11:54:36.019Z] eaf3925da568: Pulling fs layer [2024-11-13T11:54:36.019Z] bab4dde63d76: Pulling fs layer [2024-11-13T11:54:36.019Z] bde34c3a00c8: Pulling fs layer [2024-11-13T11:54:36.019Z] b352a97aabf1: Pulling fs layer [2024-11-13T11:54:36.019Z] 4872d77fe225: Pulling fs layer [2024-11-13T11:54:36.019Z] 5851b861e8e6: Pulling fs layer [2024-11-13T11:54:36.019Z] 1469e6f7b9e6: Waiting [2024-11-13T11:54:36.019Z] eaf3925da568: Waiting [2024-11-13T11:54:36.019Z] bab4dde63d76: Waiting [2024-11-13T11:54:36.019Z] bde34c3a00c8: Waiting [2024-11-13T11:54:36.019Z] b352a97aabf1: Waiting [2024-11-13T11:54:36.019Z] 5851b861e8e6: Waiting [2024-11-13T11:54:36.019Z] 988bab9f4d93: Waiting [2024-11-13T11:54:36.019Z] 4872d77fe225: Waiting [2024-11-13T11:54:36.019Z] e2be974225ed: Download complete [2024-11-13T11:54:36.019Z] 988bab9f4d93: Verifying Checksum [2024-11-13T11:54:36.019Z] 988bab9f4d93: Download complete [2024-11-13T11:54:36.019Z] 1469e6f7b9e6: Verifying Checksum [2024-11-13T11:54:36.019Z] 1469e6f7b9e6: Download complete [2024-11-13T11:54:36.019Z] eaf3925da568: Verifying Checksum [2024-11-13T11:54:36.019Z] eaf3925da568: Download complete [2024-11-13T11:54:36.278Z] 339a4e72a1f5: Verifying Checksum [2024-11-13T11:54:36.278Z] 339a4e72a1f5: Download complete [2024-11-13T11:54:36.278Z] bde34c3a00c8: Download complete [2024-11-13T11:54:36.278Z] b352a97aabf1: Verifying Checksum [2024-11-13T11:54:36.278Z] b352a97aabf1: Download complete [2024-11-13T11:54:36.278Z] 4872d77fe225: Verifying Checksum [2024-11-13T11:54:36.278Z] 4872d77fe225: Download complete [2024-11-13T11:54:36.278Z] 5851b861e8e6: Verifying Checksum [2024-11-13T11:54:36.278Z] 5851b861e8e6: Download complete [2024-11-13T11:54:36.278Z] b85a868b505f: Verifying Checksum [2024-11-13T11:54:36.278Z] b85a868b505f: Download complete [2024-11-13T11:54:36.537Z] bab4dde63d76: Verifying Checksum [2024-11-13T11:54:36.537Z] bab4dde63d76: Download complete [2024-11-13T11:54:37.474Z] b85a868b505f: Pull complete [2024-11-13T11:54:37.735Z] e2be974225ed: Pull complete [2024-11-13T11:54:38.001Z] 339a4e72a1f5: Pull complete [2024-11-13T11:54:38.261Z] 988bab9f4d93: Pull complete [2024-11-13T11:54:38.520Z] 1469e6f7b9e6: Pull complete [2024-11-13T11:54:38.520Z] eaf3925da568: Pull complete [2024-11-13T11:54:40.434Z] bab4dde63d76: Pull complete [2024-11-13T11:54:40.434Z] bde34c3a00c8: Pull complete [2024-11-13T11:54:40.434Z] b352a97aabf1: Pull complete [2024-11-13T11:54:40.434Z] 4872d77fe225: Pull complete [2024-11-13T11:54:40.696Z] 5851b861e8e6: Pull complete [2024-11-13T11:54:40.696Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-13T11:54:40.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T11:54:40.696Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T11:54:40.988Z] prd-ubuntu20.04-docker-8c-8g-26358 does not seem to be running inside a container [2024-11-13T11:54:41.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-505 -v /w/workspace/foundry_device-virtual-go_PR-505:/w/workspace/foundry_device-virtual-go_PR-505:rw,z -v /w/workspace/foundry_device-virtual-go_PR-505@tmp:/w/workspace/foundry_device-virtual-go_PR-505@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-11-13T11:54:42.605Z] $ docker top df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 -eo pid,comm [2024-11-13T11:54:42.666Z] 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-11-13T11:54:42.666Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-13T11:54:42.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-13T11:54:42.837Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-13T11:54:42.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-13T11:54:42.948Z] $ docker exec df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 ssh-agent [2024-11-13T11:54:43.067Z] SSH_AUTH_SOCK=/tmp/ssh-IBPfLUSUVRyo/agent.33 [2024-11-13T11:54:43.067Z] SSH_AGENT_PID=39 [2024-11-13T11:54:43.072Z] Running ssh-add (command line suppressed) [2024-11-13T11:54:43.175Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-505@tmp/private_key_1693370393029115053.key (/w/workspace/foundry_device-virtual-go_PR-505@tmp/private_key_1693370393029115053.key) [2024-11-13T11:54:43.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-13T11:54:43.546Z] + git tag --points-at HEAD [Pipeline] } [2024-11-13T11:54:43.573Z] $ docker exec --env ******** --env ******** df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 ssh-agent -k [2024-11-13T11:54:43.663Z] unset SSH_AUTH_SOCK; [2024-11-13T11:54:43.663Z] unset SSH_AGENT_PID; [2024-11-13T11:54:43.663Z] echo Agent pid 39 killed; [2024-11-13T11:54:43.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-13T11:54:43.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-13T11:54:43.794Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-13T11:54:43.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-13T11:54:43.914Z] $ docker exec df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 ssh-agent [2024-11-13T11:54:44.039Z] SSH_AUTH_SOCK=/tmp/ssh-YWqAo0pIg8Du/agent.72 [2024-11-13T11:54:44.039Z] SSH_AGENT_PID=78 [2024-11-13T11:54:44.045Z] Running ssh-add (command line suppressed) [2024-11-13T11:54:44.153Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-505@tmp/private_key_11440972965485391737.key (/w/workspace/foundry_device-virtual-go_PR-505@tmp/private_key_11440972965485391737.key) [2024-11-13T11:54:44.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-13T11:54:44.533Z] + git semver init [2024-11-13T11:54:44.795Z] 2024-11-13 11:54:44,727 [run_init] DEBUG init version:0.0.0 force:False [2024-11-13T11:54:44.795Z] 2024-11-13 11:54:44,728 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-505/.semver [2024-11-13T11:54:44.795Z] 2024-11-13 11:54:44,729 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-505/.semver [2024-11-13T11:54:44.795Z] 2024-11-13 11:54:44,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-505/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-505, universal_newlines=False, shell=None, istream=None) [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,613 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-505/.git/info/exclude [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-505/.semver/PR-505 with force:False [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,614 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-505/.semver/PR-505 [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,618 [execute] INFO git cat-file --batch-check [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,626 [execute] INFO git cat-file --batch [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-11-13T11:54:46.707Z] 2024-11-13 11:54:46,632 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-505/.semver/PR-505 [2024-11-13T11:54:46.707Z] 0.0.0 [Pipeline] } [2024-11-13T11:54:46.734Z] $ docker exec --env ******** --env ******** df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 ssh-agent -k [2024-11-13T11:54:46.826Z] unset SSH_AUTH_SOCK; [2024-11-13T11:54:46.827Z] unset SSH_AGENT_PID; [2024-11-13T11:54:46.827Z] echo Agent pid 78 killed; [2024-11-13T11:54:46.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-13T11:54:47.310Z] + git semver [Pipeline] } [2024-11-13T11:54:47.597Z] $ docker stop --time=1 df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 [2024-11-13T11:54:48.907Z] $ docker rm -f --volumes df54db071c964a1e517db61ee09d160727bf80158cdf64577a26c0ee562a1c98 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-13T11:54:49.336Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-13T11:54:49.649Z] Stashed 1 file(s) [Pipeline] echo [2024-11-13T11:54:49.670Z] [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-11-13T11:54:50.359Z] provisioning config files... [2024-11-13T11:54:50.371Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-505@tmp/config9820181816059587906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T11:54:50.736Z] ---> ****-login.sh [2024-11-13T11:54:50.736Z] nexus3.edgexfoundry.org:10001 [2024-11-13T11:54:50.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:50.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:50.736Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:50.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:50.736Z] [2024-11-13T11:54:50.736Z] Login Succeeded [2024-11-13T11:54:50.736Z] nexus3.edgexfoundry.org:10002 [2024-11-13T11:54:50.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:50.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:50.736Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:50.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:50.736Z] [2024-11-13T11:54:50.736Z] Login Succeeded [2024-11-13T11:54:50.736Z] nexus3.edgexfoundry.org:10003 [2024-11-13T11:54:50.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:50.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:50.996Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:50.996Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:50.996Z] [2024-11-13T11:54:50.996Z] Login Succeeded [2024-11-13T11:54:50.996Z] nexus3.edgexfoundry.org:10004 [2024-11-13T11:54:50.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:50.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:50.997Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:50.997Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:50.997Z] [2024-11-13T11:54:50.997Z] Login Succeeded [2024-11-13T11:54:50.997Z] ****.io [2024-11-13T11:54:51.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:54:51.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:54:51.257Z] Configure a credential helper to remove this warning. See [2024-11-13T11:54:51.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:54:51.257Z] [2024-11-13T11:54:51.257Z] Login Succeeded [2024-11-13T11:54:51.257Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T11:54:51.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-13T11:54:51.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T11:54:51.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T11:54:51.617Z] ========================================================= [2024-11-13T11:54:51.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-13T11:54:51.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:54:52.141Z] + 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-11-13T11:54:52.141Z] Sending build context to Docker daemon 37.73MB [2024-11-13T11:54:52.141Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T11:54:52.141Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-13T11:54:52.727Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-13T11:54:52.727Z] 43c4264eed91: Pulling fs layer [2024-11-13T11:54:52.727Z] 4cc291be95ef: Pulling fs layer [2024-11-13T11:54:52.727Z] 2ac1f1163629: Pulling fs layer [2024-11-13T11:54:52.727Z] 5c3c966382ef: Pulling fs layer [2024-11-13T11:54:52.727Z] 4f4fb700ef54: Pulling fs layer [2024-11-13T11:54:52.727Z] 5d5c8e513c77: Pulling fs layer [2024-11-13T11:54:52.727Z] 9f66e0745190: Pulling fs layer [2024-11-13T11:54:52.727Z] f49a43e4bbc0: Pulling fs layer [2024-11-13T11:54:52.727Z] 561ebcabdf7f: Pulling fs layer [2024-11-13T11:54:52.727Z] 5c3c966382ef: Waiting [2024-11-13T11:54:52.727Z] 4f4fb700ef54: Waiting [2024-11-13T11:54:52.727Z] 5d5c8e513c77: Waiting [2024-11-13T11:54:52.727Z] 9f66e0745190: Waiting [2024-11-13T11:54:52.727Z] f49a43e4bbc0: Waiting [2024-11-13T11:54:52.727Z] 4cc291be95ef: Verifying Checksum [2024-11-13T11:54:52.727Z] 4cc291be95ef: Download complete [2024-11-13T11:54:52.727Z] 5c3c966382ef: Verifying Checksum [2024-11-13T11:54:52.727Z] 5c3c966382ef: Download complete [2024-11-13T11:54:52.727Z] 4f4fb700ef54: Verifying Checksum [2024-11-13T11:54:52.727Z] 4f4fb700ef54: Download complete [2024-11-13T11:54:52.727Z] 5d5c8e513c77: Verifying Checksum [2024-11-13T11:54:52.727Z] 5d5c8e513c77: Download complete [2024-11-13T11:54:52.727Z] 43c4264eed91: Download complete [2024-11-13T11:54:52.727Z] 9f66e0745190: Verifying Checksum [2024-11-13T11:54:52.727Z] 9f66e0745190: Download complete [2024-11-13T11:54:52.727Z] 43c4264eed91: Pull complete [2024-11-13T11:54:52.727Z] 4cc291be95ef: Pull complete [2024-11-13T11:54:52.987Z] 561ebcabdf7f: Verifying Checksum [2024-11-13T11:54:52.987Z] 561ebcabdf7f: Download complete [2024-11-13T11:54:53.816Z] 2ac1f1163629: Verifying Checksum [2024-11-13T11:54:53.816Z] 2ac1f1163629: Download complete [2024-11-13T11:54:54.385Z] f49a43e4bbc0: Verifying Checksum [2024-11-13T11:54:54.385Z] f49a43e4bbc0: Download complete [2024-11-13T11:54:56.290Z] 2ac1f1163629: Pull complete [2024-11-13T11:54:56.549Z] 5c3c966382ef: Pull complete [2024-11-13T11:54:56.549Z] 4f4fb700ef54: Pull complete [2024-11-13T11:54:56.549Z] 5d5c8e513c77: Pull complete [2024-11-13T11:54:56.808Z] 9f66e0745190: Pull complete [2024-11-13T11:54:58.719Z] f49a43e4bbc0: Pull complete [2024-11-13T11:54:59.286Z] 561ebcabdf7f: Pull complete [2024-11-13T11:54:59.286Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-13T11:54:59.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-13T11:54:59.286Z] ---> 3a752c3f9dda [2024-11-13T11:54:59.286Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-13T11:55:01.840Z] ---> Running in 830d657efaf3 [2024-11-13T11:55:01.840Z] Removing intermediate container 830d657efaf3 [2024-11-13T11:55:01.840Z] ---> 90f5d70e5020 [2024-11-13T11:55:01.840Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-13T11:55:01.840Z] ---> Running in a868170edab1 [2024-11-13T11:55:01.840Z] Removing intermediate container a868170edab1 [2024-11-13T11:55:01.840Z] ---> 6aca8e7e8d59 [2024-11-13T11:55:01.840Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-13T11:55:01.840Z] ---> Running in 3fbd793f02bd [2024-11-13T11:55:02.112Z] Removing intermediate container 3fbd793f02bd [2024-11-13T11:55:02.112Z] ---> a6e5f39da895 [2024-11-13T11:55:02.112Z] Step 6/12 : WORKDIR /device-virtual-go [2024-11-13T11:55:02.112Z] ---> Running in 4bc658fe09a8 [2024-11-13T11:55:02.112Z] Removing intermediate container 4bc658fe09a8 [2024-11-13T11:55:02.112Z] ---> 80414bfeeeaf [2024-11-13T11:55:02.112Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-13T11:55:02.112Z] ---> Running in f75845ea6a2b [2024-11-13T11:55:02.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T11:55:02.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T11:55:02.632Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-13T11:55:02.632Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-13T11:55:02.632Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-13T11:55:02.891Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-13T11:55:02.891Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T11:55:02.891Z] OK: 250 MiB in 58 packages [2024-11-13T11:55:03.149Z] Removing intermediate container f75845ea6a2b [2024-11-13T11:55:03.149Z] ---> 969a0e9a29a1 [2024-11-13T11:55:03.149Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-13T11:55:03.409Z] ---> d6c91f0296f2 [2024-11-13T11:55:03.409Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T11:55:03.409Z] ---> Running in 0ff3864ad590 [2024-11-13T11:55:05.152Z] Still waiting to schedule task [2024-11-13T11:55:05.153Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-13T11:55:40.352Z] Removing intermediate container 0ff3864ad590 [2024-11-13T11:55:40.352Z] ---> 31c8a54b77e9 [2024-11-13T11:55:40.352Z] Step 10/12 : COPY . . [2024-11-13T11:55:40.352Z] ---> 7b2883d4b4bb [2024-11-13T11:55:40.352Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-13T11:55:40.352Z] ---> Running in 16023e60a9e0 [2024-11-13T11:55:40.352Z] Removing intermediate container 16023e60a9e0 [2024-11-13T11:55:40.352Z] ---> b39879968183 [2024-11-13T11:55:40.352Z] Step 12/12 : RUN $MAKE [2024-11-13T11:55:40.352Z] ---> Running in 34592f073759 [2024-11-13T11:55:40.352Z] noop [2024-11-13T11:55:40.352Z] Removing intermediate container 34592f073759 [2024-11-13T11:55:40.352Z] ---> 01d6873ad2b7 [2024-11-13T11:55:40.352Z] Successfully built 01d6873ad2b7 [2024-11-13T11:55:40.352Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:55:40.851Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-13T11:55:40.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T11:55:41.029Z] prd-ubuntu20.04-docker-8c-8g-26358 does not seem to be running inside a container [2024-11-13T11:55:41.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-505 -v /w/workspace/foundry_device-virtual-go_PR-505:/w/workspace/foundry_device-virtual-go_PR-505:rw,z -v /w/workspace/foundry_device-virtual-go_PR-505@tmp:/w/workspace/foundry_device-virtual-go_PR-505@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-11-13T11:55:41.418Z] $ docker top 5843be91591f48f915912be1dc65ec4674032ee35c541f5001b81841572e95aa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T11:55:41.845Z] + go version [2024-11-13T11:55:41.845Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-13T11:55:41.877Z] $ docker stop --time=1 5843be91591f48f915912be1dc65ec4674032ee35c541f5001b81841572e95aa [2024-11-13T11:55:43.176Z] $ docker rm -f --volumes 5843be91591f48f915912be1dc65ec4674032ee35c541f5001b81841572e95aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:55:43.981Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-13T11:55:43.981Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T11:55:44.160Z] prd-ubuntu20.04-docker-8c-8g-26358 does not seem to be running inside a container [2024-11-13T11:55:44.190Z] $ 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-505 -v /w/workspace/foundry_device-virtual-go_PR-505:/w/workspace/foundry_device-virtual-go_PR-505:rw,z -v /w/workspace/foundry_device-virtual-go_PR-505@tmp:/w/workspace/foundry_device-virtual-go_PR-505@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-11-13T11:55:44.545Z] $ docker top c334394b6fabb6330be762134fb80b0328286835d1f8c0cc134b5802d03efe86 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T11:55:44.946Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-505 [Pipeline] fileExists [Pipeline] sh [2024-11-13T11:55:45.364Z] + make test [2024-11-13T11:55:45.364Z] go test ./... -coverprofile=coverage.out [2024-11-13T11:55:46.742Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-11-13T11:56:08.685Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-11-13T11:56:08.685Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements [2024-11-13T11:56:16.803Z] go vet ./... [2024-11-13T11:56:23.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-13T11:56:23.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-13T11:56:23.365Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-13T11:56:23.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-13T11:56:23.446Z] $ docker stop --time=1 c334394b6fabb6330be762134fb80b0328286835d1f8c0cc134b5802d03efe86 [2024-11-13T11:56:25.488Z] $ docker rm -f --volumes c334394b6fabb6330be762134fb80b0328286835d1f8c0cc134b5802d03efe86 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-13T11:56:26.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-13T11:56:26.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-13T11:56:27.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-13T11:56:27.342Z] + ls -al . [2024-11-13T11:56:27.343Z] total 264 [2024-11-13T11:56:27.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 11:55 . [2024-11-13T11:56:27.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 11:54 .. [2024-11-13T11:56:27.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 11:56 .git [2024-11-13T11:56:27.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:54 .github [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 13 11:54 .gitignore [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 11:54 .golangci.yml [2024-11-13T11:56:27.343Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 11:54 .semver [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 18321 Nov 13 11:54 Attribution.txt [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 13 11:54 CHANGELOG.md [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 13 11:54 Dockerfile [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 11:54 GOVERNANCE.md [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 13 11:54 Jenkinsfile [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 11:54 LICENSE [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 2536 Nov 13 11:54 Makefile [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 13 11:54 OWNERS.md [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 13 11:54 README.md [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 11:54 VERSION [2024-11-13T11:56:27.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 11:54 bin [2024-11-13T11:56:27.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:54 cmd [2024-11-13T11:56:27.343Z] -rw-r--r-- 1 jenkins jenkins 43316 Nov 13 11:56 coverage.out [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 6179 Nov 13 11:54 go.mod [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 13 11:54 go.sum [2024-11-13T11:56:27.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:54 internal [2024-11-13T11:56:27.343Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 13 11:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:56:27.772Z] + 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=c806ea5eed6953ac2c54f2e558d20434d4a77eda --label arch=amd64 --label version=0.0.0 . [2024-11-13T11:56:27.772Z] Sending build context to Docker daemon 37.78MB [2024-11-13T11:56:27.772Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T11:56:27.772Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-13T11:56:27.772Z] ---> 01d6873ad2b7 [2024-11-13T11:56:27.772Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-13T11:56:28.033Z] ---> Running in 03155f168977 [2024-11-13T11:56:28.033Z] Removing intermediate container 03155f168977 [2024-11-13T11:56:28.033Z] ---> db9296a33a4a [2024-11-13T11:56:28.033Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-13T11:56:28.033Z] ---> Running in 8e01276474b7 [2024-11-13T11:56:28.294Z] Removing intermediate container 8e01276474b7 [2024-11-13T11:56:28.294Z] ---> fed0f6322da3 [2024-11-13T11:56:28.294Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-13T11:56:28.294Z] ---> Running in b5feae94a821 [2024-11-13T11:56:28.294Z] Removing intermediate container b5feae94a821 [2024-11-13T11:56:28.294Z] ---> c293b51607c2 [2024-11-13T11:56:28.294Z] Step 6/26 : WORKDIR /device-virtual-go [2024-11-13T11:56:28.294Z] ---> Running in 94cf217e5ba4 [2024-11-13T11:56:28.294Z] Removing intermediate container 94cf217e5ba4 [2024-11-13T11:56:28.294Z] ---> 6f1b92403b1b [2024-11-13T11:56:28.294Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-13T11:56:28.294Z] ---> Running in 5e29c7532e42 [2024-11-13T11:56:28.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T11:56:28.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T11:56:29.074Z] OK: 250 MiB in 58 packages [2024-11-13T11:56:29.334Z] Removing intermediate container 5e29c7532e42 [2024-11-13T11:56:29.334Z] ---> 3908463a8773 [2024-11-13T11:56:29.334Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-13T11:56:29.594Z] ---> a06ce343ae1e [2024-11-13T11:56:29.594Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T11:56:29.594Z] ---> Running in aa1027451564 [2024-11-13T11:56:30.162Z] Removing intermediate container aa1027451564 [2024-11-13T11:56:30.162Z] ---> 1e915964ab02 [2024-11-13T11:56:30.162Z] Step 10/26 : COPY . . [2024-11-13T11:56:31.096Z] ---> f3b01ca81fb1 [2024-11-13T11:56:31.096Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-13T11:56:31.096Z] ---> Running in 61ccb0d8315b [2024-11-13T11:56:31.096Z] Removing intermediate container 61ccb0d8315b [2024-11-13T11:56:31.096Z] ---> 7913232e6e81 [2024-11-13T11:56:31.096Z] Step 12/26 : RUN $MAKE [2024-11-13T11:56:31.096Z] ---> Running in c09f6e36ce7c [2024-11-13T11:56:31.358Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2024-11-13T11:57:03.440Z] Removing intermediate container c09f6e36ce7c [2024-11-13T11:57:03.440Z] ---> ee96d27bb440 [2024-11-13T11:57:03.440Z] Step 13/26 : FROM alpine:3.20 [2024-11-13T11:57:03.440Z] 3.20: Pulling from library/alpine [2024-11-13T11:57:03.440Z] da9db072f522: Pulling fs layer [2024-11-13T11:57:03.440Z] da9db072f522: Verifying Checksum [2024-11-13T11:57:03.440Z] da9db072f522: Download complete [2024-11-13T11:57:03.440Z] da9db072f522: Pull complete [2024-11-13T11:57:03.440Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-13T11:57:03.440Z] Status: Downloaded newer image for alpine:3.20 [2024-11-13T11:57:03.440Z] ---> 63b790fccc90 [2024-11-13T11:57:03.440Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-11-13T11:57:03.440Z] ---> Running in 0b1ba0e60f9a [2024-11-13T11:57:03.440Z] Removing intermediate container 0b1ba0e60f9a [2024-11-13T11:57:03.440Z] ---> c7d28a47b55f [2024-11-13T11:57:03.440Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-13T11:57:03.440Z] ---> Running in 6f68b2e93739 [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-13T11:57:03.440Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T11:57:03.440Z] OK: 8 MiB in 15 packages [2024-11-13T11:57:03.440Z] Removing intermediate container 6f68b2e93739 [2024-11-13T11:57:03.440Z] ---> 70a58fb3bbdb [2024-11-13T11:57:03.440Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-13T11:57:03.440Z] ---> Running in 14b20833d727 [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] Upgrading critical system libraries and apk-tools: [2024-11-13T11:57:03.440Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-13T11:57:03.440Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T11:57:03.440Z] Continuing the upgrade transaction with new apk-tools: [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T11:57:03.440Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T11:57:03.440Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T11:57:03.440Z] OK: 8 MiB in 15 packages [2024-11-13T11:57:03.440Z] Removing intermediate container 14b20833d727 [2024-11-13T11:57:03.440Z] ---> edeaea04a302 [2024-11-13T11:57:03.440Z] Step 17/26 : WORKDIR / [2024-11-13T11:57:03.440Z] ---> Running in 20d716b8396b [2024-11-13T11:57:03.440Z] Removing intermediate container 20d716b8396b [2024-11-13T11:57:03.440Z] ---> f40d7c681247 [2024-11-13T11:57:03.440Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-11-13T11:57:03.440Z] ---> 7197b287a2c9 [2024-11-13T11:57:03.440Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-11-13T11:57:03.440Z] ---> 0e4effe35381 [2024-11-13T11:57:03.440Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-11-13T11:57:03.702Z] ---> 32bd18d7a998 [2024-11-13T11:57:03.702Z] Step 21/26 : EXPOSE 59900 [2024-11-13T11:57:03.702Z] ---> Running in 5fe7f726b369 [2024-11-13T11:57:03.702Z] Removing intermediate container 5fe7f726b369 [2024-11-13T11:57:03.702Z] ---> e2a77de2c2ff [2024-11-13T11:57:03.702Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-11-13T11:57:03.702Z] ---> Running in 83a6743da71e [2024-11-13T11:57:03.702Z] Removing intermediate container 83a6743da71e [2024-11-13T11:57:03.702Z] ---> 67b115117f22 [2024-11-13T11:57:03.702Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-13T11:57:03.702Z] ---> Running in 818f0aa10cf0 [2024-11-13T11:57:03.962Z] Removing intermediate container 818f0aa10cf0 [2024-11-13T11:57:03.962Z] ---> ced7fd73f7f8 [2024-11-13T11:57:03.962Z] Step 24/26 : LABEL arch=amd64 [2024-11-13T11:57:03.962Z] ---> Running in d507856f8570 [2024-11-13T11:57:03.962Z] Removing intermediate container d507856f8570 [2024-11-13T11:57:03.962Z] ---> da60461c1da6 [2024-11-13T11:57:03.962Z] Step 25/26 : LABEL git_sha=c806ea5eed6953ac2c54f2e558d20434d4a77eda [2024-11-13T11:57:03.962Z] ---> Running in e8d43df2d629 [2024-11-13T11:57:03.962Z] Removing intermediate container e8d43df2d629 [2024-11-13T11:57:03.962Z] ---> 279f1a6c8e09 [2024-11-13T11:57:03.962Z] Step 26/26 : LABEL version=0.0.0 [2024-11-13T11:57:04.221Z] ---> Running in 791e8ca5aadf [2024-11-13T11:57:04.221Z] Removing intermediate container 791e8ca5aadf [2024-11-13T11:57:04.221Z] ---> 71c342c82c42 [2024-11-13T11:57:04.221Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-13T11:57:04.221Z] Successfully built 71c342c82c42 [2024-11-13T11:57:04.221Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:57:05.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T11:57:05.241Z] [2024-11-13T11:57:05.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:57:05.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T11:57:05.643Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-13T11:57:05.643Z] 5eb5b503b376: Pulling fs layer [2024-11-13T11:57:05.643Z] 5c69ac0246d0: Pulling fs layer [2024-11-13T11:57:05.643Z] ec43610c2a17: Pulling fs layer [2024-11-13T11:57:05.643Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-13T11:57:05.643Z] 33b1e0a273af: Pulling fs layer [2024-11-13T11:57:05.643Z] 5d3b04190fa2: Pulling fs layer [2024-11-13T11:57:05.643Z] 2f39f015ded8: Pulling fs layer [2024-11-13T11:57:05.643Z] 3a2ae6a8a46f: Waiting [2024-11-13T11:57:05.643Z] 33b1e0a273af: Waiting [2024-11-13T11:57:05.643Z] 5d3b04190fa2: Waiting [2024-11-13T11:57:05.643Z] 2f39f015ded8: Waiting [2024-11-13T11:57:05.643Z] 5c69ac0246d0: Verifying Checksum [2024-11-13T11:57:05.643Z] 5c69ac0246d0: Download complete [2024-11-13T11:57:05.643Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-13T11:57:05.643Z] 3a2ae6a8a46f: Download complete [2024-11-13T11:57:05.643Z] 33b1e0a273af: Verifying Checksum [2024-11-13T11:57:05.643Z] 33b1e0a273af: Download complete [2024-11-13T11:57:05.643Z] 5d3b04190fa2: Verifying Checksum [2024-11-13T11:57:05.643Z] 5d3b04190fa2: Download complete [2024-11-13T11:57:05.643Z] ec43610c2a17: Verifying Checksum [2024-11-13T11:57:05.643Z] ec43610c2a17: Download complete [2024-11-13T11:57:05.901Z] 5eb5b503b376: Verifying Checksum [2024-11-13T11:57:05.901Z] 5eb5b503b376: Download complete [2024-11-13T11:57:06.468Z] 2f39f015ded8: Download complete [2024-11-13T11:57:07.035Z] 5eb5b503b376: Pull complete [2024-11-13T11:57:07.294Z] 5c69ac0246d0: Pull complete [2024-11-13T11:57:07.556Z] ec43610c2a17: Pull complete [2024-11-13T11:57:07.815Z] 3a2ae6a8a46f: Pull complete [2024-11-13T11:57:08.082Z] 33b1e0a273af: Pull complete [2024-11-13T11:57:08.082Z] 5d3b04190fa2: Pull complete [2024-11-13T11:57:12.274Z] 2f39f015ded8: Pull complete [2024-11-13T11:57:12.274Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-13T11:57:12.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T11:57:12.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T11:57:12.547Z] prd-ubuntu20.04-docker-8c-8g-26358 does not seem to be running inside a container [2024-11-13T11:57:12.573Z] $ 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-505 -v /w/workspace/foundry_device-virtual-go_PR-505:/w/workspace/foundry_device-virtual-go_PR-505:rw,z -v /w/workspace/foundry_device-virtual-go_PR-505@tmp:/w/workspace/foundry_device-virtual-go_PR-505@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-11-13T11:57:13.735Z] $ docker top 1acf05edcdf866ef05f13344e660d9b47e50d4a6fc356bce339ac7da074a340b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T11:57:14.240Z] ---> job-cost.sh [2024-11-13T11:57:14.240Z] lf-activate-venv: SKIPPING [2024-11-13T11:57:14.240Z] INFO: No Stack... [2024-11-13T11:57:14.809Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-13T11:57:15.083Z] INFO: Archiving Costs [Pipeline] sh [2024-11-13T11:57:15.442Z] + cat /w/workspace/foundry_device-virtual-go_PR-505/archives/cost.csv [2024-11-13T11:57:15.442Z] + cut -d, -f6 [Pipeline] lock [2024-11-13T11:57:15.503Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [2024-11-13T11:57:15.510Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] did not exist. Created. [2024-11-13T11:57:15.518Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-13T11:57:15.960Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-13T11:57:16.014Z] Stashed 1 file(s) [Pipeline] } [2024-11-13T11:57:16.057Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-13T11:57:16.154Z] $ docker stop --time=1 1acf05edcdf866ef05f13344e660d9b47e50d4a6fc356bce339ac7da074a340b [2024-11-13T11:57:17.305Z] $ docker rm -f --volumes 1acf05edcdf866ef05f13344e660d9b47e50d4a6fc356bce339ac7da074a340b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-13T11:58:39.663Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26359 in /w/workspace/foundry_device-virtual-go_PR-505 [Pipeline] { [Pipeline] ws [2024-11-13T11:58:39.743Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-11-13T11:58:39.841Z] The recommended git tool is: git [2024-11-13T11:58:47.468Z] using credential edgex-jenkins-ssh [2024-11-13T11:58:47.494Z] Cloning the remote Git repository [2024-11-13T11:58:47.556Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-11-13T11:58:47.674Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-11-13T11:58:47.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-11-13T11:58:47.978Z] > git --version # timeout=10 [2024-11-13T11:58:47.997Z] > git --version # 'git version 2.25.1' [2024-11-13T11:58:47.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T11:58:48.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-13T11:58:51.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-11-13T11:58:52.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-13T11:58:54.466Z] Merging remotes/origin/main commit a9a957061edcebee319f695d5df98e4602cbd79e into PR head commit c806ea5eed6953ac2c54f2e558d20434d4a77eda [2024-11-13T11:58:54.772Z] Merge succeeded, producing c806ea5eed6953ac2c54f2e558d20434d4a77eda [2024-11-13T11:58:54.775Z] Checking out Revision c806ea5eed6953ac2c54f2e558d20434d4a77eda (PR-505) [2024-11-13T11:58:53.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-11-13T11:58:53.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-11-13T11:58:53.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T11:58:53.967Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-13T11:58:54.485Z] > git config core.sparsecheckout # timeout=10 [2024-11-13T11:58:54.571Z] > git checkout -f c806ea5eed6953ac2c54f2e558d20434d4a77eda # timeout=10 [2024-11-13T11:58:54.661Z] > git remote # timeout=10 [2024-11-13T11:58:54.683Z] > git config --get remote.origin.url # timeout=10 [2024-11-13T11:58:54.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T11:58:54.729Z] > git merge a9a957061edcebee319f695d5df98e4602cbd79e # timeout=10 [2024-11-13T11:58:54.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-13T11:58:54.784Z] > git config core.sparsecheckout # timeout=10 [2024-11-13T11:58:54.796Z] > git checkout -f c806ea5eed6953ac2c54f2e558d20434d4a77eda # timeout=10 [2024-11-13T11:58:55.350Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-13T11:58:55.403Z] > git --version # timeout=10 [2024-11-13T11:58:55.413Z] > git --version # 'git version 2.25.1' [2024-11-13T11:58:55.424Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T11:59:00.424Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-13T11:59:00.424Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-13T11:59:00.424Z] Dload Upload Total Spent Left Speed [2024-11-13T11:59:00.424Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2024-11-13T11:59:00.775Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-13T11:59:01.124Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-13T11:59:01.124Z] + sudo tee /etc/docker/daemon.new [2024-11-13T11:59:01.124Z] { [2024-11-13T11:59:01.124Z] "registry-mirrors": [ [2024-11-13T11:59:01.124Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-13T11:59:01.124Z] ], [2024-11-13T11:59:01.124Z] "bip": "10.250.0.254/24", [2024-11-13T11:59:01.124Z] "hosts": [ [2024-11-13T11:59:01.124Z] "tcp://0.0.0.0:5555", [2024-11-13T11:59:01.124Z] "unix:///var/run/docker.sock" [2024-11-13T11:59:01.124Z] ], [2024-11-13T11:59:01.124Z] "mtu": 1458, [2024-11-13T11:59:01.124Z] "selinux-enabled": true, [2024-11-13T11:59:01.124Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-13T11:59:01.124Z] } [Pipeline] sh [2024-11-13T11:59:01.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-13T11:59:01.840Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T11:59:20.209Z] provisioning config files... [2024-11-13T11:59:20.235Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config505933994208993821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T11:59:20.718Z] ---> ****-login.sh [2024-11-13T11:59:20.718Z] nexus3.edgexfoundry.org:10001 [2024-11-13T11:59:20.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:59:21.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:59:21.259Z] Configure a credential helper to remove this warning. See [2024-11-13T11:59:21.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:59:21.259Z] [2024-11-13T11:59:21.259Z] Login Succeeded [2024-11-13T11:59:21.260Z] nexus3.edgexfoundry.org:10002 [2024-11-13T11:59:21.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:59:21.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:59:21.801Z] Configure a credential helper to remove this warning. See [2024-11-13T11:59:21.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:59:21.801Z] [2024-11-13T11:59:21.801Z] Login Succeeded [2024-11-13T11:59:21.801Z] nexus3.edgexfoundry.org:10003 [2024-11-13T11:59:22.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:59:22.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:59:22.093Z] Configure a credential helper to remove this warning. See [2024-11-13T11:59:22.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:59:22.093Z] [2024-11-13T11:59:22.093Z] Login Succeeded [2024-11-13T11:59:22.093Z] nexus3.edgexfoundry.org:10004 [2024-11-13T11:59:22.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:59:22.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:59:22.363Z] Configure a credential helper to remove this warning. See [2024-11-13T11:59:22.363Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:59:22.363Z] [2024-11-13T11:59:22.363Z] Login Succeeded [2024-11-13T11:59:22.363Z] ****.io [2024-11-13T11:59:22.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T11:59:22.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T11:59:22.899Z] Configure a credential helper to remove this warning. See [2024-11-13T11:59:22.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T11:59:22.899Z] [2024-11-13T11:59:22.899Z] Login Succeeded [2024-11-13T11:59:22.899Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T11:59:22.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-13T11:59:23.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T11:59:23.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T11:59:23.527Z] ========================================================= [2024-11-13T11:59:23.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-13T11:59:23.527Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T11:59:24.087Z] + 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-11-13T11:59:24.675Z] Sending build context to Docker daemon 19.05MB [2024-11-13T11:59:24.675Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T11:59:24.675Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-13T11:59:24.675Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-13T11:59:24.675Z] cf04c63912e1: Pulling fs layer [2024-11-13T11:59:24.675Z] 55b35a11ae5e: Pulling fs layer [2024-11-13T11:59:24.675Z] a37a00ec5f00: Pulling fs layer [2024-11-13T11:59:24.675Z] 50b3750afda1: Pulling fs layer [2024-11-13T11:59:24.675Z] 4f4fb700ef54: Pulling fs layer [2024-11-13T11:59:24.675Z] 80978eb59214: Pulling fs layer [2024-11-13T11:59:24.675Z] c9f46d7d2bd2: Pulling fs layer [2024-11-13T11:59:24.675Z] c5a475d317c9: Pulling fs layer [2024-11-13T11:59:24.675Z] 80978eb59214: Waiting [2024-11-13T11:59:24.675Z] c9f46d7d2bd2: Waiting [2024-11-13T11:59:24.675Z] c5a475d317c9: Waiting [2024-11-13T11:59:24.675Z] 4f4fb700ef54: Waiting [2024-11-13T11:59:24.675Z] 50b3750afda1: Waiting [2024-11-13T11:59:24.946Z] 55b35a11ae5e: Verifying Checksum [2024-11-13T11:59:24.946Z] 55b35a11ae5e: Download complete [2024-11-13T11:59:24.946Z] 50b3750afda1: Verifying Checksum [2024-11-13T11:59:24.946Z] 50b3750afda1: Download complete [2024-11-13T11:59:24.946Z] 4f4fb700ef54: Verifying Checksum [2024-11-13T11:59:24.946Z] 4f4fb700ef54: Download complete [2024-11-13T11:59:24.946Z] 80978eb59214: Download complete [2024-11-13T11:59:24.946Z] cf04c63912e1: Verifying Checksum [2024-11-13T11:59:24.946Z] cf04c63912e1: Download complete [2024-11-13T11:59:25.535Z] c5a475d317c9: Verifying Checksum [2024-11-13T11:59:25.535Z] c5a475d317c9: Download complete [2024-11-13T11:59:25.804Z] cf04c63912e1: Pull complete [2024-11-13T11:59:26.396Z] 55b35a11ae5e: Pull complete [2024-11-13T11:59:26.982Z] a37a00ec5f00: Verifying Checksum [2024-11-13T11:59:26.982Z] a37a00ec5f00: Download complete [2024-11-13T11:59:27.568Z] c9f46d7d2bd2: Verifying Checksum [2024-11-13T11:59:27.568Z] c9f46d7d2bd2: Download complete [2024-11-13T11:59:39.885Z] a37a00ec5f00: Pull complete [2024-11-13T11:59:39.885Z] 50b3750afda1: Pull complete [2024-11-13T11:59:39.885Z] 4f4fb700ef54: Pull complete [2024-11-13T11:59:40.152Z] 80978eb59214: Pull complete [2024-11-13T11:59:48.361Z] c9f46d7d2bd2: Pull complete [2024-11-13T11:59:49.770Z] c5a475d317c9: Pull complete [2024-11-13T11:59:49.770Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-13T11:59:49.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-13T11:59:49.770Z] ---> be29e6b0f0d4 [2024-11-13T11:59:49.770Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-13T11:59:50.351Z] ---> Running in 3851f1de27d0 [2024-11-13T11:59:50.620Z] Removing intermediate container 3851f1de27d0 [2024-11-13T11:59:50.620Z] ---> 60b4b88fc730 [2024-11-13T11:59:50.620Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-13T11:59:50.620Z] ---> Running in 731875ab8b54 [2024-11-13T11:59:50.899Z] Removing intermediate container 731875ab8b54 [2024-11-13T11:59:50.899Z] ---> 08caccd1c401 [2024-11-13T11:59:50.899Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-13T11:59:51.187Z] ---> Running in 5c4e70d00287 [2024-11-13T11:59:51.456Z] Removing intermediate container 5c4e70d00287 [2024-11-13T11:59:51.456Z] ---> dc8e14ce62d9 [2024-11-13T11:59:51.456Z] Step 6/12 : WORKDIR /device-virtual-go [2024-11-13T11:59:51.456Z] ---> Running in 68745642c3f1 [2024-11-13T11:59:51.735Z] Removing intermediate container 68745642c3f1 [2024-11-13T11:59:51.735Z] ---> c8a4749b8136 [2024-11-13T11:59:51.735Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-13T11:59:51.735Z] ---> Running in 0f70b58eab3b [2024-11-13T11:59:53.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T11:59:53.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T11:59:54.586Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-13T11:59:54.586Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-13T11:59:54.586Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-13T11:59:54.586Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-13T11:59:54.586Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T11:59:54.586Z] OK: 242 MiB in 58 packages [2024-11-13T11:59:57.179Z] Removing intermediate container 0f70b58eab3b [2024-11-13T11:59:57.179Z] ---> 3c9ab000caa8 [2024-11-13T11:59:57.179Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-13T11:59:57.179Z] ---> 37d39fd08df7 [2024-11-13T11:59:57.179Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T11:59:57.456Z] ---> Running in 8bc4ae4e6706 [2024-11-13T12:01:49.650Z] Removing intermediate container 8bc4ae4e6706 [2024-11-13T12:01:49.650Z] ---> 35aa6b32c6ee [2024-11-13T12:01:49.650Z] Step 10/12 : COPY . . [2024-11-13T12:01:49.650Z] ---> cc1ec330ed58 [2024-11-13T12:01:49.650Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-13T12:01:49.650Z] ---> Running in 33f9483c6d07 [2024-11-13T12:01:49.650Z] Removing intermediate container 33f9483c6d07 [2024-11-13T12:01:49.650Z] ---> 7c251d228361 [2024-11-13T12:01:49.650Z] Step 12/12 : RUN $MAKE [2024-11-13T12:01:49.650Z] ---> Running in 2d80e916c7d7 [2024-11-13T12:01:49.650Z] noop [2024-11-13T12:01:49.650Z] Removing intermediate container 2d80e916c7d7 [2024-11-13T12:01:49.650Z] ---> 61e1c5faa659 [2024-11-13T12:01:49.650Z] Successfully built 61e1c5faa659 [2024-11-13T12:01:49.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T12:01:50.183Z] + docker inspect -f . ci-base-image-arm64 [2024-11-13T12:01:50.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T12:01:50.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-26359 does not seem to be running inside a container [2024-11-13T12:01:50.526Z] $ 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-11-13T12:01:51.654Z] $ docker top 693cfa1bb78a2eb28ea22264fb87dfddcd0a447dfc37a6d009637cb85c587d3f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T12:01:52.526Z] + go version [2024-11-13T12:01:52.526Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-13T12:01:52.566Z] $ docker stop --time=1 693cfa1bb78a2eb28ea22264fb87dfddcd0a447dfc37a6d009637cb85c587d3f [2024-11-13T12:01:54.197Z] $ docker rm -f --volumes 693cfa1bb78a2eb28ea22264fb87dfddcd0a447dfc37a6d009637cb85c587d3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T12:01:55.173Z] + docker inspect -f . ci-base-image-arm64 [2024-11-13T12:01:55.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T12:01:55.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-26359 does not seem to be running inside a container [2024-11-13T12:01:55.558Z] $ 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-11-13T12:01:56.739Z] $ docker top 7738f34faa1eef88991b0fbc85fc3a8f5a00c35b9d57f550d7bf487da2daf568 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T12:01:57.503Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-13T12:01:58.244Z] + make test [2024-11-13T12:01:58.244Z] go test ./... -coverprofile=coverage.out [2024-11-13T12:02:04.950Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-11-13T12:05:11.742Z] github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements [2024-11-13T12:05:14.323Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.3% of statements [2024-11-13T12:05:14.904Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-13T12:05:14.904Z] go vet ./... [2024-11-13T12:06:01.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-13T12:06:01.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-13T12:06:01.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-13T12:06:01.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-13T12:06:01.835Z] $ docker stop --time=1 7738f34faa1eef88991b0fbc85fc3a8f5a00c35b9d57f550d7bf487da2daf568 [2024-11-13T12:06:03.691Z] $ docker rm -f --volumes 7738f34faa1eef88991b0fbc85fc3a8f5a00c35b9d57f550d7bf487da2daf568 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-13T12:06:05.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-13T12:06:05.296Z] Warning: overwriting stash ‘coverage-report’ [2024-11-13T12:06:05.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T12:06:06.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-13T12:06:06.820Z] + ls -al . [2024-11-13T12:06:06.820Z] total 260 [2024-11-13T12:06:06.820Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 13 12:02 . [2024-11-13T12:06:06.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 11:58 .. [2024-11-13T12:06:06.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 11:58 .git [2024-11-13T12:06:06.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:58 .github [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 13 11:58 .gitignore [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 11:58 .golangci.yml [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 18321 Nov 13 11:58 Attribution.txt [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 13 11:58 CHANGELOG.md [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 13 11:58 Dockerfile [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 11:58 GOVERNANCE.md [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 13 11:58 Jenkinsfile [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 11:58 LICENSE [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 2536 Nov 13 11:58 Makefile [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 13 11:58 OWNERS.md [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 13 11:58 README.md [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 11:54 VERSION [2024-11-13T12:06:06.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 11:58 bin [2024-11-13T12:06:06.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:58 cmd [2024-11-13T12:06:06.820Z] -rw-r--r-- 1 jenkins jenkins 43316 Nov 13 12:05 coverage.out [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 6179 Nov 13 11:58 go.mod [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 13 11:58 go.sum [2024-11-13T12:06:06.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 11:58 internal [2024-11-13T12:06:06.820Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 13 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T12:06:07.261Z] + 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=c806ea5eed6953ac2c54f2e558d20434d4a77eda --label arch=arm64 --label version=0.0.0 . [2024-11-13T12:06:07.844Z] Sending build context to Docker daemon 19.09MB [2024-11-13T12:06:07.844Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T12:06:07.844Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-13T12:06:07.844Z] ---> 61e1c5faa659 [2024-11-13T12:06:07.844Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-13T12:06:08.123Z] ---> Running in f091d78069cb [2024-11-13T12:06:08.392Z] Removing intermediate container f091d78069cb [2024-11-13T12:06:08.392Z] ---> 620d416b9649 [2024-11-13T12:06:08.392Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-13T12:06:08.392Z] ---> Running in a617633f152d [2024-11-13T12:06:08.661Z] Removing intermediate container a617633f152d [2024-11-13T12:06:08.661Z] ---> 6c685d66ec90 [2024-11-13T12:06:08.661Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-11-13T12:06:08.939Z] ---> Running in e1b5410ca1a7 [2024-11-13T12:06:09.207Z] Removing intermediate container e1b5410ca1a7 [2024-11-13T12:06:09.207Z] ---> 17d4e438a7f5 [2024-11-13T12:06:09.207Z] Step 6/26 : WORKDIR /device-virtual-go [2024-11-13T12:06:09.207Z] ---> Running in 9f46db3b09a7 [2024-11-13T12:06:09.489Z] Removing intermediate container 9f46db3b09a7 [2024-11-13T12:06:09.489Z] ---> 2e2bde459ff7 [2024-11-13T12:06:09.489Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-13T12:06:09.489Z] ---> Running in a5d754cfb045 [2024-11-13T12:06:10.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T12:06:11.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T12:06:12.464Z] OK: 242 MiB in 58 packages [2024-11-13T12:06:13.422Z] Removing intermediate container a5d754cfb045 [2024-11-13T12:06:13.422Z] ---> d6307ebce76d [2024-11-13T12:06:13.422Z] Step 8/26 : COPY go.mod vendor* ./ [2024-11-13T12:06:13.702Z] ---> aa550bb1e867 [2024-11-13T12:06:13.702Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T12:06:13.971Z] ---> Running in 96091c8a3aaa [2024-11-13T12:06:16.556Z] Removing intermediate container 96091c8a3aaa [2024-11-13T12:06:16.556Z] ---> 195c679ea3d8 [2024-11-13T12:06:16.556Z] Step 10/26 : COPY . . [2024-11-13T12:06:17.516Z] ---> f85916ecf223 [2024-11-13T12:06:17.516Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-13T12:06:17.516Z] ---> Running in 10ea419b3e1d [2024-11-13T12:06:17.782Z] Removing intermediate container 10ea419b3e1d [2024-11-13T12:06:17.782Z] ---> 0f059821757a [2024-11-13T12:06:17.782Z] Step 12/26 : RUN $MAKE [2024-11-13T12:06:17.782Z] ---> Running in 60d9048244aa [2024-11-13T12:06:18.765Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2024-11-13T12:09:28.257Z] Removing intermediate container 60d9048244aa [2024-11-13T12:09:28.257Z] ---> 7f23f25dc8a5 [2024-11-13T12:09:28.257Z] Step 13/26 : FROM alpine:3.20 [2024-11-13T12:09:28.257Z] 3.20: Pulling from library/alpine [2024-11-13T12:09:28.257Z] 9986a736f7d3: Pulling fs layer [2024-11-13T12:09:28.257Z] 9986a736f7d3: Verifying Checksum [2024-11-13T12:09:28.257Z] 9986a736f7d3: Download complete [2024-11-13T12:09:28.257Z] 9986a736f7d3: Pull complete [2024-11-13T12:09:28.257Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-13T12:09:28.257Z] Status: Downloaded newer image for alpine:3.20 [2024-11-13T12:09:28.257Z] ---> 511a44083d3a [2024-11-13T12:09:28.257Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-11-13T12:09:28.257Z] ---> Running in 0fc85596a11f [2024-11-13T12:09:28.257Z] Removing intermediate container 0fc85596a11f [2024-11-13T12:09:28.257Z] ---> 25bd8731ed4f [2024-11-13T12:09:28.257Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-11-13T12:09:28.257Z] ---> Running in ce8ae696b327 [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-13T12:09:28.257Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T12:09:28.257Z] OK: 9 MiB in 15 packages [2024-11-13T12:09:28.257Z] Removing intermediate container ce8ae696b327 [2024-11-13T12:09:28.257Z] ---> e4dbd6469ba3 [2024-11-13T12:09:28.257Z] Step 16/26 : RUN apk --no-cache upgrade [2024-11-13T12:09:28.257Z] ---> Running in 850876e13969 [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] Upgrading critical system libraries and apk-tools: [2024-11-13T12:09:28.257Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-13T12:09:28.257Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T12:09:28.257Z] Continuing the upgrade transaction with new apk-tools: [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T12:09:28.257Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T12:09:28.257Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T12:09:28.257Z] OK: 9 MiB in 15 packages [2024-11-13T12:09:28.257Z] Removing intermediate container 850876e13969 [2024-11-13T12:09:28.257Z] ---> 18fa644e2f7e [2024-11-13T12:09:28.257Z] Step 17/26 : WORKDIR / [2024-11-13T12:09:28.257Z] ---> Running in cba577dd00c2 [2024-11-13T12:09:28.257Z] Removing intermediate container cba577dd00c2 [2024-11-13T12:09:28.257Z] ---> c9524c2eabc5 [2024-11-13T12:09:28.257Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-11-13T12:09:28.257Z] ---> 6f403b91113d [2024-11-13T12:09:28.257Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-11-13T12:09:28.257Z] ---> b7edc9747ff3 [2024-11-13T12:09:28.257Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-11-13T12:09:28.838Z] ---> a6898ce19489 [2024-11-13T12:09:28.838Z] Step 21/26 : EXPOSE 59900 [2024-11-13T12:09:28.838Z] ---> Running in f537a083e228 [2024-11-13T12:09:29.106Z] Removing intermediate container f537a083e228 [2024-11-13T12:09:29.106Z] ---> c5c76771e6d2 [2024-11-13T12:09:29.106Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-11-13T12:09:29.106Z] ---> Running in c8f391e4ddb9 [2024-11-13T12:09:29.372Z] Removing intermediate container c8f391e4ddb9 [2024-11-13T12:09:29.372Z] ---> c93b1de047d1 [2024-11-13T12:09:29.372Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-13T12:09:29.372Z] ---> Running in 8d6b1866c020 [2024-11-13T12:09:29.647Z] Removing intermediate container 8d6b1866c020 [2024-11-13T12:09:29.647Z] ---> 23be55a71e15 [2024-11-13T12:09:29.647Z] Step 24/26 : LABEL arch=arm64 [2024-11-13T12:09:29.930Z] ---> Running in 6c4ceaa39858 [2024-11-13T12:09:30.197Z] Removing intermediate container 6c4ceaa39858 [2024-11-13T12:09:30.197Z] ---> 3ee24586a079 [2024-11-13T12:09:30.197Z] Step 25/26 : LABEL git_sha=c806ea5eed6953ac2c54f2e558d20434d4a77eda [2024-11-13T12:09:30.197Z] ---> Running in b01890680ed4 [2024-11-13T12:09:30.464Z] Removing intermediate container b01890680ed4 [2024-11-13T12:09:30.464Z] ---> db351f53b215 [2024-11-13T12:09:30.464Z] Step 26/26 : LABEL version=0.0.0 [2024-11-13T12:09:30.464Z] ---> Running in 78f2d4663266 [2024-11-13T12:09:30.730Z] Removing intermediate container 78f2d4663266 [2024-11-13T12:09:30.730Z] ---> 6616ee200526 [2024-11-13T12:09:30.730Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-13T12:09:30.730Z] Successfully built 6616ee200526 [2024-11-13T12:09:30.730Z] 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-11-13T12:09:31.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T12:09:31.661Z] [2024-11-13T12:09:31.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T12:09:32.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T12:09:32.089Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-13T12:09:32.089Z] 8998bd30e6a1: Pulling fs layer [2024-11-13T12:09:32.089Z] 04944245beec: Pulling fs layer [2024-11-13T12:09:32.089Z] 699f458cf7ca: Pulling fs layer [2024-11-13T12:09:32.089Z] 765212b225bb: Pulling fs layer [2024-11-13T12:09:32.089Z] f23df028b6ca: Pulling fs layer [2024-11-13T12:09:32.089Z] d65c8cfc05b1: Pulling fs layer [2024-11-13T12:09:32.089Z] 2437ff75d9bd: Pulling fs layer [2024-11-13T12:09:32.089Z] 765212b225bb: Waiting [2024-11-13T12:09:32.089Z] f23df028b6ca: Waiting [2024-11-13T12:09:32.089Z] d65c8cfc05b1: Waiting [2024-11-13T12:09:32.089Z] 2437ff75d9bd: Waiting [2024-11-13T12:09:32.357Z] 04944245beec: Verifying Checksum [2024-11-13T12:09:32.357Z] 04944245beec: Download complete [2024-11-13T12:09:32.357Z] 765212b225bb: Verifying Checksum [2024-11-13T12:09:32.357Z] 765212b225bb: Download complete [2024-11-13T12:09:32.357Z] f23df028b6ca: Verifying Checksum [2024-11-13T12:09:32.357Z] f23df028b6ca: Download complete [2024-11-13T12:09:32.357Z] d65c8cfc05b1: Verifying Checksum [2024-11-13T12:09:32.357Z] d65c8cfc05b1: Download complete [2024-11-13T12:09:32.357Z] 699f458cf7ca: Verifying Checksum [2024-11-13T12:09:32.357Z] 699f458cf7ca: Download complete [2024-11-13T12:09:32.944Z] 8998bd30e6a1: Verifying Checksum [2024-11-13T12:09:32.944Z] 8998bd30e6a1: Download complete [2024-11-13T12:09:34.885Z] 2437ff75d9bd: Verifying Checksum [2024-11-13T12:09:34.886Z] 2437ff75d9bd: Download complete [2024-11-13T12:09:36.827Z] 8998bd30e6a1: Pull complete [2024-11-13T12:09:37.416Z] 04944245beec: Pull complete [2024-11-13T12:09:38.828Z] 699f458cf7ca: Pull complete [2024-11-13T12:09:38.828Z] 765212b225bb: Pull complete [2024-11-13T12:09:39.783Z] f23df028b6ca: Pull complete [2024-11-13T12:09:39.783Z] d65c8cfc05b1: Pull complete [2024-11-13T12:09:54.760Z] 2437ff75d9bd: Pull complete [2024-11-13T12:09:54.760Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-13T12:09:54.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T12:09:54.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T12:09:55.146Z] prd-ubuntu20.04-docker-arm64-4c-16g-26359 does not seem to be running inside a container [2024-11-13T12:09:55.215Z] $ 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-11-13T12:09:57.734Z] $ docker top 1f949dd20aca547fdf741a20ebf0da693da1a7477d2d624897182a4e24a53794 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:09:58.310Z] ---> job-cost.sh [2024-11-13T12:09:58.580Z] lf-activate-venv: SKIPPING [2024-11-13T12:09:58.580Z] INFO: No Stack... [2024-11-13T12:09:59.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-13T12:09:59.735Z] INFO: Archiving Costs [Pipeline] sh [2024-11-13T12:10:00.076Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-11-13T12:10:00.076Z] + cut -d, -f6 [Pipeline] lock [2024-11-13T12:10:00.141Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [2024-11-13T12:10:00.148Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] did not exist. Created. [2024-11-13T12:10:00.154Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-13T12:10:00.647Z] /w/workspace/device-virtual-go/1@tmp/durable-f267ab50/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-13T12:10:01.035Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-13T12:10:01.085Z] Warning: overwriting stash ‘stack-cost’ [2024-11-13T12:10:01.131Z] Stashed 1 file(s) [Pipeline] } [2024-11-13T12:10:01.156Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-13T12:10:01.256Z] $ docker stop --time=1 1f949dd20aca547fdf741a20ebf0da693da1a7477d2d624897182a4e24a53794 [2024-11-13T12:10:02.723Z] $ docker rm -f --volumes 1f949dd20aca547fdf741a20ebf0da693da1a7477d2d624897182a4e24a53794 [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-11-13T12:10:03.903Z] provisioning config files... [2024-11-13T12:10:03.910Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-505@tmp/config14452350713662261391tmp [Pipeline] { [Pipeline] sh [2024-11-13T12:10:04.264Z] + set +x [2024-11-13T12:10:04.264Z] + bash -s -- [2024-11-13T12:10:04.264Z] + curl -s https://codecov.io/bash [2024-11-13T12:10:04.264Z] [2024-11-13T12:10:04.264Z] _____ _ [2024-11-13T12:10:04.264Z] / ____| | | [2024-11-13T12:10:04.264Z] | | ___ __| | ___ ___ _____ __ [2024-11-13T12:10:04.264Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-13T12:10:04.264Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-13T12:10:04.264Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-13T12:10:04.264Z] Bash-1.0.6 [2024-11-13T12:10:04.264Z] [2024-11-13T12:10:04.264Z] [2024-11-13T12:10:04.264Z] ==> git version 2.25.1 found [2024-11-13T12:10:04.264Z] ==> 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-11-13T12:10:04.264Z] Release-Date: 2020-01-08 [2024-11-13T12:10:04.264Z] 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-11-13T12:10:04.264Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-13T12:10:04.264Z] ==> Jenkins CI detected. [2024-11-13T12:10:04.264Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-505 [2024-11-13T12:10:04.264Z] project root: . [2024-11-13T12:10:04.264Z] --> token set from env [2024-11-13T12:10:04.264Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-13T12:10:04.264Z] ==> Running gcov in . (disable via -X gcov) [2024-11-13T12:10:04.264Z] ==> Python coveragepy not found [2024-11-13T12:10:04.264Z] ==> Searching for coverage reports in: [2024-11-13T12:10:04.264Z] + . [2024-11-13T12:10:04.264Z] -> Found 1 reports [2024-11-13T12:10:04.264Z] ==> Detecting git/mercurial file structure [2024-11-13T12:10:04.526Z] ==> Reading reports [2024-11-13T12:10:04.526Z] + ./coverage.out bytes=43316 [2024-11-13T12:10:04.526Z] ==> Appending adjustments [2024-11-13T12:10:04.526Z] https://docs.codecov.io/docs/fixing-reports [2024-11-13T12:10:04.526Z] + Found adjustments [2024-11-13T12:10:04.526Z] ==> Gzipping contents [2024-11-13T12:10:04.526Z] 8.0K /tmp/codecov.dVLOpQ.gz [2024-11-13T12:10:04.526Z] ==> Uploading reports [2024-11-13T12:10:04.526Z] url: https://codecov.io [2024-11-13T12:10:04.526Z] query: branch=PR-505&commit=c806ea5eed6953ac2c54f2e558d20434d4a77eda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=505&job=&cmd_args= [2024-11-13T12:10:04.526Z] -> Pinging Codecov [2024-11-13T12:10:04.526Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-505&commit=c806ea5eed6953ac2c54f2e558d20434d4a77eda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=505&job=&cmd_args= [2024-11-13T12:10:04.785Z] -> Uploading to [2024-11-13T12:10:04.785Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/c806ea5eed6953ac2c54f2e558d20434d4a77eda/fdeb5fbc-7ec7-4e9e-9c12-1a699088c0dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241113T121004Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e8cfd8aa0f728787ad77a7ad7ade0f6c7561982cef87768530afc46582561308 [2024-11-13T12:10:04.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-13T12:10:04.785Z] Dload Upload Total Spent Left Speed [2024-11-13T12:10:05.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 23119 --:--:-- --:--:-- --:--:-- 23119 [2024-11-13T12:10:05.044Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c806ea5eed6953ac2c54f2e558d20434d4a77eda [Pipeline] } [2024-11-13T12:10:05.077Z] 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-11-13T12:10:07.385Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-505/archives ] [2024-11-13T12:10:07.385Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-505/archives [2024-11-13T12:10:07.385Z] total 16 [2024-11-13T12:10:07.385Z] drwxr-xr-x 3 root root 4096 Nov 13 11:57 . [2024-11-13T12:10:07.385Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 11:57 .. [2024-11-13T12:10:07.385Z] drwxr-xr-x 2 root root 4096 Nov 13 11:57 cost [2024-11-13T12:10:07.385Z] -rw-r--r-- 1 root root 89 Nov 13 11:57 cost.csv [2024-11-13T12:10:07.385Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-505/archives [2024-11-13T12:10:07.385Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-505/archives [2024-11-13T12:10:07.385Z] total 16 [2024-11-13T12:10:07.385Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 11:57 . [2024-11-13T12:10:07.385Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 11:57 .. [2024-11-13T12:10:07.385Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 11:57 cost [2024-11-13T12:10:07.385Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 13 11:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:07.737Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:08.659Z] ---> package-listing.sh [2024-11-13T12:10:08.659Z] ++ facter osfamily [2024-11-13T12:10:08.659Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-13T12:10:08.659Z] + OS_FAMILY=debian [2024-11-13T12:10:08.919Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-505 [2024-11-13T12:10:08.919Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-13T12:10:08.919Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-13T12:10:08.919Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-13T12:10:08.919Z] + PACKAGES=/tmp/packages_start.txt [2024-11-13T12:10:08.919Z] + '[' /w/workspace/foundry_device-virtual-go_PR-505 ']' [2024-11-13T12:10:08.919Z] + PACKAGES=/tmp/packages_end.txt [2024-11-13T12:10:08.919Z] + case "${OS_FAMILY}" in [2024-11-13T12:10:08.919Z] + dpkg -l [2024-11-13T12:10:08.919Z] + grep '^ii' [2024-11-13T12:10:08.919Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-13T12:10:08.919Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-13T12:10:08.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-13T12:10:08.919Z] + '[' /w/workspace/foundry_device-virtual-go_PR-505 ']' [2024-11-13T12:10:08.919Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-505/archives/ [2024-11-13T12:10:08.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-505/archives/ [Pipeline] echo [2024-11-13T12:10:08.959Z] 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-13T12:10:09.257Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T12:10:09.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T12:10:09.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T12:10:10.088Z] prd-ubuntu20.04-docker-8c-8g-26358 does not seem to be running inside a container [2024-11-13T12:10:10.110Z] $ 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-505/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-505 -v /w/workspace/foundry_device-virtual-go_PR-505:/w/workspace/foundry_device-virtual-go_PR-505:rw,z -v /w/workspace/foundry_device-virtual-go_PR-505@tmp:/w/workspace/foundry_device-virtual-go_PR-505@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-11-13T12:10:10.298Z] $ docker top 4da2011c42edc8db47d571a61397c662046bbc38543d0702eb87b1176441781e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T12:10:10.777Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-13T12:10:11.128Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-13T12:10:11.488Z] + ls /var/log/sa-host [2024-11-13T12:10:11.488Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T12:10:11.728Z] provisioning config files... [2024-11-13T12:10:11.739Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-505@tmp/config10884070575703877443tmp [Pipeline] { [Pipeline] echo [2024-11-13T12:10:11.811Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:12.138Z] ---> create-netrc.sh [Pipeline] } [2024-11-13T12:10:12.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:12.586Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-13T12:10:12.619Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:12.936Z] ---> sudo-logs.sh [2024-11-13T12:10:12.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-13T12:10:13.043Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:13.378Z] ---> job-cost.sh [2024-11-13T12:10:13.378Z] lf-activate-venv: SKIPPING [2024-11-13T12:10:13.378Z] DEBUG: total: 0.2199999988079071 [2024-11-13T12:10:13.378Z] INFO: Retrieving Stack Cost... [2024-11-13T12:10:13.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-13T12:10:13.897Z] INFO: Archiving Costs [Pipeline] echo [2024-11-13T12:10:14.193Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T12:10:14.527Z] ---> logs-deploy.sh [2024-11-13T12:10:14.527Z] lf-activate-venv: SKIPPING [2024-11-13T12:10:14.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-505/1 [2024-11-13T12:10:14.527Z] INFO: archiving workspace using pattern(s): [2024-11-13T12:10:15.468Z] Archives upload complete. [2024-11-13T12:10:15.468Z] INFO: archiving logs to Nexus