Pull request #373 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d+b76ffb3f756266f027a45c1155223ddd586b2bad (09a21e1ce3de99a18f9fc18afb01081ef9433b90) 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-ssh3385704356315201915.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-ssh12994999607780618600.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-373/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-373/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14135418423582238037.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-ssh9948818635544481101.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-373/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-373/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8036330311243396461.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6152 in /w/workspace/foundry_device-virtual-go_PR-373 [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-373 # 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 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d Merge succeeded, producing ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d Checking out Revision ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d (PR-373) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { 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/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d # 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 ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d # timeout=10 > git rev-list --no-walk b3f6423d7a6909c200bd59173b1de4a30634628e # timeout=10 [Pipeline] timeout [2023-03-29T00:32:27.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-29T00:32:27.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-29T00:32:27.751Z] ========================================================= [2023-03-29T00:32:27.751Z] EdgeX Global Pipelines Version Info [2023-03-29T00:32:27.751Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:32:28.461Z] ------------------- [2023-03-29T00:32:28.461Z] stable info: [2023-03-29T00:32:28.461Z] ------------------- [2023-03-29T00:32:28.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-29T00:32:28.461Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-29T00:32:28.461Z] Message: update stable to v1.0.245 [2023-03-29T00:32:29.040Z] ------------------- [2023-03-29T00:32:29.040Z] experimental info: [2023-03-29T00:32:29.040Z] ------------------- [2023-03-29T00:32:29.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-29T00:32:29.040Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-29T00:32:29.040Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-29T00:32:29.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-29T00:32:29.251Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-29T00:32:29.264Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-29T00:32:29.279Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-29T00:32:29.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-29T00:32:29.302Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-29T00:32:29.310Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-29T00:32:29.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-29T00:32:29.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-29T00:32:29.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-29T00:32:29.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-29T00:32:29.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-29T00:32:29.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-29T00:32:29.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-29T00:32:29.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T00:32:29.421Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-29T00:32:29.433Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T00:32:29.445Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-29T00:32:29.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-29T00:32:29.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-29T00:32:29.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-29T00:32:29.492Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-29T00:32:29.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-29T00:32:29.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-29T00:32:29.524Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-29T00:32:29.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-29T00:32:29.541Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-29T00:32:29.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-373 [Pipeline] echo [2023-03-29T00:32:29.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-373 [Pipeline] echo [2023-03-29T00:32:29.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-373 [Pipeline] echo [2023-03-29T00:32:29.575Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [Pipeline] echo [2023-03-29T00:32:29.583Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac60b7f [Pipeline] echo [2023-03-29T00:32:29.592Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:32:29.641Z] provisioning config files... [2023-03-29T00:32:29.656Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config629498387600448322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:32:29.959Z] ---> docker-login.sh [2023-03-29T00:32:29.959Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:32:30.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:30.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:30.222Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:30.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:30.222Z] [2023-03-29T00:32:30.222Z] Login Succeeded [2023-03-29T00:32:30.222Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:32:30.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:30.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:30.481Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:30.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:30.481Z] [2023-03-29T00:32:30.481Z] Login Succeeded [2023-03-29T00:32:30.481Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:32:30.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:30.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:30.481Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:30.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:30.481Z] [2023-03-29T00:32:30.481Z] Login Succeeded [2023-03-29T00:32:30.481Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:32:30.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:30.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:30.743Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:30.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:30.743Z] [2023-03-29T00:32:30.743Z] Login Succeeded [2023-03-29T00:32:30.743Z] docker.io [2023-03-29T00:32:30.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:31.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:31.002Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:31.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:31.002Z] [2023-03-29T00:32:31.002Z] Login Succeeded [2023-03-29T00:32:31.002Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:32:31.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-29T00:32:31.400Z] + git rev-list -1 --merges ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d~1..ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [Pipeline] echo [2023-03-29T00:32:31.499Z] -----------> git rev-list -1 --merges ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d~1..ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [false] [Pipeline] sh [2023-03-29T00:32:31.811Z] + git log --format=format:%s -1 ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [Pipeline] echo [2023-03-29T00:32:31.826Z] ========================================================= [2023-03-29T00:32:31.826Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-29T00:32:31.826Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T00:32:32.144Z] + git log --format=format:%s -1 ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [Pipeline] echo [2023-03-29T00:32:32.154Z] [semverPrep] GIT_COMMIT: ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-29T00:32:32.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-29T00:32:32.530Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-29T00:32:32.530Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-29T00:32:32.530Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-29T00:32:32.530Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-29T00:32:32.530Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-29T00:32:32.530Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-29T00:32:32.530Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:32:32.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:32:32.906Z] [2023-03-29T00:32:32.906Z] 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-29T00:32:33.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:32:33.771Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-29T00:32:33.771Z] b85a868b505f: Pulling fs layer [2023-03-29T00:32:33.771Z] e2be974225ed: Pulling fs layer [2023-03-29T00:32:33.771Z] 339a4e72a1f5: Pulling fs layer [2023-03-29T00:32:33.771Z] 988bab9f4d93: Pulling fs layer [2023-03-29T00:32:33.771Z] 1469e6f7b9e6: Pulling fs layer [2023-03-29T00:32:33.771Z] eaf3925da568: Pulling fs layer [2023-03-29T00:32:33.771Z] bab4dde63d76: Pulling fs layer [2023-03-29T00:32:33.771Z] bde34c3a00c8: Pulling fs layer [2023-03-29T00:32:33.771Z] b352a97aabf1: Pulling fs layer [2023-03-29T00:32:33.771Z] 4872d77fe225: Pulling fs layer [2023-03-29T00:32:33.771Z] 5851b861e8e6: Pulling fs layer [2023-03-29T00:32:33.771Z] b352a97aabf1: Waiting [2023-03-29T00:32:33.771Z] 988bab9f4d93: Waiting [2023-03-29T00:32:33.771Z] bde34c3a00c8: Waiting [2023-03-29T00:32:33.771Z] 1469e6f7b9e6: Waiting [2023-03-29T00:32:33.771Z] 4872d77fe225: Waiting [2023-03-29T00:32:33.771Z] eaf3925da568: Waiting [2023-03-29T00:32:33.771Z] bab4dde63d76: Waiting [2023-03-29T00:32:33.771Z] e2be974225ed: Verifying Checksum [2023-03-29T00:32:33.771Z] e2be974225ed: Download complete [2023-03-29T00:32:33.771Z] 988bab9f4d93: Verifying Checksum [2023-03-29T00:32:33.771Z] 988bab9f4d93: Download complete [2023-03-29T00:32:34.030Z] 1469e6f7b9e6: Verifying Checksum [2023-03-29T00:32:34.030Z] 1469e6f7b9e6: Download complete [2023-03-29T00:32:34.030Z] 339a4e72a1f5: Verifying Checksum [2023-03-29T00:32:34.030Z] 339a4e72a1f5: Download complete [2023-03-29T00:32:34.030Z] eaf3925da568: Verifying Checksum [2023-03-29T00:32:34.030Z] eaf3925da568: Download complete [2023-03-29T00:32:34.030Z] bde34c3a00c8: Verifying Checksum [2023-03-29T00:32:34.030Z] bde34c3a00c8: Download complete [2023-03-29T00:32:34.030Z] b352a97aabf1: Verifying Checksum [2023-03-29T00:32:34.030Z] b352a97aabf1: Download complete [2023-03-29T00:32:34.030Z] 4872d77fe225: Download complete [2023-03-29T00:32:34.030Z] 5851b861e8e6: Verifying Checksum [2023-03-29T00:32:34.030Z] 5851b861e8e6: Download complete [2023-03-29T00:32:34.030Z] b85a868b505f: Verifying Checksum [2023-03-29T00:32:34.030Z] b85a868b505f: Download complete [2023-03-29T00:32:34.289Z] bab4dde63d76: Verifying Checksum [2023-03-29T00:32:34.289Z] bab4dde63d76: Download complete [2023-03-29T00:32:35.667Z] b85a868b505f: Pull complete [2023-03-29T00:32:35.927Z] e2be974225ed: Pull complete [2023-03-29T00:32:36.499Z] 339a4e72a1f5: Pull complete [2023-03-29T00:32:36.759Z] 988bab9f4d93: Pull complete [2023-03-29T00:32:37.328Z] 1469e6f7b9e6: Pull complete [2023-03-29T00:32:37.897Z] eaf3925da568: Pull complete [2023-03-29T00:32:39.800Z] bab4dde63d76: Pull complete [2023-03-29T00:32:39.800Z] bde34c3a00c8: Pull complete [2023-03-29T00:32:39.800Z] b352a97aabf1: Pull complete [2023-03-29T00:32:39.800Z] 4872d77fe225: Pull complete [2023-03-29T00:32:40.060Z] 5851b861e8e6: Pull complete [2023-03-29T00:32:40.060Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-29T00:32:40.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-29T00:32:40.060Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:32:40.167Z] prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container [2023-03-29T00:32:40.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-29T00:32:43.605Z] $ docker top 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e -eo pid,comm [2023-03-29T00:32:43.657Z] 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-29T00:32:43.657Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-29T00:32:43.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:32:43.701Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:32:43.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:32:43.816Z] $ docker exec 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e ssh-agent [2023-03-29T00:32:43.921Z] SSH_AUTH_SOCK=/tmp/ssh-NPSdAlhpFTQo/agent.32 [2023-03-29T00:32:43.921Z] SSH_AGENT_PID=38 [2023-03-29T00:32:43.930Z] Running ssh-add (command line suppressed) [2023-03-29T00:32:44.029Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_9649427549660105689.key (/w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_9649427549660105689.key) [2023-03-29T00:32:44.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:32:44.328Z] + git tag --points-at HEAD [Pipeline] } [2023-03-29T00:32:44.342Z] $ docker exec --env ******** --env ******** 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e ssh-agent -k [2023-03-29T00:32:44.433Z] unset SSH_AUTH_SOCK; [2023-03-29T00:32:44.434Z] unset SSH_AGENT_PID; [2023-03-29T00:32:44.435Z] echo Agent pid 38 killed; [2023-03-29T00:32:44.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-29T00:32:44.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-29T00:32:44.467Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-29T00:32:44.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-29T00:32:44.578Z] $ docker exec 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e ssh-agent [2023-03-29T00:32:44.679Z] SSH_AUTH_SOCK=/tmp/ssh-IugVhqG25mMJ/agent.70 [2023-03-29T00:32:44.679Z] SSH_AGENT_PID=76 [2023-03-29T00:32:44.684Z] Running ssh-add (command line suppressed) [2023-03-29T00:32:44.794Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_17784940390478035536.key (/w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_17784940390478035536.key) [2023-03-29T00:32:44.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-29T00:32:45.087Z] + git semver init [2023-03-29T00:32:45.346Z] 2023-03-29 00:32:45,268 [run_init] DEBUG init version:0.0.0 force:False [2023-03-29T00:32:45.346Z] 2023-03-29 00:32:45,269 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-373/.semver [2023-03-29T00:32:45.346Z] 2023-03-29 00:32:45,269 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-373/.semver [2023-03-29T00:32:45.346Z] 2023-03-29 00:32:45,269 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-373/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-373, universal_newlines=False, shell=None, istream=None) [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,419 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-373/.git/info/exclude [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 with force:False [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,420 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,424 [execute] INFO git cat-file --batch-check [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,431 [execute] INFO git cat-file --batch [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) [2023-03-29T00:32:46.727Z] 2023-03-29 00:32:46,437 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 [2023-03-29T00:32:46.727Z] 0.0.0 [Pipeline] } [2023-03-29T00:32:46.739Z] $ docker exec --env ******** --env ******** 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e ssh-agent -k [2023-03-29T00:32:46.837Z] unset SSH_AUTH_SOCK; [2023-03-29T00:32:46.838Z] unset SSH_AGENT_PID; [2023-03-29T00:32:46.838Z] echo Agent pid 76 killed; [2023-03-29T00:32:46.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-29T00:32:47.155Z] + git semver [Pipeline] } [2023-03-29T00:32:47.429Z] $ docker stop --time=1 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e [2023-03-29T00:32:48.721Z] $ docker rm -f --volumes 9269d326cb247a34e7574d28ea3e8f93790c66e0fe8131178c5dc50dd7fdd98e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-29T00:32:49.049Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-29T00:32:49.265Z] Stashed 1 file(s) [Pipeline] echo [2023-03-29T00:32:49.268Z] [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-29T00:32:49.413Z] provisioning config files... [2023-03-29T00:32:49.423Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config9390499450601448953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:32:49.721Z] ---> docker-login.sh [2023-03-29T00:32:49.721Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:32:49.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:49.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:49.721Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:49.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:49.721Z] [2023-03-29T00:32:49.721Z] Login Succeeded [2023-03-29T00:32:49.721Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:32:49.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:49.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:49.721Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:49.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:49.721Z] [2023-03-29T00:32:49.721Z] Login Succeeded [2023-03-29T00:32:49.721Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:32:49.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:49.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:49.980Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:49.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:49.980Z] [2023-03-29T00:32:49.980Z] Login Succeeded [2023-03-29T00:32:49.980Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:32:49.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:49.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:49.980Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:49.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:49.980Z] [2023-03-29T00:32:49.980Z] Login Succeeded [2023-03-29T00:32:49.980Z] docker.io [2023-03-29T00:32:49.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:32:50.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:32:50.239Z] Configure a credential helper to remove this warning. See [2023-03-29T00:32:50.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:32:50.239Z] [2023-03-29T00:32:50.239Z] Login Succeeded [2023-03-29T00:32:50.239Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:32:50.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T00:32:50.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:32:50.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:32:50.325Z] ========================================================= [2023-03-29T00:32:50.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-29T00:32:50.326Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:32:50.628Z] + 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-29T00:32:50.628Z] Sending build context to Docker daemon 23.5MB [2023-03-29T00:32:50.628Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:32:50.628Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T00:32:50.889Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-29T00:32:50.889Z] 63b65145d645: Pulling fs layer [2023-03-29T00:32:50.889Z] a2d21d5440eb: Pulling fs layer [2023-03-29T00:32:50.889Z] 935e6c44a52c: Pulling fs layer [2023-03-29T00:32:50.889Z] 94cc34f8dd06: Pulling fs layer [2023-03-29T00:32:50.889Z] 30dea6a524f1: Pulling fs layer [2023-03-29T00:32:50.889Z] a2aff8979fd8: Pulling fs layer [2023-03-29T00:32:50.889Z] 6808be2612f2: Pulling fs layer [2023-03-29T00:32:50.889Z] 30dea6a524f1: Waiting [2023-03-29T00:32:50.889Z] a2aff8979fd8: Waiting [2023-03-29T00:32:50.889Z] 94cc34f8dd06: Waiting [2023-03-29T00:32:50.889Z] f25807f1079a: Pulling fs layer [2023-03-29T00:32:50.889Z] f25807f1079a: Waiting [2023-03-29T00:32:50.889Z] 6808be2612f2: Waiting [2023-03-29T00:32:50.889Z] a2d21d5440eb: Verifying Checksum [2023-03-29T00:32:50.889Z] a2d21d5440eb: Download complete [2023-03-29T00:32:50.889Z] 94cc34f8dd06: Verifying Checksum [2023-03-29T00:32:50.889Z] 94cc34f8dd06: Download complete [2023-03-29T00:32:50.889Z] 30dea6a524f1: Verifying Checksum [2023-03-29T00:32:50.889Z] 30dea6a524f1: Download complete [2023-03-29T00:32:50.889Z] 63b65145d645: Verifying Checksum [2023-03-29T00:32:50.889Z] 63b65145d645: Download complete [2023-03-29T00:32:50.889Z] a2aff8979fd8: Verifying Checksum [2023-03-29T00:32:50.889Z] a2aff8979fd8: Download complete [2023-03-29T00:32:51.148Z] 63b65145d645: Pull complete [2023-03-29T00:32:51.148Z] a2d21d5440eb: Pull complete [2023-03-29T00:32:51.148Z] f25807f1079a: Verifying Checksum [2023-03-29T00:32:51.148Z] f25807f1079a: Download complete [2023-03-29T00:32:51.407Z] 935e6c44a52c: Verifying Checksum [2023-03-29T00:32:51.407Z] 935e6c44a52c: Download complete [2023-03-29T00:32:51.665Z] 6808be2612f2: Verifying Checksum [2023-03-29T00:32:51.665Z] 6808be2612f2: Download complete [2023-03-29T00:32:54.953Z] 935e6c44a52c: Pull complete [2023-03-29T00:32:54.953Z] 94cc34f8dd06: Pull complete [2023-03-29T00:32:54.953Z] 30dea6a524f1: Pull complete [2023-03-29T00:32:54.953Z] a2aff8979fd8: Pull complete [2023-03-29T00:32:56.852Z] 6808be2612f2: Pull complete [2023-03-29T00:32:57.789Z] f25807f1079a: Pull complete [2023-03-29T00:32:57.789Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-29T00:32:57.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-29T00:32:57.789Z] ---> 3b553350e43f [2023-03-29T00:32:57.789Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:33:04.361Z] Still waiting to schedule task [2023-03-29T00:33:04.361Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-29T00:33:05.915Z] ---> Running in 9af4b27e27ba [2023-03-29T00:33:05.915Z] Removing intermediate container 9af4b27e27ba [2023-03-29T00:33:05.915Z] ---> 57d32c70cae1 [2023-03-29T00:33:05.915Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:33:05.915Z] ---> Running in 936effd9c6f1 [2023-03-29T00:33:05.915Z] Removing intermediate container 936effd9c6f1 [2023-03-29T00:33:05.915Z] ---> bbc2a4be5e18 [2023-03-29T00:33:05.915Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:33:05.915Z] ---> Running in 82a685afdcab [2023-03-29T00:33:05.915Z] Removing intermediate container 82a685afdcab [2023-03-29T00:33:05.915Z] ---> 8777ab844b2f [2023-03-29T00:33:05.915Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T00:33:05.915Z] ---> Running in 4fb9d9f0bd25 [2023-03-29T00:33:05.915Z] Removing intermediate container 4fb9d9f0bd25 [2023-03-29T00:33:05.915Z] ---> db44bf45f4a7 [2023-03-29T00:33:05.915Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:33:05.915Z] ---> Running in 61e078752e4a [2023-03-29T00:33:05.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:05.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-29T00:33:05.915Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T00:33:05.915Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T00:33:05.915Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T00:33:06.174Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T00:33:06.174Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:33:06.174Z] OK: 269 MiB in 57 packages [2023-03-29T00:33:06.431Z] Removing intermediate container 61e078752e4a [2023-03-29T00:33:06.431Z] ---> 16779fbaf887 [2023-03-29T00:33:06.431Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T00:33:06.688Z] ---> 3ec4384eae3a [2023-03-29T00:33:06.688Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:33:06.688Z] ---> Running in 96fffcbc4e99 [2023-03-29T00:33:45.415Z] Removing intermediate container 96fffcbc4e99 [2023-03-29T00:33:45.415Z] ---> 3ca1df8ea5d7 [2023-03-29T00:33:45.415Z] Step 10/12 : COPY . . [2023-03-29T00:33:45.415Z] ---> 16d431ed2858 [2023-03-29T00:33:45.415Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:33:45.415Z] ---> Running in ff2f773c0a7c [2023-03-29T00:33:45.415Z] Removing intermediate container ff2f773c0a7c [2023-03-29T00:33:45.415Z] ---> d7e08898d94a [2023-03-29T00:33:45.415Z] Step 12/12 : RUN $MAKE [2023-03-29T00:33:45.415Z] ---> Running in b835eadaff0e [2023-03-29T00:33:45.415Z] noop [2023-03-29T00:33:45.415Z] Removing intermediate container b835eadaff0e [2023-03-29T00:33:45.415Z] ---> bd82cbb7384b [2023-03-29T00:33:45.415Z] Successfully built bd82cbb7384b [2023-03-29T00:33:45.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:45.723Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T00:33:45.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:33:47.011Z] prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container [2023-03-29T00:33:50.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** ci-base-image-x86_64 cat [2023-03-29T00:33:51.596Z] $ docker top f1bc2f767e982fdf642c9800f39a9771972c380d1de64d561ed2608e7392da81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:33:51.940Z] + go version [2023-03-29T00:33:51.940Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-29T00:33:51.952Z] $ docker stop --time=1 f1bc2f767e982fdf642c9800f39a9771972c380d1de64d561ed2608e7392da81 [2023-03-29T00:33:53.727Z] $ docker rm -f --volumes f1bc2f767e982fdf642c9800f39a9771972c380d1de64d561ed2608e7392da81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:33:54.189Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-29T00:33:54.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:33:54.252Z] prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container [2023-03-29T00:33:54.285Z] $ 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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** ci-base-image-x86_64 cat [2023-03-29T00:33:55.645Z] $ docker top eeb4a5cd359db7683727b410698ef73bc70a6abe094625725c603ce09c593a04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:33:55.990Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-373 [Pipeline] fileExists [Pipeline] sh [2023-03-29T00:33:56.286Z] + make test [2023-03-29T00:33:56.286Z] go test ./... -coverprofile=coverage.out [2023-03-29T00:34:01.567Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T00:34:08.311Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-03-29T00:34:08.311Z] 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-29T00:34:08.311Z] 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-29T00:34:10.210Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-29T00:34:10.210Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:49:44: too many errors [2023-03-29T00:34:10.210Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-03-29T00:34:10.210Z] FAIL [2023-03-29T00:34:10.210Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-29T00:34:10.224Z] $ docker stop --time=1 eeb4a5cd359db7683727b410698ef73bc70a6abe094625725c603ce09c593a04 [2023-03-29T00:34:14.224Z] $ docker rm -f --volumes eeb4a5cd359db7683727b410698ef73bc70a6abe094625725c603ce09c593a04 [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-29T00:34:14.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:14.754Z] [2023-03-29T00:34:14.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:34:15.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:15.055Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-29T00:34:15.055Z] 5eb5b503b376: Pulling fs layer [2023-03-29T00:34:15.055Z] 5c69ac0246d0: Pulling fs layer [2023-03-29T00:34:15.055Z] ec43610c2a17: Pulling fs layer [2023-03-29T00:34:15.055Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-29T00:34:15.055Z] 33b1e0a273af: Pulling fs layer [2023-03-29T00:34:15.055Z] 5d3b04190fa2: Pulling fs layer [2023-03-29T00:34:15.055Z] 2f39f015ded8: Pulling fs layer [2023-03-29T00:34:15.055Z] 5d3b04190fa2: Waiting [2023-03-29T00:34:15.055Z] 33b1e0a273af: Waiting [2023-03-29T00:34:15.055Z] 2f39f015ded8: Waiting [2023-03-29T00:34:15.055Z] 3a2ae6a8a46f: Waiting [2023-03-29T00:34:15.055Z] 5c69ac0246d0: Download complete [2023-03-29T00:34:15.055Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-29T00:34:15.055Z] 3a2ae6a8a46f: Download complete [2023-03-29T00:34:15.314Z] 33b1e0a273af: Verifying Checksum [2023-03-29T00:34:15.314Z] 33b1e0a273af: Download complete [2023-03-29T00:34:15.314Z] 5d3b04190fa2: Download complete [2023-03-29T00:34:15.314Z] ec43610c2a17: Verifying Checksum [2023-03-29T00:34:15.314Z] ec43610c2a17: Download complete [2023-03-29T00:34:15.314Z] 5eb5b503b376: Verifying Checksum [2023-03-29T00:34:15.314Z] 5eb5b503b376: Download complete [2023-03-29T00:34:15.880Z] 2f39f015ded8: Download complete [2023-03-29T00:34:16.448Z] 5eb5b503b376: Pull complete [2023-03-29T00:34:16.448Z] 5c69ac0246d0: Pull complete [2023-03-29T00:34:17.014Z] ec43610c2a17: Pull complete [2023-03-29T00:34:17.014Z] 3a2ae6a8a46f: Pull complete [2023-03-29T00:34:17.272Z] 33b1e0a273af: Pull complete [2023-03-29T00:34:17.272Z] 5d3b04190fa2: Pull complete [2023-03-29T00:34:21.461Z] 2f39f015ded8: Pull complete [2023-03-29T00:34:21.461Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-29T00:34:21.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:34:21.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:34:21.544Z] prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container [2023-03-29T00:34:21.587Z] $ 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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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-29T00:34:29.687Z] $ docker top 520e50c3a52c500942a9806597e8c6f5fea44455afb04290509b57d289f6a59e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:34:30.066Z] ---> job-cost.sh [2023-03-29T00:34:30.066Z] lf-activate-venv: SKIPPING [2023-03-29T00:34:30.066Z] INFO: No Stack... [2023-03-29T00:34:30.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T00:34:30.895Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T00:34:31.184Z] + cat /w/workspace/foundry_device-virtual-go_PR-373/archives/cost.csv [2023-03-29T00:34:31.184Z] + cut -d, -f6 [Pipeline] lock [2023-03-29T00:34:31.199Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [2023-03-29T00:34:31.212Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] did not exist. Created. [2023-03-29T00:34:31.213Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T00:34:31.519Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-29T00:34:31.555Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T00:34:31.563Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T00:34:31.588Z] $ docker stop --time=1 520e50c3a52c500942a9806597e8c6f5fea44455afb04290509b57d289f6a59e [2023-03-29T00:34:32.797Z] $ docker rm -f --volumes 520e50c3a52c500942a9806597e8c6f5fea44455afb04290509b57d289f6a59e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T00:34:32.890Z] Failed in branch amd64 [2023-03-29T00:35:33.462Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6154 in /w/workspace/foundry_device-virtual-go_PR-373 [Pipeline] { [Pipeline] ws [2023-03-29T00:35:33.477Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-29T00:35:33.539Z] The recommended git tool is: git [2023-03-29T00:35:42.688Z] using credential edgex-jenkins-ssh [2023-03-29T00:35:42.709Z] Cloning the remote Git repository [2023-03-29T00:35:42.818Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T00:35:42.933Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-29T00:35:43.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T00:35:43.203Z] > git --version # timeout=10 [2023-03-29T00:35:43.235Z] > git --version # 'git version 2.25.1' [2023-03-29T00:35:43.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T00:35:46.605Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T00:35:48.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-29T00:35:48.863Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-29T00:35:50.534Z] Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [2023-03-29T00:35:50.839Z] Merge succeeded, producing ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d [2023-03-29T00:35:50.839Z] Checking out Revision ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d (PR-373) [2023-03-29T00:35:49.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-29T00:35:49.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-29T00:35:49.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T00:35:49.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-29T00:35:50.560Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T00:35:50.643Z] > git checkout -f ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d # timeout=10 [2023-03-29T00:35:50.740Z] > git remote # timeout=10 [2023-03-29T00:35:50.761Z] > git config --get remote.origin.url # timeout=10 [2023-03-29T00:35:50.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-29T00:35:50.795Z] > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [2023-03-29T00:35:50.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-29T00:35:50.847Z] > git config core.sparsecheckout # timeout=10 [2023-03-29T00:35:50.861Z] > git checkout -f ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d # timeout=10 [2023-03-29T00:35:51.301Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-29T00:35:52.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-29T00:35:52.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-29T00:35:52.202Z] Dload Upload Total Spent Left Speed [2023-03-29T00:35:52.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-03-29T00:35:52.953Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-29T00:35:53.294Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-29T00:35:53.294Z] + sudo tee /etc/docker/daemon.new [2023-03-29T00:35:53.294Z] { [2023-03-29T00:35:53.294Z] "registry-mirrors": [ [2023-03-29T00:35:53.294Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-29T00:35:53.294Z] ], [2023-03-29T00:35:53.294Z] "bip": "10.250.0.254/24", [2023-03-29T00:35:53.294Z] "hosts": [ [2023-03-29T00:35:53.294Z] "tcp://0.0.0.0:5555", [2023-03-29T00:35:53.294Z] "unix:///var/run/docker.sock" [2023-03-29T00:35:53.294Z] ], [2023-03-29T00:35:53.294Z] "mtu": 1458, [2023-03-29T00:35:53.294Z] "selinux-enabled": true, [2023-03-29T00:35:53.294Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-29T00:35:53.294Z] } [Pipeline] sh [2023-03-29T00:35:53.637Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-29T00:35:53.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:36:12.283Z] provisioning config files... [2023-03-29T00:36:12.311Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config16360832046510113229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:36:12.658Z] ---> docker-login.sh [2023-03-29T00:36:12.658Z] nexus3.edgexfoundry.org:10001 [2023-03-29T00:36:13.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:36:13.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:36:13.520Z] Configure a credential helper to remove this warning. See [2023-03-29T00:36:13.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:36:13.520Z] [2023-03-29T00:36:13.520Z] Login Succeeded [2023-03-29T00:36:13.520Z] nexus3.edgexfoundry.org:10002 [2023-03-29T00:36:13.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:36:13.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:36:13.788Z] Configure a credential helper to remove this warning. See [2023-03-29T00:36:13.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:36:13.789Z] [2023-03-29T00:36:13.789Z] Login Succeeded [2023-03-29T00:36:13.789Z] nexus3.edgexfoundry.org:10003 [2023-03-29T00:36:14.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:36:14.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:36:14.066Z] Configure a credential helper to remove this warning. See [2023-03-29T00:36:14.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:36:14.066Z] [2023-03-29T00:36:14.066Z] Login Succeeded [2023-03-29T00:36:14.066Z] nexus3.edgexfoundry.org:10004 [2023-03-29T00:36:14.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:36:14.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:36:14.615Z] Configure a credential helper to remove this warning. See [2023-03-29T00:36:14.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:36:14.615Z] [2023-03-29T00:36:14.615Z] Login Succeeded [2023-03-29T00:36:14.615Z] docker.io [2023-03-29T00:36:14.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-29T00:36:15.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-29T00:36:15.153Z] Configure a credential helper to remove this warning. See [2023-03-29T00:36:15.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-29T00:36:15.153Z] [2023-03-29T00:36:15.153Z] Login Succeeded [2023-03-29T00:36:15.153Z] ---> docker-login.sh ends [Pipeline] } [2023-03-29T00:36:15.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-29T00:36:15.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:36:15.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-29T00:36:15.440Z] ========================================================= [2023-03-29T00:36:15.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-29T00:36:15.440Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:36:15.775Z] + 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-29T00:36:16.047Z] Sending build context to Docker daemon 11.9MB [2023-03-29T00:36:16.316Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-29T00:36:16.316Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-29T00:36:16.316Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-29T00:36:16.316Z] af6eaf76a39c: Pulling fs layer [2023-03-29T00:36:16.316Z] 55522c791124: Pulling fs layer [2023-03-29T00:36:16.316Z] ce5c4a1c91eb: Pulling fs layer [2023-03-29T00:36:16.316Z] 169dfbe0d373: Pulling fs layer [2023-03-29T00:36:16.316Z] e1ff8fa3b103: Pulling fs layer [2023-03-29T00:36:16.316Z] 52ebb69f0ebf: Pulling fs layer [2023-03-29T00:36:16.316Z] 5abe8eddf0d5: Pulling fs layer [2023-03-29T00:36:16.316Z] 169dfbe0d373: Waiting [2023-03-29T00:36:16.316Z] e1ff8fa3b103: Waiting [2023-03-29T00:36:16.316Z] 52ebb69f0ebf: Waiting [2023-03-29T00:36:16.316Z] 5abe8eddf0d5: Waiting [2023-03-29T00:36:16.586Z] 55522c791124: Verifying Checksum [2023-03-29T00:36:16.586Z] 55522c791124: Download complete [2023-03-29T00:36:16.586Z] 169dfbe0d373: Verifying Checksum [2023-03-29T00:36:16.586Z] 169dfbe0d373: Download complete [2023-03-29T00:36:16.586Z] e1ff8fa3b103: Verifying Checksum [2023-03-29T00:36:16.586Z] e1ff8fa3b103: Download complete [2023-03-29T00:36:16.586Z] af6eaf76a39c: Download complete [2023-03-29T00:36:17.575Z] af6eaf76a39c: Pull complete [2023-03-29T00:36:17.576Z] 5abe8eddf0d5: Verifying Checksum [2023-03-29T00:36:17.576Z] 5abe8eddf0d5: Download complete [2023-03-29T00:36:17.845Z] 55522c791124: Pull complete [2023-03-29T00:36:18.808Z] ce5c4a1c91eb: Verifying Checksum [2023-03-29T00:36:18.808Z] ce5c4a1c91eb: Download complete [2023-03-29T00:36:18.808Z] 52ebb69f0ebf: Download complete [2023-03-29T00:36:31.141Z] ce5c4a1c91eb: Pull complete [2023-03-29T00:36:31.141Z] 169dfbe0d373: Pull complete [2023-03-29T00:36:31.141Z] e1ff8fa3b103: Pull complete [2023-03-29T00:36:36.490Z] 52ebb69f0ebf: Pull complete [2023-03-29T00:36:39.952Z] 5abe8eddf0d5: Pull complete [2023-03-29T00:36:39.952Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-29T00:36:39.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-29T00:36:39.952Z] ---> 6cb57ee374ae [2023-03-29T00:36:39.952Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-29T00:36:41.378Z] ---> Running in e6f6aeff2d8f [2023-03-29T00:36:41.646Z] Removing intermediate container e6f6aeff2d8f [2023-03-29T00:36:41.646Z] ---> f92718d471a2 [2023-03-29T00:36:41.646Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-29T00:36:41.646Z] ---> Running in c6a8fa76311d [2023-03-29T00:36:41.916Z] Removing intermediate container c6a8fa76311d [2023-03-29T00:36:41.916Z] ---> 8d9ea915c11d [2023-03-29T00:36:41.916Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-29T00:36:42.188Z] ---> Running in c949fdc55f73 [2023-03-29T00:36:42.463Z] Removing intermediate container c949fdc55f73 [2023-03-29T00:36:42.463Z] ---> 9be93dce79f5 [2023-03-29T00:36:42.463Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-29T00:36:42.463Z] ---> Running in 088f172784a7 [2023-03-29T00:36:42.731Z] Removing intermediate container 088f172784a7 [2023-03-29T00:36:42.731Z] ---> faad5ccfe26e [2023-03-29T00:36:42.731Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-29T00:36:42.731Z] ---> Running in d725b987e8ea [2023-03-29T00:36:44.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-29T00:36:44.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-29T00:36:45.832Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-29T00:36:45.832Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-29T00:36:45.832Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-29T00:36:45.832Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-29T00:36:45.832Z] Executing busybox-1.35.0-r29.trigger [2023-03-29T00:36:45.832Z] OK: 268 MiB in 57 packages [2023-03-29T00:36:46.794Z] Removing intermediate container d725b987e8ea [2023-03-29T00:36:46.794Z] ---> cb416d942109 [2023-03-29T00:36:46.794Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-29T00:36:47.382Z] ---> 06be450761a0 [2023-03-29T00:36:47.382Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-29T00:36:47.382Z] ---> Running in 48fcb96ce71d [2023-03-29T00:37:55.325Z] Removing intermediate container 48fcb96ce71d [2023-03-29T00:37:55.325Z] ---> 554171d579e8 [2023-03-29T00:37:55.325Z] Step 10/12 : COPY . . [2023-03-29T00:37:55.325Z] ---> e0a77fcce648 [2023-03-29T00:37:55.325Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-29T00:37:55.325Z] ---> Running in 2b3c53bb4ba1 [2023-03-29T00:37:55.325Z] Removing intermediate container 2b3c53bb4ba1 [2023-03-29T00:37:55.325Z] ---> 227e4ea79d77 [2023-03-29T00:37:55.325Z] Step 12/12 : RUN $MAKE [2023-03-29T00:37:55.325Z] ---> Running in 5e354531c603 [2023-03-29T00:37:55.325Z] noop [2023-03-29T00:37:55.325Z] Removing intermediate container 5e354531c603 [2023-03-29T00:37:55.325Z] ---> 84bd5f80f6ba [2023-03-29T00:37:55.325Z] Successfully built 84bd5f80f6ba [2023-03-29T00:37:55.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:37:55.687Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T00:37:55.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:37:55.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-6154 does not seem to be running inside a container [2023-03-29T00:37:55.968Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-29T00:37:57.245Z] $ docker top 1c8d428e6d6a094d3c2f0ed8b0121f1979bd443c9f839a49c7505feb8c3494b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:37:58.090Z] + go version [2023-03-29T00:37:58.091Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-29T00:37:58.113Z] $ docker stop --time=1 1c8d428e6d6a094d3c2f0ed8b0121f1979bd443c9f839a49c7505feb8c3494b4 [2023-03-29T00:37:59.781Z] $ docker rm -f --volumes 1c8d428e6d6a094d3c2f0ed8b0121f1979bd443c9f839a49c7505feb8c3494b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:38:00.316Z] + docker inspect -f . ci-base-image-arm64 [2023-03-29T00:38:00.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:38:00.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-6154 does not seem to be running inside a container [2023-03-29T00:38:00.576Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-29T00:38:01.880Z] $ docker top fc19fcf9b3a659e80732bae25f5804090f9af6b008fbc5294cc8a7f41486cd71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:38:02.743Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-29T00:38:03.388Z] + make test [2023-03-29T00:38:03.388Z] go test ./... -coverprofile=coverage.out [2023-03-29T00:38:42.310Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-29T00:39:50.221Z] # github.com/edgexfoundry/device-virtual-go/internal/driver [2023-03-29T00:39:50.221Z] 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-29T00:39:50.221Z] 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-29T00:40:16.907Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != 0 (mismatched types *float64 and untyped int) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:42:36: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and float64) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as float64 value in argument to transformOffset [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != 0 (mismatched types *float64 and untyped int) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:48:34: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and float64) [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as float64 value in argument to transformScale [2023-03-29T00:40:16.907Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.57/internal/transformer/transformparam.go:49:44: too many errors [2023-03-29T00:40:25.161Z] FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] [2023-03-29T00:40:25.161Z] FAIL [2023-03-29T00:40:25.429Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-29T00:40:25.451Z] $ docker stop --time=1 fc19fcf9b3a659e80732bae25f5804090f9af6b008fbc5294cc8a7f41486cd71 [2023-03-29T00:40:27.394Z] $ docker rm -f --volumes fc19fcf9b3a659e80732bae25f5804090f9af6b008fbc5294cc8a7f41486cd71 [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-29T00:40:28.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:40:28.648Z] [2023-03-29T00:40:28.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:40:28.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:40:28.999Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-29T00:40:28.999Z] 8998bd30e6a1: Pulling fs layer [2023-03-29T00:40:28.999Z] 04944245beec: Pulling fs layer [2023-03-29T00:40:28.999Z] 699f458cf7ca: Pulling fs layer [2023-03-29T00:40:28.999Z] 765212b225bb: Pulling fs layer [2023-03-29T00:40:28.999Z] f23df028b6ca: Pulling fs layer [2023-03-29T00:40:28.999Z] d65c8cfc05b1: Pulling fs layer [2023-03-29T00:40:28.999Z] 2437ff75d9bd: Pulling fs layer [2023-03-29T00:40:28.999Z] 765212b225bb: Waiting [2023-03-29T00:40:28.999Z] f23df028b6ca: Waiting [2023-03-29T00:40:29.269Z] 04944245beec: Verifying Checksum [2023-03-29T00:40:29.269Z] 04944245beec: Download complete [2023-03-29T00:40:29.269Z] 765212b225bb: Verifying Checksum [2023-03-29T00:40:29.269Z] 765212b225bb: Download complete [2023-03-29T00:40:29.269Z] f23df028b6ca: Download complete [2023-03-29T00:40:29.269Z] d65c8cfc05b1: Verifying Checksum [2023-03-29T00:40:29.269Z] d65c8cfc05b1: Download complete [2023-03-29T00:40:29.544Z] 699f458cf7ca: Verifying Checksum [2023-03-29T00:40:29.544Z] 699f458cf7ca: Download complete [2023-03-29T00:40:29.815Z] 8998bd30e6a1: Verifying Checksum [2023-03-29T00:40:29.815Z] 8998bd30e6a1: Download complete [2023-03-29T00:40:32.419Z] 2437ff75d9bd: Verifying Checksum [2023-03-29T00:40:32.419Z] 2437ff75d9bd: Download complete [2023-03-29T00:40:33.831Z] 8998bd30e6a1: Pull complete [2023-03-29T00:40:34.418Z] 04944245beec: Pull complete [2023-03-29T00:40:35.824Z] 699f458cf7ca: Pull complete [2023-03-29T00:40:36.092Z] 765212b225bb: Pull complete [2023-03-29T00:40:36.678Z] f23df028b6ca: Pull complete [2023-03-29T00:40:36.948Z] d65c8cfc05b1: Pull complete [2023-03-29T00:40:49.268Z] 2437ff75d9bd: Pull complete [2023-03-29T00:40:49.268Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-29T00:40:49.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-29T00:40:49.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:40:49.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-6154 does not seem to be running inside a container [2023-03-29T00:40:49.535Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-29T00:40:52.189Z] $ docker top dbfc56d35e18de8910a161c5f39a339e50921d301584a89959f41b701bef7274 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:40:53.029Z] ---> job-cost.sh [2023-03-29T00:40:53.029Z] lf-activate-venv: SKIPPING [2023-03-29T00:40:53.029Z] INFO: No Stack... [2023-03-29T00:40:53.297Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-29T00:40:54.258Z] INFO: Archiving Costs [Pipeline] sh [2023-03-29T00:40:54.905Z] + cut -d, -f6 [2023-03-29T00:40:54.905Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2023-03-29T00:40:54.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [2023-03-29T00:40:54.982Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] did not exist. Created. [2023-03-29T00:40:54.982Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-29T00:40:55.638Z] /w/workspace/device-virtual-go/2@tmp/durable-c4f16ab6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-29T00:40:56.295Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-29T00:40:56.314Z] Warning: overwriting stash ‘stack-cost’ [2023-03-29T00:40:56.783Z] Stashed 1 file(s) [Pipeline] } [2023-03-29T00:40:56.793Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-373-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-29T00:40:56.812Z] $ docker stop --time=1 dbfc56d35e18de8910a161c5f39a339e50921d301584a89959f41b701bef7274 [2023-03-29T00:40:58.360Z] $ docker rm -f --volumes dbfc56d35e18de8910a161c5f39a339e50921d301584a89959f41b701bef7274 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-29T00:40:59.347Z] 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-29T00:40:59.989Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-373/archives ] [2023-03-29T00:40:59.989Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-373/archives [2023-03-29T00:40:59.989Z] total 16 [2023-03-29T00:40:59.989Z] drwxr-xr-x 3 root root 4096 Mar 29 00:34 . [2023-03-29T00:40:59.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:34 .. [2023-03-29T00:40:59.989Z] drwxr-xr-x 2 root root 4096 Mar 29 00:34 cost [2023-03-29T00:40:59.989Z] -rw-r--r-- 1 root root 89 Mar 29 00:34 cost.csv [2023-03-29T00:40:59.989Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-373/archives [2023-03-29T00:40:59.989Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-373/archives [2023-03-29T00:40:59.989Z] total 16 [2023-03-29T00:40:59.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 00:34 . [2023-03-29T00:40:59.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 00:34 .. [2023-03-29T00:40:59.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 00:34 cost [2023-03-29T00:40:59.989Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 29 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:00.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:01.138Z] ---> package-listing.sh [2023-03-29T00:41:01.138Z] ++ facter osfamily [2023-03-29T00:41:01.138Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-29T00:41:01.397Z] + OS_FAMILY=debian [2023-03-29T00:41:01.397Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-373 [2023-03-29T00:41:01.397Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-29T00:41:01.397Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-29T00:41:01.397Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-29T00:41:01.397Z] + PACKAGES=/tmp/packages_start.txt [2023-03-29T00:41:01.397Z] + '[' /w/workspace/foundry_device-virtual-go_PR-373 ']' [2023-03-29T00:41:01.397Z] + PACKAGES=/tmp/packages_end.txt [2023-03-29T00:41:01.397Z] + case "${OS_FAMILY}" in [2023-03-29T00:41:01.397Z] + dpkg -l [2023-03-29T00:41:01.397Z] + grep '^ii' [2023-03-29T00:41:01.397Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-29T00:41:01.397Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-29T00:41:01.397Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-29T00:41:01.397Z] + '[' /w/workspace/foundry_device-virtual-go_PR-373 ']' [2023-03-29T00:41:01.397Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-373/archives/ [2023-03-29T00:41:01.397Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-373/archives/ [Pipeline] echo [2023-03-29T00:41:01.407Z] 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-373/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-29T00:41:01.686Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-29T00:41:02.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-29T00:41:02.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-29T00:41:02.310Z] prd-ubuntu20.04-docker-8c-8g-6152 does not seem to be running inside a container [2023-03-29T00:41:02.343Z] $ 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-373/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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 [2023-03-29T00:41:05.634Z] $ docker top 7fda5345a6339235d3a1197e9eacb5720dadec3958b8bcc0dd635091f89edac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-29T00:41:05.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-29T00:41:06.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-29T00:41:06.540Z] + ls /var/log/sa-host [2023-03-29T00:41:06.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-29T00:41:06.604Z] provisioning config files... [2023-03-29T00:41:06.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config13723155694982258672tmp [Pipeline] { [Pipeline] echo [2023-03-29T00:41:06.628Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:06.919Z] ---> create-netrc.sh [Pipeline] } [2023-03-29T00:41:06.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:07.246Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-29T00:41:07.254Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:07.537Z] ---> sudo-logs.sh [2023-03-29T00:41:07.538Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-29T00:41:07.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:07.852Z] ---> job-cost.sh [2023-03-29T00:41:07.852Z] lf-activate-venv: SKIPPING [2023-03-29T00:41:07.852Z] DEBUG: total: 0.2199999988079071 [2023-03-29T00:41:07.852Z] INFO: Retrieving Stack Cost... [2023-03-29T00:41:08.110Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-29T00:41:08.677Z] INFO: Archiving Costs [Pipeline] echo [2023-03-29T00:41:08.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-29T00:41:08.972Z] ---> logs-deploy.sh [2023-03-29T00:41:08.972Z] lf-activate-venv: SKIPPING [2023-03-29T00:41:08.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-373/2 [2023-03-29T00:41:08.972Z] INFO: archiving workspace using pattern(s): [2023-03-29T00:41:09.910Z] Archives upload complete. [2023-03-29T00:41:09.910Z] INFO: archiving logs to Nexus