Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1fd4ccd70885019a9894e48fb072b447684cfde+4a35f1d313b93b1afef0ede40251cd94a3668512 (16e1a1bc5c36c228cff5a024546965308c2e1bb5) 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-ssh153499938291088049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8335420359434892983.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-526/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-526/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12243606521256619620.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14352037580191434909.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-526/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-526/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5754950865192640815.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 ‘prd-ubuntu20.04-docker-8c-8g-2306’ Running on prd-ubuntu20.04-docker-8c-8g-2308 in /w/workspace/gexfoundry_device-mqtt-go_PR-526 [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-526 # 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 > 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/526/head:refs/remotes/origin/PR-526 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit e1fd4ccd70885019a9894e48fb072b447684cfde Merge succeeded, producing 787b3e7df22bf9c8927a76a1f968c56151d73f99 Checking out Revision 787b3e7df22bf9c8927a76a1f968c56151d73f99 (PR-526) > git config core.sparsecheckout # timeout=10 > git checkout -f e1fd4ccd70885019a9894e48fb072b447684cfde # 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 787b3e7df22bf9c8927a76a1f968c56151d73f99 # timeout=10 Commit message: "Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD" > git rev-list --no-walk e1fd4ccd70885019a9894e48fb072b447684cfde # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T23:18:21.132Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T23:18:21.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T23:18:21.182Z] ========================================================= [2023-03-15T23:18:21.182Z] EdgeX Global Pipelines Version Info [2023-03-15T23:18:21.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:18:21.917Z] ------------------- [2023-03-15T23:18:21.917Z] stable info: [2023-03-15T23:18:21.917Z] ------------------- [2023-03-15T23:18:21.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T23:18:21.917Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T23:18:21.917Z] Message: update stable to v1.0.245 [2023-03-15T23:18:22.485Z] ------------------- [2023-03-15T23:18:22.485Z] experimental info: [2023-03-15T23:18:22.485Z] ------------------- [2023-03-15T23:18:22.485Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T23:18:22.486Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T23:18:22.486Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T23:18:22.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-15T23:18:22.636Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-15T23:18:22.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T23:18:22.661Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T23:18:22.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T23:18:22.690Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T23:18:22.699Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T23:18:22.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T23:18:22.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T23:18:22.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T23:18:22.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T23:18:22.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-15T23:18:22.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T23:18:22.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T23:18:22.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T23:18:22.798Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T23:18:22.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T23:18:22.821Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T23:18:22.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T23:18:22.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T23:18:22.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T23:18:22.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T23:18:22.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T23:18:22.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T23:18:22.908Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T23:18:22.923Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T23:18:22.934Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T23:18:22.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-526 [Pipeline] echo [2023-03-15T23:18:22.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-526 [Pipeline] echo [2023-03-15T23:18:22.985Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-526 [Pipeline] echo [2023-03-15T23:18:23.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 787b3e7df22bf9c8927a76a1f968c56151d73f99 [Pipeline] echo [2023-03-15T23:18:23.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 787b3e7 [Pipeline] echo [2023-03-15T23:18:23.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T23:18:23.064Z] provisioning config files... [2023-03-15T23:18:23.078Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/config6172648321854108887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:18:23.376Z] ---> docker-login.sh [2023-03-15T23:18:23.376Z] nexus3.edgexfoundry.org:10001 [2023-03-15T23:18:23.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:23.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:23.642Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:23.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:23.642Z] [2023-03-15T23:18:23.642Z] Login Succeeded [2023-03-15T23:18:23.642Z] nexus3.edgexfoundry.org:10002 [2023-03-15T23:18:23.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:23.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:23.642Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:23.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:23.642Z] [2023-03-15T23:18:23.642Z] Login Succeeded [2023-03-15T23:18:23.642Z] nexus3.edgexfoundry.org:10003 [2023-03-15T23:18:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:23.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:23.900Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:23.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:23.900Z] [2023-03-15T23:18:23.900Z] Login Succeeded [2023-03-15T23:18:23.900Z] nexus3.edgexfoundry.org:10004 [2023-03-15T23:18:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:23.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:23.900Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:23.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:23.900Z] [2023-03-15T23:18:23.900Z] Login Succeeded [2023-03-15T23:18:23.900Z] docker.io [2023-03-15T23:18:24.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:24.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:24.159Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:24.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:24.159Z] [2023-03-15T23:18:24.159Z] Login Succeeded [2023-03-15T23:18:24.159Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T23:18:24.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T23:18:24.532Z] + git rev-list -1 --merges 787b3e7df22bf9c8927a76a1f968c56151d73f99~1..787b3e7df22bf9c8927a76a1f968c56151d73f99 [Pipeline] echo [2023-03-15T23:18:24.584Z] -----------> git rev-list -1 --merges 787b3e7df22bf9c8927a76a1f968c56151d73f99~1..787b3e7df22bf9c8927a76a1f968c56151d73f99 787b3e7df22bf9c8927a76a1f968c56151d73f99 [2023-03-15T23:18:24.584Z] 787b3e7df22bf9c8927a76a1f968c56151d73f99 [false] [Pipeline] sh [2023-03-15T23:18:24.873Z] + git log --format=format:%s -1 787b3e7df22bf9c8927a76a1f968c56151d73f99 [Pipeline] echo [2023-03-15T23:18:24.888Z] ========================================================= [2023-03-15T23:18:24.888Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T23:18:24.888Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T23:18:25.213Z] + git log --format=format:%s -1 787b3e7df22bf9c8927a76a1f968c56151d73f99 [Pipeline] echo [2023-03-15T23:18:25.224Z] [semverPrep] GIT_COMMIT: 787b3e7df22bf9c8927a76a1f968c56151d73f99, Commit Message: Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD [Pipeline] echo [2023-03-15T23:18:25.233Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T23:18:25.576Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T23:18:25.576Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T23:18:25.576Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T23:18:25.576Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T23:18:25.576Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T23:18:25.576Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T23:18:25.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:18:25.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T23:18:25.912Z] [2023-03-15T23:18:25.912Z] 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-15T23:18:26.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T23:18:26.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T23:18:26.210Z] b85a868b505f: Pulling fs layer [2023-03-15T23:18:26.210Z] e2be974225ed: Pulling fs layer [2023-03-15T23:18:26.210Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T23:18:26.210Z] 988bab9f4d93: Pulling fs layer [2023-03-15T23:18:26.210Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T23:18:26.210Z] eaf3925da568: Pulling fs layer [2023-03-15T23:18:26.210Z] bab4dde63d76: Pulling fs layer [2023-03-15T23:18:26.210Z] bde34c3a00c8: Pulling fs layer [2023-03-15T23:18:26.210Z] b352a97aabf1: Pulling fs layer [2023-03-15T23:18:26.210Z] 4872d77fe225: Pulling fs layer [2023-03-15T23:18:26.210Z] 5851b861e8e6: Pulling fs layer [2023-03-15T23:18:26.210Z] 988bab9f4d93: Waiting [2023-03-15T23:18:26.210Z] 1469e6f7b9e6: Waiting [2023-03-15T23:18:26.210Z] b352a97aabf1: Waiting [2023-03-15T23:18:26.210Z] eaf3925da568: Waiting [2023-03-15T23:18:26.210Z] 4872d77fe225: Waiting [2023-03-15T23:18:26.210Z] bab4dde63d76: Waiting [2023-03-15T23:18:26.210Z] 5851b861e8e6: Waiting [2023-03-15T23:18:26.210Z] bde34c3a00c8: Waiting [2023-03-15T23:18:26.210Z] e2be974225ed: Download complete [2023-03-15T23:18:26.210Z] 988bab9f4d93: Download complete [2023-03-15T23:18:26.469Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T23:18:26.469Z] 1469e6f7b9e6: Download complete [2023-03-15T23:18:26.469Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T23:18:26.469Z] 339a4e72a1f5: Download complete [2023-03-15T23:18:26.469Z] eaf3925da568: Verifying Checksum [2023-03-15T23:18:26.469Z] eaf3925da568: Download complete [2023-03-15T23:18:26.469Z] bde34c3a00c8: Download complete [2023-03-15T23:18:26.469Z] b352a97aabf1: Verifying Checksum [2023-03-15T23:18:26.469Z] b352a97aabf1: Download complete [2023-03-15T23:18:26.469Z] 4872d77fe225: Verifying Checksum [2023-03-15T23:18:26.469Z] 4872d77fe225: Download complete [2023-03-15T23:18:26.469Z] 5851b861e8e6: Verifying Checksum [2023-03-15T23:18:26.469Z] 5851b861e8e6: Download complete [2023-03-15T23:18:26.469Z] b85a868b505f: Verifying Checksum [2023-03-15T23:18:26.469Z] b85a868b505f: Download complete [2023-03-15T23:18:26.727Z] bab4dde63d76: Verifying Checksum [2023-03-15T23:18:26.727Z] bab4dde63d76: Download complete [2023-03-15T23:18:28.108Z] b85a868b505f: Pull complete [2023-03-15T23:18:28.108Z] e2be974225ed: Pull complete [2023-03-15T23:18:28.367Z] 339a4e72a1f5: Pull complete [2023-03-15T23:18:28.626Z] 988bab9f4d93: Pull complete [2023-03-15T23:18:28.885Z] 1469e6f7b9e6: Pull complete [2023-03-15T23:18:28.885Z] eaf3925da568: Pull complete [2023-03-15T23:18:30.787Z] bab4dde63d76: Pull complete [2023-03-15T23:18:30.787Z] bde34c3a00c8: Pull complete [2023-03-15T23:18:30.787Z] b352a97aabf1: Pull complete [2023-03-15T23:18:30.787Z] 4872d77fe225: Pull complete [2023-03-15T23:18:30.787Z] 5851b861e8e6: Pull complete [2023-03-15T23:18:30.787Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T23:18:30.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T23:18:30.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:18:30.877Z] prd-ubuntu20.04-docker-8c-8g-2308 does not seem to be running inside a container [2023-03-15T23:18:30.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-526 -v /w/workspace/gexfoundry_device-mqtt-go_PR-526:/w/workspace/gexfoundry_device-mqtt-go_PR-526:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-526@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-15T23:18:32.437Z] $ docker top 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 -eo pid,comm [2023-03-15T23:18:32.500Z] 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-15T23:18:32.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T23:18:32.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T23:18:32.561Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T23:18:32.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T23:18:32.697Z] $ docker exec 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 ssh-agent [2023-03-15T23:18:32.826Z] SSH_AUTH_SOCK=/tmp/ssh-M9qVqCqIehfm/agent.33 [2023-03-15T23:18:32.826Z] SSH_AGENT_PID=39 [2023-03-15T23:18:32.832Z] Running ssh-add (command line suppressed) [2023-03-15T23:18:32.956Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/private_key_4147147911453212812.key (/w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/private_key_4147147911453212812.key) [2023-03-15T23:18:32.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T23:18:33.301Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T23:18:33.319Z] $ docker exec --env ******** --env ******** 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 ssh-agent -k [2023-03-15T23:18:33.425Z] unset SSH_AUTH_SOCK; [2023-03-15T23:18:33.426Z] unset SSH_AGENT_PID; [2023-03-15T23:18:33.426Z] echo Agent pid 39 killed; [2023-03-15T23:18:33.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T23:18:33.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T23:18:33.463Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T23:18:33.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T23:18:33.581Z] $ docker exec 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 ssh-agent [2023-03-15T23:18:33.696Z] SSH_AUTH_SOCK=/tmp/ssh-ONDDFoMuMNxm/agent.71 [2023-03-15T23:18:33.696Z] SSH_AGENT_PID=77 [2023-03-15T23:18:33.702Z] Running ssh-add (command line suppressed) [2023-03-15T23:18:33.806Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/private_key_17121009303729140497.key (/w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/private_key_17121009303729140497.key) [2023-03-15T23:18:33.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T23:18:34.108Z] + git semver init [2023-03-15T23:18:34.365Z] 2023-03-15 23:18:34,315 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T23:18:34.365Z] 2023-03-15 23:18:34,316 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver [2023-03-15T23:18:34.365Z] 2023-03-15 23:18:34,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver [2023-03-15T23:18:34.365Z] 2023-03-15 23:18:34,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-526, universal_newlines=False, shell=None, istream=None) [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,062 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-526/.git/info/exclude [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver/PR-526 with force:False [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,063 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver/PR-526 [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,066 [execute] INFO git cat-file --batch-check [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,073 [execute] INFO git cat-file --batch [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T23:18:35.298Z] 2023-03-15 23:18:35,080 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-526/.semver/PR-526 [2023-03-15T23:18:35.298Z] 0.0.0 [Pipeline] } [2023-03-15T23:18:35.308Z] $ docker exec --env ******** --env ******** 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 ssh-agent -k [2023-03-15T23:18:35.404Z] unset SSH_AUTH_SOCK; [2023-03-15T23:18:35.405Z] unset SSH_AGENT_PID; [2023-03-15T23:18:35.405Z] echo Agent pid 77 killed; [2023-03-15T23:18:35.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T23:18:35.713Z] + git semver [Pipeline] } [2023-03-15T23:18:35.989Z] $ docker stop --time=1 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 [2023-03-15T23:18:37.347Z] $ docker rm -f --volumes 68fa61ecd15501c2cfcc98485738d8535045b8feb7927aa77f44d26a5405dfe1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T23:18:37.680Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T23:18:37.888Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T23:18:37.891Z] [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-15T23:18:38.020Z] provisioning config files... [2023-03-15T23:18:38.027Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/config5390019255639161873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:18:38.322Z] ---> docker-login.sh [2023-03-15T23:18:38.322Z] nexus3.edgexfoundry.org:10001 [2023-03-15T23:18:38.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:38.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:38.322Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:38.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:38.323Z] [2023-03-15T23:18:38.323Z] Login Succeeded [2023-03-15T23:18:38.323Z] nexus3.edgexfoundry.org:10002 [2023-03-15T23:18:38.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:38.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:38.581Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:38.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:38.581Z] [2023-03-15T23:18:38.581Z] Login Succeeded [2023-03-15T23:18:38.581Z] nexus3.edgexfoundry.org:10003 [2023-03-15T23:18:38.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:38.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:38.581Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:38.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:38.581Z] [2023-03-15T23:18:38.581Z] Login Succeeded [2023-03-15T23:18:38.581Z] nexus3.edgexfoundry.org:10004 [2023-03-15T23:18:38.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:38.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:38.839Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:38.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:38.839Z] [2023-03-15T23:18:38.839Z] Login Succeeded [2023-03-15T23:18:38.839Z] docker.io [2023-03-15T23:18:38.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:18:39.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:18:39.097Z] Configure a credential helper to remove this warning. See [2023-03-15T23:18:39.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:18:39.097Z] [2023-03-15T23:18:39.097Z] Login Succeeded [2023-03-15T23:18:39.097Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T23:18:39.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T23:18:39.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T23:18:39.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T23:18:39.188Z] ========================================================= [2023-03-15T23:18:39.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T23:18:39.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:18:39.506Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T23:18:39.506Z] Sending build context to Docker daemon 6.383MB [2023-03-15T23:18:39.506Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T23:18:39.506Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T23:18:39.506Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T23:18:39.506Z] 63b65145d645: Pulling fs layer [2023-03-15T23:18:39.506Z] a2d21d5440eb: Pulling fs layer [2023-03-15T23:18:39.506Z] 935e6c44a52c: Pulling fs layer [2023-03-15T23:18:39.506Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T23:18:39.506Z] 30dea6a524f1: Pulling fs layer [2023-03-15T23:18:39.506Z] a2aff8979fd8: Pulling fs layer [2023-03-15T23:18:39.506Z] 6808be2612f2: Pulling fs layer [2023-03-15T23:18:39.506Z] f25807f1079a: Pulling fs layer [2023-03-15T23:18:39.506Z] 94cc34f8dd06: Waiting [2023-03-15T23:18:39.506Z] 30dea6a524f1: Waiting [2023-03-15T23:18:39.506Z] f25807f1079a: Waiting [2023-03-15T23:18:39.506Z] a2aff8979fd8: Waiting [2023-03-15T23:18:39.506Z] 6808be2612f2: Waiting [2023-03-15T23:18:39.506Z] a2d21d5440eb: Download complete [2023-03-15T23:18:39.775Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T23:18:39.775Z] 94cc34f8dd06: Download complete [2023-03-15T23:18:39.775Z] 30dea6a524f1: Download complete [2023-03-15T23:18:39.775Z] 63b65145d645: Verifying Checksum [2023-03-15T23:18:39.775Z] 63b65145d645: Download complete [2023-03-15T23:18:39.775Z] a2aff8979fd8: Verifying Checksum [2023-03-15T23:18:39.775Z] a2aff8979fd8: Download complete [2023-03-15T23:18:40.039Z] 63b65145d645: Pull complete [2023-03-15T23:18:40.039Z] a2d21d5440eb: Pull complete [2023-03-15T23:18:40.301Z] f25807f1079a: Verifying Checksum [2023-03-15T23:18:40.301Z] f25807f1079a: Download complete [2023-03-15T23:18:40.301Z] 935e6c44a52c: Verifying Checksum [2023-03-15T23:18:40.301Z] 935e6c44a52c: Download complete [2023-03-15T23:18:40.867Z] 6808be2612f2: Verifying Checksum [2023-03-15T23:18:40.867Z] 6808be2612f2: Download complete [2023-03-15T23:18:44.152Z] 935e6c44a52c: Pull complete [2023-03-15T23:18:44.152Z] 94cc34f8dd06: Pull complete [2023-03-15T23:18:44.152Z] 30dea6a524f1: Pull complete [2023-03-15T23:18:44.152Z] a2aff8979fd8: Pull complete [2023-03-15T23:18:46.687Z] 6808be2612f2: Pull complete [2023-03-15T23:18:46.944Z] f25807f1079a: Pull complete [2023-03-15T23:18:46.944Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T23:18:46.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T23:18:47.205Z] ---> 3b553350e43f [2023-03-15T23:18:47.205Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T23:18:48.588Z] ---> Running in f20b39ed44a7 [2023-03-15T23:18:48.847Z] Removing intermediate container f20b39ed44a7 [2023-03-15T23:18:48.847Z] ---> db13f092a79c [2023-03-15T23:18:48.847Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T23:18:48.847Z] ---> Running in a09058e1bcaa [2023-03-15T23:18:48.847Z] Removing intermediate container a09058e1bcaa [2023-03-15T23:18:48.847Z] ---> b430665bb8f8 [2023-03-15T23:18:48.847Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T23:18:49.108Z] ---> Running in c66a6c12558f [2023-03-15T23:18:49.108Z] Removing intermediate container c66a6c12558f [2023-03-15T23:18:49.108Z] ---> 3d0784ea345f [2023-03-15T23:18:49.108Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T23:18:49.108Z] ---> Running in 9e0b070bbad3 [2023-03-15T23:18:49.365Z] Removing intermediate container 9e0b070bbad3 [2023-03-15T23:18:49.365Z] ---> 44845401026a [2023-03-15T23:18:49.365Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T23:18:49.365Z] ---> Running in 2c949362613e [2023-03-15T23:18:49.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T23:18:49.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T23:18:49.881Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T23:18:49.881Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T23:18:49.881Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T23:18:49.881Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T23:18:49.881Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T23:18:49.881Z] OK: 269 MiB in 57 packages [2023-03-15T23:18:50.449Z] Removing intermediate container 2c949362613e [2023-03-15T23:18:50.449Z] ---> c2a7e776dd5a [2023-03-15T23:18:50.449Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T23:18:50.449Z] ---> Running in 8d8e27f52a2b [2023-03-15T23:18:50.449Z] Removing intermediate container 8d8e27f52a2b [2023-03-15T23:18:50.449Z] ---> 3a8fecc2cd8f [2023-03-15T23:18:50.449Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T23:18:50.707Z] ---> 85b051f9a131 [2023-03-15T23:18:50.707Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T23:18:50.707Z] ---> Running in 56cb1c9677f6 [2023-03-15T23:18:52.980Z] Still waiting to schedule task [2023-03-15T23:18:52.980Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2305’ [2023-03-15T23:19:12.643Z] Removing intermediate container 56cb1c9677f6 [2023-03-15T23:19:12.643Z] ---> 09fd3592d847 [2023-03-15T23:19:12.643Z] Step 11/12 : COPY . . [2023-03-15T23:19:12.643Z] ---> 1742e489b965 [2023-03-15T23:19:12.643Z] Step 12/12 : RUN $MAKE [2023-03-15T23:19:12.643Z] ---> Running in 8f2eee2f3c5e [2023-03-15T23:19:12.643Z] noop [2023-03-15T23:19:12.643Z] Removing intermediate container 8f2eee2f3c5e [2023-03-15T23:19:12.643Z] ---> b894525565fd [2023-03-15T23:19:12.643Z] Successfully built b894525565fd [2023-03-15T23:19:12.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:19:12.948Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T23:19:12.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:19:13.019Z] prd-ubuntu20.04-docker-8c-8g-2308 does not seem to be running inside a container [2023-03-15T23:19:13.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-526 -v /w/workspace/gexfoundry_device-mqtt-go_PR-526:/w/workspace/gexfoundry_device-mqtt-go_PR-526:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-526@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-15T23:19:13.421Z] $ docker top d15751d35f7431f842d814bab16d7a4581bebc7d7c06c30f751649f4995262d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T23:19:13.759Z] + go version [2023-03-15T23:19:13.759Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T23:19:13.773Z] $ docker stop --time=1 d15751d35f7431f842d814bab16d7a4581bebc7d7c06c30f751649f4995262d7 [2023-03-15T23:19:15.031Z] $ docker rm -f --volumes d15751d35f7431f842d814bab16d7a4581bebc7d7c06c30f751649f4995262d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:19:15.437Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T23:19:15.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:19:15.508Z] prd-ubuntu20.04-docker-8c-8g-2308 does not seem to be running inside a container [2023-03-15T23:19:15.544Z] $ 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-526 -v /w/workspace/gexfoundry_device-mqtt-go_PR-526:/w/workspace/gexfoundry_device-mqtt-go_PR-526:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-526@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-15T23:19:15.911Z] $ docker top 19d2aba6929c7679cc0a6728f80bb9c7c3e76153119a26b52ff21cce10028ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T23:19:16.252Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-526 [Pipeline] fileExists [Pipeline] sh [2023-03-15T23:19:16.544Z] + make test [2023-03-15T23:19:16.544Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T23:19:21.814Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T23:19:29.917Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-15T23:19:29.917Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-15T23:19:30.482Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T23:19:30.482Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements [2023-03-15T23:19:30.482Z] FAIL [2023-03-15T23:19:30.482Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-15T23:19:30.498Z] $ docker stop --time=1 19d2aba6929c7679cc0a6728f80bb9c7c3e76153119a26b52ff21cce10028ef7 [2023-03-15T23:19:32.469Z] $ docker rm -f --volumes 19d2aba6929c7679cc0a6728f80bb9c7c3e76153119a26b52ff21cce10028ef7 [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-15T23:19:32.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T23:19:32.972Z] [2023-03-15T23:19:32.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:19:33.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T23:19:33.264Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T23:19:33.264Z] 5eb5b503b376: Pulling fs layer [2023-03-15T23:19:33.264Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T23:19:33.264Z] ec43610c2a17: Pulling fs layer [2023-03-15T23:19:33.264Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T23:19:33.264Z] 33b1e0a273af: Pulling fs layer [2023-03-15T23:19:33.264Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T23:19:33.264Z] 2f39f015ded8: Pulling fs layer [2023-03-15T23:19:33.264Z] 33b1e0a273af: Waiting [2023-03-15T23:19:33.264Z] 3a2ae6a8a46f: Waiting [2023-03-15T23:19:33.264Z] 5d3b04190fa2: Waiting [2023-03-15T23:19:33.264Z] 2f39f015ded8: Waiting [2023-03-15T23:19:33.264Z] 5c69ac0246d0: Download complete [2023-03-15T23:19:33.264Z] 3a2ae6a8a46f: Download complete [2023-03-15T23:19:33.522Z] 33b1e0a273af: Verifying Checksum [2023-03-15T23:19:33.522Z] 33b1e0a273af: Download complete [2023-03-15T23:19:33.522Z] 5d3b04190fa2: Download complete [2023-03-15T23:19:33.522Z] ec43610c2a17: Verifying Checksum [2023-03-15T23:19:33.522Z] ec43610c2a17: Download complete [2023-03-15T23:19:33.522Z] 5eb5b503b376: Verifying Checksum [2023-03-15T23:19:33.522Z] 5eb5b503b376: Download complete [2023-03-15T23:19:34.089Z] 2f39f015ded8: Download complete [2023-03-15T23:19:34.660Z] 5eb5b503b376: Pull complete [2023-03-15T23:19:34.660Z] 5c69ac0246d0: Pull complete [2023-03-15T23:19:35.228Z] ec43610c2a17: Pull complete [2023-03-15T23:19:35.228Z] 3a2ae6a8a46f: Pull complete [2023-03-15T23:19:35.485Z] 33b1e0a273af: Pull complete [2023-03-15T23:19:35.485Z] 5d3b04190fa2: Pull complete [2023-03-15T23:19:39.676Z] 2f39f015ded8: Pull complete [2023-03-15T23:19:39.676Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T23:19:39.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T23:19:39.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:19:39.750Z] prd-ubuntu20.04-docker-8c-8g-2308 does not seem to be running inside a container [2023-03-15T23:19:39.785Z] $ 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-526 -v /w/workspace/gexfoundry_device-mqtt-go_PR-526:/w/workspace/gexfoundry_device-mqtt-go_PR-526:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-526@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-15T23:19:41.588Z] $ docker top 94324dceb78885e89ebc16dce9324ef92d79079886e0b49ddd7a7cbbef1d5421 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:19:41.953Z] ---> job-cost.sh [2023-03-15T23:19:41.953Z] lf-activate-venv: SKIPPING [2023-03-15T23:19:41.953Z] INFO: No Stack... [2023-03-15T23:19:42.211Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T23:19:42.469Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T23:19:42.759Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives/cost.csv [2023-03-15T23:19:42.759Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T23:19:42.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [2023-03-15T23:19:42.780Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] did not exist. Created. [2023-03-15T23:19:42.780Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T23:19:43.074Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T23:19:43.102Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T23:19:43.109Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T23:19:43.134Z] $ docker stop --time=1 94324dceb78885e89ebc16dce9324ef92d79079886e0b49ddd7a7cbbef1d5421 [2023-03-15T23:19:44.299Z] $ docker rm -f --volumes 94324dceb78885e89ebc16dce9324ef92d79079886e0b49ddd7a7cbbef1d5421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T23:19:44.381Z] Failed in branch amd64 [2023-03-15T23:22:04.832Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2311 in /w/workspace/gexfoundry_device-mqtt-go_PR-526 [Pipeline] { [Pipeline] ws [2023-03-15T23:22:04.844Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-15T23:22:04.883Z] Selected Git installation does not exist. Using Default [2023-03-15T23:22:04.883Z] The recommended git tool is: NONE [2023-03-15T23:22:11.493Z] using credential edgex-jenkins-ssh [2023-03-15T23:22:11.513Z] Cloning the remote Git repository [2023-03-15T23:22:11.582Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T23:22:11.714Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-15T23:22:11.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T23:22:11.911Z] > git --version # timeout=10 [2023-03-15T23:22:11.941Z] > git --version # 'git version 2.25.1' [2023-03-15T23:22:11.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T23:22:12.139Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T23:22:13.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T23:22:13.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T23:22:14.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T23:22:14.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T23:22:14.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T23:22:14.688Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/526/head:refs/remotes/origin/PR-526 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T23:22:15.224Z] Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit e1fd4ccd70885019a9894e48fb072b447684cfde [2023-03-15T23:22:15.634Z] Merge succeeded, producing 88576010e1f7ded4920976aedb72497932bdc413 [2023-03-15T23:22:15.635Z] Checking out Revision 88576010e1f7ded4920976aedb72497932bdc413 (PR-526) [2023-03-15T23:22:15.250Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T23:22:15.356Z] > git checkout -f e1fd4ccd70885019a9894e48fb072b447684cfde # timeout=10 [2023-03-15T23:22:15.458Z] > git remote # timeout=10 [2023-03-15T23:22:15.482Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T23:22:15.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T23:22:15.537Z] > git merge 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [2023-03-15T23:22:15.616Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T23:22:15.645Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T23:22:15.667Z] > git checkout -f 88576010e1f7ded4920976aedb72497932bdc413 # timeout=10 [2023-03-15T23:22:19.334Z] Commit message: "Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD" [2023-03-15T23:22:19.347Z] > git rev-list --no-walk e1fd4ccd70885019a9894e48fb072b447684cfde # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T23:22:20.343Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T23:22:20.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T23:22:20.343Z] Dload Upload Total Spent Left Speed [2023-03-15T23:22:20.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 139k 0 --:--:-- --:--:-- --:--:-- 141k [Pipeline] sh [2023-03-15T23:22:21.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T23:22:21.501Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T23:22:21.501Z] + sudo tee /etc/docker/daemon.new [2023-03-15T23:22:21.501Z] { [2023-03-15T23:22:21.501Z] "registry-mirrors": [ [2023-03-15T23:22:21.501Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T23:22:21.501Z] ], [2023-03-15T23:22:21.501Z] "bip": "10.250.0.254/24", [2023-03-15T23:22:21.501Z] "hosts": [ [2023-03-15T23:22:21.501Z] "tcp://0.0.0.0:5555", [2023-03-15T23:22:21.501Z] "unix:///var/run/docker.sock" [2023-03-15T23:22:21.501Z] ], [2023-03-15T23:22:21.501Z] "mtu": 1458, [2023-03-15T23:22:21.501Z] "selinux-enabled": true, [2023-03-15T23:22:21.501Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T23:22:21.501Z] } [Pipeline] sh [2023-03-15T23:22:21.839Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T23:22:22.183Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T23:22:40.489Z] provisioning config files... [2023-03-15T23:22:40.518Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config14379349204149720288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:22:40.880Z] ---> docker-login.sh [2023-03-15T23:22:40.880Z] nexus3.edgexfoundry.org:10001 [2023-03-15T23:22:41.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:22:41.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:22:41.473Z] Configure a credential helper to remove this warning. See [2023-03-15T23:22:41.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:22:41.473Z] [2023-03-15T23:22:41.473Z] Login Succeeded [2023-03-15T23:22:41.473Z] nexus3.edgexfoundry.org:10002 [2023-03-15T23:22:41.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:22:42.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:22:42.013Z] Configure a credential helper to remove this warning. See [2023-03-15T23:22:42.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:22:42.013Z] [2023-03-15T23:22:42.013Z] Login Succeeded [2023-03-15T23:22:42.013Z] nexus3.edgexfoundry.org:10003 [2023-03-15T23:22:42.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:22:42.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:22:42.285Z] Configure a credential helper to remove this warning. See [2023-03-15T23:22:42.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:22:42.285Z] [2023-03-15T23:22:42.285Z] Login Succeeded [2023-03-15T23:22:42.285Z] nexus3.edgexfoundry.org:10004 [2023-03-15T23:22:42.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:22:42.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:22:42.556Z] Configure a credential helper to remove this warning. See [2023-03-15T23:22:42.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:22:42.556Z] [2023-03-15T23:22:42.556Z] Login Succeeded [2023-03-15T23:22:42.556Z] docker.io [2023-03-15T23:22:42.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T23:22:43.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T23:22:43.102Z] Configure a credential helper to remove this warning. See [2023-03-15T23:22:43.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T23:22:43.102Z] [2023-03-15T23:22:43.102Z] Login Succeeded [2023-03-15T23:22:43.102Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T23:22:43.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T23:22:43.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T23:22:43.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T23:22:43.426Z] ========================================================= [2023-03-15T23:22:43.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T23:22:43.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:22:43.774Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T23:22:44.046Z] Sending build context to Docker daemon 3.326MB [2023-03-15T23:22:44.046Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T23:22:44.046Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T23:22:44.319Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T23:22:44.319Z] af6eaf76a39c: Pulling fs layer [2023-03-15T23:22:44.319Z] 55522c791124: Pulling fs layer [2023-03-15T23:22:44.319Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T23:22:44.319Z] 169dfbe0d373: Pulling fs layer [2023-03-15T23:22:44.319Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T23:22:44.319Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T23:22:44.319Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T23:22:44.319Z] e1ff8fa3b103: Waiting [2023-03-15T23:22:44.320Z] 52ebb69f0ebf: Waiting [2023-03-15T23:22:44.320Z] 5abe8eddf0d5: Waiting [2023-03-15T23:22:44.320Z] 169dfbe0d373: Waiting [2023-03-15T23:22:44.320Z] 55522c791124: Verifying Checksum [2023-03-15T23:22:44.320Z] 55522c791124: Download complete [2023-03-15T23:22:44.320Z] 169dfbe0d373: Verifying Checksum [2023-03-15T23:22:44.320Z] 169dfbe0d373: Download complete [2023-03-15T23:22:44.320Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T23:22:44.320Z] e1ff8fa3b103: Download complete [2023-03-15T23:22:44.595Z] af6eaf76a39c: Verifying Checksum [2023-03-15T23:22:44.595Z] af6eaf76a39c: Download complete [2023-03-15T23:22:45.583Z] af6eaf76a39c: Pull complete [2023-03-15T23:22:45.857Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T23:22:45.857Z] 5abe8eddf0d5: Download complete [2023-03-15T23:22:46.482Z] 55522c791124: Pull complete [2023-03-15T23:22:47.479Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T23:22:47.479Z] ce5c4a1c91eb: Download complete [2023-03-15T23:22:47.750Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T23:22:47.750Z] 52ebb69f0ebf: Download complete [2023-03-15T23:23:00.101Z] ce5c4a1c91eb: Pull complete [2023-03-15T23:23:00.101Z] 169dfbe0d373: Pull complete [2023-03-15T23:23:00.101Z] e1ff8fa3b103: Pull complete [2023-03-15T23:23:06.783Z] 52ebb69f0ebf: Pull complete [2023-03-15T23:23:07.775Z] 5abe8eddf0d5: Pull complete [2023-03-15T23:23:07.775Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T23:23:07.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T23:23:07.775Z] ---> 6cb57ee374ae [2023-03-15T23:23:07.775Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T23:23:09.768Z] ---> Running in e3a7b60303e3 [2023-03-15T23:23:12.369Z] Removing intermediate container e3a7b60303e3 [2023-03-15T23:23:12.369Z] ---> c6654009cd68 [2023-03-15T23:23:12.369Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T23:23:12.369Z] ---> Running in 19dd9c14634e [2023-03-15T23:23:12.369Z] Removing intermediate container 19dd9c14634e [2023-03-15T23:23:12.369Z] ---> 5cafcc964993 [2023-03-15T23:23:12.369Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T23:23:12.639Z] ---> Running in 6178bbcccd74 [2023-03-15T23:23:12.908Z] Removing intermediate container 6178bbcccd74 [2023-03-15T23:23:12.908Z] ---> 84bbacb61d88 [2023-03-15T23:23:12.908Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T23:23:12.908Z] ---> Running in 70d35db5572c [2023-03-15T23:23:13.494Z] Removing intermediate container 70d35db5572c [2023-03-15T23:23:13.494Z] ---> b94263a16259 [2023-03-15T23:23:13.494Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T23:23:13.494Z] ---> Running in 138b529c8be9 [2023-03-15T23:23:14.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T23:23:15.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T23:23:16.615Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T23:23:16.615Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T23:23:16.615Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T23:23:16.615Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T23:23:16.615Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T23:23:16.615Z] OK: 268 MiB in 57 packages [2023-03-15T23:23:17.591Z] Removing intermediate container 138b529c8be9 [2023-03-15T23:23:17.591Z] ---> 0e1c77b85ded [2023-03-15T23:23:17.591Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T23:23:17.861Z] ---> Running in 6db10d85bed4 [2023-03-15T23:23:18.130Z] Removing intermediate container 6db10d85bed4 [2023-03-15T23:23:18.130Z] ---> b52ee51073e8 [2023-03-15T23:23:18.130Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T23:23:18.717Z] ---> e2993bfa16ff [2023-03-15T23:23:18.717Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T23:23:18.717Z] ---> Running in 6ef08c2c199a [2023-03-15T23:24:26.630Z] Removing intermediate container 6ef08c2c199a [2023-03-15T23:24:26.630Z] ---> 9a5eca0a02fa [2023-03-15T23:24:26.630Z] Step 11/12 : COPY . . [2023-03-15T23:24:26.630Z] ---> 30b0b6aeed3c [2023-03-15T23:24:26.630Z] Step 12/12 : RUN $MAKE [2023-03-15T23:24:26.630Z] ---> Running in bd9ab4491501 [2023-03-15T23:24:26.630Z] noop [2023-03-15T23:24:26.630Z] Removing intermediate container bd9ab4491501 [2023-03-15T23:24:26.630Z] ---> 157a6cea73f6 [2023-03-15T23:24:26.630Z] Successfully built 157a6cea73f6 [2023-03-15T23:24:26.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:24:26.977Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T23:24:26.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:24:27.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-2311 does not seem to be running inside a container [2023-03-15T23:24:27.269Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-15T23:24:28.504Z] $ docker top 1b80baa80a766b54327f3b902af4585b5388227b7a429366d663fcdcf88b2223 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T23:24:29.345Z] + go version [2023-03-15T23:24:29.345Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T23:24:29.368Z] $ docker stop --time=1 1b80baa80a766b54327f3b902af4585b5388227b7a429366d663fcdcf88b2223 [2023-03-15T23:24:31.008Z] $ docker rm -f --volumes 1b80baa80a766b54327f3b902af4585b5388227b7a429366d663fcdcf88b2223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:24:31.552Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T23:24:31.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:24:31.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-2311 does not seem to be running inside a container [2023-03-15T23:24:31.812Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-15T23:24:32.982Z] $ docker top 7b91bdfb6b9dd38cc6a5ce3a3314fc5ae170268f9c7415b7602aeabdbade9e85 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T23:24:33.794Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-15T23:24:34.131Z] + make test [2023-03-15T23:24:34.132Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T23:25:13.036Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T23:27:04.727Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-15T23:27:04.727Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-15T23:27:04.728Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors [2023-03-15T23:27:26.797Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T23:27:26.797Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.144s coverage: 22.2% of statements [2023-03-15T23:27:26.797Z] FAIL [2023-03-15T23:27:27.384Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-03-15T23:27:27.409Z] $ docker stop --time=1 7b91bdfb6b9dd38cc6a5ce3a3314fc5ae170268f9c7415b7602aeabdbade9e85 [2023-03-15T23:27:29.388Z] $ docker rm -f --volumes 7b91bdfb6b9dd38cc6a5ce3a3314fc5ae170268f9c7415b7602aeabdbade9e85 [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-15T23:27:30.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T23:27:30.742Z] [2023-03-15T23:27:30.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:27:31.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T23:27:31.345Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T23:27:31.345Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T23:27:31.345Z] 04944245beec: Pulling fs layer [2023-03-15T23:27:31.345Z] 699f458cf7ca: Pulling fs layer [2023-03-15T23:27:31.345Z] 765212b225bb: Pulling fs layer [2023-03-15T23:27:31.345Z] f23df028b6ca: Pulling fs layer [2023-03-15T23:27:31.345Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T23:27:31.345Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T23:27:31.345Z] f23df028b6ca: Waiting [2023-03-15T23:27:31.345Z] d65c8cfc05b1: Waiting [2023-03-15T23:27:31.345Z] 2437ff75d9bd: Waiting [2023-03-15T23:27:31.345Z] 765212b225bb: Waiting [2023-03-15T23:27:31.345Z] 04944245beec: Verifying Checksum [2023-03-15T23:27:31.345Z] 04944245beec: Download complete [2023-03-15T23:27:31.345Z] 765212b225bb: Verifying Checksum [2023-03-15T23:27:31.345Z] 765212b225bb: Download complete [2023-03-15T23:27:31.345Z] f23df028b6ca: Verifying Checksum [2023-03-15T23:27:31.345Z] f23df028b6ca: Download complete [2023-03-15T23:27:31.618Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T23:27:31.618Z] d65c8cfc05b1: Download complete [2023-03-15T23:27:31.618Z] 699f458cf7ca: Verifying Checksum [2023-03-15T23:27:31.618Z] 699f458cf7ca: Download complete [2023-03-15T23:27:32.230Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T23:27:32.230Z] 8998bd30e6a1: Download complete [2023-03-15T23:27:34.822Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T23:27:34.822Z] 2437ff75d9bd: Download complete [2023-03-15T23:27:37.409Z] 8998bd30e6a1: Pull complete [2023-03-15T23:27:37.676Z] 04944245beec: Pull complete [2023-03-15T23:27:39.085Z] 699f458cf7ca: Pull complete [2023-03-15T23:27:39.085Z] 765212b225bb: Pull complete [2023-03-15T23:27:40.043Z] f23df028b6ca: Pull complete [2023-03-15T23:27:40.043Z] d65c8cfc05b1: Pull complete [2023-03-15T23:27:52.361Z] 2437ff75d9bd: Pull complete [2023-03-15T23:27:52.361Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T23:27:52.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T23:27:52.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:27:52.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-2311 does not seem to be running inside a container [2023-03-15T23:27:52.699Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T23:27:55.352Z] $ docker top 6678d4619b7b32175a721c2797d465a9b408d20c89903c6e1bad2371029890be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:27:56.257Z] ---> job-cost.sh [2023-03-15T23:27:56.257Z] lf-activate-venv: SKIPPING [2023-03-15T23:27:56.257Z] INFO: No Stack... [2023-03-15T23:27:56.527Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T23:27:57.495Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T23:27:58.157Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-03-15T23:27:58.157Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T23:27:58.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [2023-03-15T23:27:58.234Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] did not exist. Created. [2023-03-15T23:27:58.234Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T23:27:58.897Z] /w/workspace/device-mqtt-go/2@tmp/durable-c6636614/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T23:27:59.559Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T23:27:59.584Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T23:28:00.042Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T23:28:00.049Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-526-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T23:28:00.070Z] $ docker stop --time=1 6678d4619b7b32175a721c2797d465a9b408d20c89903c6e1bad2371029890be [2023-03-15T23:28:01.597Z] $ docker rm -f --volumes 6678d4619b7b32175a721c2797d465a9b408d20c89903c6e1bad2371029890be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T23:28:01.827Z] 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-15T23:28:02.435Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives ] [2023-03-15T23:28:02.435Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives [2023-03-15T23:28:02.435Z] total 16 [2023-03-15T23:28:02.435Z] drwxr-xr-x 3 root root 4096 Mar 15 23:19 . [2023-03-15T23:28:02.435Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 23:19 .. [2023-03-15T23:28:02.435Z] drwxr-xr-x 2 root root 4096 Mar 15 23:19 cost [2023-03-15T23:28:02.435Z] -rw-r--r-- 1 root root 86 Mar 15 23:19 cost.csv [2023-03-15T23:28:02.435Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives [2023-03-15T23:28:02.435Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives [2023-03-15T23:28:02.435Z] total 16 [2023-03-15T23:28:02.435Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 23:19 . [2023-03-15T23:28:02.435Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 23:19 .. [2023-03-15T23:28:02.435Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 23:19 cost [2023-03-15T23:28:02.435Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:02.732Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:03.591Z] ---> package-listing.sh [2023-03-15T23:28:03.591Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T23:28:03.591Z] ++ facter osfamily [2023-03-15T23:28:03.591Z] + OS_FAMILY=debian [2023-03-15T23:28:03.591Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-526 [2023-03-15T23:28:03.591Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T23:28:03.591Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T23:28:03.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T23:28:03.591Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T23:28:03.591Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-526 ']' [2023-03-15T23:28:03.591Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T23:28:03.850Z] + case "${OS_FAMILY}" in [2023-03-15T23:28:03.850Z] + dpkg -l [2023-03-15T23:28:03.850Z] + grep '^ii' [2023-03-15T23:28:03.850Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T23:28:03.850Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T23:28:03.850Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T23:28:03.850Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-526 ']' [2023-03-15T23:28:03.850Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives/ [2023-03-15T23:28:03.850Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-526/archives/ [Pipeline] echo [2023-03-15T23:28:03.862Z] 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-526/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T23:28:04.150Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T23:28:04.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T23:28:04.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T23:28:04.513Z] prd-ubuntu20.04-docker-8c-8g-2308 does not seem to be running inside a container [2023-03-15T23:28:04.546Z] $ 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-526/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-526 -v /w/workspace/gexfoundry_device-mqtt-go_PR-526:/w/workspace/gexfoundry_device-mqtt-go_PR-526:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-526@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-15T23:28:04.751Z] $ docker top 1a03866832ac9c3f8b706891b7c20fcd3665d1743bff9c78522276e7f0f8c100 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T23:28:05.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T23:28:05.370Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T23:28:05.654Z] + ls /var/log/sa-host [2023-03-15T23:28:05.654Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T23:28:05.716Z] provisioning config files... [2023-03-15T23:28:05.723Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-526@tmp/config8413689455731648219tmp [Pipeline] { [Pipeline] echo [2023-03-15T23:28:05.735Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:06.015Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T23:28:06.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:06.336Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T23:28:06.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:06.627Z] ---> sudo-logs.sh [2023-03-15T23:28:06.627Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T23:28:06.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:06.937Z] ---> job-cost.sh [2023-03-15T23:28:06.937Z] lf-activate-venv: SKIPPING [2023-03-15T23:28:06.937Z] DEBUG: total: 0.2199999988079071 [2023-03-15T23:28:06.937Z] INFO: Retrieving Stack Cost... [2023-03-15T23:28:07.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T23:28:07.764Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T23:28:07.774Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T23:28:08.056Z] ---> logs-deploy.sh [2023-03-15T23:28:08.056Z] lf-activate-venv: SKIPPING [2023-03-15T23:28:08.056Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-526/2 [2023-03-15T23:28:08.056Z] INFO: archiving workspace using pattern(s): [2023-03-15T23:28:08.992Z] Archives upload complete. [2023-03-15T23:28:08.992Z] INFO: archiving logs to Nexus