Pull request #353 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2875dbaaf312f81370943c25781abbe7525550fa+0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (2ace9c616572648e6e62931bb524f983b1a2a55e) 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-ssh5636174005341215274.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2806839136388062616.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-353/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-353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2717347860041554743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh7033493826705502631.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-353/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-353/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1322666250698763828.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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-9877’ Running on prd-ubuntu20.04-docker-8c-8g-9880 in /w/workspace/foundry_device-virtual-go_PR-353 [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-353 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2875dbaaf312f81370943c25781abbe7525550fa Merge succeeded, producing 2875dbaaf312f81370943c25781abbe7525550fa Checking out Revision 2875dbaaf312f81370943c25781abbe7525550fa (PR-353) 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] { [Pipeline] timeout [2023-03-13T13:36:23.031Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T13:36:23.090Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T13:36:23.107Z] ========================================================= [2023-03-13T13:36:23.107Z] EdgeX Global Pipelines Version Info [2023-03-13T13:36:23.107Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 2875dbaaf312f81370943c25781abbe7525550fa # 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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2875dbaaf312f81370943c25781abbe7525550fa # timeout=10 > git rev-list --no-walk ad0e9467ecb981095f9af7688ea287ff137412c9 # timeout=10 [2023-03-13T13:36:23.818Z] ------------------- [2023-03-13T13:36:23.818Z] stable info: [2023-03-13T13:36:23.818Z] ------------------- [2023-03-13T13:36:23.818Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T13:36:23.818Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T13:36:23.818Z] Message: update stable to v1.0.244 [2023-03-13T13:36:24.388Z] ------------------- [2023-03-13T13:36:24.388Z] experimental info: [2023-03-13T13:36:24.388Z] ------------------- [2023-03-13T13:36:24.388Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T13:36:24.388Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T13:36:24.388Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T13:36:24.556Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-03-13T13:36:24.570Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-03-13T13:36:24.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T13:36:24.596Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T13:36:24.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T13:36:24.627Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T13:36:24.642Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T13:36:24.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T13:36:24.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T13:36:24.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T13:36:24.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T13:36:24.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-03-13T13:36:24.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T13:36:24.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T13:36:24.733Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T13:36:24.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T13:36:24.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T13:36:24.780Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T13:36:24.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T13:36:24.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T13:36:24.818Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T13:36:24.834Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T13:36:24.851Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T13:36:24.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T13:36:24.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T13:36:24.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T13:36:24.918Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T13:36:24.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2023-03-13T13:36:24.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2023-03-13T13:36:24.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2023-03-13T13:36:24.980Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2875dbaaf312f81370943c25781abbe7525550fa [Pipeline] echo [2023-03-13T13:36:24.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2875dba [Pipeline] echo [2023-03-13T13:36:25.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:36:25.054Z] provisioning config files... [2023-03-13T13:36:25.067Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-353@tmp/config15085000019579387657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:36:25.372Z] ---> docker-login.sh [2023-03-13T13:36:25.372Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:36:25.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:25.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:25.633Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:25.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:25.633Z] [2023-03-13T13:36:25.633Z] Login Succeeded [2023-03-13T13:36:25.633Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:36:25.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:25.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:25.633Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:25.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:25.633Z] [2023-03-13T13:36:25.633Z] Login Succeeded [2023-03-13T13:36:25.633Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:36:25.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:25.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:25.893Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:25.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:25.893Z] [2023-03-13T13:36:25.893Z] Login Succeeded [2023-03-13T13:36:25.893Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:36:25.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:25.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:25.893Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:25.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:25.893Z] [2023-03-13T13:36:25.893Z] Login Succeeded [2023-03-13T13:36:25.893Z] docker.io [2023-03-13T13:36:26.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:26.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:26.153Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:26.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:26.153Z] [2023-03-13T13:36:26.153Z] Login Succeeded [2023-03-13T13:36:26.153Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:36:26.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T13:36:26.506Z] + git rev-list -1 --merges 2875dbaaf312f81370943c25781abbe7525550fa~1..2875dbaaf312f81370943c25781abbe7525550fa [Pipeline] echo [2023-03-13T13:36:26.556Z] -----------> git rev-list -1 --merges 2875dbaaf312f81370943c25781abbe7525550fa~1..2875dbaaf312f81370943c25781abbe7525550fa 2875dbaaf312f81370943c25781abbe7525550fa [false] [Pipeline] sh [2023-03-13T13:36:26.843Z] + git log --format=format:%s -1 2875dbaaf312f81370943c25781abbe7525550fa [Pipeline] echo [2023-03-13T13:36:26.857Z] ========================================================= [2023-03-13T13:36:26.857Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T13:36:26.857Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T13:36:27.188Z] + git log --format=format:%s -1 2875dbaaf312f81370943c25781abbe7525550fa [Pipeline] echo [2023-03-13T13:36:27.200Z] [semverPrep] GIT_COMMIT: 2875dbaaf312f81370943c25781abbe7525550fa, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-13T13:36:27.209Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T13:36:27.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T13:36:27.563Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T13:36:27.563Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T13:36:27.563Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T13:36:27.563Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T13:36:27.563Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T13:36:27.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:36:27.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:36:27.922Z] [2023-03-13T13:36:27.922Z] 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-13T13:36:28.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:36:28.230Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T13:36:28.230Z] b85a868b505f: Pulling fs layer [2023-03-13T13:36:28.230Z] e2be974225ed: Pulling fs layer [2023-03-13T13:36:28.230Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T13:36:28.230Z] 988bab9f4d93: Pulling fs layer [2023-03-13T13:36:28.230Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T13:36:28.230Z] eaf3925da568: Pulling fs layer [2023-03-13T13:36:28.230Z] bab4dde63d76: Pulling fs layer [2023-03-13T13:36:28.230Z] bde34c3a00c8: Pulling fs layer [2023-03-13T13:36:28.230Z] b352a97aabf1: Pulling fs layer [2023-03-13T13:36:28.230Z] 4872d77fe225: Pulling fs layer [2023-03-13T13:36:28.230Z] 5851b861e8e6: Pulling fs layer [2023-03-13T13:36:28.230Z] bab4dde63d76: Waiting [2023-03-13T13:36:28.230Z] b352a97aabf1: Waiting [2023-03-13T13:36:28.230Z] 4872d77fe225: Waiting [2023-03-13T13:36:28.230Z] 5851b861e8e6: Waiting [2023-03-13T13:36:28.230Z] bde34c3a00c8: Waiting [2023-03-13T13:36:28.230Z] 988bab9f4d93: Waiting [2023-03-13T13:36:28.230Z] 1469e6f7b9e6: Waiting [2023-03-13T13:36:28.230Z] eaf3925da568: Waiting [2023-03-13T13:36:28.230Z] e2be974225ed: Download complete [2023-03-13T13:36:28.230Z] 988bab9f4d93: Verifying Checksum [2023-03-13T13:36:28.230Z] 988bab9f4d93: Download complete [2023-03-13T13:36:28.491Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T13:36:28.491Z] 1469e6f7b9e6: Download complete [2023-03-13T13:36:28.491Z] eaf3925da568: Verifying Checksum [2023-03-13T13:36:28.491Z] eaf3925da568: Download complete [2023-03-13T13:36:28.491Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T13:36:28.491Z] 339a4e72a1f5: Download complete [2023-03-13T13:36:28.491Z] bde34c3a00c8: Verifying Checksum [2023-03-13T13:36:28.491Z] bde34c3a00c8: Download complete [2023-03-13T13:36:28.491Z] b352a97aabf1: Download complete [2023-03-13T13:36:28.491Z] 4872d77fe225: Verifying Checksum [2023-03-13T13:36:28.491Z] 4872d77fe225: Download complete [2023-03-13T13:36:28.491Z] 5851b861e8e6: Verifying Checksum [2023-03-13T13:36:28.491Z] 5851b861e8e6: Download complete [2023-03-13T13:36:28.491Z] b85a868b505f: Verifying Checksum [2023-03-13T13:36:28.491Z] b85a868b505f: Download complete [2023-03-13T13:36:29.060Z] bab4dde63d76: Verifying Checksum [2023-03-13T13:36:29.061Z] bab4dde63d76: Download complete [2023-03-13T13:36:29.997Z] b85a868b505f: Pull complete [2023-03-13T13:36:29.997Z] e2be974225ed: Pull complete [2023-03-13T13:36:30.564Z] 339a4e72a1f5: Pull complete [2023-03-13T13:36:30.564Z] 988bab9f4d93: Pull complete [2023-03-13T13:36:30.829Z] 1469e6f7b9e6: Pull complete [2023-03-13T13:36:30.829Z] eaf3925da568: Pull complete [2023-03-13T13:36:32.750Z] bab4dde63d76: Pull complete [2023-03-13T13:36:32.750Z] bde34c3a00c8: Pull complete [2023-03-13T13:36:33.011Z] b352a97aabf1: Pull complete [2023-03-13T13:36:33.011Z] 4872d77fe225: Pull complete [2023-03-13T13:36:33.011Z] 5851b861e8e6: Pull complete [2023-03-13T13:36:33.011Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T13:36:33.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:36:33.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:36:33.098Z] prd-ubuntu20.04-docker-8c-8g-9880 does not seem to be running inside a container [2023-03-13T13:36:33.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-353 -v /w/workspace/foundry_device-virtual-go_PR-353:/w/workspace/foundry_device-virtual-go_PR-353:rw,z -v /w/workspace/foundry_device-virtual-go_PR-353@tmp:/w/workspace/foundry_device-virtual-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T13:36:35.423Z] $ docker top 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd -eo pid,comm [2023-03-13T13:36:35.477Z] 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-13T13:36:35.477Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T13:36:35.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:36:35.512Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:36:35.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:36:35.642Z] $ docker exec 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd ssh-agent [2023-03-13T13:36:35.752Z] SSH_AUTH_SOCK=/tmp/ssh-7hEqLYETgbGk/agent.32 [2023-03-13T13:36:35.752Z] SSH_AGENT_PID=38 [2023-03-13T13:36:35.758Z] Running ssh-add (command line suppressed) [2023-03-13T13:36:35.897Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-353@tmp/private_key_4354447546341900656.key (/w/workspace/foundry_device-virtual-go_PR-353@tmp/private_key_4354447546341900656.key) [2023-03-13T13:36:35.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:36:36.194Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T13:36:36.211Z] $ docker exec --env ******** --env ******** 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd ssh-agent -k [2023-03-13T13:36:36.322Z] unset SSH_AUTH_SOCK; [2023-03-13T13:36:36.323Z] unset SSH_AGENT_PID; [2023-03-13T13:36:36.323Z] echo Agent pid 38 killed; [2023-03-13T13:36:36.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T13:36:36.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:36:36.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:36:36.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:36:36.473Z] $ docker exec 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd ssh-agent [2023-03-13T13:36:36.575Z] SSH_AUTH_SOCK=/tmp/ssh-kE9ObUqelkvH/agent.70 [2023-03-13T13:36:36.575Z] SSH_AGENT_PID=76 [2023-03-13T13:36:36.582Z] Running ssh-add (command line suppressed) [2023-03-13T13:36:36.696Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-353@tmp/private_key_5026905389314799053.key (/w/workspace/foundry_device-virtual-go_PR-353@tmp/private_key_5026905389314799053.key) [2023-03-13T13:36:36.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:36:37.000Z] + git semver init [2023-03-13T13:36:37.274Z] 2023-03-13 13:36:37,205 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T13:36:37.274Z] 2023-03-13 13:36:37,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-353/.semver [2023-03-13T13:36:37.274Z] 2023-03-13 13:36:37,206 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-353/.semver [2023-03-13T13:36:37.274Z] 2023-03-13 13:36:37,206 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-353/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-353, universal_newlines=False, shell=None, istream=None) [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,279 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-353/.git/info/exclude [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,280 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-353/.semver/PR-353 with force:False [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,280 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-353/.semver/PR-353 [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,286 [execute] INFO git cat-file --batch-check [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,293 [execute] INFO git cat-file --batch [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T13:36:38.657Z] 2023-03-13 13:36:38,299 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-353/.semver/PR-353 [2023-03-13T13:36:38.657Z] 0.0.0 [Pipeline] } [2023-03-13T13:36:38.676Z] $ docker exec --env ******** --env ******** 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd ssh-agent -k [2023-03-13T13:36:38.783Z] unset SSH_AUTH_SOCK; [2023-03-13T13:36:38.783Z] unset SSH_AGENT_PID; [2023-03-13T13:36:38.783Z] echo Agent pid 76 killed; [2023-03-13T13:36:38.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T13:36:39.097Z] + git semver [Pipeline] } [2023-03-13T13:36:39.374Z] $ docker stop --time=1 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd [2023-03-13T13:36:40.666Z] $ docker rm -f --volumes 5de75b1ccc138e3b504182b332359df942fae0eb0dd710331c85ec1849d4b5cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T13:36:41.014Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T13:36:41.235Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T13:36:41.239Z] [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-13T13:36:41.406Z] provisioning config files... [2023-03-13T13:36:41.416Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-353@tmp/config5437381650660179090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:36:41.715Z] ---> docker-login.sh [2023-03-13T13:36:41.715Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:36:41.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:41.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:41.715Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:41.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:41.715Z] [2023-03-13T13:36:41.715Z] Login Succeeded [2023-03-13T13:36:41.715Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:36:41.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:41.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:41.715Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:41.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:41.715Z] [2023-03-13T13:36:41.715Z] Login Succeeded [2023-03-13T13:36:41.715Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:36:41.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:41.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:41.975Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:41.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:41.975Z] [2023-03-13T13:36:41.975Z] Login Succeeded [2023-03-13T13:36:41.975Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:36:41.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:41.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:41.975Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:41.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:41.975Z] [2023-03-13T13:36:41.975Z] Login Succeeded [2023-03-13T13:36:41.975Z] docker.io [2023-03-13T13:36:42.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:36:42.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:36:42.235Z] Configure a credential helper to remove this warning. See [2023-03-13T13:36:42.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:36:42.235Z] [2023-03-13T13:36:42.235Z] Login Succeeded [2023-03-13T13:36:42.235Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:36:42.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T13:36:42.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:36:42.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:36:42.332Z] ========================================================= [2023-03-13T13:36:42.332Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T13:36:42.332Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:36:42.647Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T13:36:42.647Z] Sending build context to Docker daemon 23.41MB [2023-03-13T13:36:42.647Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:36:42.647Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T13:36:42.907Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T13:36:42.907Z] 213ec9aee27d: Pulling fs layer [2023-03-13T13:36:42.907Z] 4583459ba037: Pulling fs layer [2023-03-13T13:36:42.907Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T13:36:42.907Z] 53926ce57604: Pulling fs layer [2023-03-13T13:36:42.907Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T13:36:42.907Z] 22ff95d597cd: Pulling fs layer [2023-03-13T13:36:42.907Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T13:36:42.907Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T13:36:42.907Z] a7acece74701: Pulling fs layer [2023-03-13T13:36:42.907Z] 22ff95d597cd: Waiting [2023-03-13T13:36:42.907Z] 12d6caf4c0d1: Waiting [2023-03-13T13:36:42.907Z] 96b7cbca73a9: Waiting [2023-03-13T13:36:42.907Z] 53926ce57604: Waiting [2023-03-13T13:36:42.907Z] 21b2b0c7a3f4: Waiting [2023-03-13T13:36:42.907Z] a7acece74701: Waiting [2023-03-13T13:36:42.907Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T13:36:42.907Z] 93c1e223e6f2: Download complete [2023-03-13T13:36:42.907Z] 4583459ba037: Download complete [2023-03-13T13:36:42.907Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T13:36:42.907Z] 21b2b0c7a3f4: Download complete [2023-03-13T13:36:42.907Z] 22ff95d597cd: Verifying Checksum [2023-03-13T13:36:42.907Z] 22ff95d597cd: Download complete [2023-03-13T13:36:42.907Z] 213ec9aee27d: Verifying Checksum [2023-03-13T13:36:42.907Z] 213ec9aee27d: Download complete [2023-03-13T13:36:42.907Z] 12d6caf4c0d1: Download complete [2023-03-13T13:36:43.170Z] 213ec9aee27d: Pull complete [2023-03-13T13:36:43.451Z] 4583459ba037: Pull complete [2023-03-13T13:36:43.451Z] 93c1e223e6f2: Pull complete [2023-03-13T13:36:43.732Z] a7acece74701: Verifying Checksum [2023-03-13T13:36:43.732Z] a7acece74701: Download complete [2023-03-13T13:36:43.994Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T13:36:44.253Z] 53926ce57604: Verifying Checksum [2023-03-13T13:36:44.253Z] 53926ce57604: Download complete [2023-03-13T13:36:48.437Z] 53926ce57604: Pull complete [2023-03-13T13:36:48.438Z] 21b2b0c7a3f4: Pull complete [2023-03-13T13:36:48.438Z] 22ff95d597cd: Pull complete [2023-03-13T13:36:48.438Z] 12d6caf4c0d1: Pull complete [2023-03-13T13:36:50.338Z] 96b7cbca73a9: Pull complete [2023-03-13T13:36:51.273Z] a7acece74701: Pull complete [2023-03-13T13:36:51.273Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T13:36:51.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T13:36:51.273Z] ---> db6d94c90886 [2023-03-13T13:36:51.273Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T13:36:54.566Z] ---> Running in b90ec72b4acd [2023-03-13T13:36:54.566Z] Removing intermediate container b90ec72b4acd [2023-03-13T13:36:54.566Z] ---> f4ec8be21fa0 [2023-03-13T13:36:54.566Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T13:36:54.566Z] ---> Running in d1c1c90463f6 [2023-03-13T13:36:54.827Z] Removing intermediate container d1c1c90463f6 [2023-03-13T13:36:54.827Z] ---> 12e52b3d9131 [2023-03-13T13:36:54.827Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T13:36:54.827Z] ---> Running in cd8e55f7599c [2023-03-13T13:36:54.827Z] Removing intermediate container cd8e55f7599c [2023-03-13T13:36:54.827Z] ---> 7f2cbde43344 [2023-03-13T13:36:54.827Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-13T13:36:54.827Z] ---> Running in b877c705bde5 [2023-03-13T13:36:55.086Z] Removing intermediate container b877c705bde5 [2023-03-13T13:36:55.086Z] ---> 52e66e3ea33f [2023-03-13T13:36:55.086Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T13:36:55.086Z] ---> Running in f4bdeb7b360b [2023-03-13T13:36:55.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T13:36:55.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T13:36:55.919Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T13:36:55.919Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T13:36:55.919Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T13:36:55.919Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T13:36:55.919Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T13:36:55.919Z] OK: 216 MiB in 55 packages [2023-03-13T13:36:56.178Z] Removing intermediate container f4bdeb7b360b [2023-03-13T13:36:56.178Z] ---> 0c1bc28c263b [2023-03-13T13:36:56.178Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-13T13:36:56.351Z] Still waiting to schedule task [2023-03-13T13:36:56.352Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9878’ is offline [2023-03-13T13:36:56.439Z] ---> 39cbbf1c1ad2 [2023-03-13T13:36:56.439Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:36:56.439Z] ---> Running in 0a3c76c5328d [2023-03-13T13:37:23.020Z] Removing intermediate container 0a3c76c5328d [2023-03-13T13:37:23.020Z] ---> 86784076c8f6 [2023-03-13T13:37:23.020Z] Step 10/12 : COPY . . [2023-03-13T13:37:23.020Z] ---> 6d4e388202f5 [2023-03-13T13:37:23.020Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T13:37:23.020Z] ---> Running in c76f5c731334 [2023-03-13T13:37:23.020Z] Removing intermediate container c76f5c731334 [2023-03-13T13:37:23.020Z] ---> 550833759519 [2023-03-13T13:37:23.020Z] Step 12/12 : RUN $MAKE [2023-03-13T13:37:23.020Z] ---> Running in 5393e4b05d2e [2023-03-13T13:37:23.020Z] noop [2023-03-13T13:37:23.020Z] Removing intermediate container 5393e4b05d2e [2023-03-13T13:37:23.020Z] ---> 677e9574be48 [2023-03-13T13:37:23.020Z] Successfully built 677e9574be48 [2023-03-13T13:37:23.020Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:23.321Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T13:37:23.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:23.397Z] prd-ubuntu20.04-docker-8c-8g-9880 does not seem to be running inside a container [2023-03-13T13:37:23.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-353 -v /w/workspace/foundry_device-virtual-go_PR-353:/w/workspace/foundry_device-virtual-go_PR-353:rw,z -v /w/workspace/foundry_device-virtual-go_PR-353@tmp:/w/workspace/foundry_device-virtual-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T13:37:23.767Z] $ docker top 3cb459960331269a85f99b92b6378c5d014a7c9d80950ea8662a1d9e4fe3ec44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:37:24.104Z] + go version [2023-03-13T13:37:24.104Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T13:37:24.120Z] $ docker stop --time=1 3cb459960331269a85f99b92b6378c5d014a7c9d80950ea8662a1d9e4fe3ec44 [2023-03-13T13:37:25.380Z] $ docker rm -f --volumes 3cb459960331269a85f99b92b6378c5d014a7c9d80950ea8662a1d9e4fe3ec44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:25.778Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T13:37:25.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:25.844Z] prd-ubuntu20.04-docker-8c-8g-9880 does not seem to be running inside a container [2023-03-13T13:37:25.877Z] $ 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-353 -v /w/workspace/foundry_device-virtual-go_PR-353:/w/workspace/foundry_device-virtual-go_PR-353:rw,z -v /w/workspace/foundry_device-virtual-go_PR-353@tmp:/w/workspace/foundry_device-virtual-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T13:37:26.227Z] $ docker top 848cfb49787d24bbec55b7355b94922928ec9bcf2706b3f638a23f14736eed73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:37:26.574Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-353 [Pipeline] fileExists [Pipeline] sh [2023-03-13T13:37:26.870Z] + make test [2023-03-13T13:37:26.870Z] go test ./... -coverprofile=coverage.out [2023-03-13T13:37:27.436Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-13T13:37:37.404Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T13:37:37.404Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T13:37:37.405Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T13:37:37.405Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T13:37:37.405Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T13:37:37.405Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T13:37:37.405Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T13:37:37.405Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.034s coverage: 65.7% of statements [2023-03-13T13:37:37.405Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-13T13:37:37.423Z] $ docker stop --time=1 848cfb49787d24bbec55b7355b94922928ec9bcf2706b3f638a23f14736eed73 [2023-03-13T13:37:39.408Z] $ docker rm -f --volumes 848cfb49787d24bbec55b7355b94922928ec9bcf2706b3f638a23f14736eed73 [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-13T13:37:39.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:37:39.945Z] [2023-03-13T13:37:39.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:40.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:37:40.275Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T13:37:40.275Z] 5eb5b503b376: Pulling fs layer [2023-03-13T13:37:40.275Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T13:37:40.275Z] ec43610c2a17: Pulling fs layer [2023-03-13T13:37:40.275Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T13:37:40.275Z] 33b1e0a273af: Pulling fs layer [2023-03-13T13:37:40.275Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T13:37:40.275Z] 2f39f015ded8: Pulling fs layer [2023-03-13T13:37:40.275Z] 3a2ae6a8a46f: Waiting [2023-03-13T13:37:40.275Z] 2f39f015ded8: Waiting [2023-03-13T13:37:40.275Z] 33b1e0a273af: Waiting [2023-03-13T13:37:40.275Z] 5d3b04190fa2: Waiting [2023-03-13T13:37:40.275Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T13:37:40.275Z] 5c69ac0246d0: Download complete [2023-03-13T13:37:40.275Z] 3a2ae6a8a46f: Download complete [2023-03-13T13:37:40.534Z] 33b1e0a273af: Verifying Checksum [2023-03-13T13:37:40.534Z] 33b1e0a273af: Download complete [2023-03-13T13:37:40.534Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T13:37:40.534Z] 5d3b04190fa2: Download complete [2023-03-13T13:37:40.534Z] ec43610c2a17: Verifying Checksum [2023-03-13T13:37:40.534Z] ec43610c2a17: Download complete [2023-03-13T13:37:40.534Z] 5eb5b503b376: Verifying Checksum [2023-03-13T13:37:40.534Z] 5eb5b503b376: Download complete [2023-03-13T13:37:41.104Z] 2f39f015ded8: Download complete [2023-03-13T13:37:42.044Z] 5eb5b503b376: Pull complete [2023-03-13T13:37:42.044Z] 5c69ac0246d0: Pull complete [2023-03-13T13:37:42.304Z] ec43610c2a17: Pull complete [2023-03-13T13:37:42.563Z] 3a2ae6a8a46f: Pull complete [2023-03-13T13:37:42.563Z] 33b1e0a273af: Pull complete [2023-03-13T13:37:42.821Z] 5d3b04190fa2: Pull complete [2023-03-13T13:37:48.087Z] 2f39f015ded8: Pull complete [2023-03-13T13:37:48.087Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T13:37:48.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:37:48.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:48.164Z] prd-ubuntu20.04-docker-8c-8g-9880 does not seem to be running inside a container [2023-03-13T13:37:48.199Z] $ 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-353 -v /w/workspace/foundry_device-virtual-go_PR-353:/w/workspace/foundry_device-virtual-go_PR-353:rw,z -v /w/workspace/foundry_device-virtual-go_PR-353@tmp:/w/workspace/foundry_device-virtual-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T13:37:52.382Z] $ docker top d4d3d3a31af847e085e4e619a785ee88e81b4919a3c1b2341733b52c5684837d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:37:52.753Z] ---> job-cost.sh [2023-03-13T13:37:52.753Z] lf-activate-venv: SKIPPING [2023-03-13T13:37:52.753Z] INFO: No Stack... [2023-03-13T13:37:53.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T13:37:53.584Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T13:37:53.911Z] + cat /w/workspace/foundry_device-virtual-go_PR-353/archives/cost.csv [2023-03-13T13:37:53.911Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T13:37:53.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [2023-03-13T13:37:53.968Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] did not exist. Created. [2023-03-13T13:37:53.968Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T13:37:54.326Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T13:37:54.390Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T13:37:54.399Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T13:37:54.425Z] $ docker stop --time=1 d4d3d3a31af847e085e4e619a785ee88e81b4919a3c1b2341733b52c5684837d [2023-03-13T13:37:55.584Z] $ docker rm -f --volumes d4d3d3a31af847e085e4e619a785ee88e81b4919a3c1b2341733b52c5684837d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T13:37:55.677Z] Failed in branch amd64 [2023-03-13T13:39:44.112Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9882 in /w/workspace/foundry_device-virtual-go_PR-353 [Pipeline] { [Pipeline] ws [2023-03-13T13:39:44.124Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-03-13T13:39:44.193Z] The recommended git tool is: git [2023-03-13T13:39:53.096Z] using credential edgex-jenkins-ssh [2023-03-13T13:39:53.121Z] Cloning the remote Git repository [2023-03-13T13:39:53.186Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T13:39:53.293Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-03-13T13:39:53.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T13:39:53.501Z] > git --version # timeout=10 [2023-03-13T13:39:53.531Z] > git --version # 'git version 2.25.1' [2023-03-13T13:39:53.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T13:39:53.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T13:39:55.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-13T13:39:55.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T13:39:57.184Z] Merging remotes/origin/main commit 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 into PR head commit 2875dbaaf312f81370943c25781abbe7525550fa [2023-03-13T13:39:57.398Z] Merge succeeded, producing 2875dbaaf312f81370943c25781abbe7525550fa [2023-03-13T13:39:57.398Z] Checking out Revision 2875dbaaf312f81370943c25781abbe7525550fa (PR-353) [2023-03-13T13:39:56.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-03-13T13:39:56.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-03-13T13:39:56.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T13:39:56.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T13:39:57.203Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T13:39:57.221Z] > git checkout -f 2875dbaaf312f81370943c25781abbe7525550fa # timeout=10 [2023-03-13T13:39:57.303Z] > git remote # timeout=10 [2023-03-13T13:39:57.321Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T13:39:57.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T13:39:57.356Z] > git merge 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 [2023-03-13T13:39:57.382Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T13:39:57.406Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T13:39:57.420Z] > git checkout -f 2875dbaaf312f81370943c25781abbe7525550fa # timeout=10 [2023-03-13T13:39:57.907Z] 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-13T13:39:58.773Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T13:39:58.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T13:39:58.773Z] Dload Upload Total Spent Left Speed [2023-03-13T13:39:58.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-03-13T13:39:59.462Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T13:39:59.806Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T13:39:59.806Z] + sudo tee /etc/docker/daemon.new [2023-03-13T13:39:59.806Z] { [2023-03-13T13:39:59.806Z] "registry-mirrors": [ [2023-03-13T13:39:59.806Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T13:39:59.806Z] ], [2023-03-13T13:39:59.806Z] "bip": "10.250.0.254/24", [2023-03-13T13:39:59.806Z] "hosts": [ [2023-03-13T13:39:59.806Z] "tcp://0.0.0.0:5555", [2023-03-13T13:39:59.806Z] "unix:///var/run/docker.sock" [2023-03-13T13:39:59.806Z] ], [2023-03-13T13:39:59.806Z] "mtu": 1458, [2023-03-13T13:39:59.806Z] "selinux-enabled": true, [2023-03-13T13:39:59.806Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T13:39:59.806Z] } [Pipeline] sh [2023-03-13T13:40:00.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T13:40:00.661Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:40:18.977Z] provisioning config files... [2023-03-13T13:40:19.010Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3708891791626240529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:40:19.387Z] ---> docker-login.sh [2023-03-13T13:40:19.387Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:40:19.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:40:19.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:40:19.979Z] Configure a credential helper to remove this warning. See [2023-03-13T13:40:19.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:40:19.979Z] [2023-03-13T13:40:19.979Z] Login Succeeded [2023-03-13T13:40:19.979Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:40:20.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:40:20.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:40:20.524Z] Configure a credential helper to remove this warning. See [2023-03-13T13:40:20.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:40:20.524Z] [2023-03-13T13:40:20.524Z] Login Succeeded [2023-03-13T13:40:20.524Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:40:20.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:40:20.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:40:20.799Z] Configure a credential helper to remove this warning. See [2023-03-13T13:40:20.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:40:20.799Z] [2023-03-13T13:40:20.799Z] Login Succeeded [2023-03-13T13:40:20.799Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:40:21.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:40:21.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:40:21.352Z] Configure a credential helper to remove this warning. See [2023-03-13T13:40:21.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:40:21.352Z] [2023-03-13T13:40:21.352Z] Login Succeeded [2023-03-13T13:40:21.352Z] docker.io [2023-03-13T13:40:21.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:40:21.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:40:21.893Z] Configure a credential helper to remove this warning. See [2023-03-13T13:40:21.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:40:21.893Z] [2023-03-13T13:40:21.893Z] Login Succeeded [2023-03-13T13:40:21.893Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:40:21.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T13:40:22.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:40:22.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:40:22.230Z] ========================================================= [2023-03-13T13:40:22.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T13:40:22.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:40:22.587Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T13:40:22.867Z] Sending build context to Docker daemon 11.86MB [2023-03-13T13:40:23.139Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:40:23.139Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T13:40:23.139Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T13:40:23.139Z] 9b18e9b68314: Pulling fs layer [2023-03-13T13:40:23.139Z] 35d82f9e3411: Pulling fs layer [2023-03-13T13:40:23.139Z] e16973657156: Pulling fs layer [2023-03-13T13:40:23.139Z] fc693d55d65f: Pulling fs layer [2023-03-13T13:40:23.139Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T13:40:23.139Z] dda99020689f: Pulling fs layer [2023-03-13T13:40:23.139Z] db1c61fa0a46: Pulling fs layer [2023-03-13T13:40:23.139Z] 891c053d2c06: Pulling fs layer [2023-03-13T13:40:23.139Z] dda99020689f: Waiting [2023-03-13T13:40:23.139Z] 891c053d2c06: Waiting [2023-03-13T13:40:23.139Z] fc693d55d65f: Waiting [2023-03-13T13:40:23.139Z] db1c61fa0a46: Waiting [2023-03-13T13:40:23.139Z] 7e9fc2657dce: Waiting [2023-03-13T13:40:23.139Z] 35d82f9e3411: Verifying Checksum [2023-03-13T13:40:23.139Z] 35d82f9e3411: Download complete [2023-03-13T13:40:23.411Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T13:40:23.411Z] 7e9fc2657dce: Download complete [2023-03-13T13:40:23.411Z] dda99020689f: Verifying Checksum [2023-03-13T13:40:23.411Z] dda99020689f: Download complete [2023-03-13T13:40:23.411Z] 9b18e9b68314: Download complete [2023-03-13T13:40:24.392Z] 9b18e9b68314: Pull complete [2023-03-13T13:40:24.392Z] 891c053d2c06: Verifying Checksum [2023-03-13T13:40:24.392Z] 891c053d2c06: Download complete [2023-03-13T13:40:24.991Z] 35d82f9e3411: Pull complete [2023-03-13T13:40:25.267Z] e16973657156: Pull complete [2023-03-13T13:40:25.858Z] db1c61fa0a46: Verifying Checksum [2023-03-13T13:40:25.858Z] db1c61fa0a46: Download complete [2023-03-13T13:40:26.449Z] fc693d55d65f: Verifying Checksum [2023-03-13T13:40:26.449Z] fc693d55d65f: Download complete [2023-03-13T13:40:38.812Z] fc693d55d65f: Pull complete [2023-03-13T13:40:38.812Z] 7e9fc2657dce: Pull complete [2023-03-13T13:40:39.085Z] dda99020689f: Pull complete [2023-03-13T13:40:47.434Z] db1c61fa0a46: Pull complete [2023-03-13T13:40:49.399Z] 891c053d2c06: Pull complete [2023-03-13T13:40:49.400Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T13:40:49.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T13:40:49.400Z] ---> f96f9c87975a [2023-03-13T13:40:49.400Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T13:40:51.355Z] ---> Running in 4e7471b010eb [2023-03-13T13:40:51.626Z] Removing intermediate container 4e7471b010eb [2023-03-13T13:40:51.626Z] ---> 2f79e7c0ac84 [2023-03-13T13:40:51.626Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T13:40:51.626Z] ---> Running in 7c2057a6a247 [2023-03-13T13:40:51.901Z] Removing intermediate container 7c2057a6a247 [2023-03-13T13:40:51.901Z] ---> a712752efc3d [2023-03-13T13:40:51.901Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T13:40:52.169Z] ---> Running in 4c34641d30fe [2023-03-13T13:40:52.440Z] Removing intermediate container 4c34641d30fe [2023-03-13T13:40:52.440Z] ---> 4e34c5baac42 [2023-03-13T13:40:52.440Z] Step 6/12 : WORKDIR /device-virtual-go [2023-03-13T13:40:52.440Z] ---> Running in 44f7b63b16ca [2023-03-13T13:40:52.709Z] Removing intermediate container 44f7b63b16ca [2023-03-13T13:40:52.709Z] ---> 453b4e23971d [2023-03-13T13:40:52.709Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T13:40:52.987Z] ---> Running in 888f984e1ef3 [2023-03-13T13:40:54.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T13:40:54.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T13:40:55.821Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T13:40:55.821Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T13:40:55.821Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T13:40:55.821Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T13:40:55.821Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T13:40:55.821Z] OK: 226 MiB in 55 packages [2023-03-13T13:40:56.796Z] Removing intermediate container 888f984e1ef3 [2023-03-13T13:40:56.796Z] ---> c7a71bb08243 [2023-03-13T13:40:56.796Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-13T13:40:57.381Z] ---> e612705ffb94 [2023-03-13T13:40:57.381Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:40:57.381Z] ---> Running in 0cffdf169fba [2023-03-13T13:42:05.319Z] Removing intermediate container 0cffdf169fba [2023-03-13T13:42:05.319Z] ---> 29e03ad1294f [2023-03-13T13:42:05.319Z] Step 10/12 : COPY . . [2023-03-13T13:42:05.319Z] ---> 2fdcffa3a9d6 [2023-03-13T13:42:05.319Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T13:42:05.319Z] ---> Running in 8201a8043460 [2023-03-13T13:42:05.319Z] Removing intermediate container 8201a8043460 [2023-03-13T13:42:05.319Z] ---> 7a5121a1bbf3 [2023-03-13T13:42:05.319Z] Step 12/12 : RUN $MAKE [2023-03-13T13:42:05.319Z] ---> Running in 9379e2820da0 [2023-03-13T13:42:05.319Z] noop [2023-03-13T13:42:05.319Z] Removing intermediate container 9379e2820da0 [2023-03-13T13:42:05.319Z] ---> 22c7a2d9ca22 [2023-03-13T13:42:05.319Z] Successfully built 22c7a2d9ca22 [2023-03-13T13:42:05.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:42:05.676Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T13:42:05.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:42:05.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-9882 does not seem to be running inside a container [2023-03-13T13:42:05.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T13:42:07.194Z] $ docker top 0a7c2e47200805f1002ca32f99ea9a1611e2eca02d7bd6c97bd7d7a829618e0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:42:08.031Z] + go version [2023-03-13T13:42:08.031Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T13:42:08.052Z] $ docker stop --time=1 0a7c2e47200805f1002ca32f99ea9a1611e2eca02d7bd6c97bd7d7a829618e0c [2023-03-13T13:42:09.731Z] $ docker rm -f --volumes 0a7c2e47200805f1002ca32f99ea9a1611e2eca02d7bd6c97bd7d7a829618e0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:42:10.261Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T13:42:10.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:42:10.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-9882 does not seem to be running inside a container [2023-03-13T13:42:10.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T13:42:11.771Z] $ docker top 1b4de89bd50d89b59c10da103c1f28045c5ef3965c8daadb8e8ec7b53dab3ef5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:42:12.614Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-13T13:42:13.278Z] + make test [2023-03-13T13:42:13.278Z] go test ./... -coverprofile=coverage.out [2023-03-13T13:42:15.235Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-03-13T13:43:36.899Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T13:43:36.899Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T13:43:37.487Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.115s coverage: 65.7% of statements [2023-03-13T13:43:37.760Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-13T13:43:37.785Z] $ docker stop --time=1 1b4de89bd50d89b59c10da103c1f28045c5ef3965c8daadb8e8ec7b53dab3ef5 [2023-03-13T13:43:39.554Z] $ docker rm -f --volumes 1b4de89bd50d89b59c10da103c1f28045c5ef3965c8daadb8e8ec7b53dab3ef5 [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-13T13:43:40.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:43:40.577Z] [2023-03-13T13:43:40.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:43:40.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:43:40.924Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T13:43:40.924Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T13:43:40.924Z] 04944245beec: Pulling fs layer [2023-03-13T13:43:40.924Z] 699f458cf7ca: Pulling fs layer [2023-03-13T13:43:40.924Z] 765212b225bb: Pulling fs layer [2023-03-13T13:43:40.924Z] f23df028b6ca: Pulling fs layer [2023-03-13T13:43:40.924Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T13:43:40.924Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T13:43:41.195Z] f23df028b6ca: Waiting [2023-03-13T13:43:41.195Z] d65c8cfc05b1: Waiting [2023-03-13T13:43:41.195Z] 2437ff75d9bd: Waiting [2023-03-13T13:43:41.195Z] 765212b225bb: Waiting [2023-03-13T13:43:41.195Z] 04944245beec: Verifying Checksum [2023-03-13T13:43:41.195Z] 04944245beec: Download complete [2023-03-13T13:43:41.195Z] 765212b225bb: Verifying Checksum [2023-03-13T13:43:41.195Z] 765212b225bb: Download complete [2023-03-13T13:43:41.195Z] f23df028b6ca: Verifying Checksum [2023-03-13T13:43:41.195Z] f23df028b6ca: Download complete [2023-03-13T13:43:41.195Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T13:43:41.195Z] d65c8cfc05b1: Download complete [2023-03-13T13:43:41.464Z] 699f458cf7ca: Verifying Checksum [2023-03-13T13:43:41.464Z] 699f458cf7ca: Download complete [2023-03-13T13:43:41.732Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T13:43:41.732Z] 8998bd30e6a1: Download complete [2023-03-13T13:43:44.319Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T13:43:44.319Z] 2437ff75d9bd: Download complete [2023-03-13T13:43:45.732Z] 8998bd30e6a1: Pull complete [2023-03-13T13:43:45.999Z] 04944245beec: Pull complete [2023-03-13T13:43:46.958Z] 699f458cf7ca: Pull complete [2023-03-13T13:43:47.226Z] 765212b225bb: Pull complete [2023-03-13T13:43:47.808Z] f23df028b6ca: Pull complete [2023-03-13T13:43:48.077Z] d65c8cfc05b1: Pull complete [2023-03-13T13:44:03.074Z] 2437ff75d9bd: Pull complete [2023-03-13T13:44:03.074Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T13:44:03.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:44:03.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:44:03.265Z] prd-ubuntu20.04-docker-arm64-4c-16g-9882 does not seem to be running inside a container [2023-03-13T13:44:03.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T13:44:06.088Z] $ docker top dd5a84c3d597546fc86d16fc7d5164807aaf0b950826a7e6281f6b74fe7a1fce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:06.611Z] ---> job-cost.sh [2023-03-13T13:44:06.876Z] lf-activate-venv: SKIPPING [2023-03-13T13:44:06.876Z] INFO: No Stack... [2023-03-13T13:44:07.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T13:44:08.100Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T13:44:08.423Z] + + cutcat -d, /w/workspace/device-virtual-go/2/archives/cost.csv -f6 [2023-03-13T13:44:08.423Z] [Pipeline] lock [2023-03-13T13:44:08.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [2023-03-13T13:44:08.498Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] did not exist. Created. [2023-03-13T13:44:08.498Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T13:44:08.841Z] /w/workspace/device-virtual-go/2@tmp/durable-cce27eed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T13:44:09.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T13:44:09.461Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T13:44:09.895Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T13:44:09.903Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T13:44:09.923Z] $ docker stop --time=1 dd5a84c3d597546fc86d16fc7d5164807aaf0b950826a7e6281f6b74fe7a1fce [2023-03-13T13:44:11.433Z] $ docker rm -f --volumes dd5a84c3d597546fc86d16fc7d5164807aaf0b950826a7e6281f6b74fe7a1fce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T13:44:11.659Z] 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-13T13:44:12.370Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-353/archives ] [2023-03-13T13:44:12.370Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-353/archives [2023-03-13T13:44:12.370Z] total 16 [2023-03-13T13:44:12.370Z] drwxr-xr-x 3 root root 4096 Mar 13 13:37 . [2023-03-13T13:44:12.370Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:37 .. [2023-03-13T13:44:12.370Z] drwxr-xr-x 2 root root 4096 Mar 13 13:37 cost [2023-03-13T13:44:12.370Z] -rw-r--r-- 1 root root 89 Mar 13 13:37 cost.csv [2023-03-13T13:44:12.370Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-353/archives [2023-03-13T13:44:12.370Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-353/archives [2023-03-13T13:44:12.370Z] total 16 [2023-03-13T13:44:12.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:37 . [2023-03-13T13:44:12.370Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:37 .. [2023-03-13T13:44:12.370Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 13:37 cost [2023-03-13T13:44:12.370Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 13 13:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:12.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:13.524Z] ---> package-listing.sh [2023-03-13T13:44:13.524Z] ++ facter osfamily [2023-03-13T13:44:13.524Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T13:44:13.785Z] + OS_FAMILY=debian [2023-03-13T13:44:13.785Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-353 [2023-03-13T13:44:13.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T13:44:13.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T13:44:13.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T13:44:13.785Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T13:44:13.785Z] + '[' /w/workspace/foundry_device-virtual-go_PR-353 ']' [2023-03-13T13:44:13.785Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T13:44:13.785Z] + case "${OS_FAMILY}" in [2023-03-13T13:44:13.785Z] + dpkg -l [2023-03-13T13:44:13.785Z] + grep '^ii' [2023-03-13T13:44:13.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T13:44:13.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T13:44:13.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T13:44:13.785Z] + '[' /w/workspace/foundry_device-virtual-go_PR-353 ']' [2023-03-13T13:44:13.785Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-353/archives/ [2023-03-13T13:44:13.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-353/archives/ [Pipeline] echo [2023-03-13T13:44:13.796Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T13:44:14.074Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:44:14.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:44:14.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:44:14.696Z] prd-ubuntu20.04-docker-8c-8g-9880 does not seem to be running inside a container [2023-03-13T13:44:14.730Z] $ 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-353/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-353 -v /w/workspace/foundry_device-virtual-go_PR-353:/w/workspace/foundry_device-virtual-go_PR-353:rw,z -v /w/workspace/foundry_device-virtual-go_PR-353@tmp:/w/workspace/foundry_device-virtual-go_PR-353@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-13T13:44:14.938Z] $ docker top a58d8f0b536bd3f3094b3966e3ab3a3db8eb80f62778dcc7c4e9df1fbe7e463a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:44:15.274Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T13:44:15.559Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T13:44:15.845Z] + ls /var/log/sa-host [2023-03-13T13:44:15.845Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:44:15.912Z] provisioning config files... [2023-03-13T13:44:15.920Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-353@tmp/config11374486313169318245tmp [Pipeline] { [Pipeline] echo [2023-03-13T13:44:15.936Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:16.219Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T13:44:16.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:16.548Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T13:44:16.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:16.841Z] ---> sudo-logs.sh [2023-03-13T13:44:16.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T13:44:16.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:17.143Z] ---> job-cost.sh [2023-03-13T13:44:17.143Z] lf-activate-venv: SKIPPING [2023-03-13T13:44:17.143Z] DEBUG: total: 0.2199999988079071 [2023-03-13T13:44:17.143Z] INFO: Retrieving Stack Cost... [2023-03-13T13:44:17.710Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T13:44:17.969Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T13:44:17.981Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:44:18.262Z] ---> logs-deploy.sh [2023-03-13T13:44:18.262Z] lf-activate-venv: SKIPPING [2023-03-13T13:44:18.262Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-353/2 [2023-03-13T13:44:18.262Z] INFO: archiving workspace using pattern(s): [2023-03-13T13:44:19.199Z] Archives upload complete. [2023-03-13T13:44:19.458Z] INFO: archiving logs to Nexus