Pull request #1399 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c61610bbbff1187c8ac68f5c7e0a10add7b75ddb rather than eddc5e6cf4cdff21a08388e91e853d617c901a87 Obtained Jenkinsfile from c61610bbbff1187c8ac68f5c7e0a10add7b75ddb 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-ssh3644607894360357492.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7193110503351803030.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/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-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4852681753090695909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14724398596774835308.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-1399/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-1399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4866597789335801338.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.20 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5090 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [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-1399 # 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/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit eddc5e6cf4cdff21a08388e91e853d617c901a87 Merge succeeded, producing eddc5e6cf4cdff21a08388e91e853d617c901a87 Checking out Revision eddc5e6cf4cdff21a08388e91e853d617c901a87 (PR-1399) > git config core.sparsecheckout # timeout=10 > git checkout -f eddc5e6cf4cdff21a08388e91e853d617c901a87 # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eddc5e6cf4cdff21a08388e91e853d617c901a87 # timeout=10 Commit message: "fix!: Modify the numeric data type in Value Properties to pointer" First time build. Skipping changelog. > git rev-list --no-walk 70e7d1941556f7e21d59e245b40ce1283cb360ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T02:40:26.517Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T02:40:26.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T02:40:26.581Z] ========================================================= [2023-03-22T02:40:26.581Z] EdgeX Global Pipelines Version Info [2023-03-22T02:40:26.581Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:40:27.324Z] ------------------- [2023-03-22T02:40:27.324Z] stable info: [2023-03-22T02:40:27.324Z] ------------------- [2023-03-22T02:40:27.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T02:40:27.324Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T02:40:27.324Z] Message: update stable to v1.0.245 [2023-03-22T02:40:27.893Z] ------------------- [2023-03-22T02:40:27.893Z] experimental info: [2023-03-22T02:40:27.893Z] ------------------- [2023-03-22T02:40:27.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T02:40:27.893Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T02:40:27.893Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T02:40:28.055Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T02:40:28.064Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T02:40:28.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T02:40:28.081Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T02:40:28.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T02:40:28.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T02:40:28.106Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T02:40:28.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T02:40:28.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T02:40:28.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T02:40:28.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T02:40:28.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T02:40:28.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T02:40:28.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T02:40:28.208Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T02:40:28.221Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T02:40:28.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T02:40:28.244Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T02:40:28.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T02:40:28.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T02:40:28.281Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T02:40:28.294Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T02:40:28.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T02:40:28.318Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T02:40:28.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T02:40:28.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T02:40:28.357Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T02:40:28.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1399 [Pipeline] echo [2023-03-22T02:40:28.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1399 [Pipeline] echo [2023-03-22T02:40:28.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1399 [Pipeline] echo [2023-03-22T02:40:28.407Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eddc5e6cf4cdff21a08388e91e853d617c901a87 [Pipeline] echo [2023-03-22T02:40:28.415Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eddc5e6 [Pipeline] echo [2023-03-22T02:40:28.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:40:28.463Z] provisioning config files... [2023-03-22T02:40:28.477Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config4451225587741680393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:40:28.776Z] ---> docker-login.sh [2023-03-22T02:40:28.776Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:40:29.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:29.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:29.038Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:29.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:29.038Z] [2023-03-22T02:40:29.038Z] Login Succeeded [2023-03-22T02:40:29.038Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:40:29.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:29.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:29.038Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:29.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:29.038Z] [2023-03-22T02:40:29.038Z] Login Succeeded [2023-03-22T02:40:29.038Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:40:29.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:29.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:29.300Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:29.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:29.300Z] [2023-03-22T02:40:29.300Z] Login Succeeded [2023-03-22T02:40:29.300Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:40:29.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:29.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:29.300Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:29.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:29.300Z] [2023-03-22T02:40:29.300Z] Login Succeeded [2023-03-22T02:40:29.300Z] docker.io [2023-03-22T02:40:29.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:29.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:29.559Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:29.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:29.559Z] [2023-03-22T02:40:29.559Z] Login Succeeded [2023-03-22T02:40:29.559Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:40:29.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T02:40:29.933Z] + git rev-list -1 --merges eddc5e6cf4cdff21a08388e91e853d617c901a87~1..eddc5e6cf4cdff21a08388e91e853d617c901a87 [Pipeline] echo [2023-03-22T02:40:29.981Z] -----------> git rev-list -1 --merges eddc5e6cf4cdff21a08388e91e853d617c901a87~1..eddc5e6cf4cdff21a08388e91e853d617c901a87 eddc5e6cf4cdff21a08388e91e853d617c901a87 [false] [Pipeline] sh [2023-03-22T02:40:30.270Z] + git log --format=format:%s -1 eddc5e6cf4cdff21a08388e91e853d617c901a87 [Pipeline] echo [2023-03-22T02:40:30.283Z] ========================================================= [2023-03-22T02:40:30.283Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T02:40:30.283Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T02:40:30.593Z] + git log --format=format:%s -1 eddc5e6cf4cdff21a08388e91e853d617c901a87 [Pipeline] echo [2023-03-22T02:40:30.602Z] [semverPrep] GIT_COMMIT: eddc5e6cf4cdff21a08388e91e853d617c901a87, Commit Message: fix!: Modify the numeric data type in Value Properties to pointer [Pipeline] echo [2023-03-22T02:40:30.608Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T02:40:30.976Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T02:40:30.976Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T02:40:30.976Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T02:40:30.976Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T02:40:30.976Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T02:40:30.976Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T02:40:30.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:40:31.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:40:31.394Z] [2023-03-22T02:40:31.394Z] 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-22T02:40:31.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:40:31.692Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T02:40:31.692Z] b85a868b505f: Pulling fs layer [2023-03-22T02:40:31.692Z] e2be974225ed: Pulling fs layer [2023-03-22T02:40:31.692Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T02:40:31.692Z] 988bab9f4d93: Pulling fs layer [2023-03-22T02:40:31.692Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T02:40:31.692Z] eaf3925da568: Pulling fs layer [2023-03-22T02:40:31.692Z] bab4dde63d76: Pulling fs layer [2023-03-22T02:40:31.692Z] bde34c3a00c8: Pulling fs layer [2023-03-22T02:40:31.692Z] b352a97aabf1: Pulling fs layer [2023-03-22T02:40:31.692Z] 4872d77fe225: Pulling fs layer [2023-03-22T02:40:31.692Z] 5851b861e8e6: Pulling fs layer [2023-03-22T02:40:31.692Z] bde34c3a00c8: Waiting [2023-03-22T02:40:31.692Z] b352a97aabf1: Waiting [2023-03-22T02:40:31.692Z] eaf3925da568: Waiting [2023-03-22T02:40:31.692Z] 4872d77fe225: Waiting [2023-03-22T02:40:31.692Z] 988bab9f4d93: Waiting [2023-03-22T02:40:31.692Z] 5851b861e8e6: Waiting [2023-03-22T02:40:31.692Z] bab4dde63d76: Waiting [2023-03-22T02:40:31.692Z] 1469e6f7b9e6: Waiting [2023-03-22T02:40:31.692Z] e2be974225ed: Download complete [2023-03-22T02:40:31.692Z] 988bab9f4d93: Download complete [2023-03-22T02:40:31.952Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T02:40:31.952Z] 1469e6f7b9e6: Download complete [2023-03-22T02:40:31.952Z] eaf3925da568: Verifying Checksum [2023-03-22T02:40:31.952Z] eaf3925da568: Download complete [2023-03-22T02:40:31.952Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T02:40:31.952Z] 339a4e72a1f5: Download complete [2023-03-22T02:40:31.952Z] bde34c3a00c8: Download complete [2023-03-22T02:40:31.952Z] b352a97aabf1: Verifying Checksum [2023-03-22T02:40:31.952Z] b352a97aabf1: Download complete [2023-03-22T02:40:31.952Z] 5851b861e8e6: Download complete [2023-03-22T02:40:31.952Z] b85a868b505f: Verifying Checksum [2023-03-22T02:40:31.952Z] b85a868b505f: Download complete [2023-03-22T02:40:32.210Z] bab4dde63d76: Verifying Checksum [2023-03-22T02:40:32.210Z] bab4dde63d76: Download complete [2023-03-22T02:40:33.145Z] b85a868b505f: Pull complete [2023-03-22T02:40:33.145Z] e2be974225ed: Pull complete [2023-03-22T02:40:33.713Z] 339a4e72a1f5: Pull complete [2023-03-22T02:40:33.713Z] 988bab9f4d93: Pull complete [2023-03-22T02:40:33.971Z] 1469e6f7b9e6: Pull complete [2023-03-22T02:40:33.971Z] eaf3925da568: Pull complete [2023-03-22T02:40:35.871Z] bab4dde63d76: Pull complete [2023-03-22T02:40:35.871Z] bde34c3a00c8: Pull complete [2023-03-22T02:40:35.871Z] b352a97aabf1: Pull complete [2023-03-22T02:40:35.871Z] 4872d77fe225: Pull complete [2023-03-22T02:40:35.871Z] 5851b861e8e6: Pull complete [2023-03-22T02:40:35.871Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T02:40:35.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:40:35.871Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:40:35.958Z] prd-ubuntu20.04-docker-8c-8g-5090 does not seem to be running inside a container [2023-03-22T02:40:35.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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-devops/py-git-semver:0.1.4 cat [2023-03-22T02:40:39.654Z] $ docker top f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 -eo pid,comm [2023-03-22T02:40:39.708Z] 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-22T02:40:39.708Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T02:40:39.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T02:40:39.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T02:40:39.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T02:40:39.855Z] $ docker exec f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 ssh-agent [2023-03-22T02:40:39.960Z] SSH_AUTH_SOCK=/tmp/ssh-sr2UuGpIFnwo/agent.31 [2023-03-22T02:40:39.960Z] SSH_AGENT_PID=37 [2023-03-22T02:40:39.965Z] Running ssh-add (command line suppressed) [2023-03-22T02:40:40.067Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_187099139527885665.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_187099139527885665.key) [2023-03-22T02:40:40.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T02:40:40.369Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T02:40:40.384Z] $ docker exec --env ******** --env ******** f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 ssh-agent -k [2023-03-22T02:40:40.475Z] unset SSH_AUTH_SOCK; [2023-03-22T02:40:40.475Z] unset SSH_AGENT_PID; [2023-03-22T02:40:40.476Z] echo Agent pid 37 killed; [2023-03-22T02:40:40.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T02:40:40.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T02:40:40.507Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T02:40:40.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T02:40:40.611Z] $ docker exec f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 ssh-agent [2023-03-22T02:40:40.711Z] SSH_AUTH_SOCK=/tmp/ssh-e2ytWZEBQVEa/agent.69 [2023-03-22T02:40:40.711Z] SSH_AGENT_PID=75 [2023-03-22T02:40:40.715Z] Running ssh-add (command line suppressed) [2023-03-22T02:40:40.828Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_8739998623654738519.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_8739998623654738519.key) [2023-03-22T02:40:40.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T02:40:41.124Z] + git semver init [2023-03-22T02:40:41.383Z] 2023-03-22 02:40:41,295 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T02:40:41.383Z] 2023-03-22 02:40:41,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver [2023-03-22T02:40:41.383Z] 2023-03-22 02:40:41,296 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver [2023-03-22T02:40:41.383Z] 2023-03-22 02:40:41,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399, universal_newlines=False, shell=None, istream=None) [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,395 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.git/info/exclude [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,396 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 with force:False [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,396 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,399 [execute] INFO git cat-file --batch-check [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,404 [execute] INFO git cat-file --batch [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T02:40:42.761Z] 2023-03-22 02:40:42,409 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 [2023-03-22T02:40:42.761Z] 0.0.0 [Pipeline] } [2023-03-22T02:40:42.774Z] $ docker exec --env ******** --env ******** f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 ssh-agent -k [2023-03-22T02:40:42.896Z] unset SSH_AUTH_SOCK; [2023-03-22T02:40:42.896Z] unset SSH_AGENT_PID; [2023-03-22T02:40:42.896Z] echo Agent pid 75 killed; [2023-03-22T02:40:42.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T02:40:43.206Z] + git semver [Pipeline] } [2023-03-22T02:40:43.481Z] $ docker stop --time=1 f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 [2023-03-22T02:40:45.638Z] $ docker rm -f --volumes f4a45cd46d60c3028e8c6c28440723b5858398867e2506d895edd2f13d8e36a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T02:40:46.121Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T02:40:46.353Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T02:40:46.356Z] [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-22T02:40:46.501Z] provisioning config files... [2023-03-22T02:40:46.510Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config9183639051215156603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:40:46.804Z] ---> docker-login.sh [2023-03-22T02:40:46.804Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:40:46.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:46.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:46.804Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:46.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:46.804Z] [2023-03-22T02:40:46.804Z] Login Succeeded [2023-03-22T02:40:46.804Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:40:46.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:46.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:46.804Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:46.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:46.804Z] [2023-03-22T02:40:46.804Z] Login Succeeded [2023-03-22T02:40:46.804Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:40:47.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:47.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:47.068Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:47.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:47.068Z] [2023-03-22T02:40:47.068Z] Login Succeeded [2023-03-22T02:40:47.068Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:40:47.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:47.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:47.069Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:47.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:47.069Z] [2023-03-22T02:40:47.069Z] Login Succeeded [2023-03-22T02:40:47.069Z] docker.io [2023-03-22T02:40:47.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:40:47.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:40:47.327Z] Configure a credential helper to remove this warning. See [2023-03-22T02:40:47.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:40:47.327Z] [2023-03-22T02:40:47.327Z] Login Succeeded [2023-03-22T02:40:47.327Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:40:47.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T02:40:47.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:40:47.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:40:47.413Z] ========================================================= [2023-03-22T02:40:47.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T02:40:47.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:40:47.713Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T02:40:47.713Z] Sending build context to Docker daemon 10.81MB [2023-03-22T02:40:47.713Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T02:40:47.713Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T02:40:47.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T02:40:47.713Z] 63b65145d645: Pulling fs layer [2023-03-22T02:40:47.713Z] a2d21d5440eb: Pulling fs layer [2023-03-22T02:40:47.713Z] 935e6c44a52c: Pulling fs layer [2023-03-22T02:40:47.713Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T02:40:47.713Z] 30dea6a524f1: Pulling fs layer [2023-03-22T02:40:47.713Z] a2aff8979fd8: Pulling fs layer [2023-03-22T02:40:47.713Z] 6808be2612f2: Pulling fs layer [2023-03-22T02:40:47.713Z] f25807f1079a: Pulling fs layer [2023-03-22T02:40:47.713Z] a2aff8979fd8: Waiting [2023-03-22T02:40:47.713Z] 6808be2612f2: Waiting [2023-03-22T02:40:47.713Z] 94cc34f8dd06: Waiting [2023-03-22T02:40:47.713Z] f25807f1079a: Waiting [2023-03-22T02:40:47.713Z] 30dea6a524f1: Waiting [2023-03-22T02:40:47.713Z] a2d21d5440eb: Download complete [2023-03-22T02:40:47.976Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T02:40:47.976Z] 94cc34f8dd06: Download complete [2023-03-22T02:40:47.976Z] 30dea6a524f1: Verifying Checksum [2023-03-22T02:40:47.976Z] 30dea6a524f1: Download complete [2023-03-22T02:40:47.976Z] 63b65145d645: Verifying Checksum [2023-03-22T02:40:47.976Z] 63b65145d645: Download complete [2023-03-22T02:40:47.976Z] a2aff8979fd8: Verifying Checksum [2023-03-22T02:40:47.976Z] a2aff8979fd8: Download complete [2023-03-22T02:40:47.976Z] 63b65145d645: Pull complete [2023-03-22T02:40:48.249Z] a2d21d5440eb: Pull complete [2023-03-22T02:40:48.512Z] f25807f1079a: Verifying Checksum [2023-03-22T02:40:48.512Z] f25807f1079a: Download complete [2023-03-22T02:40:48.512Z] 935e6c44a52c: Verifying Checksum [2023-03-22T02:40:48.512Z] 935e6c44a52c: Download complete [2023-03-22T02:40:48.771Z] 6808be2612f2: Verifying Checksum [2023-03-22T02:40:48.771Z] 6808be2612f2: Download complete [2023-03-22T02:40:52.064Z] 935e6c44a52c: Pull complete [2023-03-22T02:40:52.064Z] 94cc34f8dd06: Pull complete [2023-03-22T02:40:52.064Z] 30dea6a524f1: Pull complete [2023-03-22T02:40:52.064Z] a2aff8979fd8: Pull complete [2023-03-22T02:40:53.961Z] 6808be2612f2: Pull complete [2023-03-22T02:40:54.894Z] f25807f1079a: Pull complete [2023-03-22T02:40:54.894Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T02:40:54.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T02:40:54.894Z] ---> 3b553350e43f [2023-03-22T02:40:54.894Z] Step 3/10 : ARG MAKE=make build [2023-03-22T02:41:00.164Z] ---> Running in 81c536264ea6 [2023-03-22T02:41:00.164Z] Removing intermediate container 81c536264ea6 [2023-03-22T02:41:00.165Z] ---> 37851b72e70c [2023-03-22T02:41:00.165Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T02:41:00.165Z] ---> Running in 88402cbfa203 [2023-03-22T02:41:00.165Z] Removing intermediate container 88402cbfa203 [2023-03-22T02:41:00.165Z] ---> fb2c1a15cb41 [2023-03-22T02:41:00.165Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T02:41:00.165Z] ---> Running in 209853aaf8ea [2023-03-22T02:41:00.165Z] Removing intermediate container 209853aaf8ea [2023-03-22T02:41:00.165Z] ---> 330d437d57ac [2023-03-22T02:41:00.165Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T02:41:00.165Z] ---> Running in db6707093e93 [2023-03-22T02:41:00.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T02:41:00.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T02:41:00.423Z] OK: 265 MiB in 53 packages [2023-03-22T02:41:00.683Z] Removing intermediate container db6707093e93 [2023-03-22T02:41:00.683Z] ---> a5089b3c3ed5 [2023-03-22T02:41:00.683Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T02:41:00.942Z] ---> 5b95e17ad21d [2023-03-22T02:41:00.942Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T02:41:00.942Z] ---> Running in 934dd81a280f [2023-03-22T02:41:01.460Z] Still waiting to schedule task [2023-03-22T02:41:01.460Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T02:41:27.496Z] Removing intermediate container 934dd81a280f [2023-03-22T02:41:27.496Z] ---> 16e27de47c20 [2023-03-22T02:41:27.496Z] Step 9/10 : COPY . . [2023-03-22T02:41:27.496Z] ---> 23b11717652f [2023-03-22T02:41:27.496Z] Step 10/10 : RUN ${MAKE} [2023-03-22T02:41:27.496Z] ---> Running in 41a75bb5241c [2023-03-22T02:41:27.496Z] noop [2023-03-22T02:41:27.496Z] Removing intermediate container 41a75bb5241c [2023-03-22T02:41:27.496Z] ---> b14c6f11bdaa [2023-03-22T02:41:27.496Z] Successfully built b14c6f11bdaa [2023-03-22T02:41:27.496Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:41:27.808Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T02:41:27.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:41:27.875Z] prd-ubuntu20.04-docker-8c-8g-5090 does not seem to be running inside a container [2023-03-22T02:41:27.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T02:41:28.272Z] $ docker top 43ad404b912a703614e57d8b515a2ff47aa640e07db4570e48df7f5398addf2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:41:28.609Z] + go version [2023-03-22T02:41:28.609Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T02:41:28.623Z] $ docker stop --time=1 43ad404b912a703614e57d8b515a2ff47aa640e07db4570e48df7f5398addf2a [2023-03-22T02:41:29.876Z] $ docker rm -f --volumes 43ad404b912a703614e57d8b515a2ff47aa640e07db4570e48df7f5398addf2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:41:30.277Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T02:41:30.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:41:30.344Z] prd-ubuntu20.04-docker-8c-8g-5090 does not seem to be running inside a container [2023-03-22T02:41:30.376Z] $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T02:41:30.699Z] $ docker top ee3809ca62707e9d8508a64c6cdfd405a678426d92ddf49f873226670fed4c47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:41:31.037Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] fileExists [Pipeline] sh [2023-03-22T02:41:31.336Z] + make test [2023-03-22T02:41:31.336Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T02:41:37.899Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T02:41:50.114Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:28:19: invalid operation: pv.Maximum != nil (mismatched types string and untyped nil) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:29:38: invalid operation: cannot indirect pv.Maximum (variable of type string) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:34:19: invalid operation: pv.Minimum != nil (mismatched types string and untyped nil) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:35:38: invalid operation: cannot indirect pv.Minimum (variable of type string) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:40:18: invalid operation: pv.Offset != nil (mismatched types float64 and untyped nil) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:40:26: invalid operation: cannot indirect pv.Offset (variable of type float64) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:41:46: invalid operation: cannot indirect pv.Offset (variable of type float64) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:46:17: invalid operation: pv.Scale != nil (mismatched types float64 and untyped nil) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:46:25: invalid operation: cannot indirect pv.Scale (variable of type float64) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:47:45: invalid operation: cannot indirect pv.Scale (variable of type float64) [2023-03-22T02:41:50.114Z] internal/transformer/transformparam.go:47:45: too many errors [2023-03-22T02:41:50.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T02:41:50.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T02:41:50.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T02:41:50.114Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-22T02:41:50.114Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T02:41:50.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T02:41:50.683Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-03-22T02:41:50.683Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-22T02:41:50.683Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-22T02:41:50.683Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-22T02:41:51.619Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements [2023-03-22T02:41:51.619Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-22T02:41:51.619Z] FAIL [2023-03-22T02:41:51.619Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-22T02:41:51.634Z] $ docker stop --time=1 ee3809ca62707e9d8508a64c6cdfd405a678426d92ddf49f873226670fed4c47 [2023-03-22T02:41:55.012Z] $ docker rm -f --volumes ee3809ca62707e9d8508a64c6cdfd405a678426d92ddf49f873226670fed4c47 [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-22T02:41:55.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:41:55.549Z] [2023-03-22T02:41:55.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:41:55.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:41:55.842Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T02:41:55.842Z] 5eb5b503b376: Pulling fs layer [2023-03-22T02:41:55.842Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T02:41:55.842Z] ec43610c2a17: Pulling fs layer [2023-03-22T02:41:55.842Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T02:41:55.842Z] 33b1e0a273af: Pulling fs layer [2023-03-22T02:41:55.842Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T02:41:55.842Z] 2f39f015ded8: Pulling fs layer [2023-03-22T02:41:55.842Z] 2f39f015ded8: Waiting [2023-03-22T02:41:55.842Z] 5d3b04190fa2: Waiting [2023-03-22T02:41:55.842Z] 33b1e0a273af: Waiting [2023-03-22T02:41:55.842Z] 3a2ae6a8a46f: Waiting [2023-03-22T02:41:55.842Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T02:41:55.842Z] 5c69ac0246d0: Download complete [2023-03-22T02:41:55.842Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T02:41:55.842Z] 3a2ae6a8a46f: Download complete [2023-03-22T02:41:56.106Z] 33b1e0a273af: Verifying Checksum [2023-03-22T02:41:56.106Z] 33b1e0a273af: Download complete [2023-03-22T02:41:56.106Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T02:41:56.106Z] 5d3b04190fa2: Download complete [2023-03-22T02:41:56.106Z] ec43610c2a17: Download complete [2023-03-22T02:41:56.372Z] 5eb5b503b376: Download complete [2023-03-22T02:41:56.940Z] 2f39f015ded8: Download complete [2023-03-22T02:41:57.509Z] 5eb5b503b376: Pull complete [2023-03-22T02:41:57.509Z] 5c69ac0246d0: Pull complete [2023-03-22T02:41:58.073Z] ec43610c2a17: Pull complete [2023-03-22T02:41:58.073Z] 3a2ae6a8a46f: Pull complete [2023-03-22T02:41:58.330Z] 33b1e0a273af: Pull complete [2023-03-22T02:41:58.330Z] 5d3b04190fa2: Pull complete [2023-03-22T02:42:02.518Z] 2f39f015ded8: Pull complete [2023-03-22T02:42:02.518Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T02:42:02.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:42:02.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:42:02.592Z] prd-ubuntu20.04-docker-8c-8g-5090 does not seem to be running inside a container [2023-03-22T02:42:02.624Z] $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T02:42:06.313Z] $ docker top d8ca7386d468198e45d6f32a3f6d73173580c87a813252e6a03a3f3fd61fd5b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:42:06.694Z] ---> job-cost.sh [2023-03-22T02:42:06.694Z] lf-activate-venv: SKIPPING [2023-03-22T02:42:06.694Z] INFO: No Stack... [2023-03-22T02:42:06.954Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T02:42:07.523Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T02:42:07.811Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/cost.csv [2023-03-22T02:42:07.811Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T02:42:07.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [2023-03-22T02:42:07.831Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] did not exist. Created. [2023-03-22T02:42:07.831Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T02:42:08.127Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T02:42:08.173Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T02:42:08.181Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T02:42:08.202Z] $ docker stop --time=1 d8ca7386d468198e45d6f32a3f6d73173580c87a813252e6a03a3f3fd61fd5b8 [2023-03-22T02:42:09.337Z] $ docker rm -f --volumes d8ca7386d468198e45d6f32a3f6d73173580c87a813252e6a03a3f3fd61fd5b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T02:42:09.442Z] Failed in branch amd64 [2023-03-22T02:44:50.503Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5092 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] { [Pipeline] ws [2023-03-22T02:44:50.518Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-22T02:44:50.588Z] The recommended git tool is: git [2023-03-22T02:44:59.723Z] using credential edgex-jenkins-ssh [2023-03-22T02:44:59.747Z] Cloning the remote Git repository [2023-03-22T02:44:59.813Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:44:59.963Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-22T02:45:00.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:45:00.213Z] > git --version # timeout=10 [2023-03-22T02:45:00.252Z] > git --version # 'git version 2.25.1' [2023-03-22T02:45:00.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:45:00.469Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T02:45:02.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T02:45:02.214Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T02:45:03.912Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit eddc5e6cf4cdff21a08388e91e853d617c901a87 [2023-03-22T02:45:04.273Z] Merge succeeded, producing eddc5e6cf4cdff21a08388e91e853d617c901a87 [2023-03-22T02:45:04.273Z] Checking out Revision eddc5e6cf4cdff21a08388e91e853d617c901a87 (PR-1399) [2023-03-22T02:45:03.158Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T02:45:03.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:45:03.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:45:03.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T02:45:03.935Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T02:45:04.021Z] > git checkout -f eddc5e6cf4cdff21a08388e91e853d617c901a87 # timeout=10 [2023-03-22T02:45:04.139Z] > git remote # timeout=10 [2023-03-22T02:45:04.161Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T02:45:04.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:45:04.196Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-22T02:45:04.224Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T02:45:04.287Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T02:45:04.302Z] > git checkout -f eddc5e6cf4cdff21a08388e91e853d617c901a87 # timeout=10 [2023-03-22T02:45:07.841Z] Commit message: "fix!: Modify the numeric data type in Value Properties to pointer" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T02:45:08.887Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T02:45:08.887Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T02:45:08.887Z] Dload Upload Total Spent Left Speed [2023-03-22T02:45:08.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-03-22T02:45:09.600Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T02:45:09.935Z] + sudo tee /etc/docker/daemon.new [2023-03-22T02:45:09.935Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T02:45:09.935Z] { [2023-03-22T02:45:09.935Z] "registry-mirrors": [ [2023-03-22T02:45:09.935Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T02:45:09.935Z] ], [2023-03-22T02:45:09.935Z] "bip": "10.250.0.254/24", [2023-03-22T02:45:09.935Z] "hosts": [ [2023-03-22T02:45:09.935Z] "tcp://0.0.0.0:5555", [2023-03-22T02:45:09.935Z] "unix:///var/run/docker.sock" [2023-03-22T02:45:09.935Z] ], [2023-03-22T02:45:09.935Z] "mtu": 1458, [2023-03-22T02:45:09.935Z] "selinux-enabled": true, [2023-03-22T02:45:09.935Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T02:45:09.935Z] } [Pipeline] sh [2023-03-22T02:45:10.262Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T02:45:10.593Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:45:28.876Z] provisioning config files... [2023-03-22T02:45:28.905Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config12365009907855631015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:45:29.256Z] ---> docker-login.sh [2023-03-22T02:45:29.256Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:45:29.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:45:30.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:45:30.120Z] Configure a credential helper to remove this warning. See [2023-03-22T02:45:30.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:45:30.120Z] [2023-03-22T02:45:30.120Z] Login Succeeded [2023-03-22T02:45:30.120Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:45:30.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:45:30.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:45:30.389Z] Configure a credential helper to remove this warning. See [2023-03-22T02:45:30.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:45:30.389Z] [2023-03-22T02:45:30.389Z] Login Succeeded [2023-03-22T02:45:30.389Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:45:30.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:45:30.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:45:30.659Z] Configure a credential helper to remove this warning. See [2023-03-22T02:45:30.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:45:30.659Z] [2023-03-22T02:45:30.659Z] Login Succeeded [2023-03-22T02:45:30.659Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:45:30.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:45:31.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:45:31.204Z] Configure a credential helper to remove this warning. See [2023-03-22T02:45:31.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:45:31.204Z] [2023-03-22T02:45:31.204Z] Login Succeeded [2023-03-22T02:45:31.204Z] docker.io [2023-03-22T02:45:31.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:45:31.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:45:31.744Z] Configure a credential helper to remove this warning. See [2023-03-22T02:45:31.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:45:31.744Z] [2023-03-22T02:45:31.744Z] Login Succeeded [2023-03-22T02:45:31.744Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:45:31.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T02:45:32.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:45:32.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:45:32.092Z] ========================================================= [2023-03-22T02:45:32.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T02:45:32.092Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:45:32.446Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T02:45:33.038Z] Sending build context to Docker daemon 5.81MB [2023-03-22T02:45:33.038Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T02:45:33.038Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T02:45:33.038Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T02:45:33.038Z] af6eaf76a39c: Pulling fs layer [2023-03-22T02:45:33.038Z] 55522c791124: Pulling fs layer [2023-03-22T02:45:33.038Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T02:45:33.038Z] 169dfbe0d373: Pulling fs layer [2023-03-22T02:45:33.038Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T02:45:33.038Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T02:45:33.038Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T02:45:33.038Z] 169dfbe0d373: Waiting [2023-03-22T02:45:33.038Z] e1ff8fa3b103: Waiting [2023-03-22T02:45:33.038Z] 52ebb69f0ebf: Waiting [2023-03-22T02:45:33.038Z] 5abe8eddf0d5: Waiting [2023-03-22T02:45:33.038Z] 55522c791124: Verifying Checksum [2023-03-22T02:45:33.038Z] 55522c791124: Download complete [2023-03-22T02:45:33.038Z] 169dfbe0d373: Verifying Checksum [2023-03-22T02:45:33.038Z] 169dfbe0d373: Download complete [2023-03-22T02:45:33.312Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T02:45:33.312Z] e1ff8fa3b103: Download complete [2023-03-22T02:45:33.312Z] af6eaf76a39c: Download complete [2023-03-22T02:45:34.302Z] af6eaf76a39c: Pull complete [2023-03-22T02:45:34.302Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T02:45:34.302Z] 5abe8eddf0d5: Download complete [2023-03-22T02:45:34.892Z] 55522c791124: Pull complete [2023-03-22T02:45:35.863Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T02:45:35.863Z] ce5c4a1c91eb: Download complete [2023-03-22T02:45:35.863Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T02:45:35.863Z] 52ebb69f0ebf: Download complete [2023-03-22T02:45:45.958Z] ce5c4a1c91eb: Pull complete [2023-03-22T02:45:45.958Z] 169dfbe0d373: Pull complete [2023-03-22T02:45:46.228Z] e1ff8fa3b103: Pull complete [2023-03-22T02:45:52.894Z] 52ebb69f0ebf: Pull complete [2023-03-22T02:45:54.847Z] 5abe8eddf0d5: Pull complete [2023-03-22T02:45:54.847Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T02:45:54.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T02:45:54.847Z] ---> 6cb57ee374ae [2023-03-22T02:45:54.847Z] Step 3/10 : ARG MAKE=make build [2023-03-22T02:45:57.448Z] ---> Running in b70a6845f2db [2023-03-22T02:45:57.448Z] Removing intermediate container b70a6845f2db [2023-03-22T02:45:57.448Z] ---> 71cee85a0bd5 [2023-03-22T02:45:57.448Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T02:45:57.448Z] ---> Running in 7a5b77c87591 [2023-03-22T02:45:57.716Z] Removing intermediate container 7a5b77c87591 [2023-03-22T02:45:57.716Z] ---> 8226147abcdb [2023-03-22T02:45:57.716Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T02:45:57.983Z] ---> Running in 93ec288a5f3b [2023-03-22T02:45:58.250Z] Removing intermediate container 93ec288a5f3b [2023-03-22T02:45:58.250Z] ---> 0d2d746f4830 [2023-03-22T02:45:58.250Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T02:45:58.250Z] ---> Running in fe31d7e4f6dc [2023-03-22T02:45:59.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T02:46:00.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T02:46:01.142Z] OK: 263 MiB in 53 packages [2023-03-22T02:46:02.112Z] Removing intermediate container fe31d7e4f6dc [2023-03-22T02:46:02.112Z] ---> 3dc9cb25abdb [2023-03-22T02:46:02.112Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T02:46:03.531Z] ---> b3c465317650 [2023-03-22T02:46:03.531Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T02:46:03.818Z] ---> Running in 4947fd82ae14 [2023-03-22T02:47:00.248Z] Removing intermediate container 4947fd82ae14 [2023-03-22T02:47:00.248Z] ---> 97b4b2a554e9 [2023-03-22T02:47:00.248Z] Step 9/10 : COPY . . [2023-03-22T02:47:00.248Z] ---> 93705c6664dd [2023-03-22T02:47:00.248Z] Step 10/10 : RUN ${MAKE} [2023-03-22T02:47:00.248Z] ---> Running in 619f206a4b66 [2023-03-22T02:47:01.218Z] noop [2023-03-22T02:47:02.185Z] Removing intermediate container 619f206a4b66 [2023-03-22T02:47:02.185Z] ---> beec4a7ece3e [2023-03-22T02:47:02.185Z] Successfully built beec4a7ece3e [2023-03-22T02:47:02.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:47:02.538Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T02:47:02.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:47:02.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-5092 does not seem to be running inside a container [2023-03-22T02:47:02.823Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T02:47:04.028Z] $ docker top 739429888c116777c93687e3bd19f50f22ed92284ffcae191ea61278cd67dcad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:47:04.865Z] + go version [2023-03-22T02:47:04.865Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T02:47:04.886Z] $ docker stop --time=1 739429888c116777c93687e3bd19f50f22ed92284ffcae191ea61278cd67dcad [2023-03-22T02:47:06.516Z] $ docker rm -f --volumes 739429888c116777c93687e3bd19f50f22ed92284ffcae191ea61278cd67dcad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:47:07.050Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T02:47:07.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:47:07.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-5092 does not seem to be running inside a container [2023-03-22T02:47:07.303Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T02:47:08.552Z] $ docker top a6dd0c5b89a58b2955a4311169340ab64df70a718f35cfcb27e184d0e0126696 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:47:09.381Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-22T02:47:09.707Z] + make test [2023-03-22T02:47:09.707Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T02:47:56.566Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T02:49:48.280Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:28:19: invalid operation: pv.Maximum != nil (mismatched types string and untyped nil) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:29:38: invalid operation: cannot indirect pv.Maximum (variable of type string) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:34:19: invalid operation: pv.Minimum != nil (mismatched types string and untyped nil) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:35:38: invalid operation: cannot indirect pv.Minimum (variable of type string) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:40:18: invalid operation: pv.Offset != nil (mismatched types float64 and untyped nil) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:40:26: invalid operation: cannot indirect pv.Offset (variable of type float64) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:41:46: invalid operation: cannot indirect pv.Offset (variable of type float64) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:46:17: invalid operation: pv.Scale != nil (mismatched types float64 and untyped nil) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:46:25: invalid operation: cannot indirect pv.Scale (variable of type float64) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:47:45: invalid operation: cannot indirect pv.Scale (variable of type float64) [2023-03-22T02:49:48.280Z] internal/transformer/transformparam.go:47:45: too many errors [2023-03-22T02:49:48.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T02:49:48.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T02:49:48.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T02:49:52.549Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-22T02:49:57.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.272s coverage: 78.9% of statements [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T02:50:04.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T02:50:04.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.378s coverage: 86.0% of statements [2023-03-22T02:50:04.590Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-22T02:50:04.590Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-22T02:50:04.590Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-03-22T02:50:08.858Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.460s coverage: 89.2% of statements [2023-03-22T02:50:08.858Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-22T02:50:08.858Z] FAIL [2023-03-22T02:50:08.858Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-22T02:50:08.881Z] $ docker stop --time=1 a6dd0c5b89a58b2955a4311169340ab64df70a718f35cfcb27e184d0e0126696 [2023-03-22T02:50:10.789Z] $ docker rm -f --volumes a6dd0c5b89a58b2955a4311169340ab64df70a718f35cfcb27e184d0e0126696 [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-22T02:50:12.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:50:12.048Z] [2023-03-22T02:50:12.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:50:12.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:50:12.384Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T02:50:12.655Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T02:50:12.655Z] 04944245beec: Pulling fs layer [2023-03-22T02:50:12.655Z] 699f458cf7ca: Pulling fs layer [2023-03-22T02:50:12.655Z] 765212b225bb: Pulling fs layer [2023-03-22T02:50:12.655Z] f23df028b6ca: Pulling fs layer [2023-03-22T02:50:12.655Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T02:50:12.655Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T02:50:12.655Z] f23df028b6ca: Waiting [2023-03-22T02:50:12.655Z] d65c8cfc05b1: Waiting [2023-03-22T02:50:12.655Z] 2437ff75d9bd: Waiting [2023-03-22T02:50:12.655Z] 765212b225bb: Waiting [2023-03-22T02:50:12.655Z] 04944245beec: Download complete [2023-03-22T02:50:12.655Z] 765212b225bb: Verifying Checksum [2023-03-22T02:50:12.655Z] 765212b225bb: Download complete [2023-03-22T02:50:12.655Z] f23df028b6ca: Verifying Checksum [2023-03-22T02:50:12.655Z] f23df028b6ca: Download complete [2023-03-22T02:50:12.655Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T02:50:12.655Z] d65c8cfc05b1: Download complete [2023-03-22T02:50:12.924Z] 699f458cf7ca: Verifying Checksum [2023-03-22T02:50:12.924Z] 699f458cf7ca: Download complete [2023-03-22T02:50:13.194Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T02:50:13.194Z] 8998bd30e6a1: Download complete [2023-03-22T02:50:15.850Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T02:50:15.850Z] 2437ff75d9bd: Download complete [2023-03-22T02:50:17.304Z] 8998bd30e6a1: Pull complete [2023-03-22T02:50:17.905Z] 04944245beec: Pull complete [2023-03-22T02:50:19.369Z] 699f458cf7ca: Pull complete [2023-03-22T02:50:19.369Z] 765212b225bb: Pull complete [2023-03-22T02:50:21.954Z] f23df028b6ca: Pull complete [2023-03-22T02:50:21.954Z] d65c8cfc05b1: Pull complete [2023-03-22T02:50:36.973Z] 2437ff75d9bd: Pull complete [2023-03-22T02:50:36.973Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T02:50:36.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:50:36.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:50:37.165Z] prd-ubuntu20.04-docker-arm64-4c-16g-5092 does not seem to be running inside a container [2023-03-22T02:50:37.242Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T02:50:39.904Z] $ docker top b9d4643e3246dae59e991f91c99e1b0686bbf4e46d89fbb8d6fe9a9fcc29dee7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:40.738Z] ---> job-cost.sh [2023-03-22T02:50:40.738Z] lf-activate-venv: SKIPPING [2023-03-22T02:50:40.738Z] INFO: No Stack... [2023-03-22T02:50:41.320Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T02:50:41.902Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T02:50:42.225Z] + cut -d, -f6 [2023-03-22T02:50:42.225Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2023-03-22T02:50:42.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [2023-03-22T02:50:42.571Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] did not exist. Created. [2023-03-22T02:50:42.571Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T02:50:43.227Z] /w/workspace/device-sdk-go/3@tmp/durable-24a2a9cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T02:50:43.875Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T02:50:43.900Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T02:50:44.382Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T02:50:44.389Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T02:50:44.409Z] $ docker stop --time=1 b9d4643e3246dae59e991f91c99e1b0686bbf4e46d89fbb8d6fe9a9fcc29dee7 [2023-03-22T02:50:47.290Z] $ docker rm -f --volumes b9d4643e3246dae59e991f91c99e1b0686bbf4e46d89fbb8d6fe9a9fcc29dee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T02:50:47.551Z] 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-22T02:50:48.286Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives ] [2023-03-22T02:50:48.286Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:50:48.286Z] total 16 [2023-03-22T02:50:48.286Z] drwxr-xr-x 3 root root 4096 Mar 22 02:42 . [2023-03-22T02:50:48.286Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:42 .. [2023-03-22T02:50:48.286Z] drwxr-xr-x 2 root root 4096 Mar 22 02:42 cost [2023-03-22T02:50:48.286Z] -rw-r--r-- 1 root root 86 Mar 22 02:42 cost.csv [2023-03-22T02:50:48.286Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:50:48.286Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:50:48.286Z] total 16 [2023-03-22T02:50:48.286Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 02:42 . [2023-03-22T02:50:48.286Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:42 .. [2023-03-22T02:50:48.286Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 02:42 cost [2023-03-22T02:50:48.286Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 02:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:48.574Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:49.433Z] ---> package-listing.sh [2023-03-22T02:50:49.433Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T02:50:49.433Z] ++ facter osfamily [2023-03-22T02:50:49.692Z] + OS_FAMILY=debian [2023-03-22T02:50:49.692Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1399 [2023-03-22T02:50:49.692Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T02:50:49.692Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T02:50:49.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T02:50:49.692Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T02:50:49.692Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' [2023-03-22T02:50:49.692Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T02:50:49.692Z] + case "${OS_FAMILY}" in [2023-03-22T02:50:49.692Z] + dpkg -l [2023-03-22T02:50:49.692Z] + grep '^ii' [2023-03-22T02:50:49.692Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T02:50:49.692Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T02:50:49.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T02:50:49.692Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' [2023-03-22T02:50:49.692Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ [2023-03-22T02:50:49.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ [Pipeline] echo [2023-03-22T02:50:49.701Z] 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-1399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T02:50:49.976Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:50:50.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:50:50.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:50:50.597Z] prd-ubuntu20.04-docker-8c-8g-5090 does not seem to be running inside a container [2023-03-22T02:50:50.632Z] $ 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-1399/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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T02:50:50.867Z] $ docker top 8bb9c32c294f9fe316a80eddeeb4228b0c0e6606ef27a31faee5ba1b984042ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:50:51.210Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T02:50:51.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T02:50:51.781Z] + ls /var/log/sa-host [2023-03-22T02:50:51.781Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:50:51.930Z] provisioning config files... [2023-03-22T02:50:51.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config10541598749152596379tmp [Pipeline] { [Pipeline] echo [2023-03-22T02:50:51.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:52.236Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T02:50:52.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:52.589Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T02:50:52.598Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:52.883Z] ---> sudo-logs.sh [2023-03-22T02:50:52.883Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T02:50:52.911Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:53.190Z] ---> job-cost.sh [2023-03-22T02:50:53.190Z] lf-activate-venv: SKIPPING [2023-03-22T02:50:53.190Z] DEBUG: total: 0.2199999988079071 [2023-03-22T02:50:53.190Z] INFO: Retrieving Stack Cost... [2023-03-22T02:50:53.757Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T02:50:54.016Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T02:50:54.025Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:50:54.303Z] ---> logs-deploy.sh [2023-03-22T02:50:54.303Z] lf-activate-venv: SKIPPING [2023-03-22T02:50:54.303Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1399/3 [2023-03-22T02:50:54.303Z] INFO: archiving workspace using pattern(s): [2023-03-22T02:50:55.241Z] Archives upload complete. [2023-03-22T02:50:55.241Z] INFO: archiving logs to Nexus