Pull request #516 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3638d20b1e23dc935128bb09eb6e53679399471b+d895e333ff01e63b6fe1f723ceb6cf1859de49f5 (a351aa1c201026dc7b7c8adb3e7a724837d935c1) 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-ssh1785962698052897603.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13378546528963172767.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-516/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-516/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14854231911775358700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4630036466965961103.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-516/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-516/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1871869042656317595.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9052 in /w/workspace/gexfoundry_device-mqtt-go_PR-516 [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-516 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit 3638d20b1e23dc935128bb09eb6e53679399471b Merge succeeded, producing 3638d20b1e23dc935128bb09eb6e53679399471b Checking out Revision 3638d20b1e23dc935128bb09eb6e53679399471b (PR-516) > 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/516/head:refs/remotes/origin/PR-516 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3638d20b1e23dc935128bb09eb6e53679399471b # 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 d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3638d20b1e23dc935128bb09eb6e53679399471b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T02:19:15.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T02:19:15.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T02:19:15.612Z] ========================================================= [2023-03-09T02:19:15.612Z] EdgeX Global Pipelines Version Info [2023-03-09T02:19:15.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ea26b4b30cc1297097077aaf2faabe19f9398ef5 # timeout=10 [2023-03-09T02:19:16.316Z] ------------------- [2023-03-09T02:19:16.316Z] stable info: [2023-03-09T02:19:16.316Z] ------------------- [2023-03-09T02:19:16.316Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T02:19:16.316Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:19:16.316Z] Message: update stable to v1.0.244 [2023-03-09T02:19:16.887Z] ------------------- [2023-03-09T02:19:16.887Z] experimental info: [2023-03-09T02:19:16.887Z] ------------------- [2023-03-09T02:19:16.887Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T02:19:16.887Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:19:16.887Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T02:19:17.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-09T02:19:17.082Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-09T02:19:17.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T02:19:17.098Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T02:19:17.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T02:19:17.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T02:19:17.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T02:19:17.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T02:19:17.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T02:19:17.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T02:19:17.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T02:19:17.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-09T02:19:17.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T02:19:17.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T02:19:17.251Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:19:17.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:19:17.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:19:17.296Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:19:17.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T02:19:17.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T02:19:17.336Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T02:19:17.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T02:19:17.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T02:19:17.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T02:19:17.382Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T02:19:17.393Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T02:19:17.406Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T02:19:17.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-516 [Pipeline] echo [2023-03-09T02:19:17.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-516 [Pipeline] echo [2023-03-09T02:19:17.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-516 [Pipeline] echo [2023-03-09T02:19:17.457Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3638d20b1e23dc935128bb09eb6e53679399471b [Pipeline] echo [2023-03-09T02:19:17.470Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3638d20 [Pipeline] echo [2023-03-09T02:19:17.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:19:17.526Z] provisioning config files... [2023-03-09T02:19:17.540Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/config11740557377804185543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:19:17.843Z] ---> docker-login.sh [2023-03-09T02:19:17.843Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:19:18.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:18.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:18.364Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:18.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:18.364Z] [2023-03-09T02:19:18.364Z] Login Succeeded [2023-03-09T02:19:18.364Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:19:18.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:18.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:18.364Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:18.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:18.364Z] [2023-03-09T02:19:18.364Z] Login Succeeded [2023-03-09T02:19:18.364Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:19:18.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:18.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:18.624Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:18.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:18.624Z] [2023-03-09T02:19:18.624Z] Login Succeeded [2023-03-09T02:19:18.624Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:19:18.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:18.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:18.624Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:18.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:18.624Z] [2023-03-09T02:19:18.624Z] Login Succeeded [2023-03-09T02:19:18.624Z] docker.io [2023-03-09T02:19:18.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:18.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:18.884Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:18.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:18.884Z] [2023-03-09T02:19:18.884Z] Login Succeeded [2023-03-09T02:19:18.884Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:19:18.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T02:19:19.259Z] + git rev-list -1 --merges 3638d20b1e23dc935128bb09eb6e53679399471b~1..3638d20b1e23dc935128bb09eb6e53679399471b [Pipeline] echo [2023-03-09T02:19:19.308Z] -----------> git rev-list -1 --merges 3638d20b1e23dc935128bb09eb6e53679399471b~1..3638d20b1e23dc935128bb09eb6e53679399471b 3638d20b1e23dc935128bb09eb6e53679399471b [false] [Pipeline] sh [2023-03-09T02:19:19.601Z] + git log --format=format:%s -1 3638d20b1e23dc935128bb09eb6e53679399471b [Pipeline] echo [2023-03-09T02:19:19.617Z] ========================================================= [2023-03-09T02:19:19.617Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T02:19:19.617Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:19:19.935Z] + git log --format=format:%s -1 3638d20b1e23dc935128bb09eb6e53679399471b [Pipeline] echo [2023-03-09T02:19:19.946Z] [semverPrep] GIT_COMMIT: 3638d20b1e23dc935128bb09eb6e53679399471b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-09T02:19:19.954Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T02:19:20.306Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:19:20.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T02:19:20.307Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T02:19:20.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T02:19:20.307Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T02:19:20.307Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T02:19:20.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:19:20.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:19:20.672Z] [2023-03-09T02:19:20.672Z] 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-09T02:19:20.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:19:20.977Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T02:19:20.977Z] b85a868b505f: Pulling fs layer [2023-03-09T02:19:20.977Z] e2be974225ed: Pulling fs layer [2023-03-09T02:19:20.977Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T02:19:20.977Z] 988bab9f4d93: Pulling fs layer [2023-03-09T02:19:20.977Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T02:19:20.977Z] eaf3925da568: Pulling fs layer [2023-03-09T02:19:20.977Z] bab4dde63d76: Pulling fs layer [2023-03-09T02:19:20.977Z] bde34c3a00c8: Pulling fs layer [2023-03-09T02:19:20.977Z] b352a97aabf1: Pulling fs layer [2023-03-09T02:19:20.977Z] 4872d77fe225: Pulling fs layer [2023-03-09T02:19:20.977Z] 5851b861e8e6: Pulling fs layer [2023-03-09T02:19:20.977Z] bab4dde63d76: Waiting [2023-03-09T02:19:20.977Z] b352a97aabf1: Waiting [2023-03-09T02:19:20.977Z] 4872d77fe225: Waiting [2023-03-09T02:19:20.977Z] 5851b861e8e6: Waiting [2023-03-09T02:19:20.977Z] 988bab9f4d93: Waiting [2023-03-09T02:19:20.977Z] bde34c3a00c8: Waiting [2023-03-09T02:19:20.977Z] 1469e6f7b9e6: Waiting [2023-03-09T02:19:20.977Z] eaf3925da568: Waiting [2023-03-09T02:19:20.977Z] e2be974225ed: Verifying Checksum [2023-03-09T02:19:20.977Z] e2be974225ed: Download complete [2023-03-09T02:19:20.977Z] 988bab9f4d93: Download complete [2023-03-09T02:19:21.238Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T02:19:21.238Z] 1469e6f7b9e6: Download complete [2023-03-09T02:19:21.238Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T02:19:21.238Z] 339a4e72a1f5: Download complete [2023-03-09T02:19:21.238Z] eaf3925da568: Verifying Checksum [2023-03-09T02:19:21.238Z] eaf3925da568: Download complete [2023-03-09T02:19:21.238Z] bde34c3a00c8: Verifying Checksum [2023-03-09T02:19:21.238Z] bde34c3a00c8: Download complete [2023-03-09T02:19:21.238Z] b352a97aabf1: Download complete [2023-03-09T02:19:21.238Z] 4872d77fe225: Download complete [2023-03-09T02:19:21.238Z] 5851b861e8e6: Verifying Checksum [2023-03-09T02:19:21.238Z] 5851b861e8e6: Download complete [2023-03-09T02:19:21.495Z] b85a868b505f: Verifying Checksum [2023-03-09T02:19:21.495Z] b85a868b505f: Download complete [2023-03-09T02:19:21.752Z] bab4dde63d76: Verifying Checksum [2023-03-09T02:19:21.752Z] bab4dde63d76: Download complete [2023-03-09T02:19:22.690Z] b85a868b505f: Pull complete [2023-03-09T02:19:22.690Z] e2be974225ed: Pull complete [2023-03-09T02:19:23.257Z] 339a4e72a1f5: Pull complete [2023-03-09T02:19:23.257Z] 988bab9f4d93: Pull complete [2023-03-09T02:19:23.518Z] 1469e6f7b9e6: Pull complete [2023-03-09T02:19:23.518Z] eaf3925da568: Pull complete [2023-03-09T02:19:25.415Z] bab4dde63d76: Pull complete [2023-03-09T02:19:25.415Z] bde34c3a00c8: Pull complete [2023-03-09T02:19:25.415Z] b352a97aabf1: Pull complete [2023-03-09T02:19:25.678Z] 4872d77fe225: Pull complete [2023-03-09T02:19:25.678Z] 5851b861e8e6: Pull complete [2023-03-09T02:19:25.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T02:19:25.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:19:25.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:19:25.766Z] prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container [2023-03-09T02:19:25.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-516 -v /w/workspace/gexfoundry_device-mqtt-go_PR-516:/w/workspace/gexfoundry_device-mqtt-go_PR-516:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-516@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-09T02:19:27.256Z] $ docker top bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 -eo pid,comm [2023-03-09T02:19:27.314Z] 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-09T02:19:27.314Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:19:27.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:19:27.350Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:19:27.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:19:27.470Z] $ docker exec bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 ssh-agent [2023-03-09T02:19:27.584Z] SSH_AUTH_SOCK=/tmp/ssh-gK21ocyDqixE/agent.31 [2023-03-09T02:19:27.584Z] SSH_AGENT_PID=37 [2023-03-09T02:19:27.590Z] Running ssh-add (command line suppressed) [2023-03-09T02:19:27.701Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/private_key_15555665519748560361.key (/w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/private_key_15555665519748560361.key) [2023-03-09T02:19:27.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:19:27.994Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T02:19:28.010Z] $ docker exec --env ******** --env ******** bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 ssh-agent -k [2023-03-09T02:19:28.107Z] unset SSH_AUTH_SOCK; [2023-03-09T02:19:28.108Z] unset SSH_AGENT_PID; [2023-03-09T02:19:28.108Z] echo Agent pid 37 killed; [2023-03-09T02:19:28.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T02:19:28.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:19:28.137Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:19:28.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:19:28.248Z] $ docker exec bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 ssh-agent [2023-03-09T02:19:28.356Z] SSH_AUTH_SOCK=/tmp/ssh-MOhnUxBVGMV2/agent.68 [2023-03-09T02:19:28.357Z] SSH_AGENT_PID=74 [2023-03-09T02:19:28.360Z] Running ssh-add (command line suppressed) [2023-03-09T02:19:28.466Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/private_key_17488908891724080139.key (/w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/private_key_17488908891724080139.key) [2023-03-09T02:19:28.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:19:28.765Z] + git semver init [2023-03-09T02:19:29.024Z] 2023-03-09 02:19:28,974 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T02:19:29.024Z] 2023-03-09 02:19:28,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver [2023-03-09T02:19:29.024Z] 2023-03-09 02:19:28,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver [2023-03-09T02:19:29.024Z] 2023-03-09 02:19:28,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-516, universal_newlines=False, shell=None, istream=None) [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,773 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-516/.git/info/exclude [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,774 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver/PR-516 with force:False [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,774 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver/PR-516 [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,778 [execute] INFO git cat-file --batch-check [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,786 [execute] INFO git cat-file --batch [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:19:29.960Z] 2023-03-09 02:19:29,794 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-516/.semver/PR-516 [2023-03-09T02:19:29.960Z] 0.0.0 [Pipeline] } [2023-03-09T02:19:29.973Z] $ docker exec --env ******** --env ******** bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 ssh-agent -k [2023-03-09T02:19:30.066Z] unset SSH_AUTH_SOCK; [2023-03-09T02:19:30.066Z] unset SSH_AGENT_PID; [2023-03-09T02:19:30.067Z] echo Agent pid 74 killed; [2023-03-09T02:19:30.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:19:30.369Z] + git semver [Pipeline] } [2023-03-09T02:19:30.644Z] $ docker stop --time=1 bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 [2023-03-09T02:19:31.977Z] $ docker rm -f --volumes bf49c6385e1f7ed072d730b68609972df06fcc666952d9692dedf76c251fb366 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:19:32.311Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T02:19:32.529Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T02:19:32.532Z] [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-09T02:19:32.683Z] provisioning config files... [2023-03-09T02:19:32.692Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/config2829840889489981609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:19:32.984Z] ---> docker-login.sh [2023-03-09T02:19:32.984Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:19:32.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:32.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:32.984Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:32.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:32.984Z] [2023-03-09T02:19:32.984Z] Login Succeeded [2023-03-09T02:19:32.984Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:19:32.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:32.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:32.984Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:32.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:32.985Z] [2023-03-09T02:19:32.985Z] Login Succeeded [2023-03-09T02:19:32.985Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:19:33.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:33.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:33.244Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:33.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:33.244Z] [2023-03-09T02:19:33.244Z] Login Succeeded [2023-03-09T02:19:33.244Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:19:33.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:33.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:33.244Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:33.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:33.244Z] [2023-03-09T02:19:33.244Z] Login Succeeded [2023-03-09T02:19:33.244Z] docker.io [2023-03-09T02:19:33.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:19:33.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:19:33.503Z] Configure a credential helper to remove this warning. See [2023-03-09T02:19:33.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:19:33.503Z] [2023-03-09T02:19:33.503Z] Login Succeeded [2023-03-09T02:19:33.503Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:19:33.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:19:33.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:19:33.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:19:33.593Z] ========================================================= [2023-03-09T02:19:33.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T02:19:33.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:19:33.905Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:19:33.905Z] Sending build context to Docker daemon 6.339MB [2023-03-09T02:19:33.905Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:19:33.905Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:19:33.905Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T02:19:33.905Z] 213ec9aee27d: Pulling fs layer [2023-03-09T02:19:33.905Z] 4583459ba037: Pulling fs layer [2023-03-09T02:19:33.905Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T02:19:33.905Z] 53926ce57604: Pulling fs layer [2023-03-09T02:19:33.905Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T02:19:33.905Z] 22ff95d597cd: Pulling fs layer [2023-03-09T02:19:33.905Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T02:19:33.905Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T02:19:33.905Z] a7acece74701: Pulling fs layer [2023-03-09T02:19:33.905Z] 53926ce57604: Waiting [2023-03-09T02:19:33.905Z] 21b2b0c7a3f4: Waiting [2023-03-09T02:19:33.905Z] 96b7cbca73a9: Waiting [2023-03-09T02:19:33.905Z] 22ff95d597cd: Waiting [2023-03-09T02:19:33.905Z] 12d6caf4c0d1: Waiting [2023-03-09T02:19:33.905Z] a7acece74701: Waiting [2023-03-09T02:19:33.905Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T02:19:33.905Z] 93c1e223e6f2: Download complete [2023-03-09T02:19:33.905Z] 4583459ba037: Verifying Checksum [2023-03-09T02:19:33.905Z] 4583459ba037: Download complete [2023-03-09T02:19:33.905Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T02:19:33.905Z] 21b2b0c7a3f4: Download complete [2023-03-09T02:19:33.905Z] 22ff95d597cd: Verifying Checksum [2023-03-09T02:19:34.166Z] 22ff95d597cd: Download complete [2023-03-09T02:19:34.166Z] 213ec9aee27d: Verifying Checksum [2023-03-09T02:19:34.166Z] 213ec9aee27d: Download complete [2023-03-09T02:19:34.166Z] 12d6caf4c0d1: Download complete [2023-03-09T02:19:34.166Z] 213ec9aee27d: Pull complete [2023-03-09T02:19:34.431Z] 4583459ba037: Pull complete [2023-03-09T02:19:34.431Z] 93c1e223e6f2: Pull complete [2023-03-09T02:19:34.692Z] a7acece74701: Verifying Checksum [2023-03-09T02:19:34.692Z] a7acece74701: Download complete [2023-03-09T02:19:34.950Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T02:19:34.950Z] 96b7cbca73a9: Download complete [2023-03-09T02:19:34.950Z] 53926ce57604: Verifying Checksum [2023-03-09T02:19:34.950Z] 53926ce57604: Download complete [2023-03-09T02:19:39.136Z] 53926ce57604: Pull complete [2023-03-09T02:19:39.136Z] 21b2b0c7a3f4: Pull complete [2023-03-09T02:19:39.136Z] 22ff95d597cd: Pull complete [2023-03-09T02:19:39.136Z] 12d6caf4c0d1: Pull complete [2023-03-09T02:19:41.040Z] 96b7cbca73a9: Pull complete [2023-03-09T02:19:41.298Z] a7acece74701: Pull complete [2023-03-09T02:19:41.298Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T02:19:41.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T02:19:41.557Z] ---> db6d94c90886 [2023-03-09T02:19:41.557Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:19:43.458Z] ---> Running in 8c18673ba702 [2023-03-09T02:19:43.458Z] Removing intermediate container 8c18673ba702 [2023-03-09T02:19:43.458Z] ---> ef7ef350f826 [2023-03-09T02:19:43.458Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:19:43.458Z] ---> Running in 45300166017f [2023-03-09T02:19:43.715Z] Removing intermediate container 45300166017f [2023-03-09T02:19:43.715Z] ---> a8875dc95c92 [2023-03-09T02:19:43.715Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:19:43.715Z] ---> Running in 0014e2b51431 [2023-03-09T02:19:43.715Z] Removing intermediate container 0014e2b51431 [2023-03-09T02:19:43.715Z] ---> 7d05cc56ca95 [2023-03-09T02:19:43.715Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:19:43.973Z] ---> Running in 10b6a200ddf7 [2023-03-09T02:19:43.973Z] Removing intermediate container 10b6a200ddf7 [2023-03-09T02:19:43.973Z] ---> fac8ee95c740 [2023-03-09T02:19:43.973Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:19:43.973Z] ---> Running in 9bfe5e027d28 [2023-03-09T02:19:44.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:19:44.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:19:44.751Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:19:44.751Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:19:44.751Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:19:44.751Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:19:44.751Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:19:44.751Z] OK: 216 MiB in 55 packages [2023-03-09T02:19:45.318Z] Removing intermediate container 9bfe5e027d28 [2023-03-09T02:19:45.318Z] ---> d7927e3b9ff2 [2023-03-09T02:19:45.318Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T02:19:45.318Z] ---> Running in 4d0144389b4c [2023-03-09T02:19:45.318Z] Removing intermediate container 4d0144389b4c [2023-03-09T02:19:45.318Z] ---> 18b702cfc953 [2023-03-09T02:19:45.318Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:19:45.578Z] ---> 9ab6d725d8f4 [2023-03-09T02:19:45.578Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:19:45.578Z] ---> Running in cf4c2ec32702 [2023-03-09T02:19:47.636Z] Still waiting to schedule task [2023-03-09T02:19:47.637Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8966’ [2023-03-09T02:20:32.261Z] Removing intermediate container cf4c2ec32702 [2023-03-09T02:20:32.261Z] ---> 88e7e9f08c2f [2023-03-09T02:20:32.261Z] Step 11/12 : COPY . . [2023-03-09T02:20:32.261Z] ---> 7d20f802bca5 [2023-03-09T02:20:32.261Z] Step 12/12 : RUN $MAKE [2023-03-09T02:20:32.261Z] ---> Running in d0c2c64105f2 [2023-03-09T02:20:32.261Z] noop [2023-03-09T02:20:32.261Z] Removing intermediate container d0c2c64105f2 [2023-03-09T02:20:32.261Z] ---> cf367e93a666 [2023-03-09T02:20:32.261Z] Successfully built cf367e93a666 [2023-03-09T02:20:32.261Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:20:32.586Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:20:32.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:20:32.660Z] prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container [2023-03-09T02:20:32.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-516 -v /w/workspace/gexfoundry_device-mqtt-go_PR-516:/w/workspace/gexfoundry_device-mqtt-go_PR-516:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-516@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-09T02:20:33.047Z] $ docker top f6dba855f8849feff106c454812fc07244acc343b28959b9348fb47a5d370f36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:20:33.382Z] + go version [2023-03-09T02:20:33.382Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T02:20:33.395Z] $ docker stop --time=1 f6dba855f8849feff106c454812fc07244acc343b28959b9348fb47a5d370f36 [2023-03-09T02:20:34.675Z] $ docker rm -f --volumes f6dba855f8849feff106c454812fc07244acc343b28959b9348fb47a5d370f36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:20:35.098Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:20:35.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:20:35.167Z] prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container [2023-03-09T02:20:35.197Z] $ 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-516 -v /w/workspace/gexfoundry_device-mqtt-go_PR-516:/w/workspace/gexfoundry_device-mqtt-go_PR-516:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-516@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-09T02:20:35.517Z] $ docker top c833ebc3290f1d93e4e92a078e57ec2024ef88c47d3f8464ba82403f75267f71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:20:35.858Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-516 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:20:36.154Z] + make test [2023-03-09T02:20:36.154Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T02:20:36.412Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T02:20:44.518Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-03-09T02:20:44.518Z] internal/driver/config.go:83:9: cannot use commandTopic (variable of type any) as type string in return statement: [2023-03-09T02:20:44.518Z] need type assertion [2023-03-09T02:20:44.518Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-09T02:20:44.518Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-09T02:20:44.531Z] $ docker stop --time=1 c833ebc3290f1d93e4e92a078e57ec2024ef88c47d3f8464ba82403f75267f71 [2023-03-09T02:20:46.254Z] $ docker rm -f --volumes c833ebc3290f1d93e4e92a078e57ec2024ef88c47d3f8464ba82403f75267f71 [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-09T02:20:46.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:20:46.794Z] [2023-03-09T02:20:46.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:20:47.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:20:47.096Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T02:20:47.096Z] 5eb5b503b376: Pulling fs layer [2023-03-09T02:20:47.096Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T02:20:47.096Z] ec43610c2a17: Pulling fs layer [2023-03-09T02:20:47.096Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T02:20:47.096Z] 33b1e0a273af: Pulling fs layer [2023-03-09T02:20:47.096Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T02:20:47.096Z] 2f39f015ded8: Pulling fs layer [2023-03-09T02:20:47.096Z] 3a2ae6a8a46f: Waiting [2023-03-09T02:20:47.096Z] 5d3b04190fa2: Waiting [2023-03-09T02:20:47.096Z] 33b1e0a273af: Waiting [2023-03-09T02:20:47.096Z] 2f39f015ded8: Waiting [2023-03-09T02:20:47.096Z] 5c69ac0246d0: Verifying Checksum [2023-03-09T02:20:47.096Z] 5c69ac0246d0: Download complete [2023-03-09T02:20:47.096Z] 3a2ae6a8a46f: Download complete [2023-03-09T02:20:47.356Z] 33b1e0a273af: Verifying Checksum [2023-03-09T02:20:47.356Z] 33b1e0a273af: Download complete [2023-03-09T02:20:47.356Z] ec43610c2a17: Verifying Checksum [2023-03-09T02:20:47.356Z] ec43610c2a17: Download complete [2023-03-09T02:20:47.356Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T02:20:47.356Z] 5d3b04190fa2: Download complete [2023-03-09T02:20:47.356Z] 5eb5b503b376: Verifying Checksum [2023-03-09T02:20:47.356Z] 5eb5b503b376: Download complete [2023-03-09T02:20:47.922Z] 2f39f015ded8: Download complete [2023-03-09T02:20:48.487Z] 5eb5b503b376: Pull complete [2023-03-09T02:20:48.745Z] 5c69ac0246d0: Pull complete [2023-03-09T02:20:49.310Z] ec43610c2a17: Pull complete [2023-03-09T02:20:49.310Z] 3a2ae6a8a46f: Pull complete [2023-03-09T02:20:49.568Z] 33b1e0a273af: Pull complete [2023-03-09T02:20:49.568Z] 5d3b04190fa2: Pull complete [2023-03-09T02:20:53.800Z] 2f39f015ded8: Pull complete [2023-03-09T02:20:53.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T02:20:53.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:20:53.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:20:53.896Z] prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container [2023-03-09T02:20:53.948Z] $ 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-516 -v /w/workspace/gexfoundry_device-mqtt-go_PR-516:/w/workspace/gexfoundry_device-mqtt-go_PR-516:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-516@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-09T02:20:55.873Z] $ docker top efe2c39f557e4c92d276a02935dbcc7ac3e816b4e545c0eebd3b0e9294cbe6d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:20:56.270Z] ---> job-cost.sh [2023-03-09T02:20:56.271Z] lf-activate-venv: SKIPPING [2023-03-09T02:20:56.271Z] INFO: No Stack... [2023-03-09T02:20:56.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:20:56.789Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:20:57.081Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives/cost.csv [2023-03-09T02:20:57.081Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:20:57.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [2023-03-09T02:20:57.107Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] did not exist. Created. [2023-03-09T02:20:57.107Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:20:57.410Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T02:20:57.454Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:20:57.460Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:20:57.483Z] $ docker stop --time=1 efe2c39f557e4c92d276a02935dbcc7ac3e816b4e545c0eebd3b0e9294cbe6d4 [2023-03-09T02:20:58.667Z] $ docker rm -f --volumes efe2c39f557e4c92d276a02935dbcc7ac3e816b4e545c0eebd3b0e9294cbe6d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:20:58.759Z] Failed in branch amd64 [2023-03-09T02:22:11.775Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9078 in /w/workspace/gexfoundry_device-mqtt-go_PR-516 [Pipeline] { [Pipeline] ws [2023-03-09T02:22:11.791Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-09T02:22:11.833Z] Selected Git installation does not exist. Using Default [2023-03-09T02:22:11.833Z] The recommended git tool is: NONE [2023-03-09T02:22:17.228Z] using credential edgex-jenkins-ssh [2023-03-09T02:22:17.248Z] Cloning the remote Git repository [2023-03-09T02:22:17.305Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:22:17.399Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-09T02:22:17.597Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:22:17.598Z] > git --version # timeout=10 [2023-03-09T02:22:17.620Z] > git --version # 'git version 2.25.1' [2023-03-09T02:22:17.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:22:17.694Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:22:18.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T02:22:18.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:22:20.491Z] Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit 3638d20b1e23dc935128bb09eb6e53679399471b [2023-03-09T02:22:19.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T02:22:19.972Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:22:19.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:22:19.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/516/head:refs/remotes/origin/PR-516 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T02:22:20.510Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:22:20.535Z] > git checkout -f 3638d20b1e23dc935128bb09eb6e53679399471b # timeout=10 [2023-03-09T02:22:20.718Z] Merge succeeded, producing 3638d20b1e23dc935128bb09eb6e53679399471b [2023-03-09T02:22:20.718Z] Checking out Revision 3638d20b1e23dc935128bb09eb6e53679399471b (PR-516) [2023-03-09T02:22:21.281Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:22:20.620Z] > git remote # timeout=10 [2023-03-09T02:22:20.640Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T02:22:20.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:22:20.675Z] > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 [2023-03-09T02:22:20.699Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T02:22:20.723Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:22:20.747Z] > git checkout -f 3638d20b1e23dc935128bb09eb6e53679399471b # timeout=10 [2023-03-09T02:22:22.085Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T02:22:22.085Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T02:22:22.085Z] Dload Upload Total Spent Left Speed [2023-03-09T02:22:22.085Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-03-09T02:22:22.732Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T02:22:23.068Z] + sudo tee /etc/docker/daemon.new [2023-03-09T02:22:23.068Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T02:22:23.068Z] { [2023-03-09T02:22:23.068Z] "registry-mirrors": [ [2023-03-09T02:22:23.068Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T02:22:23.068Z] ], [2023-03-09T02:22:23.068Z] "bip": "10.250.0.254/24", [2023-03-09T02:22:23.068Z] "hosts": [ [2023-03-09T02:22:23.068Z] "tcp://0.0.0.0:5555", [2023-03-09T02:22:23.068Z] "unix:///var/run/docker.sock" [2023-03-09T02:22:23.068Z] ], [2023-03-09T02:22:23.068Z] "mtu": 1458, [2023-03-09T02:22:23.068Z] "selinux-enabled": true, [2023-03-09T02:22:23.068Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T02:22:23.068Z] } [Pipeline] sh [2023-03-09T02:22:23.407Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T02:22:23.748Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:22:42.011Z] provisioning config files... [2023-03-09T02:22:42.038Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1057512428724186247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:22:42.394Z] ---> docker-login.sh [2023-03-09T02:22:42.394Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:22:42.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:22:42.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:22:42.932Z] Configure a credential helper to remove this warning. See [2023-03-09T02:22:42.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:22:42.932Z] [2023-03-09T02:22:42.932Z] Login Succeeded [2023-03-09T02:22:42.932Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:22:43.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:22:43.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:22:43.468Z] Configure a credential helper to remove this warning. See [2023-03-09T02:22:43.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:22:43.468Z] [2023-03-09T02:22:43.468Z] Login Succeeded [2023-03-09T02:22:43.468Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:22:43.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:22:43.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:22:43.735Z] Configure a credential helper to remove this warning. See [2023-03-09T02:22:43.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:22:43.735Z] [2023-03-09T02:22:43.735Z] Login Succeeded [2023-03-09T02:22:43.735Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:22:44.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:22:44.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:22:44.003Z] Configure a credential helper to remove this warning. See [2023-03-09T02:22:44.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:22:44.003Z] [2023-03-09T02:22:44.003Z] Login Succeeded [2023-03-09T02:22:44.003Z] docker.io [2023-03-09T02:22:44.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:22:44.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:22:44.540Z] Configure a credential helper to remove this warning. See [2023-03-09T02:22:44.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:22:44.540Z] [2023-03-09T02:22:44.540Z] Login Succeeded [2023-03-09T02:22:44.540Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:22:44.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:22:44.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:22:44.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:22:44.857Z] ========================================================= [2023-03-09T02:22:44.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T02:22:44.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:22:45.202Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:22:45.469Z] Sending build context to Docker daemon 3.298MB [2023-03-09T02:22:45.469Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:22:45.469Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:22:45.737Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T02:22:45.737Z] 9b18e9b68314: Pulling fs layer [2023-03-09T02:22:45.737Z] 35d82f9e3411: Pulling fs layer [2023-03-09T02:22:45.737Z] e16973657156: Pulling fs layer [2023-03-09T02:22:45.737Z] fc693d55d65f: Pulling fs layer [2023-03-09T02:22:45.737Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T02:22:45.737Z] dda99020689f: Pulling fs layer [2023-03-09T02:22:45.737Z] db1c61fa0a46: Pulling fs layer [2023-03-09T02:22:45.737Z] 891c053d2c06: Pulling fs layer [2023-03-09T02:22:45.737Z] fc693d55d65f: Waiting [2023-03-09T02:22:45.737Z] dda99020689f: Waiting [2023-03-09T02:22:45.737Z] 891c053d2c06: Waiting [2023-03-09T02:22:45.737Z] 7e9fc2657dce: Waiting [2023-03-09T02:22:45.737Z] db1c61fa0a46: Waiting [2023-03-09T02:22:45.738Z] e16973657156: Verifying Checksum [2023-03-09T02:22:45.738Z] e16973657156: Download complete [2023-03-09T02:22:45.738Z] 35d82f9e3411: Download complete [2023-03-09T02:22:45.738Z] 7e9fc2657dce: Download complete [2023-03-09T02:22:45.738Z] dda99020689f: Verifying Checksum [2023-03-09T02:22:45.738Z] dda99020689f: Download complete [2023-03-09T02:22:45.738Z] 9b18e9b68314: Verifying Checksum [2023-03-09T02:22:46.864Z] 9b18e9b68314: Pull complete [2023-03-09T02:22:46.864Z] 891c053d2c06: Verifying Checksum [2023-03-09T02:22:46.864Z] 891c053d2c06: Download complete [2023-03-09T02:22:47.167Z] 35d82f9e3411: Pull complete [2023-03-09T02:22:47.438Z] e16973657156: Pull complete [2023-03-09T02:22:48.021Z] db1c61fa0a46: Verifying Checksum [2023-03-09T02:22:48.021Z] db1c61fa0a46: Download complete [2023-03-09T02:22:48.603Z] fc693d55d65f: Verifying Checksum [2023-03-09T02:22:48.603Z] fc693d55d65f: Download complete [2023-03-09T02:23:00.906Z] fc693d55d65f: Pull complete [2023-03-09T02:23:00.906Z] 7e9fc2657dce: Pull complete [2023-03-09T02:23:00.906Z] dda99020689f: Pull complete [2023-03-09T02:23:05.280Z] db1c61fa0a46: Pull complete [2023-03-09T02:23:07.232Z] 891c053d2c06: Pull complete [2023-03-09T02:23:07.232Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T02:23:07.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T02:23:07.232Z] ---> f96f9c87975a [2023-03-09T02:23:07.232Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:23:09.210Z] ---> Running in 2581985a1d2d [2023-03-09T02:23:09.479Z] Removing intermediate container 2581985a1d2d [2023-03-09T02:23:09.479Z] ---> 17ecaab06dd1 [2023-03-09T02:23:09.479Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:23:09.479Z] ---> Running in 1802aafd38ab [2023-03-09T02:23:09.751Z] Removing intermediate container 1802aafd38ab [2023-03-09T02:23:09.751Z] ---> 86192d53210f [2023-03-09T02:23:09.751Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:23:09.751Z] ---> Running in 5ae9fa5565c1 [2023-03-09T02:23:10.337Z] Removing intermediate container 5ae9fa5565c1 [2023-03-09T02:23:10.337Z] ---> 0b242bcadb39 [2023-03-09T02:23:10.337Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:23:10.337Z] ---> Running in cc30b67d5ad7 [2023-03-09T02:23:10.607Z] Removing intermediate container cc30b67d5ad7 [2023-03-09T02:23:10.607Z] ---> ad598fbcfa5f [2023-03-09T02:23:10.607Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:23:10.607Z] ---> Running in dd9ef760efa0 [2023-03-09T02:23:12.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:23:12.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:23:13.281Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:23:13.281Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:23:13.281Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:23:13.281Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:23:13.281Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:23:13.281Z] OK: 226 MiB in 55 packages [2023-03-09T02:23:14.266Z] Removing intermediate container dd9ef760efa0 [2023-03-09T02:23:14.266Z] ---> 05183f2a9354 [2023-03-09T02:23:14.266Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T02:23:14.533Z] ---> Running in 137bef928ff7 [2023-03-09T02:23:14.800Z] Removing intermediate container 137bef928ff7 [2023-03-09T02:23:14.800Z] ---> 05867ca312e6 [2023-03-09T02:23:14.800Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:23:15.387Z] ---> 033bff6d0123 [2023-03-09T02:23:15.387Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:23:15.387Z] ---> Running in e78ae0ba7953 [2023-03-09T02:24:23.290Z] Removing intermediate container e78ae0ba7953 [2023-03-09T02:24:23.291Z] ---> 601280d745a5 [2023-03-09T02:24:23.291Z] Step 11/12 : COPY . . [2023-03-09T02:24:23.291Z] ---> e1800c5d8943 [2023-03-09T02:24:23.291Z] Step 12/12 : RUN $MAKE [2023-03-09T02:24:23.291Z] ---> Running in 16eea244de7f [2023-03-09T02:24:23.291Z] noop [2023-03-09T02:24:23.291Z] Removing intermediate container 16eea244de7f [2023-03-09T02:24:23.291Z] ---> a5c75b5fddf8 [2023-03-09T02:24:23.291Z] Successfully built a5c75b5fddf8 [2023-03-09T02:24:23.291Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:24:23.640Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:24:23.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:24:23.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-9078 does not seem to be running inside a container [2023-03-09T02:24:23.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T02:24:25.158Z] $ docker top 88479d53fe598a8fe8d3ce6556b191ea97b2783d709038914c917747144e0449 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:24:26.031Z] + go version [2023-03-09T02:24:26.031Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T02:24:26.045Z] $ docker stop --time=1 88479d53fe598a8fe8d3ce6556b191ea97b2783d709038914c917747144e0449 [2023-03-09T02:24:27.707Z] $ docker rm -f --volumes 88479d53fe598a8fe8d3ce6556b191ea97b2783d709038914c917747144e0449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:24:28.263Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:24:28.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:24:28.445Z] prd-ubuntu20.04-docker-arm64-4c-16g-9078 does not seem to be running inside a container [2023-03-09T02:24:28.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T02:24:29.792Z] $ docker top 327474f2e7a165c84f7ebb8a6c4edd0dda0691fbbba6eb1056a1a37eb0cb0e5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:24:30.639Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:24:31.283Z] + make test [2023-03-09T02:24:31.283Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T02:24:33.232Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T02:25:54.894Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-03-09T02:25:54.894Z] internal/driver/config.go:83:9: cannot use commandTopic (variable of type any) as type string in return statement: [2023-03-09T02:25:54.894Z] need type assertion [2023-03-09T02:25:56.850Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-09T02:25:57.440Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-09T02:25:57.460Z] $ docker stop --time=1 327474f2e7a165c84f7ebb8a6c4edd0dda0691fbbba6eb1056a1a37eb0cb0e5b [2023-03-09T02:26:00.066Z] $ docker rm -f --volumes 327474f2e7a165c84f7ebb8a6c4edd0dda0691fbbba6eb1056a1a37eb0cb0e5b [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-09T02:26:01.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:26:01.083Z] [2023-03-09T02:26:01.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:26:01.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:26:01.424Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T02:26:01.424Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T02:26:01.424Z] 04944245beec: Pulling fs layer [2023-03-09T02:26:01.424Z] 699f458cf7ca: Pulling fs layer [2023-03-09T02:26:01.424Z] 765212b225bb: Pulling fs layer [2023-03-09T02:26:01.424Z] f23df028b6ca: Pulling fs layer [2023-03-09T02:26:01.424Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T02:26:01.424Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T02:26:01.424Z] f23df028b6ca: Waiting [2023-03-09T02:26:01.424Z] 765212b225bb: Waiting [2023-03-09T02:26:01.424Z] d65c8cfc05b1: Waiting [2023-03-09T02:26:01.424Z] 2437ff75d9bd: Waiting [2023-03-09T02:26:01.694Z] 04944245beec: Verifying Checksum [2023-03-09T02:26:01.694Z] 04944245beec: Download complete [2023-03-09T02:26:01.694Z] 765212b225bb: Verifying Checksum [2023-03-09T02:26:01.694Z] 765212b225bb: Download complete [2023-03-09T02:26:01.694Z] f23df028b6ca: Verifying Checksum [2023-03-09T02:26:01.694Z] f23df028b6ca: Download complete [2023-03-09T02:26:01.694Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T02:26:01.694Z] d65c8cfc05b1: Download complete [2023-03-09T02:26:01.963Z] 699f458cf7ca: Verifying Checksum [2023-03-09T02:26:01.963Z] 699f458cf7ca: Download complete [2023-03-09T02:26:02.234Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T02:26:02.234Z] 8998bd30e6a1: Download complete [2023-03-09T02:26:04.822Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T02:26:04.822Z] 2437ff75d9bd: Download complete [2023-03-09T02:26:06.231Z] 8998bd30e6a1: Pull complete [2023-03-09T02:26:06.819Z] 04944245beec: Pull complete [2023-03-09T02:26:08.230Z] 699f458cf7ca: Pull complete [2023-03-09T02:26:08.230Z] 765212b225bb: Pull complete [2023-03-09T02:26:09.194Z] f23df028b6ca: Pull complete [2023-03-09T02:26:09.194Z] d65c8cfc05b1: Pull complete [2023-03-09T02:26:27.422Z] 2437ff75d9bd: Pull complete [2023-03-09T02:26:27.422Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T02:26:27.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T02:26:27.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:26:27.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-9078 does not seem to be running inside a container [2023-03-09T02:26:27.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T02:26:30.505Z] $ docker top b5fec285189617d8483cf565c577b0659f0aa4b4980feb497f49493a645a64fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:31.366Z] ---> job-cost.sh [2023-03-09T02:26:31.366Z] lf-activate-venv: SKIPPING [2023-03-09T02:26:31.366Z] INFO: No Stack... [2023-03-09T02:26:31.634Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T02:26:32.597Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:26:33.244Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-03-09T02:26:33.244Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:26:33.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [2023-03-09T02:26:33.340Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] did not exist. Created. [2023-03-09T02:26:33.340Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:26:34.041Z] /w/workspace/device-mqtt-go/2@tmp/durable-cf18af81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T02:26:34.711Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T02:26:34.736Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T02:26:35.220Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:26:35.227Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-516-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:26:35.245Z] $ docker stop --time=1 b5fec285189617d8483cf565c577b0659f0aa4b4980feb497f49493a645a64fa [2023-03-09T02:26:39.134Z] $ docker rm -f --volumes b5fec285189617d8483cf565c577b0659f0aa4b4980feb497f49493a645a64fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:26:39.412Z] 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-09T02:26:40.089Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives ] [2023-03-09T02:26:40.089Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives [2023-03-09T02:26:40.089Z] total 16 [2023-03-09T02:26:40.089Z] drwxr-xr-x 3 root root 4096 Mar 9 02:20 . [2023-03-09T02:26:40.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 02:20 .. [2023-03-09T02:26:40.089Z] drwxr-xr-x 2 root root 4096 Mar 9 02:20 cost [2023-03-09T02:26:40.089Z] -rw-r--r-- 1 root root 86 Mar 9 02:20 cost.csv [2023-03-09T02:26:40.089Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives [2023-03-09T02:26:40.089Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives [2023-03-09T02:26:40.089Z] total 16 [2023-03-09T02:26:40.089Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:20 . [2023-03-09T02:26:40.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 02:20 .. [2023-03-09T02:26:40.089Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:20 cost [2023-03-09T02:26:40.089Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 9 02:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:40.437Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:41.315Z] ---> package-listing.sh [2023-03-09T02:26:41.315Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T02:26:41.315Z] ++ facter osfamily [2023-03-09T02:26:41.574Z] + OS_FAMILY=debian [2023-03-09T02:26:41.574Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-516 [2023-03-09T02:26:41.574Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T02:26:41.574Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T02:26:41.574Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T02:26:41.574Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T02:26:41.574Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-516 ']' [2023-03-09T02:26:41.574Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T02:26:41.574Z] + case "${OS_FAMILY}" in [2023-03-09T02:26:41.574Z] + dpkg -l [2023-03-09T02:26:41.574Z] + grep '^ii' [2023-03-09T02:26:41.574Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T02:26:41.574Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T02:26:41.574Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T02:26:41.574Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-516 ']' [2023-03-09T02:26:41.574Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives/ [2023-03-09T02:26:41.574Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-516/archives/ [Pipeline] echo [2023-03-09T02:26:41.592Z] 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-516/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T02:26:41.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:26:42.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:26:42.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:26:42.509Z] prd-ubuntu20.04-docker-8c-8g-9052 does not seem to be running inside a container [2023-03-09T02:26:42.544Z] $ 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-516/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-516 -v /w/workspace/gexfoundry_device-mqtt-go_PR-516:/w/workspace/gexfoundry_device-mqtt-go_PR-516:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-516@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-09T02:26:42.761Z] $ docker top 88d7d1e38ac6cbf342d73600cebf1195b5f36e4aa09b4c5c6b3159de6dd9409c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:26:43.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T02:26:43.397Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T02:26:43.682Z] + ls /var/log/sa-host [2023-03-09T02:26:43.682Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:26:43.742Z] provisioning config files... [2023-03-09T02:26:43.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-516@tmp/config13808468335276694088tmp [Pipeline] { [Pipeline] echo [2023-03-09T02:26:43.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:44.047Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T02:26:44.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:44.366Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T02:26:44.374Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:44.662Z] ---> sudo-logs.sh [2023-03-09T02:26:44.662Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T02:26:44.694Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:44.975Z] ---> job-cost.sh [2023-03-09T02:26:44.975Z] lf-activate-venv: SKIPPING [2023-03-09T02:26:44.975Z] DEBUG: total: 0.2199999988079071 [2023-03-09T02:26:44.975Z] INFO: Retrieving Stack Cost... [2023-03-09T02:26:45.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:26:45.492Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T02:26:45.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:26:45.785Z] ---> logs-deploy.sh [2023-03-09T02:26:45.785Z] lf-activate-venv: SKIPPING [2023-03-09T02:26:45.785Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-516/2 [2023-03-09T02:26:45.785Z] INFO: archiving workspace using pattern(s): [2023-03-09T02:26:46.722Z] Archives upload complete. [2023-03-09T02:26:46.982Z] INFO: archiving logs to Nexus