Pull request #698 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a09a63a95da2d3bc844fcdd555a08d7ba1c742ec+70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed (d1461eed7f1ac62320983d12cba62176be8844fd) 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-ssh14753079404002471892.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3262576482282334862.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14900829611694270188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16807324065607379168.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9434336743321172851.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-698/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh821171204367983760.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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] ========================================================= [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.23 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 ‘prd-centos7-builder-2c-1g-21900’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-21901’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-21899’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21904 in /w/workspace/gexfoundry_device-mqtt-go_PR-698 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-698 # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit a09a63a95da2d3bc844fcdd555a08d7ba1c742ec Merge succeeded, producing a09a63a95da2d3bc844fcdd555a08d7ba1c742ec Checking out Revision a09a63a95da2d3bc844fcdd555a08d7ba1c742ec (PR-698) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-05T14:05:46.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-05T14:05:46.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-05T14:05:46.981Z] ========================================================= [2024-10-05T14:05:46.981Z] EdgeX Global Pipelines Version Info [2024-10-05T14:05:46.981Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:05:47.767Z] ------------------- [2024-10-05T14:05:47.767Z] stable info: [2024-10-05T14:05:47.767Z] ------------------- [2024-10-05T14:05:47.767Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-05T14:05:47.767Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-05T14:05:47.767Z] Message: update stable to v1.0.265 [2024-10-05T14:05:48.338Z] ------------------- [2024-10-05T14:05:48.338Z] experimental info: [2024-10-05T14:05:48.338Z] ------------------- [2024-10-05T14:05:48.338Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-05T14:05:48.338Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-05T14:05:48.338Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-05T14:05:48.567Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-05T14:05:48.629Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-05T14:05:48.688Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-05T14:05:48.752Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-05T14:05:48.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-05T14:05:48.870Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-05T14:05:48.933Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-05T14:05:48.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-05T14:05:49.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-05T14:05:49.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-05T14:05:49.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-05T14:05:49.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-05T14:05:49.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-05T14:05:49.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-05T14:05:49.399Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-05T14:05:49.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-05T14:05:49.524Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-05T14:05:49.588Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-05T14:05:49.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-05T14:05:49.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-05T14:05:49.772Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-05T14:05:49.835Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-05T14:05:49.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-05T14:05:49.947Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-05T14:05:50.004Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-05T14:05:50.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-05T14:05:50.121Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-05T14:05:50.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-698 [Pipeline] echo [2024-10-05T14:05:50.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-698 [Pipeline] echo [2024-10-05T14:05:50.312Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-698 [Pipeline] echo [2024-10-05T14:05:50.374Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo [2024-10-05T14:05:50.441Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a09a63a [Pipeline] echo [2024-10-05T14:05:50.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-05T14:05:50.658Z] provisioning config files... [2024-10-05T14:05:50.671Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config17129034787863435608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:05:51.064Z] ---> ****-login.sh [2024-10-05T14:05:51.064Z] nexus3.edgexfoundry.org:10001 [2024-10-05T14:05:51.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:05:51.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:05:51.324Z] Configure a credential helper to remove this warning. See [2024-10-05T14:05:51.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:05:51.324Z] [2024-10-05T14:05:51.324Z] Login Succeeded [2024-10-05T14:05:51.324Z] nexus3.edgexfoundry.org:10002 [2024-10-05T14:05:51.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:05:51.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:05:51.324Z] Configure a credential helper to remove this warning. See [2024-10-05T14:05:51.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:05:51.324Z] [2024-10-05T14:05:51.324Z] Login Succeeded [2024-10-05T14:05:51.324Z] nexus3.edgexfoundry.org:10003 [2024-10-05T14:05:51.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:05:51.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:05:51.589Z] Configure a credential helper to remove this warning. See [2024-10-05T14:05:51.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:05:51.589Z] [2024-10-05T14:05:51.589Z] Login Succeeded [2024-10-05T14:05:51.589Z] nexus3.edgexfoundry.org:10004 [2024-10-05T14:05:51.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:05:51.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:05:51.589Z] Configure a credential helper to remove this warning. See [2024-10-05T14:05:51.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:05:51.589Z] [2024-10-05T14:05:51.589Z] Login Succeeded [2024-10-05T14:05:51.589Z] ****.io [2024-10-05T14:05:51.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:05:51.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:05:51.849Z] Configure a credential helper to remove this warning. See [2024-10-05T14:05:51.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:05:51.849Z] [2024-10-05T14:05:51.849Z] Login Succeeded [2024-10-05T14:05:51.849Z] ---> ****-login.sh ends [Pipeline] } [2024-10-05T14:05:51.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-05T14:05:52.589Z] + git rev-list -1 --merges a09a63a95da2d3bc844fcdd555a08d7ba1c742ec~1..a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo [2024-10-05T14:05:52.637Z] -----------> git rev-list -1 --merges a09a63a95da2d3bc844fcdd555a08d7ba1c742ec~1..a09a63a95da2d3bc844fcdd555a08d7ba1c742ec a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [false] [Pipeline] sh [2024-10-05T14:05:52.964Z] + git log --format=format:%s -1 a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo [2024-10-05T14:05:53.007Z] ========================================================= [2024-10-05T14:05:53.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-05T14:05:53.007Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-05T14:05:53.486Z] + git log --format=format:%s -1 a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo [2024-10-05T14:05:53.537Z] [semverPrep] GIT_COMMIT: a09a63a95da2d3bc844fcdd555a08d7ba1c742ec, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-05T14:05:53.585Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-05T14:05:54.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-05T14:05:54.000Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-05T14:05:54.000Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-05T14:05:54.000Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-05T14:05:54.000Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-05T14:05:54.000Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-05T14:05:54.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:05:54.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-05T14:05:54.445Z] [2024-10-05T14:05:54.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:05:54.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-05T14:05:54.853Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-05T14:05:54.853Z] b85a868b505f: Pulling fs layer [2024-10-05T14:05:54.853Z] e2be974225ed: Pulling fs layer [2024-10-05T14:05:54.853Z] 339a4e72a1f5: Pulling fs layer [2024-10-05T14:05:54.853Z] 988bab9f4d93: Pulling fs layer [2024-10-05T14:05:54.853Z] 1469e6f7b9e6: Pulling fs layer [2024-10-05T14:05:54.853Z] eaf3925da568: Pulling fs layer [2024-10-05T14:05:54.853Z] bab4dde63d76: Pulling fs layer [2024-10-05T14:05:54.853Z] bde34c3a00c8: Pulling fs layer [2024-10-05T14:05:54.853Z] b352a97aabf1: Pulling fs layer [2024-10-05T14:05:54.853Z] 4872d77fe225: Pulling fs layer [2024-10-05T14:05:54.853Z] 5851b861e8e6: Pulling fs layer [2024-10-05T14:05:54.853Z] bab4dde63d76: Waiting [2024-10-05T14:05:54.853Z] 988bab9f4d93: Waiting [2024-10-05T14:05:54.853Z] bde34c3a00c8: Waiting [2024-10-05T14:05:54.853Z] b352a97aabf1: Waiting [2024-10-05T14:05:54.853Z] 4872d77fe225: Waiting [2024-10-05T14:05:54.853Z] 1469e6f7b9e6: Waiting [2024-10-05T14:05:54.853Z] 5851b861e8e6: Waiting [2024-10-05T14:05:54.853Z] eaf3925da568: Waiting [2024-10-05T14:05:54.853Z] e2be974225ed: Verifying Checksum [2024-10-05T14:05:54.853Z] e2be974225ed: Download complete [2024-10-05T14:05:54.853Z] 988bab9f4d93: Verifying Checksum [2024-10-05T14:05:54.853Z] 988bab9f4d93: Download complete [2024-10-05T14:05:54.853Z] 1469e6f7b9e6: Verifying Checksum [2024-10-05T14:05:54.853Z] 1469e6f7b9e6: Download complete [2024-10-05T14:05:55.111Z] eaf3925da568: Verifying Checksum [2024-10-05T14:05:55.111Z] eaf3925da568: Download complete [2024-10-05T14:05:55.111Z] 339a4e72a1f5: Verifying Checksum [2024-10-05T14:05:55.111Z] 339a4e72a1f5: Download complete [2024-10-05T14:05:55.111Z] bde34c3a00c8: Verifying Checksum [2024-10-05T14:05:55.111Z] bde34c3a00c8: Download complete [2024-10-05T14:05:55.111Z] b352a97aabf1: Download complete [2024-10-05T14:05:55.111Z] 4872d77fe225: Verifying Checksum [2024-10-05T14:05:55.111Z] 4872d77fe225: Download complete [2024-10-05T14:05:55.111Z] 5851b861e8e6: Download complete [2024-10-05T14:05:55.111Z] b85a868b505f: Verifying Checksum [2024-10-05T14:05:55.111Z] b85a868b505f: Download complete [2024-10-05T14:05:55.369Z] bab4dde63d76: Verifying Checksum [2024-10-05T14:05:55.369Z] bab4dde63d76: Download complete [2024-10-05T14:05:56.304Z] b85a868b505f: Pull complete [2024-10-05T14:05:56.304Z] e2be974225ed: Pull complete [2024-10-05T14:05:56.872Z] 339a4e72a1f5: Pull complete [2024-10-05T14:05:56.872Z] 988bab9f4d93: Pull complete [2024-10-05T14:05:57.131Z] 1469e6f7b9e6: Pull complete [2024-10-05T14:05:57.131Z] eaf3925da568: Pull complete [2024-10-05T14:05:58.507Z] bab4dde63d76: Pull complete [2024-10-05T14:05:58.507Z] bde34c3a00c8: Pull complete [2024-10-05T14:05:58.767Z] b352a97aabf1: Pull complete [2024-10-05T14:05:58.767Z] 4872d77fe225: Pull complete [2024-10-05T14:05:58.767Z] 5851b861e8e6: Pull complete [2024-10-05T14:05:58.767Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-05T14:05:58.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-05T14:05:58.767Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:05:59.083Z] prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container [2024-10-05T14:05:59.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-05T14:06:01.884Z] $ docker top b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 -eo pid,comm [2024-10-05T14:06:01.944Z] 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). [2024-10-05T14:06:01.944Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-05T14:06:30.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-05T14:06:30.946Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-05T14:06:31.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-05T14:06:31.060Z] $ docker exec b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent [2024-10-05T14:06:31.157Z] SSH_AUTH_SOCK=/tmp/ssh-AUITSBgdSC3p/agent.32 [2024-10-05T14:06:31.157Z] SSH_AGENT_PID=38 [2024-10-05T14:06:31.163Z] Running ssh-add (command line suppressed) [2024-10-05T14:06:31.267Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_5492703624504830854.key (/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_5492703624504830854.key) [2024-10-05T14:06:31.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-05T14:06:31.618Z] + git tag --points-at HEAD [Pipeline] } [2024-10-05T14:06:31.648Z] $ docker exec --env ******** --env ******** b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent -k [2024-10-05T14:06:31.733Z] unset SSH_AUTH_SOCK; [2024-10-05T14:06:31.733Z] unset SSH_AGENT_PID; [2024-10-05T14:06:31.733Z] echo Agent pid 38 killed; [2024-10-05T14:06:31.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-05T14:06:31.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-05T14:06:31.869Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-05T14:06:31.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-05T14:06:31.982Z] $ docker exec b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent [2024-10-05T14:06:32.075Z] SSH_AUTH_SOCK=/tmp/ssh-CeT8a9dYwGMF/agent.71 [2024-10-05T14:06:32.075Z] SSH_AGENT_PID=77 [2024-10-05T14:06:32.079Z] Running ssh-add (command line suppressed) [2024-10-05T14:06:32.175Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_4147542951137291145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_4147542951137291145.key) [2024-10-05T14:06:32.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-05T14:06:32.527Z] + git semver init [2024-10-05T14:06:32.786Z] 2024-10-05 14:06:32,696 [run_init] DEBUG init version:0.0.0 force:False [2024-10-05T14:06:32.786Z] 2024-10-05 14:06:32,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver [2024-10-05T14:06:32.786Z] 2024-10-05 14:06:32,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver [2024-10-05T14:06:32.786Z] 2024-10-05 14:06:32,698 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698, universal_newlines=False, shell=None, istream=None) [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,289 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.git/info/exclude [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 with force:False [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,290 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,294 [execute] INFO git cat-file --batch-check [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver, universal_newlines=False, shell=None, istream=) [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,301 [execute] INFO git cat-file --batch [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver, universal_newlines=False, shell=None, istream=) [2024-10-05T14:06:34.692Z] 2024-10-05 14:06:34,306 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 [2024-10-05T14:06:34.692Z] 0.0.0 [Pipeline] } [2024-10-05T14:06:34.721Z] $ docker exec --env ******** --env ******** b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent -k [2024-10-05T14:06:34.815Z] unset SSH_AUTH_SOCK; [2024-10-05T14:06:34.816Z] unset SSH_AGENT_PID; [2024-10-05T14:06:34.816Z] echo Agent pid 77 killed; [2024-10-05T14:06:34.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-05T14:06:35.275Z] + git semver [Pipeline] } [2024-10-05T14:06:35.567Z] $ docker stop --time=1 b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 [2024-10-05T14:06:36.860Z] $ docker rm -f --volumes b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-05T14:06:37.267Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-05T14:06:37.563Z] Stashed 1 file(s) [Pipeline] echo [2024-10-05T14:06:37.589Z] [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 [2024-10-05T14:06:38.343Z] provisioning config files... [2024-10-05T14:06:38.355Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config11972827095663261496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:06:38.724Z] ---> ****-login.sh [2024-10-05T14:06:38.724Z] nexus3.edgexfoundry.org:10001 [2024-10-05T14:06:38.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:06:38.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:06:38.724Z] Configure a credential helper to remove this warning. See [2024-10-05T14:06:38.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:06:38.724Z] [2024-10-05T14:06:38.724Z] Login Succeeded [2024-10-05T14:06:38.724Z] nexus3.edgexfoundry.org:10002 [2024-10-05T14:06:38.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:06:38.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:06:38.724Z] Configure a credential helper to remove this warning. See [2024-10-05T14:06:38.724Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:06:38.724Z] [2024-10-05T14:06:38.724Z] Login Succeeded [2024-10-05T14:06:38.724Z] nexus3.edgexfoundry.org:10003 [2024-10-05T14:06:38.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:06:38.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:06:38.983Z] Configure a credential helper to remove this warning. See [2024-10-05T14:06:38.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:06:38.983Z] [2024-10-05T14:06:38.983Z] Login Succeeded [2024-10-05T14:06:38.983Z] nexus3.edgexfoundry.org:10004 [2024-10-05T14:06:38.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:06:38.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:06:38.983Z] Configure a credential helper to remove this warning. See [2024-10-05T14:06:38.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:06:38.983Z] [2024-10-05T14:06:38.983Z] Login Succeeded [2024-10-05T14:06:38.983Z] ****.io [2024-10-05T14:06:39.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:06:39.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:06:39.244Z] Configure a credential helper to remove this warning. See [2024-10-05T14:06:39.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:06:39.244Z] [2024-10-05T14:06:39.244Z] Login Succeeded [2024-10-05T14:06:39.244Z] ---> ****-login.sh ends [Pipeline] } [2024-10-05T14:06:39.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-05T14:06:39.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-05T14:06:39.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-05T14:06:39.596Z] ========================================================= [2024-10-05T14:06:39.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-05T14:06:39.596Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:06:40.123Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-05T14:06:40.123Z] Sending build context to Docker daemon 20.83MB [2024-10-05T14:06:40.123Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-05T14:06:40.123Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-05T14:06:40.386Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-05T14:06:40.386Z] 43c4264eed91: Pulling fs layer [2024-10-05T14:06:40.386Z] 4cc291be95ef: Pulling fs layer [2024-10-05T14:06:40.386Z] 2ac1f1163629: Pulling fs layer [2024-10-05T14:06:40.386Z] 5c3c966382ef: Pulling fs layer [2024-10-05T14:06:40.386Z] 4f4fb700ef54: Pulling fs layer [2024-10-05T14:06:40.386Z] 5d5c8e513c77: Pulling fs layer [2024-10-05T14:06:40.386Z] 9f66e0745190: Pulling fs layer [2024-10-05T14:06:40.386Z] 4f4fb700ef54: Waiting [2024-10-05T14:06:40.386Z] 5d5c8e513c77: Waiting [2024-10-05T14:06:40.386Z] 5c3c966382ef: Waiting [2024-10-05T14:06:40.386Z] f49a43e4bbc0: Pulling fs layer [2024-10-05T14:06:40.386Z] 561ebcabdf7f: Pulling fs layer [2024-10-05T14:06:40.386Z] 9f66e0745190: Waiting [2024-10-05T14:06:40.386Z] f49a43e4bbc0: Waiting [2024-10-05T14:06:40.386Z] 4cc291be95ef: Verifying Checksum [2024-10-05T14:06:40.386Z] 4cc291be95ef: Download complete [2024-10-05T14:06:40.386Z] 5c3c966382ef: Verifying Checksum [2024-10-05T14:06:40.386Z] 5c3c966382ef: Download complete [2024-10-05T14:06:40.386Z] 4f4fb700ef54: Verifying Checksum [2024-10-05T14:06:40.386Z] 4f4fb700ef54: Download complete [2024-10-05T14:06:40.386Z] 5d5c8e513c77: Verifying Checksum [2024-10-05T14:06:40.386Z] 5d5c8e513c77: Download complete [2024-10-05T14:06:40.386Z] 43c4264eed91: Download complete [2024-10-05T14:06:40.386Z] 9f66e0745190: Verifying Checksum [2024-10-05T14:06:40.386Z] 9f66e0745190: Download complete [2024-10-05T14:06:40.646Z] 43c4264eed91: Pull complete [2024-10-05T14:06:40.646Z] 561ebcabdf7f: Verifying Checksum [2024-10-05T14:06:40.646Z] 561ebcabdf7f: Download complete [2024-10-05T14:06:40.646Z] 4cc291be95ef: Pull complete [2024-10-05T14:06:40.904Z] 2ac1f1163629: Download complete [2024-10-05T14:06:41.162Z] f49a43e4bbc0: Verifying Checksum [2024-10-05T14:06:41.162Z] f49a43e4bbc0: Download complete [2024-10-05T14:06:44.447Z] 2ac1f1163629: Pull complete [2024-10-05T14:06:44.447Z] 5c3c966382ef: Pull complete [2024-10-05T14:06:44.447Z] 4f4fb700ef54: Pull complete [2024-10-05T14:06:44.447Z] 5d5c8e513c77: Pull complete [2024-10-05T14:06:44.447Z] 9f66e0745190: Pull complete [2024-10-05T14:06:46.980Z] f49a43e4bbc0: Pull complete [2024-10-05T14:06:47.239Z] 561ebcabdf7f: Pull complete [2024-10-05T14:06:47.239Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-05T14:06:47.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-05T14:06:47.239Z] ---> 3a752c3f9dda [2024-10-05T14:06:47.239Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-05T14:06:51.434Z] ---> Running in 556e03aa0dc0 [2024-10-05T14:06:51.434Z] Removing intermediate container 556e03aa0dc0 [2024-10-05T14:06:51.434Z] ---> 04304f2f9dbb [2024-10-05T14:06:51.434Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-05T14:06:51.434Z] ---> Running in 2332d661ffee [2024-10-05T14:06:51.434Z] Removing intermediate container 2332d661ffee [2024-10-05T14:06:51.434Z] ---> 692d6f2b2735 [2024-10-05T14:06:51.434Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-05T14:06:51.434Z] ---> Running in 21f37cd6e4eb [2024-10-05T14:06:51.434Z] Removing intermediate container 21f37cd6e4eb [2024-10-05T14:06:51.434Z] ---> f8300a280a1f [2024-10-05T14:06:51.434Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-05T14:06:51.434Z] ---> Running in 9a8827a2d07e [2024-10-05T14:06:51.434Z] Removing intermediate container 9a8827a2d07e [2024-10-05T14:06:51.434Z] ---> 12e5c4c78024 [2024-10-05T14:06:51.435Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-05T14:06:51.435Z] ---> Running in d02faf6dc556 [2024-10-05T14:06:51.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-05T14:06:51.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-05T14:06:51.953Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-05T14:06:51.953Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-05T14:06:51.953Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-05T14:06:51.953Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-05T14:06:51.953Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:06:51.953Z] OK: 250 MiB in 58 packages [2024-10-05T14:06:52.521Z] Removing intermediate container d02faf6dc556 [2024-10-05T14:06:52.521Z] ---> 6a4a6492f157 [2024-10-05T14:06:52.521Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-05T14:06:52.521Z] ---> Running in 362b0c8dedf0 [2024-10-05T14:06:52.521Z] Removing intermediate container 362b0c8dedf0 [2024-10-05T14:06:52.521Z] ---> 670b43a4fde8 [2024-10-05T14:06:52.521Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-05T14:06:52.521Z] ---> 00ed42e4c803 [2024-10-05T14:06:52.521Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-05T14:06:52.521Z] ---> Running in ce904512888c [2024-10-05T14:06:53.103Z] Still waiting to schedule task [2024-10-05T14:06:53.103Z] ‘prd-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-05T14:06:53.103Z] ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-05T14:06:53.103Z] ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-05T14:06:53.103Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21906’ is offline [2024-10-05T14:07:39.231Z] Removing intermediate container ce904512888c [2024-10-05T14:07:39.231Z] ---> 4d4b60bc338b [2024-10-05T14:07:39.231Z] Step 11/12 : COPY . . [2024-10-05T14:07:39.231Z] ---> 971afa0c21d2 [2024-10-05T14:07:39.231Z] Step 12/12 : RUN $MAKE [2024-10-05T14:07:39.231Z] ---> Running in 32927361805b [2024-10-05T14:07:39.231Z] noop [2024-10-05T14:07:39.231Z] Removing intermediate container 32927361805b [2024-10-05T14:07:39.231Z] ---> bfa315d3a15d [2024-10-05T14:07:39.231Z] Successfully built bfa315d3a15d [2024-10-05T14:07:39.231Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:07:39.727Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-05T14:07:39.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:07:39.894Z] prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container [2024-10-05T14:07:39.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@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 ******** ci-base-image-x86_64 cat [2024-10-05T14:07:40.298Z] $ docker top 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-05T14:07:40.697Z] + go version [2024-10-05T14:07:40.698Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-05T14:07:40.735Z] $ docker stop --time=1 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c [2024-10-05T14:07:41.987Z] $ docker rm -f --volumes 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:07:42.792Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-05T14:07:42.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:07:42.964Z] prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container [2024-10-05T14:07:42.997Z] $ 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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@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 ******** ci-base-image-x86_64 cat [2024-10-05T14:07:43.327Z] $ docker top 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-05T14:07:43.746Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-698 [Pipeline] fileExists [Pipeline] sh [2024-10-05T14:07:44.123Z] + make test [2024-10-05T14:07:44.123Z] go test ./... -coverprofile=coverage.out ./... [2024-10-05T14:07:45.528Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-05T14:08:03.614Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-05T14:08:03.614Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-05T14:08:03.614Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2024-10-05T14:08:13.576Z] go vet ./... [2024-10-05T14:08:20.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-05T14:08:20.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-05T14:08:20.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-05T14:08:20.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-05T14:08:20.253Z] $ docker stop --time=1 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c [2024-10-05T14:08:24.009Z] $ docker rm -f --volumes 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-05T14:08:24.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-05T14:08:24.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-05T14:08:25.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-05T14:08:25.694Z] + ls -al . [2024-10-05T14:08:25.694Z] total 264 [2024-10-05T14:08:25.694Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 14:07 . [2024-10-05T14:08:25.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:05 .. [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:05 .dockerignore [2024-10-05T14:08:25.694Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:08 .git [2024-10-05T14:08:25.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 .github [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:05 .gitignore [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:05 .golangci.yml [2024-10-05T14:08:25.694Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:06 .semver [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:05 Attribution.txt [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:05 CHANGELOG.md [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:05 Dockerfile [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:05 GOVERNANCE.md [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:05 Jenkinsfile [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:05 LICENSE [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:05 Makefile [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:05 OWNERS.md [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:05 README.md [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 14:06 VERSION [2024-10-05T14:08:25.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:05 bin [2024-10-05T14:08:25.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 cmd [2024-10-05T14:08:25.694Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:08 coverage.out [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:05 go.mod [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:05 go.sum [2024-10-05T14:08:25.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 internal [2024-10-05T14:08:25.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:05 mock [2024-10-05T14:08:25.694Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:08:26.128Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec --label arch=amd64 --label version=0.0.0 . [2024-10-05T14:08:26.128Z] Sending build context to Docker daemon 20.85MB [2024-10-05T14:08:26.128Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-05T14:08:26.128Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-05T14:08:26.128Z] ---> bfa315d3a15d [2024-10-05T14:08:26.128Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-05T14:08:26.695Z] ---> Running in d292bad0833e [2024-10-05T14:08:26.695Z] Removing intermediate container d292bad0833e [2024-10-05T14:08:26.695Z] ---> be893dd2973d [2024-10-05T14:08:26.695Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-05T14:08:26.695Z] ---> Running in 00c5b14590c6 [2024-10-05T14:08:26.695Z] Removing intermediate container 00c5b14590c6 [2024-10-05T14:08:26.695Z] ---> 0e1199c3f19c [2024-10-05T14:08:26.695Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-05T14:08:26.695Z] ---> Running in 29b53c514ca7 [2024-10-05T14:08:26.695Z] Removing intermediate container 29b53c514ca7 [2024-10-05T14:08:26.695Z] ---> 86ca0b7b8d0c [2024-10-05T14:08:26.695Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-05T14:08:26.954Z] ---> Running in 7bb274cd6412 [2024-10-05T14:08:26.954Z] Removing intermediate container 7bb274cd6412 [2024-10-05T14:08:26.954Z] ---> 113b179df7e0 [2024-10-05T14:08:26.954Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-05T14:08:26.954Z] ---> Running in 85e19a88ffb2 [2024-10-05T14:08:27.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-05T14:08:27.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-05T14:08:27.783Z] OK: 250 MiB in 58 packages [2024-10-05T14:08:28.045Z] Removing intermediate container 85e19a88ffb2 [2024-10-05T14:08:28.045Z] ---> 070dd11fdef9 [2024-10-05T14:08:28.045Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-05T14:08:28.045Z] ---> Running in 00356be42cb0 [2024-10-05T14:08:28.045Z] Removing intermediate container 00356be42cb0 [2024-10-05T14:08:28.045Z] ---> aa8582aa0d80 [2024-10-05T14:08:28.045Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-05T14:08:28.307Z] ---> 7296e607952d [2024-10-05T14:08:28.307Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-05T14:08:28.307Z] ---> Running in c3b1220bf68d [2024-10-05T14:08:28.876Z] Removing intermediate container c3b1220bf68d [2024-10-05T14:08:28.876Z] ---> f1ace40dfd7a [2024-10-05T14:08:28.876Z] Step 11/25 : COPY . . [2024-10-05T14:08:29.445Z] ---> 0faf54323322 [2024-10-05T14:08:29.445Z] Step 12/25 : RUN $MAKE [2024-10-05T14:08:29.445Z] ---> Running in 2e952afb63a6 [2024-10-05T14:08:29.704Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-05T14:09:01.771Z] Removing intermediate container 2e952afb63a6 [2024-10-05T14:09:01.771Z] ---> e40b06a9629e [2024-10-05T14:09:01.771Z] Step 13/25 : FROM alpine:3.20 [2024-10-05T14:09:01.771Z] 3.20: Pulling from library/alpine [2024-10-05T14:09:01.771Z] 43c4264eed91: Already exists [2024-10-05T14:09:01.771Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-05T14:09:01.771Z] Status: Downloaded newer image for alpine:3.20 [2024-10-05T14:09:01.771Z] ---> 91ef0af61f39 [2024-10-05T14:09:01.771Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-05T14:09:01.771Z] ---> Running in 75381e897976 [2024-10-05T14:09:01.771Z] Removing intermediate container 75381e897976 [2024-10-05T14:09:01.771Z] ---> 179a7be747c0 [2024-10-05T14:09:01.771Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-05T14:09:01.771Z] ---> Running in f65aeb75d54d [2024-10-05T14:09:01.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:01.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:01.771Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-05T14:09:01.771Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:09:01.771Z] OK: 8 MiB in 15 packages [2024-10-05T14:09:01.771Z] Removing intermediate container f65aeb75d54d [2024-10-05T14:09:01.771Z] ---> f3a0cd2b2772 [2024-10-05T14:09:01.771Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-05T14:09:01.771Z] ---> Running in 590b5a46553f [2024-10-05T14:09:02.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:02.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:02.289Z] Upgrading critical system libraries and apk-tools: [2024-10-05T14:09:02.289Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-05T14:09:02.289Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:09:02.289Z] Continuing the upgrade transaction with new apk-tools: [2024-10-05T14:09:02.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:02.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-05T14:09:02.810Z] OK: 8 MiB in 15 packages [2024-10-05T14:09:03.067Z] Removing intermediate container 590b5a46553f [2024-10-05T14:09:03.067Z] ---> 011161af849a [2024-10-05T14:09:03.067Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-05T14:09:04.443Z] ---> 01872acb4174 [2024-10-05T14:09:04.443Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-05T14:09:04.443Z] ---> 093d5f14a879 [2024-10-05T14:09:04.443Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-05T14:09:04.443Z] ---> 9c0dff5136af [2024-10-05T14:09:04.443Z] Step 20/25 : EXPOSE 59982 [2024-10-05T14:09:04.443Z] ---> Running in a86ebc08f1f6 [2024-10-05T14:09:04.703Z] Removing intermediate container a86ebc08f1f6 [2024-10-05T14:09:04.703Z] ---> b18bb0e7a8c6 [2024-10-05T14:09:04.703Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-05T14:09:04.703Z] ---> Running in 561bce836c2c [2024-10-05T14:09:04.703Z] Removing intermediate container 561bce836c2c [2024-10-05T14:09:04.703Z] ---> de2f6af557b3 [2024-10-05T14:09:04.703Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-05T14:09:04.703Z] ---> Running in b21d24eee5a7 [2024-10-05T14:09:04.703Z] Removing intermediate container b21d24eee5a7 [2024-10-05T14:09:04.703Z] ---> 20e08e06a9a1 [2024-10-05T14:09:04.703Z] Step 23/25 : LABEL arch=amd64 [2024-10-05T14:09:04.703Z] ---> Running in b043a8a03ef9 [2024-10-05T14:09:04.961Z] Removing intermediate container b043a8a03ef9 [2024-10-05T14:09:04.961Z] ---> 76caa6906d78 [2024-10-05T14:09:04.961Z] Step 24/25 : LABEL git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [2024-10-05T14:09:04.961Z] ---> Running in 333038b6d709 [2024-10-05T14:09:04.961Z] Removing intermediate container 333038b6d709 [2024-10-05T14:09:04.961Z] ---> d620420f5edf [2024-10-05T14:09:04.961Z] Step 25/25 : LABEL version=0.0.0 [2024-10-05T14:09:04.961Z] ---> Running in df94dcc0c5dc [2024-10-05T14:09:04.961Z] Removing intermediate container df94dcc0c5dc [2024-10-05T14:09:04.961Z] ---> 5ffa38a9e10d [2024-10-05T14:09:04.961Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-05T14:09:04.961Z] Successfully built 5ffa38a9e10d [2024-10-05T14:09:04.961Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:09:05.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-05T14:09:05.985Z] [2024-10-05T14:09:05.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:09:06.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-05T14:09:06.384Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-05T14:09:06.384Z] 5eb5b503b376: Pulling fs layer [2024-10-05T14:09:06.384Z] 5c69ac0246d0: Pulling fs layer [2024-10-05T14:09:06.384Z] ec43610c2a17: Pulling fs layer [2024-10-05T14:09:06.384Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-05T14:09:06.384Z] 33b1e0a273af: Pulling fs layer [2024-10-05T14:09:06.384Z] 5d3b04190fa2: Pulling fs layer [2024-10-05T14:09:06.384Z] 2f39f015ded8: Pulling fs layer [2024-10-05T14:09:06.384Z] 33b1e0a273af: Waiting [2024-10-05T14:09:06.384Z] 5d3b04190fa2: Waiting [2024-10-05T14:09:06.384Z] 2f39f015ded8: Waiting [2024-10-05T14:09:06.384Z] 5c69ac0246d0: Verifying Checksum [2024-10-05T14:09:06.384Z] 5c69ac0246d0: Download complete [2024-10-05T14:09:06.384Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-05T14:09:06.384Z] 3a2ae6a8a46f: Download complete [2024-10-05T14:09:06.384Z] ec43610c2a17: Verifying Checksum [2024-10-05T14:09:06.384Z] ec43610c2a17: Download complete [2024-10-05T14:09:06.384Z] 5d3b04190fa2: Verifying Checksum [2024-10-05T14:09:06.384Z] 5d3b04190fa2: Download complete [2024-10-05T14:09:06.384Z] 33b1e0a273af: Verifying Checksum [2024-10-05T14:09:06.384Z] 33b1e0a273af: Download complete [2024-10-05T14:09:06.642Z] 5eb5b503b376: Verifying Checksum [2024-10-05T14:09:06.642Z] 5eb5b503b376: Download complete [2024-10-05T14:09:07.210Z] 2f39f015ded8: Download complete [2024-10-05T14:09:07.779Z] 5eb5b503b376: Pull complete [2024-10-05T14:09:08.038Z] 5c69ac0246d0: Pull complete [2024-10-05T14:09:08.297Z] ec43610c2a17: Pull complete [2024-10-05T14:09:08.297Z] 3a2ae6a8a46f: Pull complete [2024-10-05T14:09:08.556Z] 33b1e0a273af: Pull complete [2024-10-05T14:09:08.814Z] 5d3b04190fa2: Pull complete [2024-10-05T14:09:12.993Z] 2f39f015ded8: Pull complete [2024-10-05T14:09:12.993Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-05T14:09:12.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-05T14:09:12.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:09:13.241Z] prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container [2024-10-05T14:09:13.281Z] $ 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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-05T14:09:17.167Z] $ docker top 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:09:17.628Z] ---> job-cost.sh [2024-10-05T14:09:17.628Z] lf-activate-venv: SKIPPING [2024-10-05T14:09:17.628Z] INFO: No Stack... [2024-10-05T14:09:17.889Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-05T14:09:18.148Z] INFO: Archiving Costs [Pipeline] sh [2024-10-05T14:09:18.472Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/cost.csv [2024-10-05T14:09:18.472Z] + cut -d, -f6 [Pipeline] lock [2024-10-05T14:09:18.530Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [2024-10-05T14:09:18.537Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] did not exist. Created. [2024-10-05T14:09:18.544Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-05T14:09:18.978Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-05T14:09:19.019Z] Stashed 1 file(s) [Pipeline] } [2024-10-05T14:09:19.058Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-05T14:09:19.148Z] $ docker stop --time=1 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f [2024-10-05T14:09:20.294Z] $ docker rm -f --volumes 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-05T14:09:21.623Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21908 in /w/workspace/gexfoundry_device-mqtt-go_PR-698 [Pipeline] { [Pipeline] ws [2024-10-05T14:09:21.694Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-05T14:09:21.797Z] The recommended git tool is: git [2024-10-05T14:09:30.005Z] using credential edgex-jenkins-ssh [2024-10-05T14:09:30.031Z] Cloning the remote Git repository [2024-10-05T14:09:30.125Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-05T14:09:30.253Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-05T14:09:30.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-05T14:09:30.516Z] > git --version # timeout=10 [2024-10-05T14:09:30.556Z] > git --version # 'git version 2.25.1' [2024-10-05T14:09:30.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-05T14:09:30.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-05T14:09:33.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-05T14:09:33.757Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-05T14:09:35.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-05T14:09:35.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-05T14:09:35.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-05T14:09:35.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-05T14:09:35.677Z] Merging remotes/origin/main commit 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [2024-10-05T14:09:36.130Z] Merge succeeded, producing a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [2024-10-05T14:09:36.130Z] Checking out Revision a09a63a95da2d3bc844fcdd555a08d7ba1c742ec (PR-698) [2024-10-05T14:09:36.743Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-05T14:09:36.806Z] > git --version # timeout=10 [2024-10-05T14:09:36.818Z] > git --version # 'git version 2.25.1' [2024-10-05T14:09:36.841Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-05T14:09:35.706Z] > git config core.sparsecheckout # timeout=10 [2024-10-05T14:09:35.801Z] > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 [2024-10-05T14:09:36.006Z] > git remote # timeout=10 [2024-10-05T14:09:36.027Z] > git config --get remote.origin.url # timeout=10 [2024-10-05T14:09:36.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-05T14:09:36.075Z] > git merge 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 [2024-10-05T14:09:36.111Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-05T14:09:36.138Z] > git config core.sparsecheckout # timeout=10 [2024-10-05T14:09:36.152Z] > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-05T14:09:41.933Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-05T14:09:41.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-05T14:09:41.933Z] Dload Upload Total Spent Left Speed [2024-10-05T14:09:41.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2024-10-05T14:09:42.297Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-05T14:09:42.652Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-05T14:09:42.652Z] + sudo tee /etc/docker/daemon.new [2024-10-05T14:09:42.652Z] { [2024-10-05T14:09:42.652Z] "registry-mirrors": [ [2024-10-05T14:09:42.652Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-05T14:09:42.652Z] ], [2024-10-05T14:09:42.652Z] "bip": "10.250.0.254/24", [2024-10-05T14:09:42.652Z] "hosts": [ [2024-10-05T14:09:42.652Z] "tcp://0.0.0.0:5555", [2024-10-05T14:09:42.652Z] "unix:///var/run/docker.sock" [2024-10-05T14:09:42.652Z] ], [2024-10-05T14:09:42.652Z] "mtu": 1458, [2024-10-05T14:09:42.652Z] "selinux-enabled": true, [2024-10-05T14:09:42.652Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-05T14:09:42.652Z] } [Pipeline] sh [2024-10-05T14:09:43.017Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-05T14:09:43.380Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-05T14:10:01.774Z] provisioning config files... [2024-10-05T14:10:01.806Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5083599348235634179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:10:02.323Z] ---> ****-login.sh [2024-10-05T14:10:02.323Z] nexus3.edgexfoundry.org:10001 [2024-10-05T14:10:02.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:10:02.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:10:02.911Z] Configure a credential helper to remove this warning. See [2024-10-05T14:10:02.911Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:10:02.911Z] [2024-10-05T14:10:02.911Z] Login Succeeded [2024-10-05T14:10:03.184Z] nexus3.edgexfoundry.org:10002 [2024-10-05T14:10:03.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:10:03.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:10:03.457Z] Configure a credential helper to remove this warning. See [2024-10-05T14:10:03.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:10:03.457Z] [2024-10-05T14:10:03.457Z] Login Succeeded [2024-10-05T14:10:03.457Z] nexus3.edgexfoundry.org:10003 [2024-10-05T14:10:03.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:10:03.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:10:03.731Z] Configure a credential helper to remove this warning. See [2024-10-05T14:10:03.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:10:03.731Z] [2024-10-05T14:10:03.731Z] Login Succeeded [2024-10-05T14:10:03.731Z] nexus3.edgexfoundry.org:10004 [2024-10-05T14:10:04.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:10:04.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:10:04.001Z] Configure a credential helper to remove this warning. See [2024-10-05T14:10:04.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:10:04.001Z] [2024-10-05T14:10:04.001Z] Login Succeeded [2024-10-05T14:10:04.271Z] ****.io [2024-10-05T14:10:04.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-05T14:10:04.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-05T14:10:04.542Z] Configure a credential helper to remove this warning. See [2024-10-05T14:10:04.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-05T14:10:04.542Z] [2024-10-05T14:10:04.542Z] Login Succeeded [2024-10-05T14:10:04.542Z] ---> ****-login.sh ends [Pipeline] } [2024-10-05T14:10:04.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-05T14:10:05.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-05T14:10:05.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-05T14:10:05.236Z] ========================================================= [2024-10-05T14:10:05.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-05T14:10:05.236Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:10:05.794Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-05T14:10:06.066Z] Sending build context to Docker daemon 10.53MB [2024-10-05T14:10:06.345Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-05T14:10:06.345Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-05T14:10:06.345Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-05T14:10:06.345Z] cf04c63912e1: Pulling fs layer [2024-10-05T14:10:06.345Z] 55b35a11ae5e: Pulling fs layer [2024-10-05T14:10:06.345Z] a37a00ec5f00: Pulling fs layer [2024-10-05T14:10:06.345Z] 50b3750afda1: Pulling fs layer [2024-10-05T14:10:06.345Z] 4f4fb700ef54: Pulling fs layer [2024-10-05T14:10:06.345Z] 80978eb59214: Pulling fs layer [2024-10-05T14:10:06.345Z] c9f46d7d2bd2: Pulling fs layer [2024-10-05T14:10:06.345Z] c5a475d317c9: Pulling fs layer [2024-10-05T14:10:06.345Z] 4f4fb700ef54: Waiting [2024-10-05T14:10:06.345Z] 80978eb59214: Waiting [2024-10-05T14:10:06.345Z] c9f46d7d2bd2: Waiting [2024-10-05T14:10:06.345Z] c5a475d317c9: Waiting [2024-10-05T14:10:06.345Z] 50b3750afda1: Waiting [2024-10-05T14:10:06.618Z] 55b35a11ae5e: Verifying Checksum [2024-10-05T14:10:06.618Z] 55b35a11ae5e: Download complete [2024-10-05T14:10:06.618Z] 50b3750afda1: Verifying Checksum [2024-10-05T14:10:06.618Z] 50b3750afda1: Download complete [2024-10-05T14:10:06.618Z] 4f4fb700ef54: Verifying Checksum [2024-10-05T14:10:06.618Z] 4f4fb700ef54: Download complete [2024-10-05T14:10:06.618Z] 80978eb59214: Verifying Checksum [2024-10-05T14:10:06.618Z] 80978eb59214: Download complete [2024-10-05T14:10:06.618Z] cf04c63912e1: Verifying Checksum [2024-10-05T14:10:06.618Z] cf04c63912e1: Download complete [2024-10-05T14:10:07.206Z] c5a475d317c9: Verifying Checksum [2024-10-05T14:10:07.206Z] c5a475d317c9: Download complete [2024-10-05T14:10:07.478Z] cf04c63912e1: Pull complete [2024-10-05T14:10:08.458Z] 55b35a11ae5e: Pull complete [2024-10-05T14:10:08.458Z] a37a00ec5f00: Verifying Checksum [2024-10-05T14:10:08.458Z] a37a00ec5f00: Download complete [2024-10-05T14:10:09.429Z] c9f46d7d2bd2: Verifying Checksum [2024-10-05T14:10:09.429Z] c9f46d7d2bd2: Download complete [2024-10-05T14:10:21.746Z] a37a00ec5f00: Pull complete [2024-10-05T14:10:21.746Z] 50b3750afda1: Pull complete [2024-10-05T14:10:22.333Z] 4f4fb700ef54: Pull complete [2024-10-05T14:10:22.333Z] 80978eb59214: Pull complete [2024-10-05T14:10:30.545Z] c9f46d7d2bd2: Pull complete [2024-10-05T14:10:31.512Z] c5a475d317c9: Pull complete [2024-10-05T14:10:31.783Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-05T14:10:31.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-05T14:10:31.783Z] ---> be29e6b0f0d4 [2024-10-05T14:10:31.783Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-05T14:10:33.749Z] ---> Running in 913097b31430 [2024-10-05T14:10:34.016Z] Removing intermediate container 913097b31430 [2024-10-05T14:10:34.016Z] ---> 03c7c09e81cb [2024-10-05T14:10:34.016Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-05T14:10:34.290Z] ---> Running in 32479228cb88 [2024-10-05T14:10:34.558Z] Removing intermediate container 32479228cb88 [2024-10-05T14:10:34.558Z] ---> 2b4a9c07380f [2024-10-05T14:10:34.558Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-05T14:10:34.832Z] ---> Running in b4f77427a522 [2024-10-05T14:10:35.101Z] Removing intermediate container b4f77427a522 [2024-10-05T14:10:35.101Z] ---> 49856a3e523f [2024-10-05T14:10:35.101Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-05T14:10:35.101Z] ---> Running in f12a3a133bcf [2024-10-05T14:10:35.371Z] Removing intermediate container f12a3a133bcf [2024-10-05T14:10:35.371Z] ---> 063ee4b354a6 [2024-10-05T14:10:35.371Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-05T14:10:35.641Z] ---> Running in c5e122ab421e [2024-10-05T14:10:37.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-05T14:10:37.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-05T14:10:39.010Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-05T14:10:39.010Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-05T14:10:39.010Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-05T14:10:39.010Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-05T14:10:39.010Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:10:39.010Z] OK: 242 MiB in 58 packages [2024-10-05T14:10:39.997Z] Removing intermediate container c5e122ab421e [2024-10-05T14:10:39.997Z] ---> 6a18331f6f4b [2024-10-05T14:10:39.997Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-05T14:10:40.266Z] ---> Running in cc4993d9a939 [2024-10-05T14:10:40.534Z] Removing intermediate container cc4993d9a939 [2024-10-05T14:10:40.534Z] ---> d998a908e012 [2024-10-05T14:10:40.534Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-05T14:10:41.123Z] ---> eaa0387db981 [2024-10-05T14:10:41.123Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-05T14:10:41.123Z] ---> Running in b419eca50540 [2024-10-05T14:12:47.861Z] Removing intermediate container b419eca50540 [2024-10-05T14:12:47.861Z] ---> 8f4f8d6fa06f [2024-10-05T14:12:47.861Z] Step 11/12 : COPY . . [2024-10-05T14:12:47.861Z] ---> a9852459b17b [2024-10-05T14:12:47.861Z] Step 12/12 : RUN $MAKE [2024-10-05T14:12:47.861Z] ---> Running in ffa8f49858dc [2024-10-05T14:12:47.861Z] noop [2024-10-05T14:12:47.861Z] Removing intermediate container ffa8f49858dc [2024-10-05T14:12:47.861Z] ---> 0131d351fbbe [2024-10-05T14:12:47.861Z] Successfully built 0131d351fbbe [2024-10-05T14:12:47.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:12:48.421Z] + docker inspect -f . ci-base-image-arm64 [2024-10-05T14:12:48.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:12:48.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container [2024-10-05T14:12:49.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2024-10-05T14:12:50.441Z] $ docker top ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-05T14:12:51.386Z] + go version [2024-10-05T14:12:51.386Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-05T14:12:51.429Z] $ docker stop --time=1 ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 [2024-10-05T14:12:53.154Z] $ docker rm -f --volumes ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:12:54.203Z] + docker inspect -f . ci-base-image-arm64 [2024-10-05T14:12:54.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:12:54.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container [2024-10-05T14:12:54.579Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2024-10-05T14:12:55.878Z] $ docker top 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-05T14:12:56.801Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-05T14:12:57.542Z] + make test [2024-10-05T14:12:57.542Z] go test ./... -coverprofile=coverage.out ./... [2024-10-05T14:13:04.262Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-05T14:16:56.583Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-05T14:17:03.248Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-05T14:17:03.248Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements [2024-10-05T14:17:03.846Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-05T14:17:03.846Z] go vet ./... [2024-10-05T14:18:00.308Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-05T14:18:00.308Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-05T14:18:00.308Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-05T14:18:00.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-05T14:18:00.400Z] $ docker stop --time=1 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a [2024-10-05T14:18:02.391Z] $ docker rm -f --volumes 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-05T14:18:04.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-05T14:18:04.246Z] Warning: overwriting stash ‘coverage-report’ [2024-10-05T14:18:04.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-05T14:18:05.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-05T14:18:05.836Z] + ls -al . [2024-10-05T14:18:05.836Z] total 260 [2024-10-05T14:18:05.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:13 . [2024-10-05T14:18:05.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:09 .. [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:09 .dockerignore [2024-10-05T14:18:05.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:09 .git [2024-10-05T14:18:05.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 .github [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:09 .gitignore [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:09 .golangci.yml [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:09 Attribution.txt [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:09 CHANGELOG.md [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:09 Dockerfile [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:09 GOVERNANCE.md [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:09 Jenkinsfile [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:09 LICENSE [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:09 Makefile [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:09 OWNERS.md [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:09 README.md [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 14:06 VERSION [2024-10-05T14:18:05.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 bin [2024-10-05T14:18:05.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 cmd [2024-10-05T14:18:05.836Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:17 coverage.out [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:09 go.mod [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:09 go.sum [2024-10-05T14:18:05.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 internal [2024-10-05T14:18:05.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 mock [2024-10-05T14:18:05.836Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:18:06.305Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec --label arch=arm64 --label version=0.0.0 . [2024-10-05T14:18:06.893Z] Sending build context to Docker daemon 10.55MB [2024-10-05T14:18:06.893Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-05T14:18:06.893Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-05T14:18:06.893Z] ---> 0131d351fbbe [2024-10-05T14:18:06.893Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-05T14:18:06.893Z] ---> Running in 8d72ab50ed9e [2024-10-05T14:18:07.162Z] Removing intermediate container 8d72ab50ed9e [2024-10-05T14:18:07.162Z] ---> a8dcb39cbab3 [2024-10-05T14:18:07.162Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-05T14:18:07.436Z] ---> Running in 0f4414ac97c7 [2024-10-05T14:18:07.703Z] Removing intermediate container 0f4414ac97c7 [2024-10-05T14:18:07.703Z] ---> 347a45c96710 [2024-10-05T14:18:07.703Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-05T14:18:07.703Z] ---> Running in 85599baef113 [2024-10-05T14:18:08.291Z] Removing intermediate container 85599baef113 [2024-10-05T14:18:08.291Z] ---> ef49ab17660e [2024-10-05T14:18:08.291Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-05T14:18:08.291Z] ---> Running in 9ada65244e23 [2024-10-05T14:18:08.559Z] Removing intermediate container 9ada65244e23 [2024-10-05T14:18:08.559Z] ---> f9fea5bd200e [2024-10-05T14:18:08.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-05T14:18:08.559Z] ---> Running in 74e0105f50b2 [2024-10-05T14:18:09.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-05T14:18:09.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-05T14:18:11.923Z] OK: 242 MiB in 58 packages [2024-10-05T14:18:12.517Z] Removing intermediate container 74e0105f50b2 [2024-10-05T14:18:12.517Z] ---> 5366ccc952c7 [2024-10-05T14:18:12.517Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-05T14:18:12.787Z] ---> Running in 24174eb6c15d [2024-10-05T14:18:13.057Z] Removing intermediate container 24174eb6c15d [2024-10-05T14:18:13.057Z] ---> f9227b221560 [2024-10-05T14:18:13.057Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-05T14:18:13.643Z] ---> 6010df5b9cb3 [2024-10-05T14:18:13.643Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-05T14:18:13.643Z] ---> Running in 7522f1424155 [2024-10-05T14:18:16.246Z] Removing intermediate container 7522f1424155 [2024-10-05T14:18:16.246Z] ---> 5852f50bfde1 [2024-10-05T14:18:16.246Z] Step 11/25 : COPY . . [2024-10-05T14:18:17.661Z] ---> 093896de1eb5 [2024-10-05T14:18:17.661Z] Step 12/25 : RUN $MAKE [2024-10-05T14:18:17.661Z] ---> Running in 5cbec40c48dd [2024-10-05T14:18:18.632Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-05T14:22:25.520Z] Removing intermediate container 5cbec40c48dd [2024-10-05T14:22:25.520Z] ---> b6e70cc22d90 [2024-10-05T14:22:25.520Z] Step 13/25 : FROM alpine:3.20 [2024-10-05T14:22:25.520Z] 3.20: Pulling from library/alpine [2024-10-05T14:22:25.787Z] cf04c63912e1: Already exists [2024-10-05T14:22:25.787Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-05T14:22:26.056Z] Status: Downloaded newer image for alpine:3.20 [2024-10-05T14:22:26.056Z] ---> c157a85ed455 [2024-10-05T14:22:26.056Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-05T14:22:26.056Z] ---> Running in ebe5916af0a1 [2024-10-05T14:22:26.325Z] Removing intermediate container ebe5916af0a1 [2024-10-05T14:22:26.325Z] ---> 4d549ad0aee6 [2024-10-05T14:22:26.325Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-05T14:22:26.325Z] ---> Running in b65cc0cc0e22 [2024-10-05T14:22:27.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:27.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:29.146Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-05T14:22:29.146Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:22:29.414Z] OK: 9 MiB in 15 packages [2024-10-05T14:22:30.381Z] Removing intermediate container b65cc0cc0e22 [2024-10-05T14:22:30.381Z] ---> 30dac591d7e5 [2024-10-05T14:22:30.381Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-05T14:22:30.381Z] ---> Running in 4295456f7b07 [2024-10-05T14:22:31.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:31.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:33.341Z] Upgrading critical system libraries and apk-tools: [2024-10-05T14:22:33.341Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-05T14:22:33.341Z] Executing busybox-1.36.1-r29.trigger [2024-10-05T14:22:33.611Z] Continuing the upgrade transaction with new apk-tools: [2024-10-05T14:22:33.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:33.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-05T14:22:35.295Z] OK: 9 MiB in 15 packages [2024-10-05T14:22:36.713Z] Removing intermediate container 4295456f7b07 [2024-10-05T14:22:36.713Z] ---> 1cac06eb97fd [2024-10-05T14:22:36.713Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-05T14:22:39.330Z] ---> 45b3e2590774 [2024-10-05T14:22:39.330Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-05T14:22:39.601Z] ---> eba91c5dd422 [2024-10-05T14:22:39.601Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-05T14:22:40.190Z] ---> 6504b6c05ca9 [2024-10-05T14:22:40.190Z] Step 20/25 : EXPOSE 59982 [2024-10-05T14:22:40.190Z] ---> Running in b61e5961c128 [2024-10-05T14:22:40.460Z] Removing intermediate container b61e5961c128 [2024-10-05T14:22:40.460Z] ---> 0ccef7106205 [2024-10-05T14:22:40.460Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-05T14:22:40.731Z] ---> Running in 0b96dc559bd9 [2024-10-05T14:22:41.002Z] Removing intermediate container 0b96dc559bd9 [2024-10-05T14:22:41.002Z] ---> a0e7cb618d0c [2024-10-05T14:22:41.002Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-05T14:22:41.002Z] ---> Running in 127ec8c1b67e [2024-10-05T14:22:41.275Z] Removing intermediate container 127ec8c1b67e [2024-10-05T14:22:41.275Z] ---> 1d4bb551cf30 [2024-10-05T14:22:41.275Z] Step 23/25 : LABEL arch=arm64 [2024-10-05T14:22:41.545Z] ---> Running in 8c0976edee17 [2024-10-05T14:22:41.816Z] Removing intermediate container 8c0976edee17 [2024-10-05T14:22:41.816Z] ---> 9a847d71c826 [2024-10-05T14:22:41.816Z] Step 24/25 : LABEL git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [2024-10-05T14:22:41.816Z] ---> Running in ff6e81e9f5a2 [2024-10-05T14:22:42.405Z] Removing intermediate container ff6e81e9f5a2 [2024-10-05T14:22:42.405Z] ---> 50812e6c7a3d [2024-10-05T14:22:42.405Z] Step 25/25 : LABEL version=0.0.0 [2024-10-05T14:22:42.405Z] ---> Running in 7839fa871289 [2024-10-05T14:22:42.674Z] Removing intermediate container 7839fa871289 [2024-10-05T14:22:42.674Z] ---> bb1e1a931a5c [2024-10-05T14:22:42.674Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-05T14:22:42.674Z] Successfully built bb1e1a931a5c [2024-10-05T14:22:42.674Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:22:43.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-05T14:22:43.658Z] [2024-10-05T14:22:43.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:22:44.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-05T14:22:44.372Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-05T14:22:44.372Z] 8998bd30e6a1: Pulling fs layer [2024-10-05T14:22:44.373Z] 04944245beec: Pulling fs layer [2024-10-05T14:22:44.373Z] 699f458cf7ca: Pulling fs layer [2024-10-05T14:22:44.373Z] 765212b225bb: Pulling fs layer [2024-10-05T14:22:44.373Z] f23df028b6ca: Pulling fs layer [2024-10-05T14:22:44.373Z] d65c8cfc05b1: Pulling fs layer [2024-10-05T14:22:44.373Z] 2437ff75d9bd: Pulling fs layer [2024-10-05T14:22:44.373Z] 765212b225bb: Waiting [2024-10-05T14:22:44.373Z] f23df028b6ca: Waiting [2024-10-05T14:22:44.373Z] d65c8cfc05b1: Waiting [2024-10-05T14:22:44.373Z] 04944245beec: Verifying Checksum [2024-10-05T14:22:44.373Z] 04944245beec: Download complete [2024-10-05T14:22:44.373Z] 765212b225bb: Verifying Checksum [2024-10-05T14:22:44.373Z] 765212b225bb: Download complete [2024-10-05T14:22:44.373Z] f23df028b6ca: Verifying Checksum [2024-10-05T14:22:44.373Z] f23df028b6ca: Download complete [2024-10-05T14:22:44.373Z] d65c8cfc05b1: Verifying Checksum [2024-10-05T14:22:44.373Z] d65c8cfc05b1: Download complete [2024-10-05T14:22:44.644Z] 699f458cf7ca: Verifying Checksum [2024-10-05T14:22:44.644Z] 699f458cf7ca: Download complete [2024-10-05T14:22:45.239Z] 8998bd30e6a1: Verifying Checksum [2024-10-05T14:22:45.239Z] 8998bd30e6a1: Download complete [2024-10-05T14:22:47.849Z] 2437ff75d9bd: Verifying Checksum [2024-10-05T14:22:47.849Z] 2437ff75d9bd: Download complete [2024-10-05T14:22:50.446Z] 8998bd30e6a1: Pull complete [2024-10-05T14:22:50.719Z] 04944245beec: Pull complete [2024-10-05T14:22:52.673Z] 699f458cf7ca: Pull complete [2024-10-05T14:22:52.673Z] 765212b225bb: Pull complete [2024-10-05T14:22:53.643Z] f23df028b6ca: Pull complete [2024-10-05T14:22:53.918Z] d65c8cfc05b1: Pull complete [2024-10-05T14:23:12.180Z] 2437ff75d9bd: Pull complete [2024-10-05T14:23:12.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-05T14:23:12.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-05T14:23:12.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:23:12.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container [2024-10-05T14:23:12.628Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-05T14:23:15.976Z] $ docker top f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:16.974Z] ---> job-cost.sh [2024-10-05T14:23:16.974Z] lf-activate-venv: SKIPPING [2024-10-05T14:23:16.974Z] INFO: No Stack... [2024-10-05T14:23:17.558Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-05T14:23:18.145Z] INFO: Archiving Costs [Pipeline] sh [2024-10-05T14:23:18.852Z] + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 [2024-10-05T14:23:18.852Z] [Pipeline] lock [2024-10-05T14:23:18.923Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [2024-10-05T14:23:18.930Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] did not exist. Created. [2024-10-05T14:23:18.937Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-05T14:23:19.713Z] /w/workspace/device-mqtt-go/1@tmp/durable-7dc46ae9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-05T14:23:20.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-05T14:23:20.509Z] Warning: overwriting stash ‘stack-cost’ [2024-10-05T14:23:20.564Z] Stashed 1 file(s) [Pipeline] } [2024-10-05T14:23:20.589Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-05T14:23:20.683Z] $ docker stop --time=1 f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 [2024-10-05T14:23:22.227Z] $ docker rm -f --volumes f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-05T14:23:23.399Z] provisioning config files... [2024-10-05T14:23:23.405Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config15078177100098264443tmp [Pipeline] { [Pipeline] sh [2024-10-05T14:23:23.787Z] + set +x [2024-10-05T14:23:23.787Z] + curl -s https://codecov.io/bash [2024-10-05T14:23:23.787Z] + bash -s -- [2024-10-05T14:23:23.787Z] [2024-10-05T14:23:23.787Z] _____ _ [2024-10-05T14:23:23.787Z] / ____| | | [2024-10-05T14:23:23.787Z] | | ___ __| | ___ ___ _____ __ [2024-10-05T14:23:23.787Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-05T14:23:23.787Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-05T14:23:23.787Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-05T14:23:23.787Z] Bash-1.0.6 [2024-10-05T14:23:23.787Z] [2024-10-05T14:23:23.787Z] [2024-10-05T14:23:23.787Z] ==> git version 2.25.1 found [2024-10-05T14:23:23.787Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-05T14:23:23.787Z] Release-Date: 2020-01-08 [2024-10-05T14:23:23.787Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-05T14:23:23.787Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-05T14:23:23.787Z] ==> Jenkins CI detected. [2024-10-05T14:23:23.787Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-698 [2024-10-05T14:23:23.787Z] project root: . [2024-10-05T14:23:23.787Z] --> token set from env [2024-10-05T14:23:23.787Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-05T14:23:23.787Z] ==> Running gcov in . (disable via -X gcov) [2024-10-05T14:23:23.787Z] ==> Python coveragepy not found [2024-10-05T14:23:23.787Z] ==> Searching for coverage reports in: [2024-10-05T14:23:23.787Z] + . [2024-10-05T14:23:23.787Z] -> Found 1 reports [2024-10-05T14:23:23.787Z] ==> Detecting git/mercurial file structure [2024-10-05T14:23:23.787Z] ==> Reading reports [2024-10-05T14:23:23.787Z] + ./coverage.out bytes=21039 [2024-10-05T14:23:24.055Z] ==> Appending adjustments [2024-10-05T14:23:24.055Z] https://docs.codecov.io/docs/fixing-reports [2024-10-05T14:23:24.055Z] + Found adjustments [2024-10-05T14:23:24.055Z] ==> Gzipping contents [2024-10-05T14:23:24.055Z] 4.0K /tmp/codecov.EGKeUK.gz [2024-10-05T14:23:24.055Z] ==> Uploading reports [2024-10-05T14:23:24.055Z] url: https://codecov.io [2024-10-05T14:23:24.055Z] query: branch=PR-698&commit=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-698%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=698&job=&cmd_args= [2024-10-05T14:23:24.055Z] -> Pinging Codecov [2024-10-05T14:23:24.055Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-698&commit=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-698%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=698&job=&cmd_args= [2024-10-05T14:23:24.315Z] -> Uploading to [2024-10-05T14:23:24.315Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/a09a63a95da2d3bc844fcdd555a08d7ba1c742ec/f6f21c29-4091-4214-8278-80b936b3dca3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241005%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241005T142324Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=47d562110a77f6e16d0c4341e7b51e4989d1ee9eb3567c06e9abdac5247ac770 [2024-10-05T14:23:24.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-05T14:23:24.315Z] Dload Upload Total Spent Left Speed [2024-10-05T14:23:24.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14000 --:--:-- --:--:-- --:--:-- 14000 [2024-10-05T14:23:24.575Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] } [2024-10-05T14:23:24.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-05T14:23:27.016Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives ] [2024-10-05T14:23:27.016Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives [2024-10-05T14:23:27.016Z] total 16 [2024-10-05T14:23:27.016Z] drwxr-xr-x 3 root root 4096 Oct 5 14:09 . [2024-10-05T14:23:27.016Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:09 .. [2024-10-05T14:23:27.016Z] drwxr-xr-x 2 root root 4096 Oct 5 14:09 cost [2024-10-05T14:23:27.016Z] -rw-r--r-- 1 root root 86 Oct 5 14:09 cost.csv [2024-10-05T14:23:27.016Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives [2024-10-05T14:23:27.016Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives [2024-10-05T14:23:27.016Z] total 16 [2024-10-05T14:23:27.016Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:09 . [2024-10-05T14:23:27.016Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:09 .. [2024-10-05T14:23:27.016Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 14:09 cost [2024-10-05T14:23:27.016Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 5 14:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:27.417Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:28.374Z] ---> package-listing.sh [2024-10-05T14:23:28.374Z] ++ facter osfamily [2024-10-05T14:23:28.374Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-05T14:23:28.633Z] + OS_FAMILY=debian [2024-10-05T14:23:28.634Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-698 [2024-10-05T14:23:28.634Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-05T14:23:28.634Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-05T14:23:28.634Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-05T14:23:28.634Z] + PACKAGES=/tmp/packages_start.txt [2024-10-05T14:23:28.634Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-698 ']' [2024-10-05T14:23:28.634Z] + PACKAGES=/tmp/packages_end.txt [2024-10-05T14:23:28.634Z] + case "${OS_FAMILY}" in [2024-10-05T14:23:28.634Z] + dpkg -l [2024-10-05T14:23:28.634Z] + grep '^ii' [2024-10-05T14:23:28.634Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-05T14:23:28.634Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-05T14:23:28.634Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-05T14:23:28.634Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-698 ']' [2024-10-05T14:23:28.634Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/ [2024-10-05T14:23:28.634Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/ [Pipeline] echo [2024-10-05T14:23:28.670Z] 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-698/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-05T14:23:28.972Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-05T14:23:29.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-05T14:23:29.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-05T14:23:29.821Z] prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container [2024-10-05T14:23:29.857Z] $ 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-698/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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@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-lftools-log-publisher:latest cat [2024-10-05T14:23:30.043Z] $ docker top 12e582e54a7ff7c4058a244641a8aa96c87a1a2c07d5af02172f56c008e126f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-05T14:23:30.455Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-05T14:23:30.771Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-05T14:23:31.087Z] + ls /var/log/sa-host [2024-10-05T14:23:31.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-05T14:23:31.255Z] provisioning config files... [2024-10-05T14:23:31.263Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config15778756128604344417tmp [Pipeline] { [Pipeline] echo [2024-10-05T14:23:31.334Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:31.657Z] ---> create-netrc.sh [Pipeline] } [2024-10-05T14:23:31.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:32.130Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-05T14:23:32.167Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:32.491Z] ---> sudo-logs.sh [2024-10-05T14:23:32.491Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-05T14:23:32.605Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:32.937Z] ---> job-cost.sh [2024-10-05T14:23:32.937Z] lf-activate-venv: SKIPPING [2024-10-05T14:23:32.937Z] DEBUG: total: 0.2199999988079071 [2024-10-05T14:23:32.937Z] INFO: Retrieving Stack Cost... [2024-10-05T14:23:33.196Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-05T14:23:33.762Z] INFO: Archiving Costs [Pipeline] echo [2024-10-05T14:23:33.810Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-05T14:23:34.144Z] ---> logs-deploy.sh [2024-10-05T14:23:34.144Z] lf-activate-venv: SKIPPING [2024-10-05T14:23:34.144Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-698/1 [2024-10-05T14:23:34.144Z] INFO: archiving workspace using pattern(s): [2024-10-05T14:23:35.080Z] Archives upload complete. [2024-10-05T14:23:35.080Z] INFO: archiving logs to Nexus