Pull request #522 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12641e8a2183d4091022cfdcbce5d094da0a8b4f+14341be0e00f90cb93f09a8fe34181eba0d3b045 (0a82f115eec4461d4a9989474ac58f60d5d9a380) 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-ssh2992000558017424779.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16764123032975111804.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-522/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-mqtt-go/branches/PR-522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3657751320743202204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2694718042770080012.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-mqtt-go/branches/PR-522/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-mqtt-go/branches/PR-522/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15576750614456863738.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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt 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-9939 in /w/workspace/gexfoundry_device-mqtt-go_PR-522 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-522 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 14341be0e00f90cb93f09a8fe34181eba0d3b045 into PR head commit 12641e8a2183d4091022cfdcbce5d094da0a8b4f Merge succeeded, producing 12641e8a2183d4091022cfdcbce5d094da0a8b4f Checking out Revision 12641e8a2183d4091022cfdcbce5d094da0a8b4f (PR-522) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/522/head:refs/remotes/origin/PR-522 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12641e8a2183d4091022cfdcbce5d094da0a8b4f # 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 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12641e8a2183d4091022cfdcbce5d094da0a8b4f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T18:49:29.386Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T18:49:29.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T18:49:29.474Z] ========================================================= [2023-03-13T18:49:29.474Z] EdgeX Global Pipelines Version Info [2023-03-13T18:49:29.474Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0aa8ddbd7bd6da4c5451b6feba4b65739ad754a7 # timeout=10 [2023-03-13T18:49:30.175Z] ------------------- [2023-03-13T18:49:30.175Z] stable info: [2023-03-13T18:49:30.175Z] ------------------- [2023-03-13T18:49:30.175Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T18:49:30.175Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T18:49:30.175Z] Message: update stable to v1.0.245 [2023-03-13T18:49:30.745Z] ------------------- [2023-03-13T18:49:30.745Z] experimental info: [2023-03-13T18:49:30.745Z] ------------------- [2023-03-13T18:49:30.745Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T18:49:30.745Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-13T18:49:30.745Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T18:49:30.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-13T18:49:30.955Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-13T18:49:30.967Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T18:49:30.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T18:49:30.994Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T18:49:31.006Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T18:49:31.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T18:49:31.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T18:49:31.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T18:49:31.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T18:49:31.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T18:49:31.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-13T18:49:31.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T18:49:31.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T18:49:31.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T18:49:31.150Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T18:49:31.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:49:31.184Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T18:49:31.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T18:49:31.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T18:49:31.230Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T18:49:31.243Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T18:49:31.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T18:49:31.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T18:49:31.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T18:49:31.309Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T18:49:31.327Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T18:49:31.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-522 [Pipeline] echo [2023-03-13T18:49:31.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-522 [Pipeline] echo [2023-03-13T18:49:31.371Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-522 [Pipeline] echo [2023-03-13T18:49:31.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12641e8a2183d4091022cfdcbce5d094da0a8b4f [Pipeline] echo [2023-03-13T18:49:31.396Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12641e8 [Pipeline] echo [2023-03-13T18:49:31.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:49:31.452Z] provisioning config files... [2023-03-13T18:49:31.469Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/config8566742183200942372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:49:31.779Z] ---> docker-login.sh [2023-03-13T18:49:31.779Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:49:32.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:32.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:32.041Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:32.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:32.041Z] [2023-03-13T18:49:32.041Z] Login Succeeded [2023-03-13T18:49:32.041Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:49:32.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:32.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:32.301Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:32.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:32.301Z] [2023-03-13T18:49:32.301Z] Login Succeeded [2023-03-13T18:49:32.301Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:49:32.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:32.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:32.301Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:32.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:32.301Z] [2023-03-13T18:49:32.301Z] Login Succeeded [2023-03-13T18:49:32.301Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:49:32.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:32.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:32.561Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:32.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:32.561Z] [2023-03-13T18:49:32.561Z] Login Succeeded [2023-03-13T18:49:32.561Z] docker.io [2023-03-13T18:49:32.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:32.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:32.820Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:32.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:32.820Z] [2023-03-13T18:49:32.820Z] Login Succeeded [2023-03-13T18:49:32.820Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:49:32.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T18:49:33.211Z] + git rev-list -1 --merges 12641e8a2183d4091022cfdcbce5d094da0a8b4f~1..12641e8a2183d4091022cfdcbce5d094da0a8b4f [Pipeline] echo [2023-03-13T18:49:33.274Z] -----------> git rev-list -1 --merges 12641e8a2183d4091022cfdcbce5d094da0a8b4f~1..12641e8a2183d4091022cfdcbce5d094da0a8b4f 12641e8a2183d4091022cfdcbce5d094da0a8b4f [false] [Pipeline] sh [2023-03-13T18:49:33.563Z] + git log --format=format:%s -1 12641e8a2183d4091022cfdcbce5d094da0a8b4f [Pipeline] echo [2023-03-13T18:49:33.579Z] ========================================================= [2023-03-13T18:49:33.579Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T18:49:33.579Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:49:33.895Z] + git log --format=format:%s -1 12641e8a2183d4091022cfdcbce5d094da0a8b4f [Pipeline] echo [2023-03-13T18:49:33.908Z] [semverPrep] GIT_COMMIT: 12641e8a2183d4091022cfdcbce5d094da0a8b4f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-13T18:49:33.917Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T18:49:34.269Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T18:49:34.269Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T18:49:34.269Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T18:49:34.269Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T18:49:34.269Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T18:49:34.269Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T18:49:34.269Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:49:34.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:49:34.625Z] [2023-03-13T18:49:34.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:49:34.923Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:49:34.923Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T18:49:34.923Z] b85a868b505f: Pulling fs layer [2023-03-13T18:49:34.923Z] e2be974225ed: Pulling fs layer [2023-03-13T18:49:34.923Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T18:49:34.923Z] 988bab9f4d93: Pulling fs layer [2023-03-13T18:49:34.923Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T18:49:34.923Z] eaf3925da568: Pulling fs layer [2023-03-13T18:49:34.923Z] bab4dde63d76: Pulling fs layer [2023-03-13T18:49:34.923Z] bde34c3a00c8: Pulling fs layer [2023-03-13T18:49:34.923Z] b352a97aabf1: Pulling fs layer [2023-03-13T18:49:34.923Z] 4872d77fe225: Pulling fs layer [2023-03-13T18:49:34.923Z] 5851b861e8e6: Pulling fs layer [2023-03-13T18:49:34.923Z] 988bab9f4d93: Waiting [2023-03-13T18:49:34.923Z] b352a97aabf1: Waiting [2023-03-13T18:49:34.923Z] eaf3925da568: Waiting [2023-03-13T18:49:34.923Z] 5851b861e8e6: Waiting [2023-03-13T18:49:34.923Z] bde34c3a00c8: Waiting [2023-03-13T18:49:34.923Z] e2be974225ed: Download complete [2023-03-13T18:49:34.923Z] 988bab9f4d93: Verifying Checksum [2023-03-13T18:49:34.923Z] 988bab9f4d93: Download complete [2023-03-13T18:49:35.184Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T18:49:35.184Z] 339a4e72a1f5: Download complete [2023-03-13T18:49:35.184Z] eaf3925da568: Verifying Checksum [2023-03-13T18:49:35.184Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T18:49:35.184Z] 1469e6f7b9e6: Download complete [2023-03-13T18:49:35.184Z] bde34c3a00c8: Download complete [2023-03-13T18:49:35.184Z] b352a97aabf1: Download complete [2023-03-13T18:49:35.184Z] b85a868b505f: Verifying Checksum [2023-03-13T18:49:35.184Z] b85a868b505f: Download complete [2023-03-13T18:49:35.184Z] 4872d77fe225: Verifying Checksum [2023-03-13T18:49:35.184Z] 4872d77fe225: Download complete [2023-03-13T18:49:35.184Z] 5851b861e8e6: Verifying Checksum [2023-03-13T18:49:35.184Z] 5851b861e8e6: Download complete [2023-03-13T18:49:35.442Z] bab4dde63d76: Verifying Checksum [2023-03-13T18:49:35.442Z] bab4dde63d76: Download complete [2023-03-13T18:49:36.819Z] b85a868b505f: Pull complete [2023-03-13T18:49:36.819Z] e2be974225ed: Pull complete [2023-03-13T18:49:37.079Z] 339a4e72a1f5: Pull complete [2023-03-13T18:49:37.337Z] 988bab9f4d93: Pull complete [2023-03-13T18:49:37.597Z] 1469e6f7b9e6: Pull complete [2023-03-13T18:49:37.597Z] eaf3925da568: Pull complete [2023-03-13T18:49:39.499Z] bab4dde63d76: Pull complete [2023-03-13T18:49:39.761Z] bde34c3a00c8: Pull complete [2023-03-13T18:49:39.761Z] b352a97aabf1: Pull complete [2023-03-13T18:49:40.019Z] 4872d77fe225: Pull complete [2023-03-13T18:49:40.019Z] 5851b861e8e6: Pull complete [2023-03-13T18:49:40.019Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T18:49:40.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T18:49:40.020Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:49:40.105Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-03-13T18:49:40.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-522 -v /w/workspace/gexfoundry_device-mqtt-go_PR-522:/w/workspace/gexfoundry_device-mqtt-go_PR-522:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T18:49:41.461Z] $ docker top 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 -eo pid,comm [2023-03-13T18:49:41.538Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T18:49:41.538Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T18:49:41.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:49:41.577Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:49:41.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:49:41.687Z] $ docker exec 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 ssh-agent [2023-03-13T18:49:41.825Z] SSH_AUTH_SOCK=/tmp/ssh-BhuACcHfwplF/agent.33 [2023-03-13T18:49:41.825Z] SSH_AGENT_PID=40 [2023-03-13T18:49:41.832Z] Running ssh-add (command line suppressed) [2023-03-13T18:49:41.934Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/private_key_15473135987967770805.key (/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/private_key_15473135987967770805.key) [2023-03-13T18:49:41.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:49:42.255Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T18:49:42.253Z] $ docker exec --env ******** --env ******** 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 ssh-agent -k [2023-03-13T18:49:42.360Z] unset SSH_AUTH_SOCK; [2023-03-13T18:49:42.361Z] unset SSH_AGENT_PID; [2023-03-13T18:49:42.361Z] echo Agent pid 40 killed; [2023-03-13T18:49:42.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T18:49:42.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T18:49:42.417Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T18:49:42.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T18:49:42.526Z] $ docker exec 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 ssh-agent [2023-03-13T18:49:42.663Z] SSH_AUTH_SOCK=/tmp/ssh-bMqnKOCIX5wS/agent.72 [2023-03-13T18:49:42.663Z] SSH_AGENT_PID=78 [2023-03-13T18:49:42.668Z] Running ssh-add (command line suppressed) [2023-03-13T18:49:42.766Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/private_key_4202427572585123537.key (/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/private_key_4202427572585123537.key) [2023-03-13T18:49:42.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T18:49:43.085Z] + git semver init [2023-03-13T18:49:43.345Z] 2023-03-13 18:49:43,274 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T18:49:43.345Z] 2023-03-13 18:49:43,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver [2023-03-13T18:49:43.345Z] 2023-03-13 18:49:43,276 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver [2023-03-13T18:49:43.345Z] 2023-03-13 18:49:43,276 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-522, universal_newlines=False, shell=None, istream=None) [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,062 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-522/.git/info/exclude [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver/PR-522 with force:False [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,063 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver/PR-522 [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,067 [execute] INFO git cat-file --batch-check [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,075 [execute] INFO git cat-file --batch [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T18:49:44.286Z] 2023-03-13 18:49:44,081 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-522/.semver/PR-522 [2023-03-13T18:49:44.286Z] 0.0.0 [Pipeline] } [2023-03-13T18:49:44.283Z] $ docker exec --env ******** --env ******** 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 ssh-agent -k [2023-03-13T18:49:44.382Z] unset SSH_AUTH_SOCK; [2023-03-13T18:49:44.383Z] unset SSH_AGENT_PID; [2023-03-13T18:49:44.383Z] echo Agent pid 78 killed; [2023-03-13T18:49:44.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T18:49:44.719Z] + git semver [Pipeline] } [2023-03-13T18:49:44.981Z] $ docker stop --time=1 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 [2023-03-13T18:49:46.286Z] $ docker rm -f --volumes 086d040c37504374f8f71a1141d677807531006840b40dd4590241aa83c51f49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T18:49:46.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T18:49:46.842Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T18:49:46.845Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:49:46.976Z] provisioning config files... [2023-03-13T18:49:46.986Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/config12248871838546144513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:49:47.284Z] ---> docker-login.sh [2023-03-13T18:49:47.284Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:49:47.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:47.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:47.284Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:47.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:47.284Z] [2023-03-13T18:49:47.284Z] Login Succeeded [2023-03-13T18:49:47.284Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:49:47.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:47.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:47.284Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:47.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:47.284Z] [2023-03-13T18:49:47.284Z] Login Succeeded [2023-03-13T18:49:47.284Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:49:47.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:47.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:47.544Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:47.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:47.544Z] [2023-03-13T18:49:47.544Z] Login Succeeded [2023-03-13T18:49:47.544Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:49:47.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:47.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:47.544Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:47.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:47.544Z] [2023-03-13T18:49:47.544Z] Login Succeeded [2023-03-13T18:49:47.544Z] docker.io [2023-03-13T18:49:47.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:49:48.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:49:48.063Z] Configure a credential helper to remove this warning. See [2023-03-13T18:49:48.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:49:48.063Z] [2023-03-13T18:49:48.063Z] Login Succeeded [2023-03-13T18:49:48.063Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:49:48.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:49:48.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:49:48.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:49:48.153Z] ========================================================= [2023-03-13T18:49:48.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T18:49:48.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:49:48.476Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T18:49:48.476Z] Sending build context to Docker daemon 6.373MB [2023-03-13T18:49:48.476Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:49:48.476Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T18:49:48.476Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T18:49:48.476Z] 213ec9aee27d: Pulling fs layer [2023-03-13T18:49:48.476Z] 4583459ba037: Pulling fs layer [2023-03-13T18:49:48.476Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T18:49:48.476Z] 53926ce57604: Pulling fs layer [2023-03-13T18:49:48.476Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T18:49:48.476Z] 22ff95d597cd: Pulling fs layer [2023-03-13T18:49:48.476Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T18:49:48.476Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T18:49:48.476Z] a7acece74701: Pulling fs layer [2023-03-13T18:49:48.476Z] 22ff95d597cd: Waiting [2023-03-13T18:49:48.476Z] 12d6caf4c0d1: Waiting [2023-03-13T18:49:48.476Z] 96b7cbca73a9: Waiting [2023-03-13T18:49:48.476Z] a7acece74701: Waiting [2023-03-13T18:49:48.476Z] 21b2b0c7a3f4: Waiting [2023-03-13T18:49:48.476Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T18:49:48.476Z] 93c1e223e6f2: Download complete [2023-03-13T18:49:48.476Z] 4583459ba037: Download complete [2023-03-13T18:49:48.476Z] 21b2b0c7a3f4: Download complete [2023-03-13T18:49:48.476Z] 22ff95d597cd: Verifying Checksum [2023-03-13T18:49:48.476Z] 22ff95d597cd: Download complete [2023-03-13T18:49:48.739Z] 213ec9aee27d: Verifying Checksum [2023-03-13T18:49:48.739Z] 213ec9aee27d: Download complete [2023-03-13T18:49:48.739Z] 12d6caf4c0d1: Download complete [2023-03-13T18:49:48.739Z] 213ec9aee27d: Pull complete [2023-03-13T18:49:49.006Z] 4583459ba037: Pull complete [2023-03-13T18:49:49.006Z] 93c1e223e6f2: Pull complete [2023-03-13T18:49:49.267Z] a7acece74701: Verifying Checksum [2023-03-13T18:49:49.267Z] a7acece74701: Download complete [2023-03-13T18:49:49.527Z] 53926ce57604: Download complete [2023-03-13T18:49:49.527Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T18:49:49.527Z] 96b7cbca73a9: Download complete [2023-03-13T18:49:53.714Z] 53926ce57604: Pull complete [2023-03-13T18:49:53.714Z] 21b2b0c7a3f4: Pull complete [2023-03-13T18:49:53.714Z] 22ff95d597cd: Pull complete [2023-03-13T18:49:53.714Z] 12d6caf4c0d1: Pull complete [2023-03-13T18:49:55.619Z] 96b7cbca73a9: Pull complete [2023-03-13T18:49:56.553Z] a7acece74701: Pull complete [2023-03-13T18:49:56.553Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T18:49:56.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T18:49:56.553Z] ---> db6d94c90886 [2023-03-13T18:49:56.553Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T18:49:58.461Z] ---> Running in 34233aab4fb3 [2023-03-13T18:49:58.461Z] Removing intermediate container 34233aab4fb3 [2023-03-13T18:49:58.461Z] ---> 1280081e9bb8 [2023-03-13T18:49:58.461Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T18:49:58.461Z] ---> Running in 522923e27204 [2023-03-13T18:49:58.461Z] Removing intermediate container 522923e27204 [2023-03-13T18:49:58.461Z] ---> b74da30cc6e1 [2023-03-13T18:49:58.461Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T18:49:58.461Z] ---> Running in 2176c980d2ba [2023-03-13T18:49:58.461Z] Removing intermediate container 2176c980d2ba [2023-03-13T18:49:58.461Z] ---> 885696372bbd [2023-03-13T18:49:58.461Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T18:49:58.721Z] ---> Running in 330872b10b56 [2023-03-13T18:49:58.721Z] Removing intermediate container 330872b10b56 [2023-03-13T18:49:58.721Z] ---> 08f40aaed806 [2023-03-13T18:49:58.721Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T18:49:58.721Z] ---> Running in 583854550fdd [2023-03-13T18:49:58.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T18:49:58.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T18:49:59.239Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T18:49:59.239Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T18:49:59.239Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T18:49:59.239Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T18:49:59.239Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T18:49:59.239Z] OK: 216 MiB in 55 packages [2023-03-13T18:49:59.807Z] Removing intermediate container 583854550fdd [2023-03-13T18:49:59.807Z] ---> 1623ac169788 [2023-03-13T18:49:59.807Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-13T18:49:59.807Z] ---> Running in b3470455fbfd [2023-03-13T18:49:59.807Z] Removing intermediate container b3470455fbfd [2023-03-13T18:49:59.807Z] ---> 958a32ad7039 [2023-03-13T18:49:59.807Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T18:50:00.065Z] ---> 68c9712ad409 [2023-03-13T18:50:00.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:50:00.065Z] ---> Running in 87481f56ad04 [2023-03-13T18:50:01.945Z] Still waiting to schedule task [2023-03-13T18:50:01.946Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-13T18:50:21.999Z] Removing intermediate container 87481f56ad04 [2023-03-13T18:50:21.999Z] ---> 466dbb6ea527 [2023-03-13T18:50:21.999Z] Step 11/12 : COPY . . [2023-03-13T18:50:21.999Z] ---> 737250fd5988 [2023-03-13T18:50:21.999Z] Step 12/12 : RUN $MAKE [2023-03-13T18:50:21.999Z] ---> Running in c4da4880f19e [2023-03-13T18:50:21.999Z] noop [2023-03-13T18:50:21.999Z] Removing intermediate container c4da4880f19e [2023-03-13T18:50:21.999Z] ---> 07ad91f0153d [2023-03-13T18:50:21.999Z] Successfully built 07ad91f0153d [2023-03-13T18:50:21.999Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:50:22.306Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:50:22.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:50:22.381Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-03-13T18:50:22.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-522 -v /w/workspace/gexfoundry_device-mqtt-go_PR-522:/w/workspace/gexfoundry_device-mqtt-go_PR-522:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T18:50:22.773Z] $ docker top b8bfee578be87d9e798dc03eee1b4fedd8b56a3af2414b505422bb1a730d4ddc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:50:23.119Z] + go version [2023-03-13T18:50:23.120Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T18:50:23.137Z] $ docker stop --time=1 b8bfee578be87d9e798dc03eee1b4fedd8b56a3af2414b505422bb1a730d4ddc [2023-03-13T18:50:24.399Z] $ docker rm -f --volumes b8bfee578be87d9e798dc03eee1b4fedd8b56a3af2414b505422bb1a730d4ddc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:50:24.802Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T18:50:24.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:50:24.874Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-03-13T18:50:24.918Z] $ 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-mqtt-go_PR-522 -v /w/workspace/gexfoundry_device-mqtt-go_PR-522:/w/workspace/gexfoundry_device-mqtt-go_PR-522:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T18:50:25.253Z] $ docker top 2046f2faee6e9a838488345b0aae8af1ca49698c1aed9e4c54ffc6299beda831 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:50:25.597Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-522 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:50:25.894Z] + make test [2023-03-13T18:50:25.894Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T18:50:26.459Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-13T18:50:36.441Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T18:50:36.441Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T18:50:36.441Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements [2023-03-13T18:50:36.441Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-13T18:50:36.464Z] $ docker stop --time=1 2046f2faee6e9a838488345b0aae8af1ca49698c1aed9e4c54ffc6299beda831 [2023-03-13T18:50:38.567Z] $ docker rm -f --volumes 2046f2faee6e9a838488345b0aae8af1ca49698c1aed9e4c54ffc6299beda831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:50:39.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:50:39.050Z] [2023-03-13T18:50:39.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:50:39.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:50:39.352Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T18:50:39.352Z] 5eb5b503b376: Pulling fs layer [2023-03-13T18:50:39.352Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T18:50:39.352Z] ec43610c2a17: Pulling fs layer [2023-03-13T18:50:39.352Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T18:50:39.352Z] 33b1e0a273af: Pulling fs layer [2023-03-13T18:50:39.352Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T18:50:39.352Z] 2f39f015ded8: Pulling fs layer [2023-03-13T18:50:39.352Z] 3a2ae6a8a46f: Waiting [2023-03-13T18:50:39.352Z] 5d3b04190fa2: Waiting [2023-03-13T18:50:39.352Z] 2f39f015ded8: Waiting [2023-03-13T18:50:39.352Z] 33b1e0a273af: Waiting [2023-03-13T18:50:39.352Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T18:50:39.352Z] 5c69ac0246d0: Download complete [2023-03-13T18:50:39.352Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T18:50:39.352Z] 3a2ae6a8a46f: Download complete [2023-03-13T18:50:39.612Z] 33b1e0a273af: Verifying Checksum [2023-03-13T18:50:39.612Z] 33b1e0a273af: Download complete [2023-03-13T18:50:39.612Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T18:50:39.612Z] ec43610c2a17: Verifying Checksum [2023-03-13T18:50:39.612Z] ec43610c2a17: Download complete [2023-03-13T18:50:39.612Z] 5eb5b503b376: Verifying Checksum [2023-03-13T18:50:39.612Z] 5eb5b503b376: Download complete [2023-03-13T18:50:40.183Z] 2f39f015ded8: Download complete [2023-03-13T18:50:41.114Z] 5eb5b503b376: Pull complete [2023-03-13T18:50:41.114Z] 5c69ac0246d0: Pull complete [2023-03-13T18:50:41.680Z] ec43610c2a17: Pull complete [2023-03-13T18:50:41.680Z] 3a2ae6a8a46f: Pull complete [2023-03-13T18:50:41.938Z] 33b1e0a273af: Pull complete [2023-03-13T18:50:41.938Z] 5d3b04190fa2: Pull complete [2023-03-13T18:50:47.204Z] 2f39f015ded8: Pull complete [2023-03-13T18:50:47.204Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T18:50:47.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:50:47.204Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:50:47.368Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-03-13T18:50:47.426Z] $ 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-mqtt-go_PR-522 -v /w/workspace/gexfoundry_device-mqtt-go_PR-522:/w/workspace/gexfoundry_device-mqtt-go_PR-522:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T18:50:49.993Z] $ docker top 1d02f85afa655e25d301387f5dd80fff9eb385ab534e5e2aab40a14f23b1dd1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:50:50.357Z] ---> job-cost.sh [2023-03-13T18:50:50.357Z] lf-activate-venv: SKIPPING [2023-03-13T18:50:50.357Z] INFO: No Stack... [2023-03-13T18:50:50.616Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:50:51.184Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:50:51.476Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives/cost.csv [2023-03-13T18:50:51.476Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T18:50:51.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [2023-03-13T18:50:51.502Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] did not exist. Created. [2023-03-13T18:50:51.502Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:50:51.802Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T18:50:51.842Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:50:51.851Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:50:51.877Z] $ docker stop --time=1 1d02f85afa655e25d301387f5dd80fff9eb385ab534e5e2aab40a14f23b1dd1b [2023-03-13T18:50:53.048Z] $ docker rm -f --volumes 1d02f85afa655e25d301387f5dd80fff9eb385ab534e5e2aab40a14f23b1dd1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:50:53.133Z] Failed in branch amd64 [2023-03-13T18:53:06.096Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9943 in /w/workspace/gexfoundry_device-mqtt-go_PR-522 [Pipeline] { [Pipeline] ws [2023-03-13T18:53:06.110Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-13T18:53:06.144Z] Selected Git installation does not exist. Using Default [2023-03-13T18:53:06.144Z] The recommended git tool is: NONE [2023-03-13T18:53:15.481Z] using credential edgex-jenkins-ssh [2023-03-13T18:53:15.517Z] Cloning the remote Git repository [2023-03-13T18:53:15.643Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T18:53:15.804Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-13T18:53:16.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T18:53:16.282Z] > git --version # timeout=10 [2023-03-13T18:53:16.369Z] > git --version # 'git version 2.25.1' [2023-03-13T18:53:16.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:53:16.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:53:18.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-13T18:53:18.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T18:53:19.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-13T18:53:20.574Z] Merging remotes/origin/main commit 14341be0e00f90cb93f09a8fe34181eba0d3b045 into PR head commit 12641e8a2183d4091022cfdcbce5d094da0a8b4f [2023-03-13T18:53:20.923Z] Merge succeeded, producing 12641e8a2183d4091022cfdcbce5d094da0a8b4f [2023-03-13T18:53:20.924Z] Checking out Revision 12641e8a2183d4091022cfdcbce5d094da0a8b4f (PR-522) [2023-03-13T18:53:19.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T18:53:19.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:53:19.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/522/head:refs/remotes/origin/PR-522 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T18:53:20.595Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:53:20.658Z] > git checkout -f 12641e8a2183d4091022cfdcbce5d094da0a8b4f # timeout=10 [2023-03-13T18:53:20.751Z] > git remote # timeout=10 [2023-03-13T18:53:20.780Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T18:53:20.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T18:53:20.844Z] > git merge 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 [2023-03-13T18:53:20.887Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T18:53:20.932Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T18:53:20.953Z] > git checkout -f 12641e8a2183d4091022cfdcbce5d094da0a8b4f # timeout=10 [2023-03-13T18:53:21.661Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T18:53:22.751Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T18:53:22.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T18:53:22.752Z] Dload Upload Total Spent Left Speed [2023-03-13T18:53:22.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh [2023-03-13T18:53:23.557Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T18:53:24.014Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T18:53:24.014Z] + sudo tee /etc/docker/daemon.new [2023-03-13T18:53:24.299Z] { [2023-03-13T18:53:24.299Z] "registry-mirrors": [ [2023-03-13T18:53:24.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T18:53:24.299Z] ], [2023-03-13T18:53:24.299Z] "bip": "10.250.0.254/24", [2023-03-13T18:53:24.299Z] "hosts": [ [2023-03-13T18:53:24.299Z] "tcp://0.0.0.0:5555", [2023-03-13T18:53:24.299Z] "unix:///var/run/docker.sock" [2023-03-13T18:53:24.299Z] ], [2023-03-13T18:53:24.299Z] "mtu": 1458, [2023-03-13T18:53:24.299Z] "selinux-enabled": true, [2023-03-13T18:53:24.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T18:53:24.299Z] } [Pipeline] sh [2023-03-13T18:53:24.752Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T18:53:25.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:53:43.576Z] provisioning config files... [2023-03-13T18:53:43.607Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2516712519318945605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:53:43.970Z] ---> docker-login.sh [2023-03-13T18:53:43.970Z] nexus3.edgexfoundry.org:10001 [2023-03-13T18:53:44.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:53:44.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:53:44.835Z] Configure a credential helper to remove this warning. See [2023-03-13T18:53:44.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:53:44.835Z] [2023-03-13T18:53:44.835Z] Login Succeeded [2023-03-13T18:53:44.835Z] nexus3.edgexfoundry.org:10002 [2023-03-13T18:53:45.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:53:45.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:53:45.106Z] Configure a credential helper to remove this warning. See [2023-03-13T18:53:45.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:53:45.107Z] [2023-03-13T18:53:45.107Z] Login Succeeded [2023-03-13T18:53:45.107Z] nexus3.edgexfoundry.org:10003 [2023-03-13T18:53:45.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:53:45.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:53:45.649Z] Configure a credential helper to remove this warning. See [2023-03-13T18:53:45.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:53:45.649Z] [2023-03-13T18:53:45.649Z] Login Succeeded [2023-03-13T18:53:45.649Z] nexus3.edgexfoundry.org:10004 [2023-03-13T18:53:45.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:53:45.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:53:45.922Z] Configure a credential helper to remove this warning. See [2023-03-13T18:53:45.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:53:45.922Z] [2023-03-13T18:53:45.922Z] Login Succeeded [2023-03-13T18:53:45.922Z] docker.io [2023-03-13T18:53:46.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T18:53:46.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T18:53:46.463Z] Configure a credential helper to remove this warning. See [2023-03-13T18:53:46.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T18:53:46.463Z] [2023-03-13T18:53:46.463Z] Login Succeeded [2023-03-13T18:53:46.463Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T18:53:46.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T18:53:46.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:53:46.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T18:53:46.834Z] ========================================================= [2023-03-13T18:53:46.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T18:53:46.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:53:47.191Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T18:53:47.463Z] Sending build context to Docker daemon 3.291MB [2023-03-13T18:53:47.463Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T18:53:47.463Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T18:53:47.738Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T18:53:47.738Z] 9b18e9b68314: Pulling fs layer [2023-03-13T18:53:47.738Z] 35d82f9e3411: Pulling fs layer [2023-03-13T18:53:47.738Z] e16973657156: Pulling fs layer [2023-03-13T18:53:47.738Z] fc693d55d65f: Pulling fs layer [2023-03-13T18:53:47.738Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T18:53:47.738Z] dda99020689f: Pulling fs layer [2023-03-13T18:53:47.738Z] fc693d55d65f: Waiting [2023-03-13T18:53:47.738Z] 7e9fc2657dce: Waiting [2023-03-13T18:53:47.738Z] db1c61fa0a46: Pulling fs layer [2023-03-13T18:53:47.738Z] 891c053d2c06: Pulling fs layer [2023-03-13T18:53:47.738Z] dda99020689f: Waiting [2023-03-13T18:53:47.738Z] db1c61fa0a46: Waiting [2023-03-13T18:53:47.738Z] 891c053d2c06: Waiting [2023-03-13T18:53:47.738Z] e16973657156: Verifying Checksum [2023-03-13T18:53:47.738Z] e16973657156: Download complete [2023-03-13T18:53:47.738Z] 35d82f9e3411: Verifying Checksum [2023-03-13T18:53:47.738Z] 35d82f9e3411: Download complete [2023-03-13T18:53:47.738Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T18:53:47.738Z] 7e9fc2657dce: Download complete [2023-03-13T18:53:47.738Z] dda99020689f: Verifying Checksum [2023-03-13T18:53:47.738Z] dda99020689f: Download complete [2023-03-13T18:53:47.738Z] 9b18e9b68314: Verifying Checksum [2023-03-13T18:53:47.738Z] 9b18e9b68314: Download complete [2023-03-13T18:53:48.729Z] 9b18e9b68314: Pull complete [2023-03-13T18:53:49.007Z] 891c053d2c06: Verifying Checksum [2023-03-13T18:53:49.007Z] 891c053d2c06: Download complete [2023-03-13T18:53:49.286Z] 35d82f9e3411: Pull complete [2023-03-13T18:53:49.890Z] e16973657156: Pull complete [2023-03-13T18:53:50.162Z] db1c61fa0a46: Verifying Checksum [2023-03-13T18:53:50.162Z] db1c61fa0a46: Download complete [2023-03-13T18:53:51.141Z] fc693d55d65f: Verifying Checksum [2023-03-13T18:53:51.141Z] fc693d55d65f: Download complete [2023-03-13T18:54:03.526Z] fc693d55d65f: Pull complete [2023-03-13T18:54:03.526Z] 7e9fc2657dce: Pull complete [2023-03-13T18:54:03.526Z] dda99020689f: Pull complete [2023-03-13T18:54:08.898Z] db1c61fa0a46: Pull complete [2023-03-13T18:54:10.330Z] 891c053d2c06: Pull complete [2023-03-13T18:54:10.330Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T18:54:10.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T18:54:10.330Z] ---> f96f9c87975a [2023-03-13T18:54:10.330Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T18:54:12.945Z] ---> Running in d80843dbdaf2 [2023-03-13T18:54:12.945Z] Removing intermediate container d80843dbdaf2 [2023-03-13T18:54:12.945Z] ---> a406831be772 [2023-03-13T18:54:12.945Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T18:54:12.945Z] ---> Running in d91b589d98b9 [2023-03-13T18:54:13.535Z] Removing intermediate container d91b589d98b9 [2023-03-13T18:54:13.535Z] ---> c9778560e710 [2023-03-13T18:54:13.535Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T18:54:13.535Z] ---> Running in 8509494b4fd0 [2023-03-13T18:54:13.816Z] Removing intermediate container 8509494b4fd0 [2023-03-13T18:54:13.816Z] ---> 7673f202a3a2 [2023-03-13T18:54:13.816Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T18:54:14.090Z] ---> Running in 70eff4f10185 [2023-03-13T18:54:14.361Z] Removing intermediate container 70eff4f10185 [2023-03-13T18:54:14.361Z] ---> 54adfff6cd4e [2023-03-13T18:54:14.361Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T18:54:14.361Z] ---> Running in 65f604123cd8 [2023-03-13T18:54:15.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T18:54:16.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T18:54:17.623Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T18:54:17.623Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T18:54:17.623Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T18:54:17.623Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T18:54:17.623Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T18:54:17.895Z] OK: 226 MiB in 55 packages [2023-03-13T18:54:18.872Z] Removing intermediate container 65f604123cd8 [2023-03-13T18:54:18.872Z] ---> 8ae9059a240a [2023-03-13T18:54:18.872Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-13T18:54:18.872Z] ---> Running in 62be4ceb43ee [2023-03-13T18:54:19.473Z] Removing intermediate container 62be4ceb43ee [2023-03-13T18:54:19.473Z] ---> 72ae8f3eb397 [2023-03-13T18:54:19.473Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T18:54:19.751Z] ---> 1020041c0c21 [2023-03-13T18:54:19.751Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T18:54:20.029Z] ---> Running in a382e07d1d40 [2023-03-13T18:55:41.786Z] Removing intermediate container a382e07d1d40 [2023-03-13T18:55:41.786Z] ---> 325a6b98cfef [2023-03-13T18:55:41.786Z] Step 11/12 : COPY . . [2023-03-13T18:55:41.786Z] ---> 77f7f1ad392e [2023-03-13T18:55:41.786Z] Step 12/12 : RUN $MAKE [2023-03-13T18:55:41.786Z] ---> Running in 3fe99a30cf5e [2023-03-13T18:55:41.786Z] noop [2023-03-13T18:55:41.786Z] Removing intermediate container 3fe99a30cf5e [2023-03-13T18:55:41.786Z] ---> 2ded44de0d10 [2023-03-13T18:55:41.786Z] Successfully built 2ded44de0d10 [2023-03-13T18:55:41.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:55:42.149Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:55:42.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:55:42.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-9943 does not seem to be running inside a container [2023-03-13T18:55:42.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-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-13T18:55:43.860Z] $ docker top 748e8e7d5c76470f502f0096593a94b98e45fc3d52a91436cc268cddcec1b79e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:55:44.754Z] + go version [2023-03-13T18:55:44.754Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T18:55:44.779Z] $ docker stop --time=1 748e8e7d5c76470f502f0096593a94b98e45fc3d52a91436cc268cddcec1b79e [2023-03-13T18:55:46.512Z] $ docker rm -f --volumes 748e8e7d5c76470f502f0096593a94b98e45fc3d52a91436cc268cddcec1b79e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:55:47.086Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T18:55:47.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:55:47.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-9943 does not seem to be running inside a container [2023-03-13T18:55:47.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-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-13T18:55:48.721Z] $ docker top c4bf3eab8cbff2f6e05e2f0d1e0d4952a9caf7337fcf6a7827d7e4bb04b53c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:55:49.579Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-13T18:55:50.241Z] + make test [2023-03-13T18:55:50.241Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T18:55:52.202Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-13T18:57:28.928Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-13T18:57:28.928Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.50/internal/transformer/transformresult.go:53:16: too many errors [2023-03-13T18:57:28.928Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.2% of statements [2023-03-13T18:57:28.928Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-13T18:57:28.951Z] $ docker stop --time=1 c4bf3eab8cbff2f6e05e2f0d1e0d4952a9caf7337fcf6a7827d7e4bb04b53c57 [2023-03-13T18:57:30.914Z] $ docker rm -f --volumes c4bf3eab8cbff2f6e05e2f0d1e0d4952a9caf7337fcf6a7827d7e4bb04b53c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:57:32.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:57:32.036Z] [2023-03-13T18:57:32.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:57:32.388Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:57:32.657Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T18:57:32.657Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T18:57:32.657Z] 04944245beec: Pulling fs layer [2023-03-13T18:57:32.657Z] 699f458cf7ca: Pulling fs layer [2023-03-13T18:57:32.657Z] 765212b225bb: Pulling fs layer [2023-03-13T18:57:32.657Z] f23df028b6ca: Pulling fs layer [2023-03-13T18:57:32.657Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T18:57:32.657Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T18:57:32.657Z] d65c8cfc05b1: Waiting [2023-03-13T18:57:32.657Z] 765212b225bb: Waiting [2023-03-13T18:57:32.657Z] f23df028b6ca: Waiting [2023-03-13T18:57:32.657Z] 2437ff75d9bd: Waiting [2023-03-13T18:57:32.657Z] 04944245beec: Verifying Checksum [2023-03-13T18:57:32.657Z] 04944245beec: Download complete [2023-03-13T18:57:32.657Z] 765212b225bb: Verifying Checksum [2023-03-13T18:57:32.657Z] 765212b225bb: Download complete [2023-03-13T18:57:32.929Z] f23df028b6ca: Verifying Checksum [2023-03-13T18:57:32.929Z] f23df028b6ca: Download complete [2023-03-13T18:57:32.929Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T18:57:32.929Z] d65c8cfc05b1: Download complete [2023-03-13T18:57:32.929Z] 699f458cf7ca: Verifying Checksum [2023-03-13T18:57:32.929Z] 699f458cf7ca: Download complete [2023-03-13T18:57:33.520Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T18:57:33.520Z] 8998bd30e6a1: Download complete [2023-03-13T18:57:35.478Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T18:57:35.478Z] 2437ff75d9bd: Download complete [2023-03-13T18:57:37.434Z] 8998bd30e6a1: Pull complete [2023-03-13T18:57:37.701Z] 04944245beec: Pull complete [2023-03-13T18:57:39.113Z] 699f458cf7ca: Pull complete [2023-03-13T18:57:39.113Z] 765212b225bb: Pull complete [2023-03-13T18:57:40.082Z] f23df028b6ca: Pull complete [2023-03-13T18:57:40.082Z] d65c8cfc05b1: Pull complete [2023-03-13T18:57:55.131Z] 2437ff75d9bd: Pull complete [2023-03-13T18:57:55.131Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T18:57:55.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T18:57:55.131Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:57:55.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-9943 does not seem to be running inside a container [2023-03-13T18:57:55.436Z] $ 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-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-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-13T18:57:58.736Z] $ docker top 33ccd7626021903b95e93a0be59439c2a28d0fa5f9b81a0c995b280ee87c69f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:57:59.610Z] ---> job-cost.sh [2023-03-13T18:57:59.610Z] lf-activate-venv: SKIPPING [2023-03-13T18:57:59.610Z] INFO: No Stack... [2023-03-13T18:58:00.198Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T18:58:00.787Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T18:58:01.437Z] + cut -d, -f6 [2023-03-13T18:58:01.437Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2023-03-13T18:58:01.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [2023-03-13T18:58:01.517Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] did not exist. Created. [2023-03-13T18:58:01.518Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T18:58:02.182Z] /w/workspace/device-mqtt-go/2@tmp/durable-0f7d80fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T18:58:02.846Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T18:58:02.869Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T18:58:03.316Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T18:58:03.325Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-522-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T18:58:03.352Z] $ docker stop --time=1 33ccd7626021903b95e93a0be59439c2a28d0fa5f9b81a0c995b280ee87c69f4 [2023-03-13T18:58:04.870Z] $ docker rm -f --volumes 33ccd7626021903b95e93a0be59439c2a28d0fa5f9b81a0c995b280ee87c69f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T18:58:05.110Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-13T18:58:05.810Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives ] [2023-03-13T18:58:05.810Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives [2023-03-13T18:58:05.810Z] total 16 [2023-03-13T18:58:05.810Z] drwxr-xr-x 3 root root 4096 Mar 13 18:50 . [2023-03-13T18:58:05.810Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 18:50 .. [2023-03-13T18:58:05.810Z] drwxr-xr-x 2 root root 4096 Mar 13 18:50 cost [2023-03-13T18:58:05.810Z] -rw-r--r-- 1 root root 86 Mar 13 18:50 cost.csv [2023-03-13T18:58:05.810Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives [2023-03-13T18:58:05.810Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives [2023-03-13T18:58:05.810Z] total 16 [2023-03-13T18:58:05.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 18:50 . [2023-03-13T18:58:05.810Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 18:50 .. [2023-03-13T18:58:05.810Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 18:50 cost [2023-03-13T18:58:05.810Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:06.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:06.963Z] ---> package-listing.sh [2023-03-13T18:58:06.963Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T18:58:06.963Z] ++ facter osfamily [2023-03-13T18:58:07.222Z] + OS_FAMILY=debian [2023-03-13T18:58:07.223Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-522 [2023-03-13T18:58:07.223Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T18:58:07.223Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T18:58:07.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T18:58:07.223Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T18:58:07.223Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-522 ']' [2023-03-13T18:58:07.223Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T18:58:07.223Z] + case "${OS_FAMILY}" in [2023-03-13T18:58:07.223Z] + dpkg -l [2023-03-13T18:58:07.223Z] + grep '^ii' [2023-03-13T18:58:07.223Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T18:58:07.223Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T18:58:07.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T18:58:07.223Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-522 ']' [2023-03-13T18:58:07.223Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives/ [2023-03-13T18:58:07.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-522/archives/ [Pipeline] echo [2023-03-13T18:58:07.233Z] 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-mqtt-go_PR-522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T18:58:07.509Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T18:58:08.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T18:58:08.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T18:58:08.132Z] prd-ubuntu20.04-docker-8c-8g-9939 does not seem to be running inside a container [2023-03-13T18:58:08.180Z] $ 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-mqtt-go_PR-522/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-mqtt-go_PR-522 -v /w/workspace/gexfoundry_device-mqtt-go_PR-522:/w/workspace/gexfoundry_device-mqtt-go_PR-522:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T18:58:08.439Z] $ docker top c458535ced9ff3c093bbdf09e6cdf934dca99621bffe5df6bfceccd5190fe361 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T18:58:08.775Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T18:58:09.060Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T18:58:09.346Z] + ls /var/log/sa-host [2023-03-13T18:58:09.346Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T18:58:09.489Z] provisioning config files... [2023-03-13T18:58:09.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-522@tmp/config15553405100346197580tmp [Pipeline] { [Pipeline] echo [2023-03-13T18:58:09.513Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:09.796Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T18:58:09.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:10.148Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T18:58:10.159Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:10.450Z] ---> sudo-logs.sh [2023-03-13T18:58:10.450Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T18:58:10.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:10.766Z] ---> job-cost.sh [2023-03-13T18:58:10.766Z] lf-activate-venv: SKIPPING [2023-03-13T18:58:10.766Z] DEBUG: total: 0.2199999988079071 [2023-03-13T18:58:10.766Z] INFO: Retrieving Stack Cost... [2023-03-13T18:58:11.025Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T18:58:11.283Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T18:58:11.297Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T18:58:11.584Z] ---> logs-deploy.sh [2023-03-13T18:58:11.584Z] lf-activate-venv: SKIPPING [2023-03-13T18:58:11.584Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-522/2 [2023-03-13T18:58:11.584Z] INFO: archiving workspace using pattern(s): [2023-03-13T18:58:12.525Z] Archives upload complete. [2023-03-13T18:58:12.525Z] INFO: archiving logs to Nexus