Pull request #1370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa+e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 (769a025f7296beb0b928c4642941de8bf01b9590) 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-ssh11846684867923300203.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-ssh10782956218539991554.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16986561291300167980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3382265944913173973.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5294388973803456622.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1445929471014609465.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9584 in /w/workspace/gexfoundry_device-sdk-go_PR-1370 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1370 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 into PR head commit cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa Merge succeeded, producing cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa Checking out Revision cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa (PR-1370) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1370/head:refs/remotes/origin/PR-1370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa # 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 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-10T04:58:37.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-10T04:58:37.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-10T04:58:37.378Z] ========================================================= [2023-03-10T04:58:37.378Z] EdgeX Global Pipelines Version Info [2023-03-10T04:58:37.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-10T04:58:38.109Z] ------------------- [2023-03-10T04:58:38.109Z] stable info: [2023-03-10T04:58:38.109Z] ------------------- [2023-03-10T04:58:38.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-10T04:58:38.109Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T04:58:38.109Z] Message: update stable to v1.0.244 [2023-03-10T04:58:38.682Z] ------------------- [2023-03-10T04:58:38.682Z] experimental info: [2023-03-10T04:58:38.682Z] ------------------- [2023-03-10T04:58:38.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-10T04:58:38.682Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T04:58:38.682Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-10T04:58:38.990Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-10T04:58:39.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-10T04:58:39.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-10T04:58:39.117Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-10T04:58:39.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-10T04:58:39.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-10T04:58:39.243Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-10T04:58:39.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-10T04:58:39.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-10T04:58:39.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-10T04:58:39.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-10T04:58:39.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-10T04:58:39.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-10T04:58:39.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-10T04:58:39.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T04:58:39.610Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T04:58:39.650Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T04:58:39.692Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T04:58:39.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-10T04:58:39.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-10T04:58:39.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-10T04:58:39.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-10T04:58:39.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-10T04:58:39.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-10T04:58:39.971Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-10T04:58:40.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-10T04:58:40.060Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-10T04:58:40.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1370 [Pipeline] echo [2023-03-10T04:58:40.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1370 [Pipeline] echo [2023-03-10T04:58:40.169Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1370 [Pipeline] echo [2023-03-10T04:58:40.205Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [Pipeline] echo [2023-03-10T04:58:40.240Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbb48d4 [Pipeline] echo [2023-03-10T04:58:40.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T04:58:40.383Z] provisioning config files... [2023-03-10T04:58:40.399Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/config8273060618044947624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T04:58:40.741Z] ---> docker-login.sh [2023-03-10T04:58:40.741Z] nexus3.edgexfoundry.org:10001 [2023-03-10T04:58:41.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:41.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:41.002Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:41.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:41.002Z] [2023-03-10T04:58:41.002Z] Login Succeeded [2023-03-10T04:58:41.002Z] nexus3.edgexfoundry.org:10002 [2023-03-10T04:58:41.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:41.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:41.265Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:41.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:41.265Z] [2023-03-10T04:58:41.265Z] Login Succeeded [2023-03-10T04:58:41.265Z] nexus3.edgexfoundry.org:10003 [2023-03-10T04:58:41.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:41.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:41.265Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:41.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:41.265Z] [2023-03-10T04:58:41.265Z] Login Succeeded [2023-03-10T04:58:41.265Z] nexus3.edgexfoundry.org:10004 [2023-03-10T04:58:41.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:41.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:41.524Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:41.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:41.524Z] [2023-03-10T04:58:41.524Z] Login Succeeded [2023-03-10T04:58:41.524Z] docker.io [2023-03-10T04:58:41.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:41.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:41.784Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:41.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:41.784Z] [2023-03-10T04:58:41.784Z] Login Succeeded [2023-03-10T04:58:41.784Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T04:58:41.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-10T04:58:42.433Z] + git rev-list -1 --merges cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa~1..cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [Pipeline] echo [2023-03-10T04:58:42.498Z] -----------> git rev-list -1 --merges cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa~1..cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [false] [Pipeline] sh [2023-03-10T04:58:42.806Z] + git log --format=format:%s -1 cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [Pipeline] echo [2023-03-10T04:58:42.838Z] ========================================================= [2023-03-10T04:58:42.838Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-10T04:58:42.838Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T04:58:43.252Z] + git log --format=format:%s -1 cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [Pipeline] echo [2023-03-10T04:58:43.287Z] [semverPrep] GIT_COMMIT: cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-10T04:58:43.316Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-10T04:58:43.711Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-10T04:58:43.711Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-10T04:58:43.711Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-10T04:58:43.711Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-10T04:58:43.711Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-10T04:58:43.711Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-10T04:58:43.711Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T04:58:44.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T04:58:44.200Z] [2023-03-10T04:58:44.200Z] 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-10T04:58:44.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T04:58:44.586Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-10T04:58:44.586Z] b85a868b505f: Pulling fs layer [2023-03-10T04:58:44.586Z] e2be974225ed: Pulling fs layer [2023-03-10T04:58:44.586Z] 339a4e72a1f5: Pulling fs layer [2023-03-10T04:58:44.586Z] 988bab9f4d93: Pulling fs layer [2023-03-10T04:58:44.586Z] 1469e6f7b9e6: Pulling fs layer [2023-03-10T04:58:44.586Z] eaf3925da568: Pulling fs layer [2023-03-10T04:58:44.586Z] bab4dde63d76: Pulling fs layer [2023-03-10T04:58:44.586Z] bde34c3a00c8: Pulling fs layer [2023-03-10T04:58:44.586Z] b352a97aabf1: Pulling fs layer [2023-03-10T04:58:44.586Z] 4872d77fe225: Pulling fs layer [2023-03-10T04:58:44.586Z] 5851b861e8e6: Pulling fs layer [2023-03-10T04:58:44.586Z] bab4dde63d76: Waiting [2023-03-10T04:58:44.586Z] bde34c3a00c8: Waiting [2023-03-10T04:58:44.586Z] b352a97aabf1: Waiting [2023-03-10T04:58:44.586Z] 4872d77fe225: Waiting [2023-03-10T04:58:44.586Z] 5851b861e8e6: Waiting [2023-03-10T04:58:44.586Z] 988bab9f4d93: Waiting [2023-03-10T04:58:44.586Z] 1469e6f7b9e6: Waiting [2023-03-10T04:58:44.586Z] eaf3925da568: Waiting [2023-03-10T04:58:44.586Z] e2be974225ed: Verifying Checksum [2023-03-10T04:58:44.586Z] e2be974225ed: Download complete [2023-03-10T04:58:44.586Z] 988bab9f4d93: Download complete [2023-03-10T04:58:44.846Z] 1469e6f7b9e6: Verifying Checksum [2023-03-10T04:58:44.846Z] 1469e6f7b9e6: Download complete [2023-03-10T04:58:44.846Z] eaf3925da568: Verifying Checksum [2023-03-10T04:58:44.846Z] 339a4e72a1f5: Verifying Checksum [2023-03-10T04:58:44.846Z] 339a4e72a1f5: Download complete [2023-03-10T04:58:44.846Z] bde34c3a00c8: Download complete [2023-03-10T04:58:44.846Z] b352a97aabf1: Verifying Checksum [2023-03-10T04:58:44.846Z] 4872d77fe225: Download complete [2023-03-10T04:58:44.846Z] 5851b861e8e6: Verifying Checksum [2023-03-10T04:58:44.846Z] 5851b861e8e6: Download complete [2023-03-10T04:58:44.846Z] b85a868b505f: Verifying Checksum [2023-03-10T04:58:44.846Z] b85a868b505f: Download complete [2023-03-10T04:58:45.105Z] bab4dde63d76: Verifying Checksum [2023-03-10T04:58:45.105Z] bab4dde63d76: Download complete [2023-03-10T04:58:46.040Z] b85a868b505f: Pull complete [2023-03-10T04:58:46.040Z] e2be974225ed: Pull complete [2023-03-10T04:58:46.606Z] 339a4e72a1f5: Pull complete [2023-03-10T04:58:46.606Z] 988bab9f4d93: Pull complete [2023-03-10T04:58:46.866Z] 1469e6f7b9e6: Pull complete [2023-03-10T04:58:46.866Z] eaf3925da568: Pull complete [2023-03-10T04:58:48.770Z] bab4dde63d76: Pull complete [2023-03-10T04:58:48.770Z] bde34c3a00c8: Pull complete [2023-03-10T04:58:48.770Z] b352a97aabf1: Pull complete [2023-03-10T04:58:48.770Z] 4872d77fe225: Pull complete [2023-03-10T04:58:49.031Z] 5851b861e8e6: Pull complete [2023-03-10T04:58:49.031Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-10T04:58:49.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T04:58:49.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T04:58:49.247Z] prd-ubuntu20.04-docker-8c-8g-9584 does not seem to be running inside a container [2023-03-10T04:58:49.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1370 -v /w/workspace/gexfoundry_device-sdk-go_PR-1370:/w/workspace/gexfoundry_device-sdk-go_PR-1370:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-10T04:58:51.540Z] $ docker top 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 -eo pid,comm [2023-03-10T04:58:51.593Z] 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-10T04:58:51.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-10T04:58:51.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T04:58:51.709Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T04:58:51.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T04:58:51.817Z] $ docker exec 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 ssh-agent [2023-03-10T04:58:51.932Z] SSH_AUTH_SOCK=/tmp/ssh-1RVcMT1leR7G/agent.32 [2023-03-10T04:58:51.932Z] SSH_AGENT_PID=38 [2023-03-10T04:58:51.939Z] Running ssh-add (command line suppressed) [2023-03-10T04:58:52.042Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/private_key_14856591428044537375.key (/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/private_key_14856591428044537375.key) [2023-03-10T04:58:52.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T04:58:52.377Z] + git tag --points-at HEAD [Pipeline] } [2023-03-10T04:58:52.404Z] $ docker exec --env ******** --env ******** 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 ssh-agent -k [2023-03-10T04:58:52.505Z] unset SSH_AUTH_SOCK; [2023-03-10T04:58:52.506Z] unset SSH_AGENT_PID; [2023-03-10T04:58:52.507Z] echo Agent pid 38 killed; [2023-03-10T04:58:52.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-10T04:58:52.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T04:58:52.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T04:58:52.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T04:58:52.722Z] $ docker exec 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 ssh-agent [2023-03-10T04:58:52.825Z] SSH_AUTH_SOCK=/tmp/ssh-PrxsCHk6Wtzd/agent.70 [2023-03-10T04:58:52.825Z] SSH_AGENT_PID=76 [2023-03-10T04:58:52.829Z] Running ssh-add (command line suppressed) [2023-03-10T04:58:52.937Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/private_key_4390669188932188079.key (/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/private_key_4390669188932188079.key) [2023-03-10T04:58:52.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T04:58:53.272Z] + git semver init [2023-03-10T04:58:53.531Z] 2023-03-10 04:58:53,455 [run_init] DEBUG init version:0.0.0 force:False [2023-03-10T04:58:53.531Z] 2023-03-10 04:58:53,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver [2023-03-10T04:58:53.531Z] 2023-03-10 04:58:53,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver [2023-03-10T04:58:53.531Z] 2023-03-10 04:58:53,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1370, universal_newlines=False, shell=None, istream=None) [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,316 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1370/.git/info/exclude [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver/PR-1370 with force:False [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,317 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver/PR-1370 [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,320 [execute] INFO git cat-file --batch-check [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,326 [execute] INFO git cat-file --batch [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T04:58:54.468Z] 2023-03-10 04:58:54,331 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1370/.semver/PR-1370 [2023-03-10T04:58:54.468Z] 0.0.0 [Pipeline] } [2023-03-10T04:58:54.498Z] $ docker exec --env ******** --env ******** 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 ssh-agent -k [2023-03-10T04:58:54.604Z] unset SSH_AUTH_SOCK; [2023-03-10T04:58:54.604Z] unset SSH_AGENT_PID; [2023-03-10T04:58:54.604Z] echo Agent pid 76 killed; [2023-03-10T04:58:54.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-10T04:58:55.018Z] + git semver [Pipeline] } [2023-03-10T04:58:55.303Z] $ docker stop --time=1 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 [2023-03-10T04:58:56.611Z] $ docker rm -f --volumes 480e2aad6867933bdf19b18373531a2fd5eb19bd1cfe5324c6b69d3327a68ef1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T04:58:57.004Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-10T04:58:57.256Z] Stashed 1 file(s) [Pipeline] echo [2023-03-10T04:58:57.271Z] [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-10T04:58:57.838Z] provisioning config files... [2023-03-10T04:58:57.849Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/config9610274071814225328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T04:58:58.198Z] ---> docker-login.sh [2023-03-10T04:58:58.198Z] nexus3.edgexfoundry.org:10001 [2023-03-10T04:58:58.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:58.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:58.198Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:58.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:58.198Z] [2023-03-10T04:58:58.198Z] Login Succeeded [2023-03-10T04:58:58.198Z] nexus3.edgexfoundry.org:10002 [2023-03-10T04:58:58.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:58.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:58.198Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:58.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:58.198Z] [2023-03-10T04:58:58.198Z] Login Succeeded [2023-03-10T04:58:58.198Z] nexus3.edgexfoundry.org:10003 [2023-03-10T04:58:58.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:58.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:58.461Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:58.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:58.461Z] [2023-03-10T04:58:58.461Z] Login Succeeded [2023-03-10T04:58:58.461Z] nexus3.edgexfoundry.org:10004 [2023-03-10T04:58:58.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:58.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:58.461Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:58.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:58.461Z] [2023-03-10T04:58:58.461Z] Login Succeeded [2023-03-10T04:58:58.461Z] docker.io [2023-03-10T04:58:58.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T04:58:58.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T04:58:58.721Z] Configure a credential helper to remove this warning. See [2023-03-10T04:58:58.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T04:58:58.721Z] [2023-03-10T04:58:58.721Z] Login Succeeded [2023-03-10T04:58:58.721Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T04:58:58.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T04:58:58.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T04:58:58.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T04:58:59.000Z] ========================================================= [2023-03-10T04:58:59.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-10T04:58:59.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T04:58:59.471Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/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-10T04:58:59.471Z] Sending build context to Docker daemon 10.72MB [2023-03-10T04:58:59.471Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T04:58:59.471Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-10T04:58:59.471Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-10T04:58:59.471Z] 213ec9aee27d: Pulling fs layer [2023-03-10T04:58:59.471Z] 4583459ba037: Pulling fs layer [2023-03-10T04:58:59.471Z] 93c1e223e6f2: Pulling fs layer [2023-03-10T04:58:59.471Z] 53926ce57604: Pulling fs layer [2023-03-10T04:58:59.471Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-10T04:58:59.471Z] 22ff95d597cd: Pulling fs layer [2023-03-10T04:58:59.471Z] 12d6caf4c0d1: Pulling fs layer [2023-03-10T04:58:59.471Z] 96b7cbca73a9: Pulling fs layer [2023-03-10T04:58:59.471Z] 21b2b0c7a3f4: Waiting [2023-03-10T04:58:59.471Z] 53926ce57604: Waiting [2023-03-10T04:58:59.471Z] 22ff95d597cd: Waiting [2023-03-10T04:58:59.471Z] 12d6caf4c0d1: Waiting [2023-03-10T04:58:59.471Z] a7acece74701: Pulling fs layer [2023-03-10T04:58:59.471Z] a7acece74701: Waiting [2023-03-10T04:58:59.471Z] 96b7cbca73a9: Waiting [2023-03-10T04:58:59.734Z] 93c1e223e6f2: Verifying Checksum [2023-03-10T04:58:59.734Z] 93c1e223e6f2: Download complete [2023-03-10T04:58:59.734Z] 4583459ba037: Download complete [2023-03-10T04:58:59.734Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-10T04:58:59.734Z] 21b2b0c7a3f4: Download complete [2023-03-10T04:58:59.734Z] 213ec9aee27d: Verifying Checksum [2023-03-10T04:58:59.734Z] 213ec9aee27d: Download complete [2023-03-10T04:58:59.734Z] 22ff95d597cd: Download complete [2023-03-10T04:58:59.734Z] 12d6caf4c0d1: Download complete [2023-03-10T04:58:59.997Z] 213ec9aee27d: Pull complete [2023-03-10T04:58:59.997Z] 4583459ba037: Pull complete [2023-03-10T04:58:59.997Z] 93c1e223e6f2: Pull complete [2023-03-10T04:59:00.257Z] a7acece74701: Verifying Checksum [2023-03-10T04:59:00.258Z] a7acece74701: Download complete [2023-03-10T04:59:00.518Z] 53926ce57604: Verifying Checksum [2023-03-10T04:59:00.518Z] 53926ce57604: Download complete [2023-03-10T04:59:00.518Z] 96b7cbca73a9: Verifying Checksum [2023-03-10T04:59:00.518Z] 96b7cbca73a9: Download complete [2023-03-10T04:59:04.701Z] 53926ce57604: Pull complete [2023-03-10T04:59:04.701Z] 21b2b0c7a3f4: Pull complete [2023-03-10T04:59:04.701Z] 22ff95d597cd: Pull complete [2023-03-10T04:59:04.701Z] 12d6caf4c0d1: Pull complete [2023-03-10T04:59:06.619Z] 96b7cbca73a9: Pull complete [2023-03-10T04:59:07.185Z] a7acece74701: Pull complete [2023-03-10T04:59:07.185Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-10T04:59:07.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-10T04:59:07.186Z] ---> db6d94c90886 [2023-03-10T04:59:07.186Z] Step 3/10 : ARG MAKE=make build [2023-03-10T04:59:10.475Z] ---> Running in 8f678e92f3d9 [2023-03-10T04:59:10.475Z] Removing intermediate container 8f678e92f3d9 [2023-03-10T04:59:10.475Z] ---> 07577ae8ac89 [2023-03-10T04:59:10.475Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-10T04:59:10.475Z] ---> Running in ef9e411285c9 [2023-03-10T04:59:10.732Z] Removing intermediate container ef9e411285c9 [2023-03-10T04:59:10.732Z] ---> b26f2af6b071 [2023-03-10T04:59:10.732Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-10T04:59:10.732Z] ---> Running in 6b538e94e75c [2023-03-10T04:59:10.732Z] Removing intermediate container 6b538e94e75c [2023-03-10T04:59:10.732Z] ---> 63c093fe1453 [2023-03-10T04:59:10.732Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-10T04:59:10.732Z] ---> Running in e534eaf389a5 [2023-03-10T04:59:10.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T04:59:11.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T04:59:11.507Z] OK: 211 MiB in 51 packages [2023-03-10T04:59:11.769Z] Removing intermediate container e534eaf389a5 [2023-03-10T04:59:11.769Z] ---> f03c0b29055a [2023-03-10T04:59:11.769Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-10T04:59:12.027Z] ---> ba572c8cf20c [2023-03-10T04:59:12.027Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T04:59:12.027Z] ---> Running in 4e25741b0d06 [2023-03-10T04:59:12.664Z] Still waiting to schedule task [2023-03-10T04:59:12.665Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-10T04:59:58.717Z] Removing intermediate container 4e25741b0d06 [2023-03-10T04:59:58.718Z] ---> 3c1fedfd9110 [2023-03-10T04:59:58.718Z] Step 9/10 : COPY . . [2023-03-10T04:59:58.718Z] ---> 5cde54664860 [2023-03-10T04:59:58.718Z] Step 10/10 : RUN ${MAKE} [2023-03-10T04:59:58.718Z] ---> Running in a9978f6eb752 [2023-03-10T04:59:58.718Z] noop [2023-03-10T04:59:58.718Z] Removing intermediate container a9978f6eb752 [2023-03-10T04:59:58.718Z] ---> 8cd56c3b5e51 [2023-03-10T04:59:58.718Z] Successfully built 8cd56c3b5e51 [2023-03-10T04:59:58.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T04:59:59.169Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T04:59:59.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T04:59:59.311Z] prd-ubuntu20.04-docker-8c-8g-9584 does not seem to be running inside a container [2023-03-10T04:59:59.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1370 -v /w/workspace/gexfoundry_device-sdk-go_PR-1370:/w/workspace/gexfoundry_device-sdk-go_PR-1370:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-10T04:59:59.713Z] $ docker top 78bf2d08c203b2a0dbfc1fd73a8eada6acacd44125aa270112447b907e6111db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T05:00:00.097Z] + go version [2023-03-10T05:00:00.097Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-10T05:00:00.239Z] $ docker stop --time=1 78bf2d08c203b2a0dbfc1fd73a8eada6acacd44125aa270112447b907e6111db [2023-03-10T05:00:01.538Z] $ docker rm -f --volumes 78bf2d08c203b2a0dbfc1fd73a8eada6acacd44125aa270112447b907e6111db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:00:02.250Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T05:00:02.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:00:02.384Z] prd-ubuntu20.04-docker-8c-8g-9584 does not seem to be running inside a container [2023-03-10T05:00:02.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1370 -v /w/workspace/gexfoundry_device-sdk-go_PR-1370:/w/workspace/gexfoundry_device-sdk-go_PR-1370:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-10T05:00:02.723Z] $ docker top a0980d47dfcf2f4394327f590cdad4c574156e416ae079b5d8a12985ad17d86a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T05:00:03.112Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1370 [Pipeline] fileExists [Pipeline] sh [2023-03-10T05:00:03.456Z] + make test [2023-03-10T05:00:03.456Z] go test -race -coverprofile=coverage.out ./... [2023-03-10T05:00:10.015Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-10T05:00:22.213Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-10T05:00:22.213Z] internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-10T05:00:22.214Z] internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-10T05:00:22.214Z] internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-10T05:00:22.214Z] internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-10T05:00:22.214Z] internal/transformer/transformresult.go:53:16: too many errors [2023-03-10T05:00:22.214Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-10T05:00:22.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements [2023-03-10T05:00:22.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.088s coverage: 86.0% of statements [2023-03-10T05:00:22.214Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-10T05:00:22.214Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-10T05:00:22.214Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-10T05:00:22.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.750s coverage: 89.2% of statements [2023-03-10T05:00:22.214Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-10T05:00:22.214Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-10T05:00:22.255Z] $ docker stop --time=1 a0980d47dfcf2f4394327f590cdad4c574156e416ae079b5d8a12985ad17d86a [2023-03-10T05:00:25.234Z] $ docker rm -f --volumes a0980d47dfcf2f4394327f590cdad4c574156e416ae079b5d8a12985ad17d86a [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-10T05:00:26.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T05:00:26.500Z] [2023-03-10T05:00:26.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:00:26.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T05:00:26.912Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-10T05:00:26.912Z] 5eb5b503b376: Pulling fs layer [2023-03-10T05:00:26.912Z] 5c69ac0246d0: Pulling fs layer [2023-03-10T05:00:26.912Z] ec43610c2a17: Pulling fs layer [2023-03-10T05:00:26.912Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-10T05:00:26.912Z] 33b1e0a273af: Pulling fs layer [2023-03-10T05:00:26.912Z] 5d3b04190fa2: Pulling fs layer [2023-03-10T05:00:26.912Z] 2f39f015ded8: Pulling fs layer [2023-03-10T05:00:26.912Z] 3a2ae6a8a46f: Waiting [2023-03-10T05:00:26.912Z] 33b1e0a273af: Waiting [2023-03-10T05:00:26.912Z] 2f39f015ded8: Waiting [2023-03-10T05:00:26.912Z] 5d3b04190fa2: Waiting [2023-03-10T05:00:26.912Z] 5c69ac0246d0: Download complete [2023-03-10T05:00:26.912Z] 3a2ae6a8a46f: Download complete [2023-03-10T05:00:27.179Z] 33b1e0a273af: Verifying Checksum [2023-03-10T05:00:27.179Z] 33b1e0a273af: Download complete [2023-03-10T05:00:27.179Z] 5d3b04190fa2: Verifying Checksum [2023-03-10T05:00:27.179Z] 5d3b04190fa2: Download complete [2023-03-10T05:00:27.179Z] ec43610c2a17: Download complete [2023-03-10T05:00:27.179Z] 5eb5b503b376: Verifying Checksum [2023-03-10T05:00:27.179Z] 5eb5b503b376: Download complete [2023-03-10T05:00:28.115Z] 2f39f015ded8: Download complete [2023-03-10T05:00:28.373Z] 5eb5b503b376: Pull complete [2023-03-10T05:00:28.631Z] 5c69ac0246d0: Pull complete [2023-03-10T05:00:28.889Z] ec43610c2a17: Pull complete [2023-03-10T05:00:29.149Z] 3a2ae6a8a46f: Pull complete [2023-03-10T05:00:29.149Z] 33b1e0a273af: Pull complete [2023-03-10T05:00:29.408Z] 5d3b04190fa2: Pull complete [2023-03-10T05:00:33.593Z] 2f39f015ded8: Pull complete [2023-03-10T05:00:33.593Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-10T05:00:33.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T05:00:33.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:00:33.800Z] prd-ubuntu20.04-docker-8c-8g-9584 does not seem to be running inside a container [2023-03-10T05:00:33.834Z] $ 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/gexfoundry_device-sdk-go_PR-1370 -v /w/workspace/gexfoundry_device-sdk-go_PR-1370:/w/workspace/gexfoundry_device-sdk-go_PR-1370:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-10T05:00:36.449Z] $ docker top 47631f30779446666df8382540b2ba0befdaa1a598ab2bf9531d3d12313b58e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:00:36.907Z] ---> job-cost.sh [2023-03-10T05:00:36.907Z] lf-activate-venv: SKIPPING [2023-03-10T05:00:36.907Z] INFO: No Stack... [2023-03-10T05:00:37.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T05:00:37.733Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T05:00:38.050Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives/cost.csv [2023-03-10T05:00:38.050Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T05:00:38.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [2023-03-10T05:00:38.092Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] did not exist. Created. [2023-03-10T05:00:38.092Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T05:00:38.489Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-10T05:00:38.547Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T05:00:38.562Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T05:00:38.639Z] $ docker stop --time=1 47631f30779446666df8382540b2ba0befdaa1a598ab2bf9531d3d12313b58e0 [2023-03-10T05:00:39.780Z] $ docker rm -f --volumes 47631f30779446666df8382540b2ba0befdaa1a598ab2bf9531d3d12313b58e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-10T05:00:40.109Z] Failed in branch amd64 [2023-03-10T05:00:40.438Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9588 in /w/workspace/gexfoundry_device-sdk-go_PR-1370 [Pipeline] { [Pipeline] ws [2023-03-10T05:00:40.495Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-10T05:00:40.574Z] The recommended git tool is: git [2023-03-10T05:00:46.381Z] using credential edgex-jenkins-ssh [2023-03-10T05:00:46.400Z] Cloning the remote Git repository [2023-03-10T05:00:46.458Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-10T05:00:46.531Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-10T05:00:46.669Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-10T05:00:46.670Z] > git --version # timeout=10 [2023-03-10T05:00:46.690Z] > git --version # 'git version 2.25.1' [2023-03-10T05:00:46.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T05:00:46.752Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T05:00:48.363Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-10T05:00:48.385Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T05:00:49.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-10T05:00:49.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-10T05:00:49.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T05:00:49.457Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1370/head:refs/remotes/origin/PR-1370 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-10T05:00:50.046Z] Merging remotes/origin/main commit e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 into PR head commit cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [2023-03-10T05:00:50.299Z] Merge succeeded, producing cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa [2023-03-10T05:00:50.300Z] Checking out Revision cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa (PR-1370) [2023-03-10T05:00:50.868Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-10T05:00:50.066Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T05:00:50.085Z] > git checkout -f cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa # timeout=10 [2023-03-10T05:00:50.197Z] > git remote # timeout=10 [2023-03-10T05:00:50.217Z] > git config --get remote.origin.url # timeout=10 [2023-03-10T05:00:50.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T05:00:50.251Z] > git merge e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 [2023-03-10T05:00:50.280Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-10T05:00:50.307Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T05:00:50.326Z] > git checkout -f cbb48d4bfcdecca07dc5699c8b7f8f24eda299fa # timeout=10 [2023-03-10T05:00:50.931Z] > git --version # timeout=10 [2023-03-10T05:00:50.944Z] > git --version # 'git version 2.25.1' [2023-03-10T05:00:50.968Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T05:00:52.079Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-10T05:00:52.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T05:00:52.079Z] Dload Upload Total Spent Left Speed [2023-03-10T05:00:52.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 25149 0 --:--:-- --:--:-- --:--:-- 25149 [Pipeline] sh [2023-03-10T05:00:52.981Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-10T05:00:53.327Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-10T05:00:53.327Z] sudo tee /etc/docker/daemon.new [2023-03-10T05:00:53.327Z] { [2023-03-10T05:00:53.327Z] "registry-mirrors": [ [2023-03-10T05:00:53.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-10T05:00:53.327Z] ], [2023-03-10T05:00:53.327Z] "bip": "10.250.0.254/24", [2023-03-10T05:00:53.327Z] "hosts": [ [2023-03-10T05:00:53.327Z] "tcp://0.0.0.0:5555", [2023-03-10T05:00:53.327Z] "unix:///var/run/docker.sock" [2023-03-10T05:00:53.327Z] ], [2023-03-10T05:00:53.327Z] "mtu": 1458, [2023-03-10T05:00:53.327Z] "selinux-enabled": true, [2023-03-10T05:00:53.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-10T05:00:53.327Z] } [Pipeline] sh [2023-03-10T05:00:53.675Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-10T05:00:54.029Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T05:01:12.374Z] provisioning config files... [2023-03-10T05:01:12.404Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17909924346008687692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:01:12.795Z] ---> docker-login.sh [2023-03-10T05:01:12.796Z] nexus3.edgexfoundry.org:10001 [2023-03-10T05:01:13.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T05:01:13.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T05:01:13.382Z] Configure a credential helper to remove this warning. See [2023-03-10T05:01:13.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T05:01:13.382Z] [2023-03-10T05:01:13.382Z] Login Succeeded [2023-03-10T05:01:13.382Z] nexus3.edgexfoundry.org:10002 [2023-03-10T05:01:13.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T05:01:13.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T05:01:13.650Z] Configure a credential helper to remove this warning. See [2023-03-10T05:01:13.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T05:01:13.650Z] [2023-03-10T05:01:13.650Z] Login Succeeded [2023-03-10T05:01:13.650Z] nexus3.edgexfoundry.org:10003 [2023-03-10T05:01:13.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T05:01:14.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T05:01:14.187Z] Configure a credential helper to remove this warning. See [2023-03-10T05:01:14.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T05:01:14.187Z] [2023-03-10T05:01:14.187Z] Login Succeeded [2023-03-10T05:01:14.187Z] nexus3.edgexfoundry.org:10004 [2023-03-10T05:01:14.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T05:01:14.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T05:01:14.455Z] Configure a credential helper to remove this warning. See [2023-03-10T05:01:14.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T05:01:14.455Z] [2023-03-10T05:01:14.455Z] Login Succeeded [2023-03-10T05:01:14.455Z] docker.io [2023-03-10T05:01:14.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T05:01:14.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T05:01:14.990Z] Configure a credential helper to remove this warning. See [2023-03-10T05:01:14.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T05:01:14.990Z] [2023-03-10T05:01:14.990Z] Login Succeeded [2023-03-10T05:01:14.990Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T05:01:15.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T05:01:15.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T05:01:15.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T05:01:15.493Z] ========================================================= [2023-03-10T05:01:15.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-10T05:01:15.493Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:01:15.983Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-10T05:01:17.944Z] Sending build context to Docker daemon 5.754MB [2023-03-10T05:01:17.944Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T05:01:17.944Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-10T05:01:17.944Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-10T05:01:17.945Z] 9b18e9b68314: Pulling fs layer [2023-03-10T05:01:17.945Z] 35d82f9e3411: Pulling fs layer [2023-03-10T05:01:17.945Z] e16973657156: Pulling fs layer [2023-03-10T05:01:17.945Z] fc693d55d65f: Pulling fs layer [2023-03-10T05:01:17.945Z] 7e9fc2657dce: Pulling fs layer [2023-03-10T05:01:17.945Z] dda99020689f: Pulling fs layer [2023-03-10T05:01:17.945Z] db1c61fa0a46: Pulling fs layer [2023-03-10T05:01:17.945Z] 891c053d2c06: Pulling fs layer [2023-03-10T05:01:17.945Z] fc693d55d65f: Waiting [2023-03-10T05:01:17.945Z] dda99020689f: Waiting [2023-03-10T05:01:17.945Z] db1c61fa0a46: Waiting [2023-03-10T05:01:17.945Z] 7e9fc2657dce: Waiting [2023-03-10T05:01:17.945Z] 891c053d2c06: Waiting [2023-03-10T05:01:17.945Z] e16973657156: Verifying Checksum [2023-03-10T05:01:18.226Z] e16973657156: Download complete [2023-03-10T05:01:18.226Z] 35d82f9e3411: Verifying Checksum [2023-03-10T05:01:18.226Z] 35d82f9e3411: Download complete [2023-03-10T05:01:18.226Z] 7e9fc2657dce: Download complete [2023-03-10T05:01:18.226Z] dda99020689f: Verifying Checksum [2023-03-10T05:01:18.226Z] dda99020689f: Download complete [2023-03-10T05:01:18.226Z] 9b18e9b68314: Verifying Checksum [2023-03-10T05:01:18.226Z] 9b18e9b68314: Download complete [2023-03-10T05:01:19.240Z] 9b18e9b68314: Pull complete [2023-03-10T05:01:19.240Z] 891c053d2c06: Verifying Checksum [2023-03-10T05:01:19.240Z] 891c053d2c06: Download complete [2023-03-10T05:01:19.850Z] 35d82f9e3411: Pull complete [2023-03-10T05:01:20.132Z] e16973657156: Pull complete [2023-03-10T05:01:20.813Z] db1c61fa0a46: Verifying Checksum [2023-03-10T05:01:20.813Z] db1c61fa0a46: Download complete [2023-03-10T05:01:21.443Z] fc693d55d65f: Verifying Checksum [2023-03-10T05:01:21.443Z] fc693d55d65f: Download complete [2023-03-10T05:01:34.402Z] fc693d55d65f: Pull complete [2023-03-10T05:01:34.402Z] 7e9fc2657dce: Pull complete [2023-03-10T05:01:34.402Z] dda99020689f: Pull complete [2023-03-10T05:01:39.767Z] db1c61fa0a46: Pull complete [2023-03-10T05:01:41.732Z] 891c053d2c06: Pull complete [2023-03-10T05:01:41.732Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-10T05:01:41.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-10T05:01:41.732Z] ---> f96f9c87975a [2023-03-10T05:01:41.732Z] Step 3/10 : ARG MAKE=make build [2023-03-10T05:01:43.705Z] ---> Running in d9ca5f8c8869 [2023-03-10T05:01:43.973Z] Removing intermediate container d9ca5f8c8869 [2023-03-10T05:01:43.973Z] ---> a06f5f289a82 [2023-03-10T05:01:43.973Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-10T05:01:43.973Z] ---> Running in 4c3a3d10b5d9 [2023-03-10T05:01:44.242Z] Removing intermediate container 4c3a3d10b5d9 [2023-03-10T05:01:44.242Z] ---> fcbd1ad405c8 [2023-03-10T05:01:44.242Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-10T05:01:44.242Z] ---> Running in ccb6f9cbe13f [2023-03-10T05:01:44.830Z] Removing intermediate container ccb6f9cbe13f [2023-03-10T05:01:44.830Z] ---> ab56c3668e4e [2023-03-10T05:01:44.830Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-10T05:01:44.830Z] ---> Running in 758b5ef09cea [2023-03-10T05:01:46.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T05:01:46.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T05:01:47.487Z] OK: 221 MiB in 51 packages [2023-03-10T05:01:48.457Z] Removing intermediate container 758b5ef09cea [2023-03-10T05:01:48.457Z] ---> 8d6810accd15 [2023-03-10T05:01:48.457Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-10T05:01:49.057Z] ---> 1ef4d4a4d38e [2023-03-10T05:01:49.057Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T05:01:49.057Z] ---> Running in 56e2ff050279 [2023-03-10T05:02:57.005Z] Removing intermediate container 56e2ff050279 [2023-03-10T05:02:57.005Z] ---> e980fa99b9c2 [2023-03-10T05:02:57.005Z] Step 9/10 : COPY . . [2023-03-10T05:02:57.005Z] ---> 3ae63e529220 [2023-03-10T05:02:57.005Z] Step 10/10 : RUN ${MAKE} [2023-03-10T05:02:57.005Z] ---> Running in 5483e5cdcadc [2023-03-10T05:02:57.005Z] noop [2023-03-10T05:02:57.005Z] Removing intermediate container 5483e5cdcadc [2023-03-10T05:02:57.005Z] ---> 3fd9cb02c5cd [2023-03-10T05:02:57.005Z] Successfully built 3fd9cb02c5cd [2023-03-10T05:02:57.005Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:02:57.490Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T05:02:57.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:02:57.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-9588 does not seem to be running inside a container [2023-03-10T05:02:57.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-10T05:02:59.146Z] $ docker top f44fefd5d94cd2163f6f937e0fb67cc665294867f9832c11c0d65901babbc84a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T05:03:00.040Z] + go version [2023-03-10T05:03:00.040Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-10T05:03:00.081Z] $ docker stop --time=1 f44fefd5d94cd2163f6f937e0fb67cc665294867f9832c11c0d65901babbc84a [2023-03-10T05:03:01.774Z] $ docker rm -f --volumes f44fefd5d94cd2163f6f937e0fb67cc665294867f9832c11c0d65901babbc84a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:03:02.645Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T05:03:02.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:03:02.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-9588 does not seem to be running inside a container [2023-03-10T05:03:02.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-10T05:03:04.337Z] $ docker top 356e1dbed85ce7825a50d3d65dcd18e43335bb7d2742ab3fecaa5c7d71b49090 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T05:03:05.229Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-10T05:03:05.937Z] + make test [2023-03-10T05:03:05.937Z] go test -race -coverprofile=coverage.out ./... [2023-03-10T05:03:44.850Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-10T05:05:51.557Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-10T05:05:51.557Z] internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-10T05:05:51.557Z] internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-10T05:05:51.557Z] internal/transformer/transformresult.go:53:16: too many errors [2023-03-10T05:05:51.557Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-10T05:05:51.826Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.340s coverage: 78.9% of statements [2023-03-10T05:06:00.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.488s coverage: 86.0% of statements [2023-03-10T05:06:00.034Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-10T05:06:00.034Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-10T05:06:00.034Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-10T05:06:00.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.190s coverage: 89.2% of statements [2023-03-10T05:06:00.034Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-10T05:06:00.034Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-10T05:06:00.083Z] $ docker stop --time=1 356e1dbed85ce7825a50d3d65dcd18e43335bb7d2742ab3fecaa5c7d71b49090 [2023-03-10T05:06:02.149Z] $ docker rm -f --volumes 356e1dbed85ce7825a50d3d65dcd18e43335bb7d2742ab3fecaa5c7d71b49090 [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-10T05:06:03.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T05:06:04.132Z] [2023-03-10T05:06:04.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:06:04.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T05:06:04.838Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-10T05:06:04.838Z] 8998bd30e6a1: Pulling fs layer [2023-03-10T05:06:04.838Z] 04944245beec: Pulling fs layer [2023-03-10T05:06:04.838Z] 699f458cf7ca: Pulling fs layer [2023-03-10T05:06:04.838Z] 765212b225bb: Pulling fs layer [2023-03-10T05:06:04.838Z] f23df028b6ca: Pulling fs layer [2023-03-10T05:06:04.838Z] d65c8cfc05b1: Pulling fs layer [2023-03-10T05:06:04.838Z] 2437ff75d9bd: Pulling fs layer [2023-03-10T05:06:04.838Z] f23df028b6ca: Waiting [2023-03-10T05:06:04.838Z] d65c8cfc05b1: Waiting [2023-03-10T05:06:04.838Z] 2437ff75d9bd: Waiting [2023-03-10T05:06:04.838Z] 765212b225bb: Waiting [2023-03-10T05:06:04.838Z] 04944245beec: Verifying Checksum [2023-03-10T05:06:04.838Z] 04944245beec: Download complete [2023-03-10T05:06:05.109Z] 765212b225bb: Verifying Checksum [2023-03-10T05:06:05.109Z] 765212b225bb: Download complete [2023-03-10T05:06:05.109Z] f23df028b6ca: Verifying Checksum [2023-03-10T05:06:05.109Z] f23df028b6ca: Download complete [2023-03-10T05:06:05.109Z] d65c8cfc05b1: Verifying Checksum [2023-03-10T05:06:05.109Z] d65c8cfc05b1: Download complete [2023-03-10T05:06:05.697Z] 699f458cf7ca: Verifying Checksum [2023-03-10T05:06:05.697Z] 699f458cf7ca: Download complete [2023-03-10T05:06:06.664Z] 8998bd30e6a1: Verifying Checksum [2023-03-10T05:06:06.664Z] 8998bd30e6a1: Download complete [2023-03-10T05:06:10.031Z] 2437ff75d9bd: Verifying Checksum [2023-03-10T05:06:10.031Z] 2437ff75d9bd: Download complete [2023-03-10T05:06:12.663Z] 8998bd30e6a1: Pull complete [2023-03-10T05:06:13.266Z] 04944245beec: Pull complete [2023-03-10T05:06:15.223Z] 699f458cf7ca: Pull complete [2023-03-10T05:06:15.493Z] 765212b225bb: Pull complete [2023-03-10T05:06:16.459Z] f23df028b6ca: Pull complete [2023-03-10T05:06:16.459Z] d65c8cfc05b1: Pull complete [2023-03-10T05:06:31.473Z] 2437ff75d9bd: Pull complete [2023-03-10T05:06:31.473Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-10T05:06:31.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T05:06:31.473Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:06:31.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-9588 does not seem to be running inside a container [2023-03-10T05:06:31.890Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-10T05:06:34.686Z] $ docker top 8064f3418fe63cb3273b6e7232290ae1751955e5849c582fbc38f7dabdd43236 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:35.612Z] ---> job-cost.sh [2023-03-10T05:06:35.612Z] lf-activate-venv: SKIPPING [2023-03-10T05:06:35.612Z] INFO: No Stack... [2023-03-10T05:06:36.194Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-10T05:06:36.780Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T05:06:37.443Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-10T05:06:37.443Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T05:06:37.541Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [2023-03-10T05:06:37.546Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] did not exist. Created. [2023-03-10T05:06:37.546Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T05:06:38.274Z] /w/workspace/device-sdk-go/1@tmp/durable-463a6978/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-10T05:06:38.958Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-10T05:06:38.997Z] Warning: overwriting stash ‘stack-cost’ [2023-03-10T05:06:39.513Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T05:06:39.530Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1370-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T05:06:39.615Z] $ docker stop --time=1 8064f3418fe63cb3273b6e7232290ae1751955e5849c582fbc38f7dabdd43236 [2023-03-10T05:06:41.154Z] $ docker rm -f --volumes 8064f3418fe63cb3273b6e7232290ae1751955e5849c582fbc38f7dabdd43236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-10T05:06:41.873Z] 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-10T05:06:43.752Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives ] [2023-03-10T05:06:43.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives [2023-03-10T05:06:43.752Z] total 16 [2023-03-10T05:06:43.752Z] drwxr-xr-x 3 root root 4096 Mar 10 05:00 . [2023-03-10T05:06:43.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 05:00 .. [2023-03-10T05:06:43.752Z] drwxr-xr-x 2 root root 4096 Mar 10 05:00 cost [2023-03-10T05:06:43.752Z] -rw-r--r-- 1 root root 86 Mar 10 05:00 cost.csv [2023-03-10T05:06:43.752Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives [2023-03-10T05:06:43.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives [2023-03-10T05:06:43.752Z] total 16 [2023-03-10T05:06:43.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 05:00 . [2023-03-10T05:06:43.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 05:00 .. [2023-03-10T05:06:43.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 05:00 cost [2023-03-10T05:06:43.752Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 10 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:44.088Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:44.977Z] ---> package-listing.sh [2023-03-10T05:06:44.977Z] ++ facter osfamily [2023-03-10T05:06:44.977Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-10T05:06:45.236Z] + OS_FAMILY=debian [2023-03-10T05:06:45.236Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1370 [2023-03-10T05:06:45.236Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-10T05:06:45.236Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-10T05:06:45.236Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-10T05:06:45.236Z] + PACKAGES=/tmp/packages_start.txt [2023-03-10T05:06:45.236Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1370 ']' [2023-03-10T05:06:45.236Z] + PACKAGES=/tmp/packages_end.txt [2023-03-10T05:06:45.236Z] + case "${OS_FAMILY}" in [2023-03-10T05:06:45.236Z] + dpkg -l [2023-03-10T05:06:45.236Z] + grep '^ii' [2023-03-10T05:06:45.236Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-10T05:06:45.236Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-10T05:06:45.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-10T05:06:45.236Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1370 ']' [2023-03-10T05:06:45.236Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives/ [2023-03-10T05:06:45.237Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1370/archives/ [Pipeline] echo [2023-03-10T05:06:45.274Z] 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/gexfoundry_device-sdk-go_PR-1370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-10T05:06:45.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T05:06:46.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T05:06:46.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T05:06:46.328Z] prd-ubuntu20.04-docker-8c-8g-9584 does not seem to be running inside a container [2023-03-10T05:06:46.361Z] $ 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/gexfoundry_device-sdk-go_PR-1370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1370 -v /w/workspace/gexfoundry_device-sdk-go_PR-1370:/w/workspace/gexfoundry_device-sdk-go_PR-1370:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-10T05:06:46.530Z] $ docker top 9de3f9078118802a0af1a3de35c37d92011854b8ae36d4594ee539d6fafc6cb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T05:06:46.909Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-10T05:06:47.218Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-10T05:06:47.526Z] + ls /var/log/sa-host [2023-03-10T05:06:47.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T05:06:47.736Z] provisioning config files... [2023-03-10T05:06:47.746Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1370@tmp/config15673133747282649717tmp [Pipeline] { [Pipeline] echo [2023-03-10T05:06:47.796Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:48.118Z] ---> create-netrc.sh [Pipeline] } [2023-03-10T05:06:48.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:48.539Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-10T05:06:48.574Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:48.882Z] ---> sudo-logs.sh [2023-03-10T05:06:48.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-10T05:06:48.964Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:49.278Z] ---> job-cost.sh [2023-03-10T05:06:49.278Z] lf-activate-venv: SKIPPING [2023-03-10T05:06:49.278Z] DEBUG: total: 0.2199999988079071 [2023-03-10T05:06:49.278Z] INFO: Retrieving Stack Cost... [2023-03-10T05:06:49.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T05:06:49.801Z] INFO: Archiving Costs [Pipeline] echo [2023-03-10T05:06:49.836Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T05:06:50.142Z] ---> logs-deploy.sh [2023-03-10T05:06:50.142Z] lf-activate-venv: SKIPPING [2023-03-10T05:06:50.142Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1370/1 [2023-03-10T05:06:50.143Z] INFO: archiving workspace using pattern(s): [2023-03-10T05:06:51.079Z] Archives upload complete. [2023-03-10T05:06:51.079Z] INFO: archiving logs to Nexus