Pull request #372 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c+b76ffb3f756266f027a45c1155223ddd586b2bad (9a4c7be74384c5c030c50d89f2df6cad681e8f6c) 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-ssh15266204924611409597.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16737978999516514876.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-372/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-372/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17331107411373409758.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16891778473479506978.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-372/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-372/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7568105846036863313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6167’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6168 in /w/workspace/foundry_device-virtual-go_PR-372 [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-372 # 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/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c Merge succeeded, producing d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c Checking out Revision d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c (PR-372) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-29T01:28:33.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T01:28:33.329Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T01:28:33.343Z] ========================================================= [2023-03-29T01:28:33.343Z] EdgeX Global Pipelines Version Info [2023-03-29T01:28:33.343Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c # 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 b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c # timeout=10 > git rev-list --no-walk fc5579650334337fd5c8c45152a4c0344add78c7 # timeout=10 [2023-03-29T01:28:34.049Z] ------------------- [2023-03-29T01:28:34.049Z] stable info: [2023-03-29T01:28:34.049Z] ------------------- [2023-03-29T01:28:34.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T01:28:34.049Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T01:28:34.049Z] Message: update stable to v1.0.245 [2023-03-29T01:28:34.622Z] ------------------- [2023-03-29T01:28:34.622Z] experimental info: [2023-03-29T01:28:34.622Z] ------------------- [2023-03-29T01:28:34.622Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T01:28:34.622Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T01:28:34.622Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T01:28:34.822Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-29T01:28:34.834Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-29T01:28:34.845Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T01:28:34.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T01:28:34.869Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T01:28:34.879Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T01:28:34.891Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T01:28:34.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T01:28:34.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T01:28:34.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T01:28:34.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T01:28:34.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-29T01:28:34.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T01:28:34.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T01:28:35.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T01:28:35.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T01:28:35.028Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T01:28:35.039Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T01:28:35.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T01:28:35.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T01:28:35.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T01:28:35.085Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T01:28:35.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T01:28:35.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T01:28:35.123Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T01:28:35.135Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T01:28:35.146Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T01:28:35.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo [2023-03-29T01:28:35.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo [2023-03-29T01:28:35.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo [2023-03-29T01:28:35.207Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [Pipeline] echo [2023-03-29T01:28:35.225Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4e5bf2 [Pipeline] echo [2023-03-29T01:28:35.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T01:28:35.293Z] provisioning config files... [2023-03-29T01:28:35.308Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-372@tmp/config16250731648467426167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:28:35.611Z] ---> docker-login.sh [2023-03-29T01:28:35.611Z] nexus3.edgexfoundry.org:10001 [2023-03-29T01:28:35.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:36.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:36.133Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:36.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:36.133Z] [2023-03-29T01:28:36.133Z] Login Succeeded [2023-03-29T01:28:36.133Z] nexus3.edgexfoundry.org:10002 [2023-03-29T01:28:36.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:36.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:36.133Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:36.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:36.133Z] [2023-03-29T01:28:36.133Z] Login Succeeded [2023-03-29T01:28:36.133Z] nexus3.edgexfoundry.org:10003 [2023-03-29T01:28:36.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:36.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:36.133Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:36.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:36.133Z] [2023-03-29T01:28:36.133Z] Login Succeeded [2023-03-29T01:28:36.133Z] nexus3.edgexfoundry.org:10004 [2023-03-29T01:28:36.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:36.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:36.394Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:36.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:36.394Z] [2023-03-29T01:28:36.394Z] Login Succeeded [2023-03-29T01:28:36.394Z] docker.io [2023-03-29T01:28:36.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:36.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:36.655Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:36.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:36.655Z] [2023-03-29T01:28:36.655Z] Login Succeeded [2023-03-29T01:28:36.655Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T01:28:36.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T01:28:37.033Z] + git rev-list -1 --merges d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c~1..d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [Pipeline] echo [2023-03-29T01:28:37.087Z] -----------> git rev-list -1 --merges d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c~1..d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [false] [Pipeline] sh [2023-03-29T01:28:37.375Z] + git log --format=format:%s -1 d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [Pipeline] echo [2023-03-29T01:28:37.389Z] ========================================================= [2023-03-29T01:28:37.389Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T01:28:37.389Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T01:28:37.702Z] + git log --format=format:%s -1 d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [Pipeline] echo [2023-03-29T01:28:37.715Z] [semverPrep] GIT_COMMIT: d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-29T01:28:37.723Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T01:28:38.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T01:28:38.053Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T01:28:38.053Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T01:28:38.053Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T01:28:38.053Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T01:28:38.053Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T01:28:38.053Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:28:38.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T01:28:38.395Z] [2023-03-29T01:28:38.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:28:38.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T01:28:38.693Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T01:28:38.693Z] b85a868b505f: Pulling fs layer [2023-03-29T01:28:38.693Z] e2be974225ed: Pulling fs layer [2023-03-29T01:28:38.693Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T01:28:38.693Z] 988bab9f4d93: Pulling fs layer [2023-03-29T01:28:38.693Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T01:28:38.693Z] eaf3925da568: Pulling fs layer [2023-03-29T01:28:38.693Z] bab4dde63d76: Pulling fs layer [2023-03-29T01:28:38.693Z] bde34c3a00c8: Pulling fs layer [2023-03-29T01:28:38.693Z] b352a97aabf1: Pulling fs layer [2023-03-29T01:28:38.693Z] 4872d77fe225: Pulling fs layer [2023-03-29T01:28:38.693Z] 5851b861e8e6: Pulling fs layer [2023-03-29T01:28:38.693Z] bab4dde63d76: Waiting [2023-03-29T01:28:38.693Z] bde34c3a00c8: Waiting [2023-03-29T01:28:38.693Z] b352a97aabf1: Waiting [2023-03-29T01:28:38.693Z] 4872d77fe225: Waiting [2023-03-29T01:28:38.693Z] 1469e6f7b9e6: Waiting [2023-03-29T01:28:38.693Z] eaf3925da568: Waiting [2023-03-29T01:28:38.693Z] 5851b861e8e6: Waiting [2023-03-29T01:28:38.693Z] 988bab9f4d93: Waiting [2023-03-29T01:28:38.693Z] e2be974225ed: Verifying Checksum [2023-03-29T01:28:38.693Z] e2be974225ed: Download complete [2023-03-29T01:28:38.693Z] 988bab9f4d93: Verifying Checksum [2023-03-29T01:28:38.693Z] 988bab9f4d93: Download complete [2023-03-29T01:28:38.693Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T01:28:38.693Z] 1469e6f7b9e6: Download complete [2023-03-29T01:28:38.957Z] eaf3925da568: Verifying Checksum [2023-03-29T01:28:38.957Z] eaf3925da568: Download complete [2023-03-29T01:28:38.957Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T01:28:38.957Z] 339a4e72a1f5: Download complete [2023-03-29T01:28:38.957Z] bde34c3a00c8: Verifying Checksum [2023-03-29T01:28:38.957Z] bde34c3a00c8: Download complete [2023-03-29T01:28:38.957Z] b352a97aabf1: Download complete [2023-03-29T01:28:38.957Z] 4872d77fe225: Verifying Checksum [2023-03-29T01:28:38.957Z] 4872d77fe225: Download complete [2023-03-29T01:28:38.957Z] 5851b861e8e6: Download complete [2023-03-29T01:28:38.957Z] b85a868b505f: Verifying Checksum [2023-03-29T01:28:38.957Z] b85a868b505f: Download complete [2023-03-29T01:28:39.530Z] bab4dde63d76: Verifying Checksum [2023-03-29T01:28:39.530Z] bab4dde63d76: Download complete [2023-03-29T01:28:40.468Z] b85a868b505f: Pull complete [2023-03-29T01:28:40.468Z] e2be974225ed: Pull complete [2023-03-29T01:28:41.043Z] 339a4e72a1f5: Pull complete [2023-03-29T01:28:41.043Z] 988bab9f4d93: Pull complete [2023-03-29T01:28:41.305Z] 1469e6f7b9e6: Pull complete [2023-03-29T01:28:41.566Z] eaf3925da568: Pull complete [2023-03-29T01:28:43.476Z] bab4dde63d76: Pull complete [2023-03-29T01:28:43.476Z] bde34c3a00c8: Pull complete [2023-03-29T01:28:43.735Z] b352a97aabf1: Pull complete [2023-03-29T01:28:43.735Z] 4872d77fe225: Pull complete [2023-03-29T01:28:43.997Z] 5851b861e8e6: Pull complete [2023-03-29T01:28:43.997Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T01:28:43.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T01:28:43.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:28:44.110Z] prd-ubuntu20.04-docker-8c-8g-6168 does not seem to be running inside a container [2023-03-29T01:28:44.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-372 -v /w/workspace/foundry_device-virtual-go_PR-372:/w/workspace/foundry_device-virtual-go_PR-372:rw,z -v /w/workspace/foundry_device-virtual-go_PR-372@tmp:/w/workspace/foundry_device-virtual-go_PR-372@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-devops/py-git-semver:0.1.4 cat [2023-03-29T01:28:47.332Z] $ docker top f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 -eo pid,comm [2023-03-29T01:28:47.384Z] 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). [2023-03-29T01:28:47.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T01:28:47.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T01:28:47.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T01:28:47.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T01:28:47.537Z] $ docker exec f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 ssh-agent [2023-03-29T01:28:47.637Z] SSH_AUTH_SOCK=/tmp/ssh-dVCG7Zh3zqTT/agent.33 [2023-03-29T01:28:47.637Z] SSH_AGENT_PID=39 [2023-03-29T01:28:47.645Z] Running ssh-add (command line suppressed) [2023-03-29T01:28:47.749Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-372@tmp/private_key_14263281297037656892.key (/w/workspace/foundry_device-virtual-go_PR-372@tmp/private_key_14263281297037656892.key) [2023-03-29T01:28:47.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T01:28:48.047Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T01:28:48.062Z] $ docker exec --env ******** --env ******** f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 ssh-agent -k [2023-03-29T01:28:48.158Z] unset SSH_AUTH_SOCK; [2023-03-29T01:28:48.159Z] unset SSH_AGENT_PID; [2023-03-29T01:28:48.159Z] echo Agent pid 39 killed; [2023-03-29T01:28:48.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T01:28:48.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T01:28:48.198Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T01:28:48.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T01:28:48.327Z] $ docker exec f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 ssh-agent [2023-03-29T01:28:48.430Z] SSH_AUTH_SOCK=/tmp/ssh-KEXx3mx55ihw/agent.71 [2023-03-29T01:28:48.430Z] SSH_AGENT_PID=78 [2023-03-29T01:28:48.435Z] Running ssh-add (command line suppressed) [2023-03-29T01:28:48.535Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-372@tmp/private_key_15531872070382007682.key (/w/workspace/foundry_device-virtual-go_PR-372@tmp/private_key_15531872070382007682.key) [2023-03-29T01:28:48.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T01:28:48.836Z] + git semver init [2023-03-29T01:28:49.095Z] 2023-03-29 01:28:49,008 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T01:28:49.095Z] 2023-03-29 01:28:49,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-372/.semver [2023-03-29T01:28:49.095Z] 2023-03-29 01:28:49,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-372/.semver [2023-03-29T01:28:49.095Z] 2023-03-29 01:28:49,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-372/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-372, universal_newlines=False, shell=None, istream=None) [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,133 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-372/.git/info/exclude [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,133 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-372/.semver/PR-372 with force:False [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,133 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-372/.semver/PR-372 [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,136 [execute] INFO git cat-file --batch-check [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-372/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,143 [execute] INFO git cat-file --batch [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-372/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T01:28:50.476Z] 2023-03-29 01:28:50,149 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-372/.semver/PR-372 [2023-03-29T01:28:50.476Z] 0.0.0 [Pipeline] } [2023-03-29T01:28:50.490Z] $ docker exec --env ******** --env ******** f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 ssh-agent -k [2023-03-29T01:28:50.592Z] unset SSH_AUTH_SOCK; [2023-03-29T01:28:50.593Z] unset SSH_AGENT_PID; [2023-03-29T01:28:50.593Z] echo Agent pid 78 killed; [2023-03-29T01:28:50.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T01:28:50.911Z] + git semver [Pipeline] } [2023-03-29T01:28:51.190Z] $ docker stop --time=1 f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 [2023-03-29T01:28:52.481Z] $ docker rm -f --volumes f4f5afa643c770a11bf5345eb0c1dca405ac4045a37df10755ff7ebc0e105947 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T01:28:52.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T01:28:53.035Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T01:28:53.039Z] [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 [2023-03-29T01:28:53.195Z] provisioning config files... [2023-03-29T01:28:53.204Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-372@tmp/config16079646360015988498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:28:53.496Z] ---> docker-login.sh [2023-03-29T01:28:53.496Z] nexus3.edgexfoundry.org:10001 [2023-03-29T01:28:53.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:53.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:53.496Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:53.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:53.496Z] [2023-03-29T01:28:53.496Z] Login Succeeded [2023-03-29T01:28:53.496Z] nexus3.edgexfoundry.org:10002 [2023-03-29T01:28:53.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:53.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:53.496Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:53.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:53.496Z] [2023-03-29T01:28:53.496Z] Login Succeeded [2023-03-29T01:28:53.496Z] nexus3.edgexfoundry.org:10003 [2023-03-29T01:28:53.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:53.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:53.757Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:53.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:53.757Z] [2023-03-29T01:28:53.757Z] Login Succeeded [2023-03-29T01:28:53.757Z] nexus3.edgexfoundry.org:10004 [2023-03-29T01:28:53.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:53.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:53.757Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:53.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:53.757Z] [2023-03-29T01:28:53.757Z] Login Succeeded [2023-03-29T01:28:53.757Z] docker.io [2023-03-29T01:28:53.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:28:54.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:28:54.015Z] Configure a credential helper to remove this warning. See [2023-03-29T01:28:54.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:28:54.015Z] [2023-03-29T01:28:54.015Z] Login Succeeded [2023-03-29T01:28:54.015Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T01:28:54.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T01:28:54.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T01:28:54.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T01:28:54.121Z] ========================================================= [2023-03-29T01:28:54.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T01:28:54.121Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:28:54.432Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T01:28:54.432Z] Sending build context to Docker daemon 23.49MB [2023-03-29T01:28:54.432Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T01:28:54.432Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T01:28:54.432Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T01:28:54.432Z] 63b65145d645: Pulling fs layer [2023-03-29T01:28:54.432Z] a2d21d5440eb: Pulling fs layer [2023-03-29T01:28:54.432Z] 935e6c44a52c: Pulling fs layer [2023-03-29T01:28:54.432Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T01:28:54.432Z] 30dea6a524f1: Pulling fs layer [2023-03-29T01:28:54.432Z] a2aff8979fd8: Pulling fs layer [2023-03-29T01:28:54.432Z] 6808be2612f2: Pulling fs layer [2023-03-29T01:28:54.432Z] f25807f1079a: Pulling fs layer [2023-03-29T01:28:54.432Z] 30dea6a524f1: Waiting [2023-03-29T01:28:54.432Z] 94cc34f8dd06: Waiting [2023-03-29T01:28:54.432Z] a2aff8979fd8: Waiting [2023-03-29T01:28:54.432Z] f25807f1079a: Waiting [2023-03-29T01:28:54.432Z] 6808be2612f2: Waiting [2023-03-29T01:28:54.692Z] a2d21d5440eb: Verifying Checksum [2023-03-29T01:28:54.692Z] a2d21d5440eb: Download complete [2023-03-29T01:28:54.692Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T01:28:54.692Z] 94cc34f8dd06: Download complete [2023-03-29T01:28:54.692Z] 30dea6a524f1: Download complete [2023-03-29T01:28:54.692Z] 63b65145d645: Verifying Checksum [2023-03-29T01:28:54.692Z] 63b65145d645: Download complete [2023-03-29T01:28:54.692Z] a2aff8979fd8: Verifying Checksum [2023-03-29T01:28:54.692Z] a2aff8979fd8: Download complete [2023-03-29T01:28:54.692Z] 63b65145d645: Pull complete [2023-03-29T01:28:54.956Z] a2d21d5440eb: Pull complete [2023-03-29T01:28:55.218Z] f25807f1079a: Verifying Checksum [2023-03-29T01:28:55.218Z] f25807f1079a: Download complete [2023-03-29T01:28:55.218Z] 935e6c44a52c: Verifying Checksum [2023-03-29T01:28:55.218Z] 935e6c44a52c: Download complete [2023-03-29T01:28:55.476Z] 6808be2612f2: Verifying Checksum [2023-03-29T01:28:55.476Z] 6808be2612f2: Download complete [2023-03-29T01:28:58.762Z] 935e6c44a52c: Pull complete [2023-03-29T01:28:58.762Z] 94cc34f8dd06: Pull complete [2023-03-29T01:28:58.762Z] 30dea6a524f1: Pull complete [2023-03-29T01:28:58.762Z] a2aff8979fd8: Pull complete [2023-03-29T01:29:00.660Z] 6808be2612f2: Pull complete [2023-03-29T01:29:01.228Z] f25807f1079a: Pull complete [2023-03-29T01:29:01.228Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T01:29:01.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T01:29:01.228Z] ---> 3b553350e43f [2023-03-29T01:29:01.228Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T01:29:06.498Z] ---> Running in 94b82b7f1db2 [2023-03-29T01:29:06.498Z] Removing intermediate container 94b82b7f1db2 [2023-03-29T01:29:06.498Z] ---> 3dbc2bc1f17c [2023-03-29T01:29:06.498Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T01:29:06.498Z] ---> Running in b7655aa6540f [2023-03-29T01:29:06.498Z] Removing intermediate container b7655aa6540f [2023-03-29T01:29:06.498Z] ---> ad627dfc9da4 [2023-03-29T01:29:06.498Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T01:29:06.498Z] ---> Running in cc68a7609578 [2023-03-29T01:29:06.498Z] Removing intermediate container cc68a7609578 [2023-03-29T01:29:06.498Z] ---> 447e1875a602 [2023-03-29T01:29:06.498Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T01:29:06.498Z] ---> Running in 725c5b27f407 [2023-03-29T01:29:06.498Z] Removing intermediate container 725c5b27f407 [2023-03-29T01:29:06.498Z] ---> e0820da1bd04 [2023-03-29T01:29:06.498Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T01:29:06.498Z] ---> Running in 1507ba2f5290 [2023-03-29T01:29:06.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T01:29:06.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T01:29:06.756Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T01:29:06.756Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T01:29:06.756Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T01:29:06.756Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T01:29:06.756Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T01:29:06.756Z] OK: 269 MiB in 57 packages [2023-03-29T01:29:07.324Z] Removing intermediate container 1507ba2f5290 [2023-03-29T01:29:07.324Z] ---> 9c07571b3cef [2023-03-29T01:29:07.324Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T01:29:07.324Z] ---> 0e7a161d5c6a [2023-03-29T01:29:07.324Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T01:29:07.324Z] ---> Running in b2e587d2c90b [2023-03-29T01:29:08.151Z] Still waiting to schedule task [2023-03-29T01:29:08.152Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6166’ [2023-03-29T01:29:39.472Z] Removing intermediate container b2e587d2c90b [2023-03-29T01:29:39.472Z] ---> 6356f846feab [2023-03-29T01:29:39.472Z] Step 10/12 : COPY . . [2023-03-29T01:29:39.472Z] ---> 3752c799b2c1 [2023-03-29T01:29:39.472Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T01:29:39.472Z] ---> Running in 6145bb150733 [2023-03-29T01:29:39.472Z] Removing intermediate container 6145bb150733 [2023-03-29T01:29:39.472Z] ---> 54e0e4a3af35 [2023-03-29T01:29:39.472Z] Step 12/12 : RUN $MAKE [2023-03-29T01:29:39.472Z] ---> Running in 3e8bff035513 [2023-03-29T01:29:39.732Z] noop [2023-03-29T01:29:39.991Z] Removing intermediate container 3e8bff035513 [2023-03-29T01:29:39.991Z] ---> 414a6ef05ea3 [2023-03-29T01:29:39.991Z] Successfully built 414a6ef05ea3 [2023-03-29T01:29:39.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:29:40.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T01:29:40.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:29:40.369Z] prd-ubuntu20.04-docker-8c-8g-6168 does not seem to be running inside a container [2023-03-29T01:29:40.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-372 -v /w/workspace/foundry_device-virtual-go_PR-372:/w/workspace/foundry_device-virtual-go_PR-372:rw,z -v /w/workspace/foundry_device-virtual-go_PR-372@tmp:/w/workspace/foundry_device-virtual-go_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T01:29:40.720Z] $ docker top e0eb3c362c83459a077310708ce37d12a3399fdc6476bc5aa6fe71270690e47d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T01:29:41.053Z] + go version [2023-03-29T01:29:41.054Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T01:29:41.068Z] $ docker stop --time=1 e0eb3c362c83459a077310708ce37d12a3399fdc6476bc5aa6fe71270690e47d [2023-03-29T01:29:42.313Z] $ docker rm -f --volumes e0eb3c362c83459a077310708ce37d12a3399fdc6476bc5aa6fe71270690e47d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:29:42.724Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T01:29:42.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:29:42.796Z] prd-ubuntu20.04-docker-8c-8g-6168 does not seem to be running inside a container [2023-03-29T01:29:42.822Z] $ 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-372 -v /w/workspace/foundry_device-virtual-go_PR-372:/w/workspace/foundry_device-virtual-go_PR-372:rw,z -v /w/workspace/foundry_device-virtual-go_PR-372@tmp:/w/workspace/foundry_device-virtual-go_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-29T01:29:43.221Z] $ docker top 87bf7e498f11978617bacb631c485fc60ddd134330d6c39f0a3c07c539cbcff7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T01:29:43.556Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-372 [Pipeline] fileExists [Pipeline] sh [2023-03-29T01:29:43.855Z] + make test [2023-03-29T01:29:43.855Z] go test ./... -coverprofile=coverage.out [2023-03-29T01:29:49.233Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T01:29:55.840Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-03-29T01:29:55.840Z] internal/driver/virtualdriver.go:86:86: cannot use dr.Properties.Minimum (variable of type *float64) as string value in argument to vd.read [2023-03-29T01:29:55.840Z] internal/driver/virtualdriver.go:86:109: cannot use dr.Properties.Maximum (variable of type *float64) as string value in argument to vd.read [2023-03-29T01:29:58.383Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-03-29T01:29:58.383Z] FAIL [2023-03-29T01:29:58.383Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-29T01:29:58.397Z] $ docker stop --time=1 87bf7e498f11978617bacb631c485fc60ddd134330d6c39f0a3c07c539cbcff7 [2023-03-29T01:30:01.830Z] $ docker rm -f --volumes 87bf7e498f11978617bacb631c485fc60ddd134330d6c39f0a3c07c539cbcff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:30:02.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T01:30:02.346Z] [2023-03-29T01:30:02.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:30:02.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T01:30:02.640Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T01:30:02.640Z] 5eb5b503b376: Pulling fs layer [2023-03-29T01:30:02.640Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T01:30:02.640Z] ec43610c2a17: Pulling fs layer [2023-03-29T01:30:02.640Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T01:30:02.640Z] 33b1e0a273af: Pulling fs layer [2023-03-29T01:30:02.640Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T01:30:02.640Z] 2f39f015ded8: Pulling fs layer [2023-03-29T01:30:02.640Z] 33b1e0a273af: Waiting [2023-03-29T01:30:02.640Z] 5d3b04190fa2: Waiting [2023-03-29T01:30:02.640Z] 3a2ae6a8a46f: Waiting [2023-03-29T01:30:02.640Z] 2f39f015ded8: Waiting [2023-03-29T01:30:02.640Z] 5c69ac0246d0: Download complete [2023-03-29T01:30:02.640Z] 3a2ae6a8a46f: Download complete [2023-03-29T01:30:02.640Z] 33b1e0a273af: Verifying Checksum [2023-03-29T01:30:02.640Z] 33b1e0a273af: Download complete [2023-03-29T01:30:02.640Z] ec43610c2a17: Verifying Checksum [2023-03-29T01:30:02.640Z] ec43610c2a17: Download complete [2023-03-29T01:30:02.900Z] 5d3b04190fa2: Verifying Checksum [2023-03-29T01:30:02.900Z] 5d3b04190fa2: Download complete [2023-03-29T01:30:02.900Z] 5eb5b503b376: Verifying Checksum [2023-03-29T01:30:02.900Z] 5eb5b503b376: Download complete [2023-03-29T01:30:03.466Z] 2f39f015ded8: Download complete [2023-03-29T01:30:04.399Z] 5eb5b503b376: Pull complete [2023-03-29T01:30:04.399Z] 5c69ac0246d0: Pull complete [2023-03-29T01:30:04.657Z] ec43610c2a17: Pull complete [2023-03-29T01:30:04.916Z] 3a2ae6a8a46f: Pull complete [2023-03-29T01:30:04.916Z] 33b1e0a273af: Pull complete [2023-03-29T01:30:05.176Z] 5d3b04190fa2: Pull complete [2023-03-29T01:30:09.378Z] 2f39f015ded8: Pull complete [2023-03-29T01:30:09.378Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T01:30:09.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T01:30:09.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:30:09.464Z] prd-ubuntu20.04-docker-8c-8g-6168 does not seem to be running inside a container [2023-03-29T01:30:09.494Z] $ 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-372 -v /w/workspace/foundry_device-virtual-go_PR-372:/w/workspace/foundry_device-virtual-go_PR-372:rw,z -v /w/workspace/foundry_device-virtual-go_PR-372@tmp:/w/workspace/foundry_device-virtual-go_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T01:30:14.302Z] $ docker top 5ba666ea0b19c4e95f9a0863987ea3164414d39db0f0e511a848c3fd91f4482b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:30:14.691Z] ---> job-cost.sh [2023-03-29T01:30:14.691Z] lf-activate-venv: SKIPPING [2023-03-29T01:30:14.691Z] INFO: No Stack... [2023-03-29T01:30:14.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T01:30:15.214Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T01:30:15.508Z] + cat /w/workspace/foundry_device-virtual-go_PR-372/archives/cost.csv [2023-03-29T01:30:15.509Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T01:30:15.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [2023-03-29T01:30:15.530Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] did not exist. Created. [2023-03-29T01:30:15.530Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T01:30:15.833Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T01:30:15.868Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T01:30:15.875Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T01:30:15.896Z] $ docker stop --time=1 5ba666ea0b19c4e95f9a0863987ea3164414d39db0f0e511a848c3fd91f4482b [2023-03-29T01:30:17.026Z] $ docker rm -f --volumes 5ba666ea0b19c4e95f9a0863987ea3164414d39db0f0e511a848c3fd91f4482b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T01:30:17.126Z] Failed in branch amd64 [2023-03-29T01:32:00.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6171 in /w/workspace/foundry_device-virtual-go_PR-372 [Pipeline] { [Pipeline] ws [2023-03-29T01:32:00.322Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-29T01:32:00.347Z] The recommended git tool is: git [2023-03-29T01:32:05.727Z] using credential edgex-jenkins-ssh [2023-03-29T01:32:05.748Z] Cloning the remote Git repository [2023-03-29T01:32:05.806Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T01:32:05.921Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-29T01:32:06.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T01:32:06.070Z] > git --version # timeout=10 [2023-03-29T01:32:06.095Z] > git --version # 'git version 2.25.1' [2023-03-29T01:32:06.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T01:32:06.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T01:32:08.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-29T01:32:08.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T01:32:09.734Z] Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [2023-03-29T01:32:10.019Z] Merge succeeded, producing d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c [2023-03-29T01:32:10.020Z] Checking out Revision d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c (PR-372) [2023-03-29T01:32:09.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-29T01:32:09.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T01:32:09.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T01:32:09.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T01:32:09.756Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T01:32:09.824Z] > git checkout -f d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c # timeout=10 [2023-03-29T01:32:09.913Z] > git remote # timeout=10 [2023-03-29T01:32:09.933Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T01:32:09.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T01:32:09.976Z] > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [2023-03-29T01:32:10.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T01:32:10.029Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T01:32:10.044Z] > git checkout -f d4e5bf20580d40428a9e910cc5c7f148c5fc7e1c # timeout=10 [2023-03-29T01:32:10.546Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T01:32:11.500Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T01:32:11.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T01:32:11.500Z] Dload Upload Total Spent Left Speed [2023-03-29T01:32:11.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10501 0 0 70952 0 --:--:-- --:--:-- --:--:-- 70476 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-03-29T01:32:12.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T01:32:12.544Z] + sudo tee /etc/docker/daemon.new [2023-03-29T01:32:12.544Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T01:32:12.544Z] { [2023-03-29T01:32:12.544Z] "registry-mirrors": [ [2023-03-29T01:32:12.544Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T01:32:12.544Z] ], [2023-03-29T01:32:12.544Z] "bip": "10.250.0.254/24", [2023-03-29T01:32:12.544Z] "hosts": [ [2023-03-29T01:32:12.544Z] "tcp://0.0.0.0:5555", [2023-03-29T01:32:12.544Z] "unix:///var/run/docker.sock" [2023-03-29T01:32:12.544Z] ], [2023-03-29T01:32:12.544Z] "mtu": 1458, [2023-03-29T01:32:12.544Z] "selinux-enabled": true, [2023-03-29T01:32:12.544Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T01:32:12.544Z] } [Pipeline] sh [2023-03-29T01:32:12.879Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T01:32:13.215Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T01:32:31.464Z] provisioning config files... [2023-03-29T01:32:31.489Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8670158979871152307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:32:31.837Z] ---> docker-login.sh [2023-03-29T01:32:31.837Z] nexus3.edgexfoundry.org:10001 [2023-03-29T01:32:32.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:32:32.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:32:32.424Z] Configure a credential helper to remove this warning. See [2023-03-29T01:32:32.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:32:32.424Z] [2023-03-29T01:32:32.424Z] Login Succeeded [2023-03-29T01:32:32.424Z] nexus3.edgexfoundry.org:10002 [2023-03-29T01:32:32.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:32:32.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:32:32.694Z] Configure a credential helper to remove this warning. See [2023-03-29T01:32:32.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:32:32.694Z] [2023-03-29T01:32:32.694Z] Login Succeeded [2023-03-29T01:32:32.694Z] nexus3.edgexfoundry.org:10003 [2023-03-29T01:32:32.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:32:33.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:32:33.230Z] Configure a credential helper to remove this warning. See [2023-03-29T01:32:33.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:32:33.230Z] [2023-03-29T01:32:33.230Z] Login Succeeded [2023-03-29T01:32:33.230Z] nexus3.edgexfoundry.org:10004 [2023-03-29T01:32:33.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:32:33.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:32:33.499Z] Configure a credential helper to remove this warning. See [2023-03-29T01:32:33.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:32:33.499Z] [2023-03-29T01:32:33.499Z] Login Succeeded [2023-03-29T01:32:33.499Z] docker.io [2023-03-29T01:32:33.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T01:32:34.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T01:32:34.037Z] Configure a credential helper to remove this warning. See [2023-03-29T01:32:34.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T01:32:34.037Z] [2023-03-29T01:32:34.037Z] Login Succeeded [2023-03-29T01:32:34.037Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T01:32:34.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T01:32:34.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T01:32:34.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T01:32:34.352Z] ========================================================= [2023-03-29T01:32:34.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T01:32:34.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:32:34.695Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-29T01:32:34.962Z] Sending build context to Docker daemon 11.9MB [2023-03-29T01:32:34.962Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T01:32:34.962Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T01:32:35.235Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T01:32:35.235Z] af6eaf76a39c: Pulling fs layer [2023-03-29T01:32:35.235Z] 55522c791124: Pulling fs layer [2023-03-29T01:32:35.235Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T01:32:35.235Z] 169dfbe0d373: Pulling fs layer [2023-03-29T01:32:35.235Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T01:32:35.235Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T01:32:35.235Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T01:32:35.235Z] e1ff8fa3b103: Waiting [2023-03-29T01:32:35.235Z] 169dfbe0d373: Waiting [2023-03-29T01:32:35.235Z] 52ebb69f0ebf: Waiting [2023-03-29T01:32:35.235Z] 5abe8eddf0d5: Waiting [2023-03-29T01:32:35.235Z] 55522c791124: Verifying Checksum [2023-03-29T01:32:35.235Z] 55522c791124: Download complete [2023-03-29T01:32:35.235Z] 169dfbe0d373: Verifying Checksum [2023-03-29T01:32:35.235Z] 169dfbe0d373: Download complete [2023-03-29T01:32:35.235Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T01:32:35.235Z] e1ff8fa3b103: Download complete [2023-03-29T01:32:35.235Z] af6eaf76a39c: Verifying Checksum [2023-03-29T01:32:35.235Z] af6eaf76a39c: Download complete [2023-03-29T01:32:36.681Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T01:32:36.681Z] 5abe8eddf0d5: Download complete [2023-03-29T01:32:37.646Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T01:32:37.646Z] ce5c4a1c91eb: Download complete [2023-03-29T01:32:37.646Z] 52ebb69f0ebf: Verifying Checksum [2023-03-29T01:32:37.646Z] 52ebb69f0ebf: Download complete [2023-03-29T01:32:37.646Z] af6eaf76a39c: Pull complete [2023-03-29T01:32:38.462Z] 55522c791124: Pull complete [2023-03-29T01:32:48.587Z] ce5c4a1c91eb: Pull complete [2023-03-29T01:32:48.854Z] 169dfbe0d373: Pull complete [2023-03-29T01:32:49.127Z] e1ff8fa3b103: Pull complete [2023-03-29T01:32:55.786Z] 52ebb69f0ebf: Pull complete [2023-03-29T01:32:56.749Z] 5abe8eddf0d5: Pull complete [2023-03-29T01:32:56.750Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T01:32:56.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T01:32:56.750Z] ---> 6cb57ee374ae [2023-03-29T01:32:56.750Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T01:32:58.705Z] ---> Running in a54e956085fd [2023-03-29T01:32:58.974Z] Removing intermediate container a54e956085fd [2023-03-29T01:32:58.974Z] ---> f68bc9117232 [2023-03-29T01:32:58.974Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T01:32:58.974Z] ---> Running in 8f8142a299f1 [2023-03-29T01:32:59.558Z] Removing intermediate container 8f8142a299f1 [2023-03-29T01:32:59.558Z] ---> c48e625fbc7d [2023-03-29T01:32:59.558Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T01:32:59.558Z] ---> Running in 0c537dffa26c [2023-03-29T01:32:59.825Z] Removing intermediate container 0c537dffa26c [2023-03-29T01:32:59.825Z] ---> ebd37641df58 [2023-03-29T01:32:59.825Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T01:32:59.825Z] ---> Running in 9b0469d6146b [2023-03-29T01:33:00.097Z] Removing intermediate container 9b0469d6146b [2023-03-29T01:33:00.097Z] ---> a2a052c3c494 [2023-03-29T01:33:00.097Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T01:33:00.369Z] ---> Running in 5e527fed7a44 [2023-03-29T01:33:01.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T01:33:01.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T01:33:03.339Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T01:33:03.339Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T01:33:03.339Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T01:33:03.339Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T01:33:03.339Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T01:33:03.339Z] OK: 268 MiB in 57 packages [2023-03-29T01:33:05.294Z] Removing intermediate container 5e527fed7a44 [2023-03-29T01:33:05.294Z] ---> 47bbc1ff8bc2 [2023-03-29T01:33:05.294Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T01:33:05.563Z] ---> 4fa18ce6791d [2023-03-29T01:33:05.563Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T01:33:05.563Z] ---> Running in f7db2b4a0adf [2023-03-29T01:34:13.478Z] Removing intermediate container f7db2b4a0adf [2023-03-29T01:34:13.478Z] ---> 0edeafcff6fe [2023-03-29T01:34:13.478Z] Step 10/12 : COPY . . [2023-03-29T01:34:13.478Z] ---> 5cc2ce9ea254 [2023-03-29T01:34:13.478Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T01:34:13.478Z] ---> Running in 93ec0040cc5d [2023-03-29T01:34:13.478Z] Removing intermediate container 93ec0040cc5d [2023-03-29T01:34:13.478Z] ---> 175f466bf66e [2023-03-29T01:34:13.478Z] Step 12/12 : RUN $MAKE [2023-03-29T01:34:13.478Z] ---> Running in 1e54643d5115 [2023-03-29T01:34:13.478Z] noop [2023-03-29T01:34:13.478Z] Removing intermediate container 1e54643d5115 [2023-03-29T01:34:13.478Z] ---> b16ec61786c5 [2023-03-29T01:34:13.478Z] Successfully built b16ec61786c5 [2023-03-29T01:34:13.478Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:34:13.831Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T01:34:13.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:34:14.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-03-29T01:34:14.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T01:34:15.329Z] $ docker top a784d5f61a59eb80d5b0db526097813720a82a9d129f601763b9a28345719cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T01:34:16.171Z] + go version [2023-03-29T01:34:16.171Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T01:34:16.195Z] $ docker stop --time=1 a784d5f61a59eb80d5b0db526097813720a82a9d129f601763b9a28345719cc2 [2023-03-29T01:34:17.793Z] $ docker rm -f --volumes a784d5f61a59eb80d5b0db526097813720a82a9d129f601763b9a28345719cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:34:18.351Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T01:34:18.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:34:18.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-03-29T01:34:18.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-29T01:34:19.761Z] $ docker top f67cc1ffa56d364f741a6c6ed71565d346ea1ca235ab5da5adf0ad88e041cbe0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T01:34:20.590Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-29T01:34:21.241Z] + make test [2023-03-29T01:34:21.241Z] go test ./... -coverprofile=coverage.out [2023-03-29T01:34:53.491Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T01:36:01.377Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-03-29T01:36:01.377Z] internal/driver/virtualdriver.go:86:86: cannot use dr.Properties.Minimum (variable of type *float64) as string value in argument to vd.read [2023-03-29T01:36:01.377Z] internal/driver/virtualdriver.go:86:109: cannot use dr.Properties.Maximum (variable of type *float64) as string value in argument to vd.read [2023-03-29T01:36:40.249Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-03-29T01:36:40.249Z] FAIL [2023-03-29T01:36:40.249Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-29T01:36:40.269Z] $ docker stop --time=1 f67cc1ffa56d364f741a6c6ed71565d346ea1ca235ab5da5adf0ad88e041cbe0 [2023-03-29T01:36:42.095Z] $ docker rm -f --volumes f67cc1ffa56d364f741a6c6ed71565d346ea1ca235ab5da5adf0ad88e041cbe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:36:43.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T01:36:43.250Z] [2023-03-29T01:36:43.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:36:43.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T01:36:43.594Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T01:36:43.594Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T01:36:43.594Z] 04944245beec: Pulling fs layer [2023-03-29T01:36:43.594Z] 699f458cf7ca: Pulling fs layer [2023-03-29T01:36:43.594Z] 765212b225bb: Pulling fs layer [2023-03-29T01:36:43.594Z] f23df028b6ca: Pulling fs layer [2023-03-29T01:36:43.594Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T01:36:43.594Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T01:36:43.594Z] 765212b225bb: Waiting [2023-03-29T01:36:43.595Z] f23df028b6ca: Waiting [2023-03-29T01:36:43.595Z] d65c8cfc05b1: Waiting [2023-03-29T01:36:43.595Z] 2437ff75d9bd: Waiting [2023-03-29T01:36:43.867Z] 04944245beec: Verifying Checksum [2023-03-29T01:36:43.867Z] 04944245beec: Download complete [2023-03-29T01:36:43.867Z] 765212b225bb: Verifying Checksum [2023-03-29T01:36:43.867Z] 765212b225bb: Download complete [2023-03-29T01:36:43.867Z] f23df028b6ca: Verifying Checksum [2023-03-29T01:36:43.867Z] f23df028b6ca: Download complete [2023-03-29T01:36:43.867Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T01:36:43.867Z] d65c8cfc05b1: Download complete [2023-03-29T01:36:44.137Z] 699f458cf7ca: Verifying Checksum [2023-03-29T01:36:44.137Z] 699f458cf7ca: Download complete [2023-03-29T01:36:44.405Z] 8998bd30e6a1: Download complete [2023-03-29T01:36:46.989Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T01:36:46.989Z] 2437ff75d9bd: Download complete [2023-03-29T01:36:48.929Z] 8998bd30e6a1: Pull complete [2023-03-29T01:36:49.514Z] 04944245beec: Pull complete [2023-03-29T01:36:50.918Z] 699f458cf7ca: Pull complete [2023-03-29T01:36:50.918Z] 765212b225bb: Pull complete [2023-03-29T01:36:51.881Z] f23df028b6ca: Pull complete [2023-03-29T01:36:51.881Z] d65c8cfc05b1: Pull complete [2023-03-29T01:37:10.111Z] 2437ff75d9bd: Pull complete [2023-03-29T01:37:10.111Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T01:37:10.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T01:37:10.111Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:37:10.404Z] prd-ubuntu20.04-docker-arm64-4c-16g-6171 does not seem to be running inside a container [2023-03-29T01:37:10.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T01:37:14.658Z] $ docker top 608b770f97f6c842c7f7f13beadb47201f2592054fad7ed99c762e66b8004113 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:15.932Z] ---> job-cost.sh [2023-03-29T01:37:15.932Z] lf-activate-venv: SKIPPING [2023-03-29T01:37:15.932Z] INFO: No Stack... [2023-03-29T01:37:16.199Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T01:37:17.155Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T01:37:17.802Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2023-03-29T01:37:17.802Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T01:37:17.910Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [2023-03-29T01:37:17.918Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] did not exist. Created. [2023-03-29T01:37:17.919Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T01:37:18.650Z] /w/workspace/device-virtual-go/2@tmp/durable-f18b1a56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T01:37:19.312Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T01:37:19.334Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T01:37:19.860Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T01:37:19.867Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-372-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T01:37:19.897Z] $ docker stop --time=1 608b770f97f6c842c7f7f13beadb47201f2592054fad7ed99c762e66b8004113 [2023-03-29T01:37:21.624Z] $ docker rm -f --volumes 608b770f97f6c842c7f7f13beadb47201f2592054fad7ed99c762e66b8004113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T01:37:21.872Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-29T01:37:22.541Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-372/archives ] [2023-03-29T01:37:22.541Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-372/archives [2023-03-29T01:37:22.541Z] total 16 [2023-03-29T01:37:22.541Z] drwxr-xr-x 3 root root 4096 Mar 29 01:30 . [2023-03-29T01:37:22.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 01:30 .. [2023-03-29T01:37:22.541Z] drwxr-xr-x 2 root root 4096 Mar 29 01:30 cost [2023-03-29T01:37:22.541Z] -rw-r--r-- 1 root root 89 Mar 29 01:30 cost.csv [2023-03-29T01:37:22.541Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-372/archives [2023-03-29T01:37:22.541Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-372/archives [2023-03-29T01:37:22.541Z] total 16 [2023-03-29T01:37:22.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 01:30 . [2023-03-29T01:37:22.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 01:30 .. [2023-03-29T01:37:22.541Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 01:30 cost [2023-03-29T01:37:22.541Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 29 01:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:22.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:23.693Z] ---> package-listing.sh [2023-03-29T01:37:23.693Z] ++ facter osfamily [2023-03-29T01:37:23.693Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T01:37:23.693Z] + OS_FAMILY=debian [2023-03-29T01:37:23.693Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-372 [2023-03-29T01:37:23.693Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T01:37:23.693Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T01:37:23.693Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T01:37:23.693Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T01:37:23.693Z] + '[' /w/workspace/foundry_device-virtual-go_PR-372 ']' [2023-03-29T01:37:23.693Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T01:37:23.693Z] + case "${OS_FAMILY}" in [2023-03-29T01:37:23.693Z] + dpkg -l [2023-03-29T01:37:23.693Z] + grep '^ii' [2023-03-29T01:37:23.952Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T01:37:23.952Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T01:37:23.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T01:37:23.952Z] + '[' /w/workspace/foundry_device-virtual-go_PR-372 ']' [2023-03-29T01:37:23.952Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-372/archives/ [2023-03-29T01:37:23.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-372/archives/ [Pipeline] echo [2023-03-29T01:37:23.960Z] 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-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T01:37:24.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T01:37:24.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T01:37:24.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T01:37:24.856Z] prd-ubuntu20.04-docker-8c-8g-6168 does not seem to be running inside a container [2023-03-29T01:37:24.887Z] $ 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-372/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-372 -v /w/workspace/foundry_device-virtual-go_PR-372:/w/workspace/foundry_device-virtual-go_PR-372:rw,z -v /w/workspace/foundry_device-virtual-go_PR-372@tmp:/w/workspace/foundry_device-virtual-go_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-29T01:37:25.070Z] $ docker top 5aecfd2bf27c209538adf60895b10a6080ce8a2a1902c07fecde6d0c07f7a526 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T01:37:25.415Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T01:37:25.699Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T01:37:25.982Z] + ls /var/log/sa-host [2023-03-29T01:37:25.982Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T01:37:26.126Z] provisioning config files... [2023-03-29T01:37:26.134Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-372@tmp/config1703903717241218651tmp [Pipeline] { [Pipeline] echo [2023-03-29T01:37:26.144Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:26.428Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T01:37:26.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:26.752Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T01:37:26.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:27.042Z] ---> sudo-logs.sh [2023-03-29T01:37:27.042Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T01:37:27.069Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:27.346Z] ---> job-cost.sh [2023-03-29T01:37:27.346Z] lf-activate-venv: SKIPPING [2023-03-29T01:37:27.346Z] DEBUG: total: 0.2199999988079071 [2023-03-29T01:37:27.346Z] INFO: Retrieving Stack Cost... [2023-03-29T01:37:27.606Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T01:37:28.172Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T01:37:28.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T01:37:28.465Z] ---> logs-deploy.sh [2023-03-29T01:37:28.465Z] lf-activate-venv: SKIPPING [2023-03-29T01:37:28.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-372/2 [2023-03-29T01:37:28.465Z] INFO: archiving workspace using pattern(s): [2023-03-29T01:37:29.397Z] Archives upload complete. [2023-03-29T01:37:29.656Z] INFO: archiving logs to Nexus