Pull request #263 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f59931cb00464bda3f8f42fae1d216d23ad1921a+c4a62108a817389daed93061827783c9b25eff67 (f81cf90bd7fb454932d28eeda2601f0fccb4736c) 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-ssh2271510268857414615.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-ssh11125667903243927732.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-rest-go/branches/PR-263/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-rest-go/branches/PR-263/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9912607460462206566.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-ssh15917816267486070046.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-rest-go/branches/PR-263/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-rest-go/branches/PR-263/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4619382989211379007.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-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9972 in /w/workspace/gexfoundry_device-rest-go_PR-263 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-263 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4a62108a817389daed93061827783c9b25eff67 into PR head commit f59931cb00464bda3f8f42fae1d216d23ad1921a Merge succeeded, producing f59931cb00464bda3f8f42fae1d216d23ad1921a Checking out Revision f59931cb00464bda3f8f42fae1d216d23ad1921a (PR-263) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T21:41:05.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T21:41:05.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T21:41:05.641Z] ========================================================= [2023-03-13T21:41:05.641Z] EdgeX Global Pipelines Version Info [2023-03-13T21:41:05.641Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f f59931cb00464bda3f8f42fae1d216d23ad1921a # 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 c4a62108a817389daed93061827783c9b25eff67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f59931cb00464bda3f8f42fae1d216d23ad1921a # timeout=10 > git rev-list --no-walk 78bd049fecb299ebc8bf6f83fc9aaad8e7362922 # timeout=10 [2023-03-13T21:41:06.347Z] ------------------- [2023-03-13T21:41:06.347Z] stable info: [2023-03-13T21:41:06.347Z] ------------------- [2023-03-13T21:41:06.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T21:41:06.347Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T21:41:06.347Z] Message: update stable to v1.0.245 [2023-03-13T21:41:06.920Z] ------------------- [2023-03-13T21:41:06.920Z] experimental info: [2023-03-13T21:41:06.920Z] ------------------- [2023-03-13T21:41:06.920Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T21:41:06.921Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T21:41:06.921Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T21:41:07.143Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-13T21:41:07.157Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-13T21:41:07.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T21:41:07.177Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T21:41:07.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T21:41:07.194Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-13T21:41:07.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T21:41:07.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T21:41:07.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T21:41:07.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T21:41:07.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T21:41:07.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-13T21:41:07.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T21:41:07.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T21:41:07.335Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T21:41:07.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T21:41:07.365Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T21:41:07.376Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T21:41:07.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T21:41:07.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T21:41:07.421Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T21:41:07.437Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T21:41:07.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T21:41:07.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T21:41:07.477Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T21:41:07.491Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T21:41:07.503Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T21:41:07.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-263 [Pipeline] echo [2023-03-13T21:41:07.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-263 [Pipeline] echo [2023-03-13T21:41:07.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-263 [Pipeline] echo [2023-03-13T21:41:07.563Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f59931cb00464bda3f8f42fae1d216d23ad1921a [Pipeline] echo [2023-03-13T21:41:07.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f59931c [Pipeline] echo [2023-03-13T21:41:07.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T21:41:07.629Z] provisioning config files... [2023-03-13T21:41:07.643Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp/config17424459278108538734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:41:07.948Z] ---> docker-login.sh [2023-03-13T21:41:07.948Z] nexus3.edgexfoundry.org:10001 [2023-03-13T21:41:08.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:08.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:08.209Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:08.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:08.209Z] [2023-03-13T21:41:08.209Z] Login Succeeded [2023-03-13T21:41:08.209Z] nexus3.edgexfoundry.org:10002 [2023-03-13T21:41:08.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:08.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:08.469Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:08.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:08.469Z] [2023-03-13T21:41:08.469Z] Login Succeeded [2023-03-13T21:41:08.469Z] nexus3.edgexfoundry.org:10003 [2023-03-13T21:41:08.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:08.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:08.469Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:08.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:08.469Z] [2023-03-13T21:41:08.469Z] Login Succeeded [2023-03-13T21:41:08.469Z] nexus3.edgexfoundry.org:10004 [2023-03-13T21:41:08.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:08.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:08.730Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:08.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:08.730Z] [2023-03-13T21:41:08.730Z] Login Succeeded [2023-03-13T21:41:08.730Z] docker.io [2023-03-13T21:41:08.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:08.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:08.990Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:08.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:08.990Z] [2023-03-13T21:41:08.990Z] Login Succeeded [2023-03-13T21:41:08.990Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T21:41:09.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T21:41:09.398Z] + git rev-list -1 --merges f59931cb00464bda3f8f42fae1d216d23ad1921a~1..f59931cb00464bda3f8f42fae1d216d23ad1921a [Pipeline] echo [2023-03-13T21:41:09.445Z] -----------> git rev-list -1 --merges f59931cb00464bda3f8f42fae1d216d23ad1921a~1..f59931cb00464bda3f8f42fae1d216d23ad1921a f59931cb00464bda3f8f42fae1d216d23ad1921a [false] [Pipeline] sh [2023-03-13T21:41:09.732Z] + git log --format=format:%s -1 f59931cb00464bda3f8f42fae1d216d23ad1921a [Pipeline] echo [2023-03-13T21:41:09.748Z] ========================================================= [2023-03-13T21:41:09.748Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T21:41:09.748Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T21:41:10.087Z] + git log --format=format:%s -1 f59931cb00464bda3f8f42fae1d216d23ad1921a [Pipeline] echo [2023-03-13T21:41:10.100Z] [semverPrep] GIT_COMMIT: f59931cb00464bda3f8f42fae1d216d23ad1921a, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-13T21:41:10.108Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T21:41:10.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T21:41:10.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T21:41:10.474Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T21:41:10.474Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T21:41:10.474Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T21:41:10.474Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T21:41:10.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:41:10.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T21:41:10.879Z] [2023-03-13T21:41:10.879Z] 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-13T21:41:11.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T21:41:11.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T21:41:11.183Z] b85a868b505f: Pulling fs layer [2023-03-13T21:41:11.183Z] e2be974225ed: Pulling fs layer [2023-03-13T21:41:11.183Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T21:41:11.183Z] 988bab9f4d93: Pulling fs layer [2023-03-13T21:41:11.183Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T21:41:11.183Z] eaf3925da568: Pulling fs layer [2023-03-13T21:41:11.183Z] bab4dde63d76: Pulling fs layer [2023-03-13T21:41:11.183Z] bde34c3a00c8: Pulling fs layer [2023-03-13T21:41:11.183Z] b352a97aabf1: Pulling fs layer [2023-03-13T21:41:11.183Z] 4872d77fe225: Pulling fs layer [2023-03-13T21:41:11.183Z] 5851b861e8e6: Pulling fs layer [2023-03-13T21:41:11.183Z] bab4dde63d76: Waiting [2023-03-13T21:41:11.183Z] bde34c3a00c8: Waiting [2023-03-13T21:41:11.183Z] b352a97aabf1: Waiting [2023-03-13T21:41:11.183Z] 988bab9f4d93: Waiting [2023-03-13T21:41:11.183Z] 4872d77fe225: Waiting [2023-03-13T21:41:11.183Z] 1469e6f7b9e6: Waiting [2023-03-13T21:41:11.183Z] eaf3925da568: Waiting [2023-03-13T21:41:11.183Z] 5851b861e8e6: Waiting [2023-03-13T21:41:11.183Z] e2be974225ed: Download complete [2023-03-13T21:41:11.183Z] 988bab9f4d93: Verifying Checksum [2023-03-13T21:41:11.183Z] 988bab9f4d93: Download complete [2023-03-13T21:41:11.444Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T21:41:11.444Z] 1469e6f7b9e6: Download complete [2023-03-13T21:41:11.444Z] eaf3925da568: Download complete [2023-03-13T21:41:11.444Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T21:41:11.444Z] 339a4e72a1f5: Download complete [2023-03-13T21:41:11.444Z] bde34c3a00c8: Verifying Checksum [2023-03-13T21:41:11.444Z] bde34c3a00c8: Download complete [2023-03-13T21:41:11.444Z] b352a97aabf1: Download complete [2023-03-13T21:41:11.444Z] 4872d77fe225: Download complete [2023-03-13T21:41:11.444Z] 5851b861e8e6: Verifying Checksum [2023-03-13T21:41:11.444Z] 5851b861e8e6: Download complete [2023-03-13T21:41:11.444Z] b85a868b505f: Download complete [2023-03-13T21:41:11.702Z] bab4dde63d76: Verifying Checksum [2023-03-13T21:41:11.702Z] bab4dde63d76: Download complete [2023-03-13T21:41:12.639Z] b85a868b505f: Pull complete [2023-03-13T21:41:12.898Z] e2be974225ed: Pull complete [2023-03-13T21:41:13.470Z] 339a4e72a1f5: Pull complete [2023-03-13T21:41:13.470Z] 988bab9f4d93: Pull complete [2023-03-13T21:41:13.730Z] 1469e6f7b9e6: Pull complete [2023-03-13T21:41:13.730Z] eaf3925da568: Pull complete [2023-03-13T21:41:15.635Z] bab4dde63d76: Pull complete [2023-03-13T21:41:15.635Z] bde34c3a00c8: Pull complete [2023-03-13T21:41:15.635Z] b352a97aabf1: Pull complete [2023-03-13T21:41:15.896Z] 4872d77fe225: Pull complete [2023-03-13T21:41:15.896Z] 5851b861e8e6: Pull complete [2023-03-13T21:41:15.896Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T21:41:15.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T21:41:15.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:41:15.979Z] prd-ubuntu20.04-docker-8c-8g-9972 does not seem to be running inside a container [2023-03-13T21:41:16.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-263 -v /w/workspace/gexfoundry_device-rest-go_PR-263:/w/workspace/gexfoundry_device-rest-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-263@tmp:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T21:41:18.524Z] $ docker top 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d -eo pid,comm [2023-03-13T21:41:18.583Z] 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-13T21:41:18.583Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T21:41:18.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T21:41:18.622Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T21:41:18.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T21:41:18.759Z] $ docker exec 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d ssh-agent [2023-03-13T21:41:18.867Z] SSH_AUTH_SOCK=/tmp/ssh-sOxumEzfnaK9/agent.32 [2023-03-13T21:41:18.867Z] SSH_AGENT_PID=38 [2023-03-13T21:41:18.873Z] Running ssh-add (command line suppressed) [2023-03-13T21:41:18.978Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-263@tmp/private_key_16967843601079125937.key (/w/workspace/gexfoundry_device-rest-go_PR-263@tmp/private_key_16967843601079125937.key) [2023-03-13T21:41:18.990Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T21:41:19.286Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T21:41:19.302Z] $ docker exec --env ******** --env ******** 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d ssh-agent -k [2023-03-13T21:41:19.418Z] unset SSH_AUTH_SOCK; [2023-03-13T21:41:19.418Z] unset SSH_AGENT_PID; [2023-03-13T21:41:19.419Z] echo Agent pid 38 killed; [2023-03-13T21:41:19.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T21:41:19.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T21:41:19.452Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T21:41:19.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T21:41:19.574Z] $ docker exec 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d ssh-agent [2023-03-13T21:41:19.675Z] SSH_AUTH_SOCK=/tmp/ssh-8SdHBKryDWnH/agent.70 [2023-03-13T21:41:19.675Z] SSH_AGENT_PID=76 [2023-03-13T21:41:19.682Z] Running ssh-add (command line suppressed) [2023-03-13T21:41:19.790Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-263@tmp/private_key_10749206705793069071.key (/w/workspace/gexfoundry_device-rest-go_PR-263@tmp/private_key_10749206705793069071.key) [2023-03-13T21:41:19.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T21:41:20.096Z] + git semver init [2023-03-13T21:41:20.355Z] 2023-03-13 21:41:20,288 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T21:41:20.355Z] 2023-03-13 21:41:20,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-263/.semver [2023-03-13T21:41:20.356Z] 2023-03-13 21:41:20,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-263/.semver [2023-03-13T21:41:20.356Z] 2023-03-13 21:41:20,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-263/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-263, universal_newlines=False, shell=None, istream=None) [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,374 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-263/.git/info/exclude [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-263/.semver/PR-263 with force:False [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,375 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-263/.semver/PR-263 [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,378 [execute] INFO git cat-file --batch-check [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-263/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,385 [execute] INFO git cat-file --batch [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-263/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T21:41:21.737Z] 2023-03-13 21:41:21,391 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-263/.semver/PR-263 [2023-03-13T21:41:21.737Z] 0.0.0 [Pipeline] } [2023-03-13T21:41:21.751Z] $ docker exec --env ******** --env ******** 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d ssh-agent -k [2023-03-13T21:41:21.844Z] unset SSH_AUTH_SOCK; [2023-03-13T21:41:21.844Z] unset SSH_AGENT_PID; [2023-03-13T21:41:21.844Z] echo Agent pid 76 killed; [2023-03-13T21:41:21.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T21:41:22.151Z] + git semver [Pipeline] } [2023-03-13T21:41:22.432Z] $ docker stop --time=1 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d [2023-03-13T21:41:23.741Z] $ docker rm -f --volumes 45c5b2dc14f6f220fb07b074959b798b190228f8e799e312143926ebd2e1520d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T21:41:24.079Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T21:41:24.291Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T21:41:24.296Z] [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-13T21:41:24.424Z] provisioning config files... [2023-03-13T21:41:24.435Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp/config12495168217640182836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:41:24.732Z] ---> docker-login.sh [2023-03-13T21:41:24.732Z] nexus3.edgexfoundry.org:10001 [2023-03-13T21:41:24.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:24.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:24.732Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:24.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:24.732Z] [2023-03-13T21:41:24.732Z] Login Succeeded [2023-03-13T21:41:24.732Z] nexus3.edgexfoundry.org:10002 [2023-03-13T21:41:24.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:24.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:24.732Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:24.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:24.732Z] [2023-03-13T21:41:24.732Z] Login Succeeded [2023-03-13T21:41:24.732Z] nexus3.edgexfoundry.org:10003 [2023-03-13T21:41:24.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:24.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:24.990Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:24.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:24.990Z] [2023-03-13T21:41:24.990Z] Login Succeeded [2023-03-13T21:41:24.991Z] nexus3.edgexfoundry.org:10004 [2023-03-13T21:41:24.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:24.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:24.991Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:24.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:24.991Z] [2023-03-13T21:41:24.991Z] Login Succeeded [2023-03-13T21:41:24.991Z] docker.io [2023-03-13T21:41:25.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:41:25.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:41:25.250Z] Configure a credential helper to remove this warning. See [2023-03-13T21:41:25.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:41:25.250Z] [2023-03-13T21:41:25.250Z] Login Succeeded [2023-03-13T21:41:25.250Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T21:41:25.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T21:41:25.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:41:25.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:41:25.334Z] ========================================================= [2023-03-13T21:41:25.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-13T21:41:25.334Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:41:25.641Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T21:41:25.642Z] Sending build context to Docker daemon 10.84MB [2023-03-13T21:41:25.642Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T21:41:25.642Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T21:41:25.642Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T21:41:25.642Z] 63b65145d645: Pulling fs layer [2023-03-13T21:41:25.642Z] a2d21d5440eb: Pulling fs layer [2023-03-13T21:41:25.642Z] 935e6c44a52c: Pulling fs layer [2023-03-13T21:41:25.642Z] 94cc34f8dd06: Pulling fs layer [2023-03-13T21:41:25.642Z] 30dea6a524f1: Pulling fs layer [2023-03-13T21:41:25.642Z] a2aff8979fd8: Pulling fs layer [2023-03-13T21:41:25.642Z] 6808be2612f2: Pulling fs layer [2023-03-13T21:41:25.642Z] f25807f1079a: Pulling fs layer [2023-03-13T21:41:25.642Z] 30dea6a524f1: Waiting [2023-03-13T21:41:25.642Z] 94cc34f8dd06: Waiting [2023-03-13T21:41:25.642Z] 6808be2612f2: Waiting [2023-03-13T21:41:25.642Z] a2aff8979fd8: Waiting [2023-03-13T21:41:25.642Z] f25807f1079a: Waiting [2023-03-13T21:41:25.903Z] a2d21d5440eb: Verifying Checksum [2023-03-13T21:41:25.903Z] a2d21d5440eb: Download complete [2023-03-13T21:41:25.903Z] 94cc34f8dd06: Verifying Checksum [2023-03-13T21:41:25.903Z] 94cc34f8dd06: Download complete [2023-03-13T21:41:25.903Z] 30dea6a524f1: Download complete [2023-03-13T21:41:25.903Z] 63b65145d645: Verifying Checksum [2023-03-13T21:41:25.903Z] 63b65145d645: Download complete [2023-03-13T21:41:25.903Z] a2aff8979fd8: Verifying Checksum [2023-03-13T21:41:25.903Z] a2aff8979fd8: Download complete [2023-03-13T21:41:25.903Z] 63b65145d645: Pull complete [2023-03-13T21:41:26.168Z] a2d21d5440eb: Pull complete [2023-03-13T21:41:26.427Z] f25807f1079a: Verifying Checksum [2023-03-13T21:41:26.427Z] f25807f1079a: Download complete [2023-03-13T21:41:26.427Z] 935e6c44a52c: Download complete [2023-03-13T21:41:26.686Z] 6808be2612f2: Verifying Checksum [2023-03-13T21:41:26.686Z] 6808be2612f2: Download complete [2023-03-13T21:41:29.974Z] 935e6c44a52c: Pull complete [2023-03-13T21:41:29.974Z] 94cc34f8dd06: Pull complete [2023-03-13T21:41:30.238Z] 30dea6a524f1: Pull complete [2023-03-13T21:41:30.238Z] a2aff8979fd8: Pull complete [2023-03-13T21:41:32.790Z] 6808be2612f2: Pull complete [2023-03-13T21:41:33.356Z] f25807f1079a: Pull complete [2023-03-13T21:41:33.356Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-13T21:41:33.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-13T21:41:33.615Z] ---> 3b553350e43f [2023-03-13T21:41:33.615Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T21:41:36.154Z] ---> Running in 6d52ce96e5a7 [2023-03-13T21:41:36.154Z] Removing intermediate container 6d52ce96e5a7 [2023-03-13T21:41:36.154Z] ---> 73bca866ecbc [2023-03-13T21:41:36.154Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T21:41:36.154Z] ---> Running in 74d8b5ccabe1 [2023-03-13T21:41:36.412Z] Removing intermediate container 74d8b5ccabe1 [2023-03-13T21:41:36.412Z] ---> 8d7c4c497c66 [2023-03-13T21:41:36.412Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T21:41:36.412Z] ---> Running in dc0ce097dede [2023-03-13T21:41:36.412Z] Removing intermediate container dc0ce097dede [2023-03-13T21:41:36.412Z] ---> 95024a733e87 [2023-03-13T21:41:36.412Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T21:41:36.412Z] ---> Running in 31f67d36cd4c [2023-03-13T21:41:36.672Z] Removing intermediate container 31f67d36cd4c [2023-03-13T21:41:36.672Z] ---> 06ef991bdf1e [2023-03-13T21:41:36.672Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T21:41:36.672Z] ---> Running in 456f3058bcd0 [2023-03-13T21:41:36.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-13T21:41:37.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-13T21:41:37.448Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-13T21:41:37.448Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-13T21:41:37.448Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-13T21:41:37.448Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-13T21:41:37.448Z] Executing busybox-1.35.0-r29.trigger [2023-03-13T21:41:37.448Z] OK: 269 MiB in 57 packages [2023-03-13T21:41:38.015Z] Removing intermediate container 456f3058bcd0 [2023-03-13T21:41:38.015Z] ---> a08c2f717de1 [2023-03-13T21:41:38.015Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T21:41:38.015Z] ---> Running in a0695f28317b [2023-03-13T21:41:38.015Z] Removing intermediate container a0695f28317b [2023-03-13T21:41:38.015Z] ---> 660d70e07191 [2023-03-13T21:41:38.015Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T21:41:38.015Z] ---> b2ed61d11d99 [2023-03-13T21:41:38.015Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T21:41:38.015Z] ---> Running in a08ec959d88d [2023-03-13T21:41:39.394Z] Still waiting to schedule task [2023-03-13T21:41:39.394Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9967’ [2023-03-13T21:42:04.586Z] Removing intermediate container a08ec959d88d [2023-03-13T21:42:04.586Z] ---> e542c60c8277 [2023-03-13T21:42:04.586Z] Step 11/12 : COPY . . [2023-03-13T21:42:04.586Z] ---> 8d3607624265 [2023-03-13T21:42:04.586Z] Step 12/12 : RUN $MAKE [2023-03-13T21:42:04.586Z] ---> Running in 76e87649f6f7 [2023-03-13T21:42:04.586Z] noop [2023-03-13T21:42:04.586Z] Removing intermediate container 76e87649f6f7 [2023-03-13T21:42:04.586Z] ---> da69d1094b77 [2023-03-13T21:42:04.586Z] Successfully built da69d1094b77 [2023-03-13T21:42:04.586Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:42:04.903Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T21:42:04.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:42:04.973Z] prd-ubuntu20.04-docker-8c-8g-9972 does not seem to be running inside a container [2023-03-13T21:42:05.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-263 -v /w/workspace/gexfoundry_device-rest-go_PR-263:/w/workspace/gexfoundry_device-rest-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-263@tmp:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T21:42:05.343Z] $ docker top 9671f3831e7f4f9aabc41ed97c3ef455a749fa905392179468430f20de50cc10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:42:05.688Z] + go version [2023-03-13T21:42:05.688Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-13T21:42:05.701Z] $ docker stop --time=1 9671f3831e7f4f9aabc41ed97c3ef455a749fa905392179468430f20de50cc10 [2023-03-13T21:42:06.956Z] $ docker rm -f --volumes 9671f3831e7f4f9aabc41ed97c3ef455a749fa905392179468430f20de50cc10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:42:07.356Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T21:42:07.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:42:07.432Z] prd-ubuntu20.04-docker-8c-8g-9972 does not seem to be running inside a container [2023-03-13T21:42:07.461Z] $ 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-rest-go_PR-263 -v /w/workspace/gexfoundry_device-rest-go_PR-263:/w/workspace/gexfoundry_device-rest-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-263@tmp:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T21:42:07.770Z] $ docker top 225f01bfa41f40cd8a322ff193d0ff488686edd57e61151a46d3ff0c223f8a80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:42:08.110Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-263 [Pipeline] fileExists [Pipeline] sh [2023-03-13T21:42:08.406Z] + make test [2023-03-13T21:42:08.406Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T21:42:13.682Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T21:42:23.670Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T21:42:23.670Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T21:42:23.670Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.1% of statements [2023-03-13T21:42:23.670Z] FAIL [2023-03-13T21:42:23.670Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-13T21:42:23.685Z] $ docker stop --time=1 225f01bfa41f40cd8a322ff193d0ff488686edd57e61151a46d3ff0c223f8a80 [2023-03-13T21:42:27.001Z] $ docker rm -f --volumes 225f01bfa41f40cd8a322ff193d0ff488686edd57e61151a46d3ff0c223f8a80 [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-13T21:42:27.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:42:27.574Z] [2023-03-13T21:42:27.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:42:27.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:42:27.873Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T21:42:27.873Z] 5eb5b503b376: Pulling fs layer [2023-03-13T21:42:27.873Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T21:42:27.873Z] ec43610c2a17: Pulling fs layer [2023-03-13T21:42:27.873Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T21:42:27.873Z] 33b1e0a273af: Pulling fs layer [2023-03-13T21:42:27.873Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T21:42:27.873Z] 2f39f015ded8: Pulling fs layer [2023-03-13T21:42:27.873Z] 3a2ae6a8a46f: Waiting [2023-03-13T21:42:27.873Z] 33b1e0a273af: Waiting [2023-03-13T21:42:28.133Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T21:42:28.133Z] 5c69ac0246d0: Download complete [2023-03-13T21:42:28.133Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T21:42:28.133Z] 3a2ae6a8a46f: Download complete [2023-03-13T21:42:28.133Z] 33b1e0a273af: Verifying Checksum [2023-03-13T21:42:28.133Z] 33b1e0a273af: Download complete [2023-03-13T21:42:28.133Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T21:42:28.133Z] 5d3b04190fa2: Download complete [2023-03-13T21:42:28.133Z] ec43610c2a17: Verifying Checksum [2023-03-13T21:42:28.133Z] ec43610c2a17: Download complete [2023-03-13T21:42:28.402Z] 5eb5b503b376: Verifying Checksum [2023-03-13T21:42:28.402Z] 5eb5b503b376: Download complete [2023-03-13T21:42:28.970Z] 2f39f015ded8: Verifying Checksum [2023-03-13T21:42:28.970Z] 2f39f015ded8: Download complete [2023-03-13T21:42:29.535Z] 5eb5b503b376: Pull complete [2023-03-13T21:42:29.793Z] 5c69ac0246d0: Pull complete [2023-03-13T21:42:30.059Z] ec43610c2a17: Pull complete [2023-03-13T21:42:30.317Z] 3a2ae6a8a46f: Pull complete [2023-03-13T21:42:30.317Z] 33b1e0a273af: Pull complete [2023-03-13T21:42:30.575Z] 5d3b04190fa2: Pull complete [2023-03-13T21:42:34.782Z] 2f39f015ded8: Pull complete [2023-03-13T21:42:34.782Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T21:42:34.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:42:34.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:42:34.865Z] prd-ubuntu20.04-docker-8c-8g-9972 does not seem to be running inside a container [2023-03-13T21:42:34.898Z] $ 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-rest-go_PR-263 -v /w/workspace/gexfoundry_device-rest-go_PR-263:/w/workspace/gexfoundry_device-rest-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-263@tmp:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T21:42:39.120Z] $ docker top d250ff67534c3ae18a9f72ed29f754d0ce2c7d21f1b1a2980d0926e995e071e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:42:39.540Z] ---> job-cost.sh [2023-03-13T21:42:39.540Z] lf-activate-venv: SKIPPING [2023-03-13T21:42:39.540Z] INFO: No Stack... [2023-03-13T21:42:39.826Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T21:42:40.086Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T21:42:40.375Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-263/archives/cost.csv [2023-03-13T21:42:40.375Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T21:42:40.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [2023-03-13T21:42:40.398Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] did not exist. Created. [2023-03-13T21:42:40.398Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T21:42:40.701Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T21:42:40.737Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T21:42:40.746Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T21:42:40.764Z] $ docker stop --time=1 d250ff67534c3ae18a9f72ed29f754d0ce2c7d21f1b1a2980d0926e995e071e7 [2023-03-13T21:42:41.926Z] $ docker rm -f --volumes d250ff67534c3ae18a9f72ed29f754d0ce2c7d21f1b1a2980d0926e995e071e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T21:42:42.022Z] Failed in branch amd64 [2023-03-13T21:45:11.461Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9973 in /w/workspace/gexfoundry_device-rest-go_PR-263 [Pipeline] { [Pipeline] ws [2023-03-13T21:45:11.474Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-03-13T21:45:11.507Z] The recommended git tool is: git [2023-03-13T21:45:17.588Z] using credential edgex-jenkins-ssh [2023-03-13T21:45:17.616Z] Cloning the remote Git repository [2023-03-13T21:45:17.674Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:45:17.766Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-03-13T21:45:17.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:45:17.960Z] > git --version # timeout=10 [2023-03-13T21:45:17.981Z] > git --version # 'git version 2.25.1' [2023-03-13T21:45:17.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:45:18.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T21:45:20.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T21:45:20.170Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T21:45:21.712Z] Merging remotes/origin/main commit c4a62108a817389daed93061827783c9b25eff67 into PR head commit f59931cb00464bda3f8f42fae1d216d23ad1921a [2023-03-13T21:45:21.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-13T21:45:21.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-13T21:45:21.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:45:21.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T21:45:21.737Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T21:45:21.761Z] > git checkout -f f59931cb00464bda3f8f42fae1d216d23ad1921a # timeout=10 [2023-03-13T21:45:21.981Z] Merge succeeded, producing f59931cb00464bda3f8f42fae1d216d23ad1921a [2023-03-13T21:45:21.981Z] Checking out Revision f59931cb00464bda3f8f42fae1d216d23ad1921a (PR-263) [2023-03-13T21:45:22.525Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T21:45:21.862Z] > git remote # timeout=10 [2023-03-13T21:45:21.882Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T21:45:21.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T21:45:21.931Z] > git merge c4a62108a817389daed93061827783c9b25eff67 # timeout=10 [2023-03-13T21:45:21.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T21:45:21.991Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T21:45:22.010Z] > git checkout -f f59931cb00464bda3f8f42fae1d216d23ad1921a # timeout=10 [2023-03-13T21:45:23.652Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T21:45:23.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T21:45:23.652Z] Dload Upload Total Spent Left Speed [2023-03-13T21:45:23.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 38993 0 --:--:-- --:--:-- --:--:-- 39113 [Pipeline] sh [2023-03-13T21:45:24.595Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T21:45:24.930Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T21:45:24.930Z] + sudo tee /etc/docker/daemon.new [2023-03-13T21:45:24.930Z] { [2023-03-13T21:45:24.930Z] "registry-mirrors": [ [2023-03-13T21:45:24.930Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T21:45:24.930Z] ], [2023-03-13T21:45:24.930Z] "bip": "10.250.0.254/24", [2023-03-13T21:45:24.930Z] "hosts": [ [2023-03-13T21:45:24.930Z] "tcp://0.0.0.0:5555", [2023-03-13T21:45:24.930Z] "unix:///var/run/docker.sock" [2023-03-13T21:45:24.930Z] ], [2023-03-13T21:45:24.930Z] "mtu": 1458, [2023-03-13T21:45:24.930Z] "selinux-enabled": true, [2023-03-13T21:45:24.930Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T21:45:24.930Z] } [Pipeline] sh [2023-03-13T21:45:25.265Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T21:45:25.620Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T21:45:43.955Z] provisioning config files... [2023-03-13T21:45:43.987Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4857162377471000665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:45:44.346Z] ---> docker-login.sh [2023-03-13T21:45:44.347Z] nexus3.edgexfoundry.org:10001 [2023-03-13T21:45:44.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:45:44.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:45:44.940Z] Configure a credential helper to remove this warning. See [2023-03-13T21:45:44.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:45:44.940Z] [2023-03-13T21:45:44.940Z] Login Succeeded [2023-03-13T21:45:44.940Z] nexus3.edgexfoundry.org:10002 [2023-03-13T21:45:45.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:45:45.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:45:45.492Z] Configure a credential helper to remove this warning. See [2023-03-13T21:45:45.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:45:45.492Z] [2023-03-13T21:45:45.492Z] Login Succeeded [2023-03-13T21:45:45.492Z] nexus3.edgexfoundry.org:10003 [2023-03-13T21:45:45.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:45:45.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:45:45.764Z] Configure a credential helper to remove this warning. See [2023-03-13T21:45:45.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:45:45.764Z] [2023-03-13T21:45:45.764Z] Login Succeeded [2023-03-13T21:45:45.764Z] nexus3.edgexfoundry.org:10004 [2023-03-13T21:45:46.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:45:46.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:45:46.305Z] Configure a credential helper to remove this warning. See [2023-03-13T21:45:46.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:45:46.306Z] [2023-03-13T21:45:46.306Z] Login Succeeded [2023-03-13T21:45:46.306Z] docker.io [2023-03-13T21:45:46.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T21:45:46.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T21:45:46.844Z] Configure a credential helper to remove this warning. See [2023-03-13T21:45:46.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T21:45:46.844Z] [2023-03-13T21:45:46.844Z] Login Succeeded [2023-03-13T21:45:46.844Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T21:45:46.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T21:45:47.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:45:47.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T21:45:47.203Z] ========================================================= [2023-03-13T21:45:47.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-13T21:45:47.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:45:47.570Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T21:45:47.570Z] Sending build context to Docker daemon 138.8kB [2023-03-13T21:45:47.842Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T21:45:47.842Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T21:45:48.115Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T21:45:48.115Z] af6eaf76a39c: Pulling fs layer [2023-03-13T21:45:48.115Z] 55522c791124: Pulling fs layer [2023-03-13T21:45:48.115Z] ce5c4a1c91eb: Pulling fs layer [2023-03-13T21:45:48.115Z] 169dfbe0d373: Pulling fs layer [2023-03-13T21:45:48.115Z] e1ff8fa3b103: Pulling fs layer [2023-03-13T21:45:48.115Z] 52ebb69f0ebf: Pulling fs layer [2023-03-13T21:45:48.115Z] 5abe8eddf0d5: Pulling fs layer [2023-03-13T21:45:48.115Z] e1ff8fa3b103: Waiting [2023-03-13T21:45:48.115Z] 52ebb69f0ebf: Waiting [2023-03-13T21:45:48.115Z] 5abe8eddf0d5: Waiting [2023-03-13T21:45:48.116Z] 169dfbe0d373: Waiting [2023-03-13T21:45:48.116Z] 55522c791124: Verifying Checksum [2023-03-13T21:45:48.116Z] 55522c791124: Download complete [2023-03-13T21:45:48.116Z] 169dfbe0d373: Verifying Checksum [2023-03-13T21:45:48.116Z] 169dfbe0d373: Download complete [2023-03-13T21:45:48.116Z] e1ff8fa3b103: Verifying Checksum [2023-03-13T21:45:48.116Z] e1ff8fa3b103: Download complete [2023-03-13T21:45:48.116Z] af6eaf76a39c: Verifying Checksum [2023-03-13T21:45:48.116Z] af6eaf76a39c: Download complete [2023-03-13T21:45:49.099Z] af6eaf76a39c: Pull complete [2023-03-13T21:45:49.373Z] 5abe8eddf0d5: Verifying Checksum [2023-03-13T21:45:49.373Z] 5abe8eddf0d5: Download complete [2023-03-13T21:45:50.794Z] ce5c4a1c91eb: Download complete [2023-03-13T21:45:50.794Z] 52ebb69f0ebf: Verifying Checksum [2023-03-13T21:45:51.382Z] 55522c791124: Pull complete [2023-03-13T21:46:03.725Z] ce5c4a1c91eb: Pull complete [2023-03-13T21:46:03.725Z] 169dfbe0d373: Pull complete [2023-03-13T21:46:03.725Z] e1ff8fa3b103: Pull complete [2023-03-13T21:46:10.411Z] 52ebb69f0ebf: Pull complete [2023-03-13T21:46:12.382Z] 5abe8eddf0d5: Pull complete [2023-03-13T21:46:12.382Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-13T21:46:12.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-13T21:46:12.382Z] ---> 6cb57ee374ae [2023-03-13T21:46:12.382Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T21:46:14.380Z] ---> Running in 99e812181057 [2023-03-13T21:46:14.380Z] Removing intermediate container 99e812181057 [2023-03-13T21:46:14.380Z] ---> b43027f12d56 [2023-03-13T21:46:14.380Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T21:46:14.651Z] ---> Running in 47fb9780fd99 [2023-03-13T21:46:14.920Z] Removing intermediate container 47fb9780fd99 [2023-03-13T21:46:14.920Z] ---> 93097dd44ff3 [2023-03-13T21:46:14.920Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T21:46:14.920Z] ---> Running in fca0983c90bc [2023-03-13T21:46:15.188Z] Removing intermediate container fca0983c90bc [2023-03-13T21:46:15.188Z] ---> 58abc88bbee5 [2023-03-13T21:46:15.188Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T21:46:15.459Z] ---> Running in 34b4cea039f3 [2023-03-13T21:46:15.730Z] Removing intermediate container 34b4cea039f3 [2023-03-13T21:46:15.730Z] ---> e23e330ac7af [2023-03-13T21:46:15.730Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T21:46:15.730Z] ---> Running in e8af20df879a [2023-03-13T21:46:17.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-13T21:46:17.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-13T21:46:18.700Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-13T21:46:18.700Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-13T21:46:18.700Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-13T21:46:18.971Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-13T21:46:18.971Z] Executing busybox-1.35.0-r29.trigger [2023-03-13T21:46:18.971Z] OK: 268 MiB in 57 packages [2023-03-13T21:46:19.937Z] Removing intermediate container e8af20df879a [2023-03-13T21:46:19.937Z] ---> 9952e51ceaee [2023-03-13T21:46:19.937Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-13T21:46:20.222Z] ---> Running in 2af6d65ee8d8 [2023-03-13T21:46:20.493Z] Removing intermediate container 2af6d65ee8d8 [2023-03-13T21:46:20.493Z] ---> cfcee101c335 [2023-03-13T21:46:20.493Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T21:46:21.089Z] ---> 9917fb985c6e [2023-03-13T21:46:21.090Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T21:46:21.090Z] ---> Running in 108cedf82da2 [2023-03-13T21:47:29.000Z] Removing intermediate container 108cedf82da2 [2023-03-13T21:47:29.000Z] ---> f2c69777d942 [2023-03-13T21:47:29.000Z] Step 11/12 : COPY . . [2023-03-13T21:47:29.000Z] ---> 52f1a9ad9fd7 [2023-03-13T21:47:29.000Z] Step 12/12 : RUN $MAKE [2023-03-13T21:47:29.000Z] ---> Running in 454842fb2c4a [2023-03-13T21:47:29.000Z] noop [2023-03-13T21:47:29.000Z] Removing intermediate container 454842fb2c4a [2023-03-13T21:47:29.000Z] ---> c61bfe6951bc [2023-03-13T21:47:29.000Z] Successfully built c61bfe6951bc [2023-03-13T21:47:29.000Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:47:29.363Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T21:47:29.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:47:29.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-9973 does not seem to be running inside a container [2023-03-13T21:47:29.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T21:47:30.922Z] $ docker top 9cc5e57b9058ca43f01cf4ddf8a6fab6c2274bac68c22457eb6a8631dea5622a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:47:31.775Z] + go version [2023-03-13T21:47:31.776Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-13T21:47:31.800Z] $ docker stop --time=1 9cc5e57b9058ca43f01cf4ddf8a6fab6c2274bac68c22457eb6a8631dea5622a [2023-03-13T21:47:33.463Z] $ docker rm -f --volumes 9cc5e57b9058ca43f01cf4ddf8a6fab6c2274bac68c22457eb6a8631dea5622a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:47:34.057Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T21:47:34.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:47:34.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-9973 does not seem to be running inside a container [2023-03-13T21:47:34.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T21:47:36.863Z] $ docker top 0c6a5f8d2438b20b7dda99207c4e20912c138f9de0c94c3cce711c2d215b14ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:47:37.710Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-13T21:47:38.375Z] + make test [2023-03-13T21:47:38.376Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T21:48:17.287Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-13T21:50:08.958Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T21:50:08.958Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T21:50:23.988Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 33.1% of statements [2023-03-13T21:50:23.988Z] FAIL [2023-03-13T21:50:23.988Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-13T21:50:24.012Z] $ docker stop --time=1 0c6a5f8d2438b20b7dda99207c4e20912c138f9de0c94c3cce711c2d215b14ae [2023-03-13T21:50:26.101Z] $ docker rm -f --volumes 0c6a5f8d2438b20b7dda99207c4e20912c138f9de0c94c3cce711c2d215b14ae [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-13T21:50:27.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:50:27.881Z] [2023-03-13T21:50:27.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:50:28.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:50:28.535Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T21:50:28.535Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T21:50:28.535Z] 04944245beec: Pulling fs layer [2023-03-13T21:50:28.535Z] 699f458cf7ca: Pulling fs layer [2023-03-13T21:50:28.535Z] 765212b225bb: Pulling fs layer [2023-03-13T21:50:28.535Z] f23df028b6ca: Pulling fs layer [2023-03-13T21:50:28.535Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T21:50:28.535Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T21:50:28.535Z] 765212b225bb: Waiting [2023-03-13T21:50:28.535Z] f23df028b6ca: Waiting [2023-03-13T21:50:28.535Z] d65c8cfc05b1: Waiting [2023-03-13T21:50:28.535Z] 2437ff75d9bd: Waiting [2023-03-13T21:50:28.535Z] 04944245beec: Verifying Checksum [2023-03-13T21:50:28.535Z] 04944245beec: Download complete [2023-03-13T21:50:28.535Z] 765212b225bb: Download complete [2023-03-13T21:50:28.809Z] f23df028b6ca: Verifying Checksum [2023-03-13T21:50:28.809Z] f23df028b6ca: Download complete [2023-03-13T21:50:28.809Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T21:50:28.809Z] d65c8cfc05b1: Download complete [2023-03-13T21:50:29.398Z] 699f458cf7ca: Verifying Checksum [2023-03-13T21:50:29.398Z] 699f458cf7ca: Download complete [2023-03-13T21:50:30.812Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T21:50:30.812Z] 8998bd30e6a1: Download complete [2023-03-13T21:50:33.393Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T21:50:33.393Z] 2437ff75d9bd: Download complete [2023-03-13T21:50:36.006Z] 8998bd30e6a1: Pull complete [2023-03-13T21:50:36.591Z] 04944245beec: Pull complete [2023-03-13T21:50:38.013Z] 699f458cf7ca: Pull complete [2023-03-13T21:50:38.280Z] 765212b225bb: Pull complete [2023-03-13T21:50:39.240Z] f23df028b6ca: Pull complete [2023-03-13T21:50:39.508Z] d65c8cfc05b1: Pull complete [2023-03-13T21:50:51.823Z] 2437ff75d9bd: Pull complete [2023-03-13T21:50:51.823Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T21:50:51.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T21:50:51.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:50:52.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-9973 does not seem to be running inside a container [2023-03-13T21:50:52.096Z] $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T21:50:54.895Z] $ docker top fbeaf3c22a0a8b898c6268186fe7d8c50b8fe2f901512a27058dbe4b13fe4f32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:50:55.402Z] ---> job-cost.sh [2023-03-13T21:50:55.668Z] lf-activate-venv: SKIPPING [2023-03-13T21:50:55.668Z] INFO: No Stack... [2023-03-13T21:50:55.934Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T21:50:56.894Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T21:50:57.539Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-03-13T21:50:57.539Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T21:50:57.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [2023-03-13T21:50:57.611Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] did not exist. Created. [2023-03-13T21:50:57.611Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T21:50:57.948Z] /w/workspace/device-rest-go/2@tmp/durable-dbf6b3f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T21:50:58.284Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T21:50:58.312Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T21:50:58.768Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T21:50:58.776Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-263-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T21:50:58.797Z] $ docker stop --time=1 fbeaf3c22a0a8b898c6268186fe7d8c50b8fe2f901512a27058dbe4b13fe4f32 [2023-03-13T21:51:01.025Z] $ docker rm -f --volumes fbeaf3c22a0a8b898c6268186fe7d8c50b8fe2f901512a27058dbe4b13fe4f32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T21:51:01.294Z] 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-13T21:51:01.986Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-263/archives ] [2023-03-13T21:51:01.986Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-263/archives [2023-03-13T21:51:01.986Z] total 16 [2023-03-13T21:51:01.986Z] drwxr-xr-x 3 root root 4096 Mar 13 21:42 . [2023-03-13T21:51:01.986Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 21:42 .. [2023-03-13T21:51:01.986Z] drwxr-xr-x 2 root root 4096 Mar 13 21:42 cost [2023-03-13T21:51:01.986Z] -rw-r--r-- 1 root root 86 Mar 13 21:42 cost.csv [2023-03-13T21:51:01.986Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-263/archives [2023-03-13T21:51:01.986Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-263/archives [2023-03-13T21:51:01.986Z] total 16 [2023-03-13T21:51:01.986Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 21:42 . [2023-03-13T21:51:01.986Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 21:42 .. [2023-03-13T21:51:01.986Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 21:42 cost [2023-03-13T21:51:01.986Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 21:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:02.286Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:03.153Z] ---> package-listing.sh [2023-03-13T21:51:03.153Z] ++ facter osfamily [2023-03-13T21:51:03.153Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T21:51:03.412Z] + OS_FAMILY=debian [2023-03-13T21:51:03.412Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-263 [2023-03-13T21:51:03.412Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T21:51:03.412Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T21:51:03.412Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T21:51:03.412Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T21:51:03.412Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-263 ']' [2023-03-13T21:51:03.412Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T21:51:03.412Z] + case "${OS_FAMILY}" in [2023-03-13T21:51:03.412Z] + dpkg -l [2023-03-13T21:51:03.412Z] + grep '^ii' [2023-03-13T21:51:03.412Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T21:51:03.412Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T21:51:03.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T21:51:03.412Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-263 ']' [2023-03-13T21:51:03.412Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-263/archives/ [2023-03-13T21:51:03.412Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-263/archives/ [Pipeline] echo [2023-03-13T21:51:03.427Z] 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-rest-go_PR-263/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T21:51:03.703Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T21:51:04.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T21:51:04.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T21:51:04.344Z] prd-ubuntu20.04-docker-8c-8g-9972 does not seem to be running inside a container [2023-03-13T21:51:04.372Z] $ 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-rest-go_PR-263/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-rest-go_PR-263 -v /w/workspace/gexfoundry_device-rest-go_PR-263:/w/workspace/gexfoundry_device-rest-go_PR-263:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-263@tmp:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T21:51:04.590Z] $ docker top 9dd5740ef4fdc38f904d397b563b7c7486c627db483ec38defd5461105e08d05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T21:51:04.944Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T21:51:05.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T21:51:05.513Z] + ls /var/log/sa-host [2023-03-13T21:51:05.513Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T21:51:05.652Z] provisioning config files... [2023-03-13T21:51:05.659Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-263@tmp/config2381735353795181736tmp [Pipeline] { [Pipeline] echo [2023-03-13T21:51:05.669Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:05.952Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T21:51:05.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:06.287Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T21:51:06.295Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:06.584Z] ---> sudo-logs.sh [2023-03-13T21:51:06.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T21:51:06.606Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:06.887Z] ---> job-cost.sh [2023-03-13T21:51:06.887Z] lf-activate-venv: SKIPPING [2023-03-13T21:51:06.887Z] DEBUG: total: 0.2199999988079071 [2023-03-13T21:51:06.887Z] INFO: Retrieving Stack Cost... [2023-03-13T21:51:07.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T21:51:07.713Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T21:51:07.725Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T21:51:08.005Z] ---> logs-deploy.sh [2023-03-13T21:51:08.005Z] lf-activate-venv: SKIPPING [2023-03-13T21:51:08.005Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-263/2 [2023-03-13T21:51:08.005Z] INFO: archiving workspace using pattern(s): [2023-03-13T21:51:08.942Z] Archives upload complete. [2023-03-13T21:51:08.942Z] INFO: archiving logs to Nexus