Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 765c26c7db8ec9b039b709d30d903cc69888fa9f+2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (bd1e665496c2db18ea255b37e56b6f04b93b1113) 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-ssh6416938148679159998.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-ssh5741016974441847246.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13253511757986024020.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh678559559440432739.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8785723685580992394.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9932’ Running on prd-ubuntu20.04-docker-8c-8g-9935 in /w/workspace/gexfoundry_device-sdk-go_PR-1371 [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-1371 # 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 > 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/1371/head:refs/remotes/origin/PR-1371 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit 765c26c7db8ec9b039b709d30d903cc69888fa9f Merge succeeded, producing 7798fde29386aed4b61ce9f525b76cc32e43d591 Checking out Revision 7798fde29386aed4b61ce9f525b76cc32e43d591 (PR-1371) > git config core.sparsecheckout # timeout=10 > git checkout -f 765c26c7db8ec9b039b709d30d903cc69888fa9f # 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7798fde29386aed4b61ce9f525b76cc32e43d591 # timeout=10 Commit message: "Merge commit '2dcc4a6d5dc5ca25eaa0111ffba392fe61782616' into HEAD" > git rev-list --no-walk 765c26c7db8ec9b039b709d30d903cc69888fa9f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T18:42:13.333Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T18:42:13.406Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T18:42:13.424Z] ========================================================= [2023-03-13T18:42:13.424Z] EdgeX Global Pipelines Version Info [2023-03-13T18:42:13.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:42:14.116Z] ------------------- [2023-03-13T18:42:14.117Z] stable info: [2023-03-13T18:42:14.117Z] ------------------- [2023-03-13T18:42:14.117Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T18:42:14.117Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T18:42:14.117Z] Message: update stable to v1.0.244 [2023-03-13T18:42:14.685Z] ------------------- [2023-03-13T18:42:14.685Z] experimental info: [2023-03-13T18:42:14.685Z] ------------------- [2023-03-13T18:42:14.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T18:42:14.685Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T18:42:14.685Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T18:42:14.833Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-13T18:42:14.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-13T18:42:14.863Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T18:42:14.880Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T18:42:14.893Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T18:42:14.905Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T18:42:14.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T18:42:14.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-13T18:42:14.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T18:42:14.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T18:42:14.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T18:42:14.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-13T18:42:14.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T18:42:15.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T18:42:15.024Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T18:42:15.035Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:42:15.049Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:42:15.060Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:42:15.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T18:42:15.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T18:42:15.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-13T18:42:15.108Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-13T18:42:15.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T18:42:15.134Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T18:42:15.148Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T18:42:15.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T18:42:15.172Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T18:42:15.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1371 [Pipeline] echo [2023-03-13T18:42:15.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1371 [Pipeline] echo [2023-03-13T18:42:15.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1371 [Pipeline] echo [2023-03-13T18:42:15.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7798fde29386aed4b61ce9f525b76cc32e43d591 [Pipeline] echo [2023-03-13T18:42:15.239Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7798fde [Pipeline] echo [2023-03-13T18:42:15.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:42:15.290Z] provisioning config files... [2023-03-13T18:42:15.303Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/config12568075044349291689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:42:15.605Z] ---> docker-login.sh [2023-03-13T18:42:15.605Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:42:15.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:15.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:15.867Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:15.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:15.867Z] [2023-03-13T18:42:15.867Z] Login Succeeded [2023-03-13T18:42:15.867Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:42:15.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:15.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:15.867Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:15.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:15.867Z] [2023-03-13T18:42:15.867Z] Login Succeeded [2023-03-13T18:42:15.867Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:42:15.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:16.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:16.128Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:16.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:16.128Z] [2023-03-13T18:42:16.128Z] Login Succeeded [2023-03-13T18:42:16.128Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:42:16.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:16.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:16.128Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:16.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:16.128Z] [2023-03-13T18:42:16.128Z] Login Succeeded [2023-03-13T18:42:16.128Z] docker.io [2023-03-13T18:42:16.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:16.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:16.388Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:16.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:16.389Z] [2023-03-13T18:42:16.389Z] Login Succeeded [2023-03-13T18:42:16.389Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:42:16.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T18:42:16.744Z] + git rev-list -1 --merges 7798fde29386aed4b61ce9f525b76cc32e43d591~1..7798fde29386aed4b61ce9f525b76cc32e43d591 [Pipeline] echo [2023-03-13T18:42:16.793Z] -----------> git rev-list -1 --merges 7798fde29386aed4b61ce9f525b76cc32e43d591~1..7798fde29386aed4b61ce9f525b76cc32e43d591 7798fde29386aed4b61ce9f525b76cc32e43d591 [2023-03-13T18:42:16.793Z] 7798fde29386aed4b61ce9f525b76cc32e43d591 [false] [Pipeline] sh [2023-03-13T18:42:17.082Z] + git log --format=format:%s -1 7798fde29386aed4b61ce9f525b76cc32e43d591 [Pipeline] echo [2023-03-13T18:42:17.098Z] ========================================================= [2023-03-13T18:42:17.098Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T18:42:17.098Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:42:17.437Z] + git log --format=format:%s -1 7798fde29386aed4b61ce9f525b76cc32e43d591 [Pipeline] echo [2023-03-13T18:42:17.449Z] [semverPrep] GIT_COMMIT: 7798fde29386aed4b61ce9f525b76cc32e43d591, Commit Message: Merge commit '2dcc4a6d5dc5ca25eaa0111ffba392fe61782616' into HEAD [Pipeline] echo [2023-03-13T18:42:17.459Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T18:42:17.801Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T18:42:17.801Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T18:42:17.801Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T18:42:17.801Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T18:42:17.801Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T18:42:17.801Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T18:42:17.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:42:18.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:42:18.146Z] [2023-03-13T18:42:18.146Z] 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-13T18:42:18.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:42:18.453Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T18:42:18.453Z] b85a868b505f: Pulling fs layer [2023-03-13T18:42:18.453Z] e2be974225ed: Pulling fs layer [2023-03-13T18:42:18.453Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T18:42:18.453Z] 988bab9f4d93: Pulling fs layer [2023-03-13T18:42:18.453Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T18:42:18.453Z] eaf3925da568: Pulling fs layer [2023-03-13T18:42:18.453Z] bab4dde63d76: Pulling fs layer [2023-03-13T18:42:18.453Z] bde34c3a00c8: Pulling fs layer [2023-03-13T18:42:18.453Z] b352a97aabf1: Pulling fs layer [2023-03-13T18:42:18.453Z] 4872d77fe225: Pulling fs layer [2023-03-13T18:42:18.453Z] 5851b861e8e6: Pulling fs layer [2023-03-13T18:42:18.453Z] bab4dde63d76: Waiting [2023-03-13T18:42:18.453Z] bde34c3a00c8: Waiting [2023-03-13T18:42:18.453Z] 988bab9f4d93: Waiting [2023-03-13T18:42:18.453Z] b352a97aabf1: Waiting [2023-03-13T18:42:18.453Z] 4872d77fe225: Waiting [2023-03-13T18:42:18.453Z] 1469e6f7b9e6: Waiting [2023-03-13T18:42:18.453Z] 5851b861e8e6: Waiting [2023-03-13T18:42:18.453Z] eaf3925da568: Waiting [2023-03-13T18:42:18.453Z] e2be974225ed: Download complete [2023-03-13T18:42:18.453Z] 988bab9f4d93: Download complete [2023-03-13T18:42:18.713Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T18:42:18.713Z] 1469e6f7b9e6: Download complete [2023-03-13T18:42:18.713Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T18:42:18.713Z] 339a4e72a1f5: Download complete [2023-03-13T18:42:18.713Z] eaf3925da568: Download complete [2023-03-13T18:42:18.713Z] bde34c3a00c8: Download complete [2023-03-13T18:42:18.713Z] b352a97aabf1: Download complete [2023-03-13T18:42:18.713Z] 4872d77fe225: Verifying Checksum [2023-03-13T18:42:18.713Z] 4872d77fe225: Download complete [2023-03-13T18:42:18.713Z] b85a868b505f: Verifying Checksum [2023-03-13T18:42:18.713Z] b85a868b505f: Download complete [2023-03-13T18:42:18.713Z] 5851b861e8e6: Verifying Checksum [2023-03-13T18:42:18.713Z] 5851b861e8e6: Download complete [2023-03-13T18:42:19.010Z] bab4dde63d76: Verifying Checksum [2023-03-13T18:42:19.010Z] bab4dde63d76: Download complete [2023-03-13T18:42:19.982Z] b85a868b505f: Pull complete [2023-03-13T18:42:20.241Z] e2be974225ed: Pull complete [2023-03-13T18:42:20.500Z] 339a4e72a1f5: Pull complete [2023-03-13T18:42:20.759Z] 988bab9f4d93: Pull complete [2023-03-13T18:42:21.018Z] 1469e6f7b9e6: Pull complete [2023-03-13T18:42:21.018Z] eaf3925da568: Pull complete [2023-03-13T18:42:22.920Z] bab4dde63d76: Pull complete [2023-03-13T18:42:22.920Z] bde34c3a00c8: Pull complete [2023-03-13T18:42:22.920Z] b352a97aabf1: Pull complete [2023-03-13T18:42:23.178Z] 4872d77fe225: Pull complete [2023-03-13T18:42:23.178Z] 5851b861e8e6: Pull complete [2023-03-13T18:42:23.178Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T18:42:23.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:42:23.178Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:42:23.263Z] prd-ubuntu20.04-docker-8c-8g-9935 does not seem to be running inside a container [2023-03-13T18:42:23.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1371 -v /w/workspace/gexfoundry_device-sdk-go_PR-1371:/w/workspace/gexfoundry_device-sdk-go_PR-1371:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T18:42:24.914Z] $ docker top 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 -eo pid,comm [2023-03-13T18:42:24.984Z] 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-13T18:42:24.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T18:42:25.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:42:25.016Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:42:25.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:42:25.111Z] $ docker exec 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 ssh-agent [2023-03-13T18:42:25.239Z] SSH_AUTH_SOCK=/tmp/ssh-xdW4YxHF9Ysh/agent.32 [2023-03-13T18:42:25.239Z] SSH_AGENT_PID=38 [2023-03-13T18:42:25.245Z] Running ssh-add (command line suppressed) [2023-03-13T18:42:25.342Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/private_key_715644394570462748.key (/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/private_key_715644394570462748.key) [2023-03-13T18:42:25.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:42:25.658Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T18:42:25.658Z] $ docker exec --env ******** --env ******** 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 ssh-agent -k [2023-03-13T18:42:25.771Z] unset SSH_AUTH_SOCK; [2023-03-13T18:42:25.771Z] unset SSH_AGENT_PID; [2023-03-13T18:42:25.771Z] echo Agent pid 38 killed; [2023-03-13T18:42:25.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T18:42:25.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:42:25.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:42:25.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:42:25.926Z] $ docker exec 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 ssh-agent [2023-03-13T18:42:26.050Z] SSH_AUTH_SOCK=/tmp/ssh-PHG5EDi1LwCF/agent.70 [2023-03-13T18:42:26.050Z] SSH_AGENT_PID=76 [2023-03-13T18:42:26.056Z] Running ssh-add (command line suppressed) [2023-03-13T18:42:26.155Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/private_key_20307350122317683.key (/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/private_key_20307350122317683.key) [2023-03-13T18:42:26.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:42:26.471Z] + git semver init [2023-03-13T18:42:26.730Z] 2023-03-13 18:42:26,636 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T18:42:26.730Z] 2023-03-13 18:42:26,637 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver [2023-03-13T18:42:26.730Z] 2023-03-13 18:42:26,637 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver [2023-03-13T18:42:26.730Z] 2023-03-13 18:42:26,637 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1371, universal_newlines=False, shell=None, istream=None) [2023-03-13T18:42:27.666Z] 2023-03-13 18:42:27,528 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1371/.git/info/exclude [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,528 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver/PR-1371 with force:False [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,528 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver/PR-1371 [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,532 [execute] INFO git cat-file --batch-check [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,539 [execute] INFO git cat-file --batch [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:42:27.667Z] 2023-03-13 18:42:27,545 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1371/.semver/PR-1371 [2023-03-13T18:42:27.667Z] 0.0.0 [Pipeline] } [2023-03-13T18:42:27.661Z] $ docker exec --env ******** --env ******** 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 ssh-agent -k [2023-03-13T18:42:27.762Z] unset SSH_AUTH_SOCK; [2023-03-13T18:42:27.763Z] unset SSH_AGENT_PID; [2023-03-13T18:42:27.764Z] echo Agent pid 76 killed; [2023-03-13T18:42:27.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T18:42:28.084Z] + git semver [Pipeline] } [2023-03-13T18:42:28.344Z] $ docker stop --time=1 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 [2023-03-13T18:42:29.623Z] $ docker rm -f --volumes 88aba3a09bf3bf0868ac9342590e2ed1b41919d1c3c8fbeb7722c96a62bf95c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T18:42:29.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T18:42:30.171Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T18:42:30.175Z] [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-13T18:42:30.313Z] provisioning config files... [2023-03-13T18:42:30.321Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/config10794957815912752423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:42:30.615Z] ---> docker-login.sh [2023-03-13T18:42:30.615Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:42:30.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:30.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:30.615Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:30.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:30.615Z] [2023-03-13T18:42:30.615Z] Login Succeeded [2023-03-13T18:42:30.615Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:42:30.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:30.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:30.615Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:30.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:30.615Z] [2023-03-13T18:42:30.615Z] Login Succeeded [2023-03-13T18:42:30.615Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:42:30.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:30.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:30.875Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:30.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:30.875Z] [2023-03-13T18:42:30.875Z] Login Succeeded [2023-03-13T18:42:30.875Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:42:30.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:30.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:30.875Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:30.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:30.875Z] [2023-03-13T18:42:30.875Z] Login Succeeded [2023-03-13T18:42:30.875Z] docker.io [2023-03-13T18:42:31.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:42:31.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:42:31.396Z] Configure a credential helper to remove this warning. See [2023-03-13T18:42:31.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:42:31.396Z] [2023-03-13T18:42:31.396Z] Login Succeeded [2023-03-13T18:42:31.396Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:42:31.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:42:31.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:42:31.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:42:31.480Z] ========================================================= [2023-03-13T18:42:31.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T18:42:31.480Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:42:31.791Z] + 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-13T18:42:31.791Z] Sending build context to Docker daemon 10.76MB [2023-03-13T18:42:31.791Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:42:31.791Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T18:42:31.791Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T18:42:31.791Z] 213ec9aee27d: Pulling fs layer [2023-03-13T18:42:31.791Z] 4583459ba037: Pulling fs layer [2023-03-13T18:42:31.791Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T18:42:31.791Z] 53926ce57604: Pulling fs layer [2023-03-13T18:42:31.791Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T18:42:31.791Z] 22ff95d597cd: Pulling fs layer [2023-03-13T18:42:31.791Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T18:42:31.791Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T18:42:31.791Z] a7acece74701: Pulling fs layer [2023-03-13T18:42:31.791Z] 22ff95d597cd: Waiting [2023-03-13T18:42:31.791Z] 12d6caf4c0d1: Waiting [2023-03-13T18:42:31.791Z] 53926ce57604: Waiting [2023-03-13T18:42:31.791Z] 96b7cbca73a9: Waiting [2023-03-13T18:42:31.791Z] 21b2b0c7a3f4: Waiting [2023-03-13T18:42:31.791Z] a7acece74701: Waiting [2023-03-13T18:42:31.791Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T18:42:31.791Z] 93c1e223e6f2: Download complete [2023-03-13T18:42:31.791Z] 4583459ba037: Download complete [2023-03-13T18:42:32.050Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T18:42:32.050Z] 21b2b0c7a3f4: Download complete [2023-03-13T18:42:32.050Z] 22ff95d597cd: Verifying Checksum [2023-03-13T18:42:32.050Z] 22ff95d597cd: Download complete [2023-03-13T18:42:32.050Z] 213ec9aee27d: Download complete [2023-03-13T18:42:32.050Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T18:42:32.050Z] 12d6caf4c0d1: Download complete [2023-03-13T18:42:32.050Z] 213ec9aee27d: Pull complete [2023-03-13T18:42:32.318Z] 4583459ba037: Pull complete [2023-03-13T18:42:32.318Z] 93c1e223e6f2: Pull complete [2023-03-13T18:42:32.580Z] a7acece74701: Verifying Checksum [2023-03-13T18:42:32.580Z] a7acece74701: Download complete [2023-03-13T18:42:32.838Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T18:42:32.838Z] 96b7cbca73a9: Download complete [2023-03-13T18:42:32.838Z] 53926ce57604: Verifying Checksum [2023-03-13T18:42:32.838Z] 53926ce57604: Download complete [2023-03-13T18:42:37.021Z] 53926ce57604: Pull complete [2023-03-13T18:42:37.021Z] 21b2b0c7a3f4: Pull complete [2023-03-13T18:42:37.021Z] 22ff95d597cd: Pull complete [2023-03-13T18:42:37.021Z] 12d6caf4c0d1: Pull complete [2023-03-13T18:42:38.931Z] 96b7cbca73a9: Pull complete [2023-03-13T18:42:39.498Z] a7acece74701: Pull complete [2023-03-13T18:42:39.773Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T18:42:39.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T18:42:39.773Z] ---> db6d94c90886 [2023-03-13T18:42:39.773Z] Step 3/10 : ARG MAKE=make build [2023-03-13T18:42:42.319Z] ---> Running in 6aa8f800c029 [2023-03-13T18:42:42.319Z] Removing intermediate container 6aa8f800c029 [2023-03-13T18:42:42.319Z] ---> 742e3a235061 [2023-03-13T18:42:42.319Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T18:42:42.319Z] ---> Running in bfd2d4d92e58 [2023-03-13T18:42:42.319Z] Removing intermediate container bfd2d4d92e58 [2023-03-13T18:42:42.319Z] ---> ad7291b7febe [2023-03-13T18:42:42.319Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T18:42:42.319Z] ---> Running in 3d890031a00f [2023-03-13T18:42:42.578Z] Removing intermediate container 3d890031a00f [2023-03-13T18:42:42.578Z] ---> 76e5da00f506 [2023-03-13T18:42:42.578Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T18:42:42.578Z] ---> Running in 931bfd4adc9c [2023-03-13T18:42:42.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T18:42:42.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T18:42:43.404Z] OK: 211 MiB in 51 packages [2023-03-13T18:42:43.404Z] Removing intermediate container 931bfd4adc9c [2023-03-13T18:42:43.404Z] ---> e6d4901cc410 [2023-03-13T18:42:43.404Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T18:42:43.669Z] ---> f8e1344cf4e1 [2023-03-13T18:42:43.669Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:42:43.669Z] ---> Running in 8a63f5b1416e [2023-03-13T18:42:45.282Z] Still waiting to schedule task [2023-03-13T18:42:45.283Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9933’ [2023-03-13T18:43:05.597Z] Removing intermediate container 8a63f5b1416e [2023-03-13T18:43:05.597Z] ---> e951fb2b32a3 [2023-03-13T18:43:05.597Z] Step 9/10 : COPY . . [2023-03-13T18:43:05.597Z] ---> 378d11b73f56 [2023-03-13T18:43:05.597Z] Step 10/10 : RUN ${MAKE} [2023-03-13T18:43:05.597Z] ---> Running in dfd84a71c86b [2023-03-13T18:43:05.597Z] noop [2023-03-13T18:43:05.597Z] Removing intermediate container dfd84a71c86b [2023-03-13T18:43:05.597Z] ---> 1ad1f33c89a1 [2023-03-13T18:43:05.597Z] Successfully built 1ad1f33c89a1 [2023-03-13T18:43:05.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:43:05.912Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:43:05.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:43:05.997Z] prd-ubuntu20.04-docker-8c-8g-9935 does not seem to be running inside a container [2023-03-13T18:43:06.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1371 -v /w/workspace/gexfoundry_device-sdk-go_PR-1371:/w/workspace/gexfoundry_device-sdk-go_PR-1371:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T18:43:06.354Z] $ docker top 19ea0c936e235337ee68793dcdfa732260ece2f5f0dd05d292acfb90fca31293 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:43:06.696Z] + go version [2023-03-13T18:43:06.697Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T18:43:06.713Z] $ docker stop --time=1 19ea0c936e235337ee68793dcdfa732260ece2f5f0dd05d292acfb90fca31293 [2023-03-13T18:43:08.000Z] $ docker rm -f --volumes 19ea0c936e235337ee68793dcdfa732260ece2f5f0dd05d292acfb90fca31293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:43:08.384Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:43:08.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:43:08.456Z] prd-ubuntu20.04-docker-8c-8g-9935 does not seem to be running inside a container [2023-03-13T18:43:08.489Z] $ 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-1371 -v /w/workspace/gexfoundry_device-sdk-go_PR-1371:/w/workspace/gexfoundry_device-sdk-go_PR-1371:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T18:43:08.805Z] $ docker top 6079a96e2d2c909e87bc1824d65ee0efc834fdeec8fb170ba32ecaecdca388fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:43:09.143Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1371 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:43:09.437Z] + make test [2023-03-13T18:43:09.437Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T18:43:15.993Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T18:43:30.864Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T18:43:30.864Z] internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T18:43:30.864Z] internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T18:43:30.864Z] internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T18:43:30.864Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-13T18:43:30.864Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 78.9% of statements [2023-03-13T18:43:30.864Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements [2023-03-13T18:43:30.864Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-13T18:43:30.864Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-13T18:43:30.864Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-13T18:43:30.864Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.723s coverage: 89.2% of statements [2023-03-13T18:43:30.864Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-13T18:43:30.864Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-13T18:43:30.884Z] $ docker stop --time=1 6079a96e2d2c909e87bc1824d65ee0efc834fdeec8fb170ba32ecaecdca388fc [2023-03-13T18:43:33.178Z] $ docker rm -f --volumes 6079a96e2d2c909e87bc1824d65ee0efc834fdeec8fb170ba32ecaecdca388fc [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-13T18:43:33.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:43:33.673Z] [2023-03-13T18:43:33.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:43:33.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:43:33.972Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T18:43:33.972Z] 5eb5b503b376: Pulling fs layer [2023-03-13T18:43:33.972Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T18:43:33.972Z] ec43610c2a17: Pulling fs layer [2023-03-13T18:43:33.972Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T18:43:33.972Z] 33b1e0a273af: Pulling fs layer [2023-03-13T18:43:33.972Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T18:43:33.972Z] 2f39f015ded8: Pulling fs layer [2023-03-13T18:43:33.972Z] 3a2ae6a8a46f: Waiting [2023-03-13T18:43:33.972Z] 33b1e0a273af: Waiting [2023-03-13T18:43:33.972Z] 5d3b04190fa2: Waiting [2023-03-13T18:43:33.972Z] 2f39f015ded8: Waiting [2023-03-13T18:43:33.972Z] 5c69ac0246d0: Download complete [2023-03-13T18:43:33.972Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T18:43:33.972Z] 3a2ae6a8a46f: Download complete [2023-03-13T18:43:34.232Z] 33b1e0a273af: Verifying Checksum [2023-03-13T18:43:34.232Z] 33b1e0a273af: Download complete [2023-03-13T18:43:34.232Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T18:43:34.232Z] 5d3b04190fa2: Download complete [2023-03-13T18:43:34.232Z] ec43610c2a17: Verifying Checksum [2023-03-13T18:43:34.232Z] ec43610c2a17: Download complete [2023-03-13T18:43:34.232Z] 5eb5b503b376: Verifying Checksum [2023-03-13T18:43:34.232Z] 5eb5b503b376: Download complete [2023-03-13T18:43:34.798Z] 2f39f015ded8: Verifying Checksum [2023-03-13T18:43:34.798Z] 2f39f015ded8: Download complete [2023-03-13T18:43:35.739Z] 5eb5b503b376: Pull complete [2023-03-13T18:43:35.739Z] 5c69ac0246d0: Pull complete [2023-03-13T18:43:36.305Z] ec43610c2a17: Pull complete [2023-03-13T18:43:36.565Z] 3a2ae6a8a46f: Pull complete [2023-03-13T18:43:36.823Z] 33b1e0a273af: Pull complete [2023-03-13T18:43:37.094Z] 5d3b04190fa2: Pull complete [2023-03-13T18:43:42.356Z] 2f39f015ded8: Pull complete [2023-03-13T18:43:42.356Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T18:43:42.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:43:42.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:43:42.425Z] prd-ubuntu20.04-docker-8c-8g-9935 does not seem to be running inside a container [2023-03-13T18:43:42.466Z] $ 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-1371 -v /w/workspace/gexfoundry_device-sdk-go_PR-1371:/w/workspace/gexfoundry_device-sdk-go_PR-1371:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T18:43:44.693Z] $ docker top 0e58fceaf47a3025bf309e64d55386456f91f741a9f247ceb478f64a1521e5db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:43:45.057Z] ---> job-cost.sh [2023-03-13T18:43:45.057Z] lf-activate-venv: SKIPPING [2023-03-13T18:43:45.057Z] INFO: No Stack... [2023-03-13T18:43:45.627Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:43:45.887Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:43:46.180Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives/cost.csv [2023-03-13T18:43:46.180Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T18:43:46.194Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [2023-03-13T18:43:46.202Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] did not exist. Created. [2023-03-13T18:43:46.202Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:43:46.497Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T18:43:46.544Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:43:46.549Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:43:46.573Z] $ docker stop --time=1 0e58fceaf47a3025bf309e64d55386456f91f741a9f247ceb478f64a1521e5db [2023-03-13T18:43:47.720Z] $ docker rm -f --volumes 0e58fceaf47a3025bf309e64d55386456f91f741a9f247ceb478f64a1521e5db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:43:47.818Z] Failed in branch amd64 [2023-03-13T18:45:58.333Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9937 in /w/workspace/gexfoundry_device-sdk-go_PR-1371 [Pipeline] { [Pipeline] ws [2023-03-13T18:45:58.348Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-13T18:45:58.389Z] The recommended git tool is: git [2023-03-13T18:46:05.070Z] using credential edgex-jenkins-ssh [2023-03-13T18:46:05.089Z] Cloning the remote Git repository [2023-03-13T18:46:05.151Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T18:46:05.243Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-13T18:46:05.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T18:46:05.452Z] > git --version # timeout=10 [2023-03-13T18:46:05.479Z] > git --version # 'git version 2.25.1' [2023-03-13T18:46:05.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:46:05.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:46:07.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-13T18:46:07.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:46:09.320Z] Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit 765c26c7db8ec9b039b709d30d903cc69888fa9f [2023-03-13T18:46:09.760Z] Merge succeeded, producing d6d511cacd553e076797121cac57b3fbca77be92 [2023-03-13T18:46:09.761Z] Checking out Revision d6d511cacd553e076797121cac57b3fbca77be92 (PR-1371) [2023-03-13T18:46:08.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-13T18:46:08.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T18:46:08.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:46:08.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1371/head:refs/remotes/origin/PR-1371 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T18:46:09.347Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:46:09.379Z] > git checkout -f 765c26c7db8ec9b039b709d30d903cc69888fa9f # timeout=10 [2023-03-13T18:46:09.566Z] > git remote # timeout=10 [2023-03-13T18:46:09.584Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T18:46:09.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:46:09.633Z] > git merge 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 [2023-03-13T18:46:09.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T18:46:09.771Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:46:09.791Z] > git checkout -f d6d511cacd553e076797121cac57b3fbca77be92 # timeout=10 [2023-03-13T18:46:13.443Z] Commit message: "Merge commit '2dcc4a6d5dc5ca25eaa0111ffba392fe61782616' into HEAD" [2023-03-13T18:46:13.458Z] > git rev-list --no-walk 765c26c7db8ec9b039b709d30d903cc69888fa9f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:46:14.497Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T18:46:14.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T18:46:14.497Z] Dload Upload Total Spent Left Speed [2023-03-13T18:46:14.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-13T18:46:15.296Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T18:46:15.648Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T18:46:15.648Z] + sudo tee /etc/docker/daemon.new [2023-03-13T18:46:15.648Z] { [2023-03-13T18:46:15.648Z] "registry-mirrors": [ [2023-03-13T18:46:15.648Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T18:46:15.648Z] ], [2023-03-13T18:46:15.648Z] "bip": "10.250.0.254/24", [2023-03-13T18:46:15.648Z] "hosts": [ [2023-03-13T18:46:15.648Z] "tcp://0.0.0.0:5555", [2023-03-13T18:46:15.648Z] "unix:///var/run/docker.sock" [2023-03-13T18:46:15.648Z] ], [2023-03-13T18:46:15.648Z] "mtu": 1458, [2023-03-13T18:46:15.648Z] "selinux-enabled": true, [2023-03-13T18:46:15.648Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T18:46:15.648Z] } [Pipeline] sh [2023-03-13T18:46:16.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T18:46:16.357Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:46:34.725Z] provisioning config files... [2023-03-13T18:46:34.763Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config18268068737023553652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:46:35.144Z] ---> docker-login.sh [2023-03-13T18:46:35.144Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:46:35.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:46:36.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:46:36.020Z] Configure a credential helper to remove this warning. See [2023-03-13T18:46:36.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:46:36.020Z] [2023-03-13T18:46:36.020Z] Login Succeeded [2023-03-13T18:46:36.020Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:46:36.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:46:36.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:46:36.298Z] Configure a credential helper to remove this warning. See [2023-03-13T18:46:36.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:46:36.298Z] [2023-03-13T18:46:36.298Z] Login Succeeded [2023-03-13T18:46:36.298Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:46:36.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:46:36.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:46:36.863Z] Configure a credential helper to remove this warning. See [2023-03-13T18:46:36.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:46:36.863Z] [2023-03-13T18:46:36.863Z] Login Succeeded [2023-03-13T18:46:36.863Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:46:37.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:46:37.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:46:37.417Z] Configure a credential helper to remove this warning. See [2023-03-13T18:46:37.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:46:37.417Z] [2023-03-13T18:46:37.417Z] Login Succeeded [2023-03-13T18:46:37.417Z] docker.io [2023-03-13T18:46:37.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:46:37.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:46:37.966Z] Configure a credential helper to remove this warning. See [2023-03-13T18:46:37.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:46:37.966Z] [2023-03-13T18:46:37.966Z] Login Succeeded [2023-03-13T18:46:37.966Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:46:37.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:46:38.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:46:38.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:46:38.349Z] ========================================================= [2023-03-13T18:46:38.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T18:46:38.349Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:46:38.712Z] + 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-13T18:46:39.329Z] Sending build context to Docker daemon 5.773MB [2023-03-13T18:46:39.329Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:46:39.329Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T18:46:39.329Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T18:46:39.329Z] 9b18e9b68314: Pulling fs layer [2023-03-13T18:46:39.329Z] 35d82f9e3411: Pulling fs layer [2023-03-13T18:46:39.329Z] e16973657156: Pulling fs layer [2023-03-13T18:46:39.329Z] fc693d55d65f: Pulling fs layer [2023-03-13T18:46:39.329Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T18:46:39.329Z] dda99020689f: Pulling fs layer [2023-03-13T18:46:39.329Z] db1c61fa0a46: Pulling fs layer [2023-03-13T18:46:39.329Z] 891c053d2c06: Pulling fs layer [2023-03-13T18:46:39.329Z] dda99020689f: Waiting [2023-03-13T18:46:39.329Z] db1c61fa0a46: Waiting [2023-03-13T18:46:39.329Z] fc693d55d65f: Waiting [2023-03-13T18:46:39.329Z] 891c053d2c06: Waiting [2023-03-13T18:46:39.329Z] 7e9fc2657dce: Waiting [2023-03-13T18:46:39.612Z] e16973657156: Verifying Checksum [2023-03-13T18:46:39.612Z] e16973657156: Download complete [2023-03-13T18:46:39.612Z] 35d82f9e3411: Verifying Checksum [2023-03-13T18:46:39.612Z] 35d82f9e3411: Download complete [2023-03-13T18:46:39.612Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T18:46:39.612Z] 7e9fc2657dce: Download complete [2023-03-13T18:46:39.612Z] dda99020689f: Verifying Checksum [2023-03-13T18:46:39.612Z] dda99020689f: Download complete [2023-03-13T18:46:39.612Z] 9b18e9b68314: Verifying Checksum [2023-03-13T18:46:39.612Z] 9b18e9b68314: Download complete [2023-03-13T18:46:40.606Z] 9b18e9b68314: Pull complete [2023-03-13T18:46:40.884Z] 891c053d2c06: Download complete [2023-03-13T18:46:41.159Z] 35d82f9e3411: Pull complete [2023-03-13T18:46:41.755Z] e16973657156: Pull complete [2023-03-13T18:46:42.028Z] db1c61fa0a46: Download complete [2023-03-13T18:46:43.006Z] fc693d55d65f: Verifying Checksum [2023-03-13T18:46:43.006Z] fc693d55d65f: Download complete [2023-03-13T18:46:58.068Z] fc693d55d65f: Pull complete [2023-03-13T18:46:58.068Z] 7e9fc2657dce: Pull complete [2023-03-13T18:46:58.068Z] dda99020689f: Pull complete [2023-03-13T18:47:02.369Z] db1c61fa0a46: Pull complete [2023-03-13T18:47:04.958Z] 891c053d2c06: Pull complete [2023-03-13T18:47:04.958Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T18:47:04.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T18:47:04.958Z] ---> f96f9c87975a [2023-03-13T18:47:04.958Z] Step 3/10 : ARG MAKE=make build [2023-03-13T18:47:06.911Z] ---> Running in f36ab39be39b [2023-03-13T18:47:07.180Z] Removing intermediate container f36ab39be39b [2023-03-13T18:47:07.180Z] ---> 39712763c81c [2023-03-13T18:47:07.180Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T18:47:07.451Z] ---> Running in 81263547b31a [2023-03-13T18:47:07.720Z] Removing intermediate container 81263547b31a [2023-03-13T18:47:07.720Z] ---> fb57a40b785e [2023-03-13T18:47:07.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T18:47:07.720Z] ---> Running in d65f6dab0410 [2023-03-13T18:47:07.995Z] Removing intermediate container d65f6dab0410 [2023-03-13T18:47:07.995Z] ---> 10ec5de553ba [2023-03-13T18:47:07.995Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T18:47:08.264Z] ---> Running in 99c39a47e975 [2023-03-13T18:47:09.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T18:47:09.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T18:47:10.671Z] OK: 221 MiB in 51 packages [2023-03-13T18:47:11.644Z] Removing intermediate container 99c39a47e975 [2023-03-13T18:47:11.644Z] ---> 79ba686dc997 [2023-03-13T18:47:11.644Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T18:47:12.232Z] ---> 9b9d87523d88 [2023-03-13T18:47:12.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:47:12.520Z] ---> Running in 62edbc1519ca [2023-03-13T18:48:20.469Z] Removing intermediate container 62edbc1519ca [2023-03-13T18:48:20.469Z] ---> 485d3eb220fb [2023-03-13T18:48:20.469Z] Step 9/10 : COPY . . [2023-03-13T18:48:20.469Z] ---> 4b0bbe43ee42 [2023-03-13T18:48:20.469Z] Step 10/10 : RUN ${MAKE} [2023-03-13T18:48:20.469Z] ---> Running in 61f0837083e0 [2023-03-13T18:48:20.469Z] noop [2023-03-13T18:48:20.469Z] Removing intermediate container 61f0837083e0 [2023-03-13T18:48:20.469Z] ---> e31ed74cf774 [2023-03-13T18:48:20.469Z] Successfully built e31ed74cf774 [2023-03-13T18:48:20.469Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:48:20.834Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:48:20.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:48:21.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-9937 does not seem to be running inside a container [2023-03-13T18:48:21.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T18:48:22.429Z] $ docker top f97b76f491f352a56cf076f67c446ef01f5087cc510edafce95d18b1fdbb9137 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:48:23.281Z] + go version [2023-03-13T18:48:23.281Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T18:48:23.306Z] $ docker stop --time=1 f97b76f491f352a56cf076f67c446ef01f5087cc510edafce95d18b1fdbb9137 [2023-03-13T18:48:24.947Z] $ docker rm -f --volumes f97b76f491f352a56cf076f67c446ef01f5087cc510edafce95d18b1fdbb9137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:48:25.528Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:48:25.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:48:25.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-9937 does not seem to be running inside a container [2023-03-13T18:48:25.794Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T18:48:26.974Z] $ docker top 9fc571888a3a1ad736e161325e51a0e9059d7f90c5936f92ef6606651e61dcd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:48:27.495Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:48:28.104Z] + make test [2023-03-13T18:48:28.372Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T18:49:07.240Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T18:51:29.227Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T18:51:29.227Z] internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T18:51:29.227Z] internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T18:51:29.227Z] internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T18:51:29.228Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-13T18:51:33.485Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.330s coverage: 78.9% of statements [2023-03-13T18:51:37.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.367s coverage: 86.0% of statements [2023-03-13T18:51:37.757Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-13T18:51:37.757Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-13T18:51:37.757Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-13T18:51:37.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.281s coverage: 89.2% of statements [2023-03-13T18:51:37.757Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-13T18:51:37.757Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-13T18:51:37.783Z] $ docker stop --time=1 9fc571888a3a1ad736e161325e51a0e9059d7f90c5936f92ef6606651e61dcd7 [2023-03-13T18:51:39.743Z] $ docker rm -f --volumes 9fc571888a3a1ad736e161325e51a0e9059d7f90c5936f92ef6606651e61dcd7 [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-13T18:51:41.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:51:41.016Z] [2023-03-13T18:51:41.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:51:41.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:51:41.642Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T18:51:41.642Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T18:51:41.642Z] 04944245beec: Pulling fs layer [2023-03-13T18:51:41.642Z] 699f458cf7ca: Pulling fs layer [2023-03-13T18:51:41.642Z] 765212b225bb: Pulling fs layer [2023-03-13T18:51:41.642Z] f23df028b6ca: Pulling fs layer [2023-03-13T18:51:41.642Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T18:51:41.642Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T18:51:41.642Z] f23df028b6ca: Waiting [2023-03-13T18:51:41.642Z] d65c8cfc05b1: Waiting [2023-03-13T18:51:41.642Z] 2437ff75d9bd: Waiting [2023-03-13T18:51:41.642Z] 765212b225bb: Waiting [2023-03-13T18:51:41.642Z] 04944245beec: Verifying Checksum [2023-03-13T18:51:41.642Z] 04944245beec: Download complete [2023-03-13T18:51:41.642Z] 765212b225bb: Verifying Checksum [2023-03-13T18:51:41.642Z] 765212b225bb: Download complete [2023-03-13T18:51:41.919Z] f23df028b6ca: Verifying Checksum [2023-03-13T18:51:41.919Z] f23df028b6ca: Download complete [2023-03-13T18:51:41.919Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T18:51:41.919Z] d65c8cfc05b1: Download complete [2023-03-13T18:51:41.919Z] 699f458cf7ca: Verifying Checksum [2023-03-13T18:51:41.919Z] 699f458cf7ca: Download complete [2023-03-13T18:51:42.510Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T18:51:42.510Z] 8998bd30e6a1: Download complete [2023-03-13T18:51:45.112Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T18:51:45.112Z] 2437ff75d9bd: Download complete [2023-03-13T18:51:46.525Z] 8998bd30e6a1: Pull complete [2023-03-13T18:51:47.115Z] 04944245beec: Pull complete [2023-03-13T18:51:50.473Z] 699f458cf7ca: Pull complete [2023-03-13T18:51:51.066Z] 765212b225bb: Pull complete [2023-03-13T18:51:51.657Z] f23df028b6ca: Pull complete [2023-03-13T18:51:51.929Z] d65c8cfc05b1: Pull complete [2023-03-13T18:52:07.110Z] 2437ff75d9bd: Pull complete [2023-03-13T18:52:07.110Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T18:52:07.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:52:07.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:52:07.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-9937 does not seem to be running inside a container [2023-03-13T18:52:07.496Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T18:52:10.619Z] $ docker top 6c21ac2b434006c380b33a15bcdddd1ae7296395360254a25fcd5f16ed022232 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:11.537Z] ---> job-cost.sh [2023-03-13T18:52:11.537Z] lf-activate-venv: SKIPPING [2023-03-13T18:52:11.537Z] INFO: No Stack... [2023-03-13T18:52:11.814Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T18:52:12.786Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:52:13.467Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-03-13T18:52:13.467Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T18:52:13.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [2023-03-13T18:52:13.566Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] did not exist. Created. [2023-03-13T18:52:13.567Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:52:14.247Z] /w/workspace/device-sdk-go/3@tmp/durable-71a0862d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T18:52:14.936Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T18:52:14.965Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T18:52:15.540Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:52:15.546Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1371-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:52:15.575Z] $ docker stop --time=1 6c21ac2b434006c380b33a15bcdddd1ae7296395360254a25fcd5f16ed022232 [2023-03-13T18:52:18.537Z] $ docker rm -f --volumes 6c21ac2b434006c380b33a15bcdddd1ae7296395360254a25fcd5f16ed022232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:52:18.820Z] 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-13T18:52:19.491Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives ] [2023-03-13T18:52:19.491Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives [2023-03-13T18:52:19.491Z] total 16 [2023-03-13T18:52:19.491Z] drwxr-xr-x 3 root root 4096 Mar 13 18:43 . [2023-03-13T18:52:19.491Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 18:43 .. [2023-03-13T18:52:19.491Z] drwxr-xr-x 2 root root 4096 Mar 13 18:43 cost [2023-03-13T18:52:19.491Z] -rw-r--r-- 1 root root 86 Mar 13 18:43 cost.csv [2023-03-13T18:52:19.491Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives [2023-03-13T18:52:19.491Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives [2023-03-13T18:52:19.491Z] total 16 [2023-03-13T18:52:19.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 18:43 . [2023-03-13T18:52:19.491Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 18:43 .. [2023-03-13T18:52:19.491Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 18:43 cost [2023-03-13T18:52:19.491Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:19.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:20.638Z] ---> package-listing.sh [2023-03-13T18:52:20.638Z] ++ facter osfamily [2023-03-13T18:52:20.638Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T18:52:20.897Z] + OS_FAMILY=debian [2023-03-13T18:52:20.897Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1371 [2023-03-13T18:52:20.897Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T18:52:20.897Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T18:52:20.897Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T18:52:20.897Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T18:52:20.897Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1371 ']' [2023-03-13T18:52:20.897Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T18:52:20.897Z] + case "${OS_FAMILY}" in [2023-03-13T18:52:20.897Z] + dpkg -l [2023-03-13T18:52:20.897Z] + grep '^ii' [2023-03-13T18:52:20.897Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T18:52:20.897Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T18:52:20.897Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T18:52:20.897Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1371 ']' [2023-03-13T18:52:20.897Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives/ [2023-03-13T18:52:20.897Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1371/archives/ [Pipeline] echo [2023-03-13T18:52:20.909Z] 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-1371/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T18:52:21.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:52:21.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:52:21.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:52:21.816Z] prd-ubuntu20.04-docker-8c-8g-9935 does not seem to be running inside a container [2023-03-13T18:52:21.860Z] $ 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-1371/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-1371 -v /w/workspace/gexfoundry_device-sdk-go_PR-1371:/w/workspace/gexfoundry_device-sdk-go_PR-1371:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T18:52:22.061Z] $ docker top 143b8722712b4c763d0842521076f1bf0f5ecf07be7fa3cff845f6d11263b666 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:52:22.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T18:52:22.680Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T18:52:22.963Z] + ls /var/log/sa-host [2023-03-13T18:52:22.963Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:52:23.029Z] provisioning config files... [2023-03-13T18:52:23.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1371@tmp/config7354529297303746098tmp [Pipeline] { [Pipeline] echo [2023-03-13T18:52:23.050Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:23.332Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T18:52:23.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:23.651Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T18:52:23.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:23.944Z] ---> sudo-logs.sh [2023-03-13T18:52:23.944Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T18:52:23.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:24.253Z] ---> job-cost.sh [2023-03-13T18:52:24.253Z] lf-activate-venv: SKIPPING [2023-03-13T18:52:24.253Z] DEBUG: total: 0.2199999988079071 [2023-03-13T18:52:24.253Z] INFO: Retrieving Stack Cost... [2023-03-13T18:52:24.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:52:25.079Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T18:52:25.093Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:52:25.375Z] ---> logs-deploy.sh [2023-03-13T18:52:25.375Z] lf-activate-venv: SKIPPING [2023-03-13T18:52:25.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1371/3 [2023-03-13T18:52:25.375Z] INFO: archiving workspace using pattern(s): [2023-03-13T18:52:26.314Z] Archives upload complete. [2023-03-13T18:52:26.573Z] INFO: archiving logs to Nexus