Pull request #708 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from cc886f0163229c0230891ab3c0de8aec2f7a231b+6320066227888112c6c0a181794f3c9cc54daea1 (dc99f7f5c33ac661dcf46d3f2ce1dee92af5bf2f) 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-ssh6356664696439805172.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-ssh6884010834571972774.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-708/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-708/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh946369719674001451.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 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-ssh7492333262948382386.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-708/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-708/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh959841545694434006.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24958 in /w/workspace/gexfoundry_device-mqtt-go_PR-708 [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-708 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/708/head:refs/remotes/origin/PR-708 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit cc886f0163229c0230891ab3c0de8aec2f7a231b Merge succeeded, producing cc886f0163229c0230891ab3c0de8aec2f7a231b Checking out Revision cc886f0163229c0230891ab3c0de8aec2f7a231b (PR-708) > git config core.sparsecheckout # timeout=10 > git checkout -f cc886f0163229c0230891ab3c0de8aec2f7a231b # 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 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc886f0163229c0230891ab3c0de8aec2f7a231b # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git rev-list --no-walk ed01671be0093de828f24a3204fbac8305532b8d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T02:55:58.261Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T02:55:58.378Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T02:55:58.409Z] ========================================================= [2024-11-08T02:55:58.409Z] EdgeX Global Pipelines Version Info [2024-11-08T02:55:58.409Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:55:59.141Z] ------------------- [2024-11-08T02:55:59.141Z] stable info: [2024-11-08T02:55:59.141Z] ------------------- [2024-11-08T02:55:59.141Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T02:55:59.141Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T02:55:59.141Z] Message: update stable to v1.0.265 [2024-11-08T02:55:59.710Z] ------------------- [2024-11-08T02:55:59.710Z] experimental info: [2024-11-08T02:55:59.710Z] ------------------- [2024-11-08T02:55:59.710Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T02:55:59.710Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T02:55:59.710Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T02:55:59.783Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-08T02:55:59.801Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-08T02:55:59.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T02:55:59.851Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T02:55:59.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T02:55:59.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T02:55:59.943Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T02:55:59.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T02:55:59.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T02:56:00.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T02:56:00.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T02:56:00.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-08T02:56:00.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T02:56:00.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T02:56:00.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:56:00.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:56:00.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:56:00.223Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:56:00.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T02:56:00.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T02:56:00.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T02:56:00.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T02:56:00.342Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T02:56:00.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T02:56:00.395Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T02:56:00.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T02:56:00.454Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T02:56:00.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-708 [Pipeline] echo [2024-11-08T02:56:00.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-708 [Pipeline] echo [2024-11-08T02:56:00.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-708 [Pipeline] echo [2024-11-08T02:56:00.541Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc886f0163229c0230891ab3c0de8aec2f7a231b [Pipeline] echo [2024-11-08T02:56:00.570Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc886f0 [Pipeline] echo [2024-11-08T02:56:00.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:56:00.657Z] provisioning config files... [2024-11-08T02:56:00.669Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config16038721136227262444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:56:01.008Z] ---> ****-login.sh [2024-11-08T02:56:01.008Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:56:01.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:01.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:01.269Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:01.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:01.269Z] [2024-11-08T02:56:01.269Z] Login Succeeded [2024-11-08T02:56:01.269Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:56:01.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:01.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:01.531Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:01.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:01.531Z] [2024-11-08T02:56:01.531Z] Login Succeeded [2024-11-08T02:56:01.531Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:56:01.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:01.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:01.531Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:01.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:01.531Z] [2024-11-08T02:56:01.531Z] Login Succeeded [2024-11-08T02:56:01.531Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:56:01.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:01.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:01.531Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:01.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:01.531Z] [2024-11-08T02:56:01.531Z] Login Succeeded [2024-11-08T02:56:01.531Z] ****.io [2024-11-08T02:56:01.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:01.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:01.794Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:01.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:01.794Z] [2024-11-08T02:56:01.794Z] Login Succeeded [2024-11-08T02:56:01.794Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:56:01.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T02:56:02.223Z] + git rev-list -1 --merges cc886f0163229c0230891ab3c0de8aec2f7a231b~1..cc886f0163229c0230891ab3c0de8aec2f7a231b [Pipeline] echo [2024-11-08T02:56:02.251Z] -----------> git rev-list -1 --merges cc886f0163229c0230891ab3c0de8aec2f7a231b~1..cc886f0163229c0230891ab3c0de8aec2f7a231b cc886f0163229c0230891ab3c0de8aec2f7a231b [false] [Pipeline] sh [2024-11-08T02:56:02.543Z] + git log --format=format:%s -1 cc886f0163229c0230891ab3c0de8aec2f7a231b [Pipeline] echo [2024-11-08T02:56:02.635Z] ========================================================= [2024-11-08T02:56:02.635Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T02:56:02.635Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T02:56:03.026Z] + git log --format=format:%s -1 cc886f0163229c0230891ab3c0de8aec2f7a231b [Pipeline] echo [2024-11-08T02:56:03.040Z] [semverPrep] GIT_COMMIT: cc886f0163229c0230891ab3c0de8aec2f7a231b, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T02:56:03.055Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T02:56:03.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T02:56:03.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T02:56:03.443Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T02:56:03.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T02:56:03.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T02:56:03.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T02:56:03.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:56:03.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:56:03.801Z] [2024-11-08T02:56:03.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:56:04.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:56:04.107Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T02:56:04.107Z] b85a868b505f: Pulling fs layer [2024-11-08T02:56:04.107Z] e2be974225ed: Pulling fs layer [2024-11-08T02:56:04.107Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T02:56:04.107Z] 988bab9f4d93: Pulling fs layer [2024-11-08T02:56:04.107Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T02:56:04.107Z] eaf3925da568: Pulling fs layer [2024-11-08T02:56:04.107Z] bab4dde63d76: Pulling fs layer [2024-11-08T02:56:04.107Z] bde34c3a00c8: Pulling fs layer [2024-11-08T02:56:04.107Z] b352a97aabf1: Pulling fs layer [2024-11-08T02:56:04.107Z] 4872d77fe225: Pulling fs layer [2024-11-08T02:56:04.107Z] 5851b861e8e6: Pulling fs layer [2024-11-08T02:56:04.107Z] 988bab9f4d93: Waiting [2024-11-08T02:56:04.107Z] bde34c3a00c8: Waiting [2024-11-08T02:56:04.107Z] b352a97aabf1: Waiting [2024-11-08T02:56:04.107Z] 1469e6f7b9e6: Waiting [2024-11-08T02:56:04.107Z] eaf3925da568: Waiting [2024-11-08T02:56:04.107Z] bab4dde63d76: Waiting [2024-11-08T02:56:04.107Z] 4872d77fe225: Waiting [2024-11-08T02:56:04.107Z] 5851b861e8e6: Waiting [2024-11-08T02:56:04.107Z] e2be974225ed: Download complete [2024-11-08T02:56:04.107Z] 988bab9f4d93: Download complete [2024-11-08T02:56:04.107Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T02:56:04.107Z] 1469e6f7b9e6: Download complete [2024-11-08T02:56:04.107Z] eaf3925da568: Verifying Checksum [2024-11-08T02:56:04.107Z] eaf3925da568: Download complete [2024-11-08T02:56:04.107Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T02:56:04.107Z] 339a4e72a1f5: Download complete [2024-11-08T02:56:04.367Z] bde34c3a00c8: Verifying Checksum [2024-11-08T02:56:04.367Z] bde34c3a00c8: Download complete [2024-11-08T02:56:04.367Z] b352a97aabf1: Download complete [2024-11-08T02:56:04.367Z] 4872d77fe225: Verifying Checksum [2024-11-08T02:56:04.367Z] 4872d77fe225: Download complete [2024-11-08T02:56:04.367Z] 5851b861e8e6: Verifying Checksum [2024-11-08T02:56:04.367Z] 5851b861e8e6: Download complete [2024-11-08T02:56:04.367Z] b85a868b505f: Verifying Checksum [2024-11-08T02:56:04.367Z] b85a868b505f: Download complete [2024-11-08T02:56:04.628Z] bab4dde63d76: Verifying Checksum [2024-11-08T02:56:04.628Z] bab4dde63d76: Download complete [2024-11-08T02:56:05.574Z] b85a868b505f: Pull complete [2024-11-08T02:56:05.575Z] e2be974225ed: Pull complete [2024-11-08T02:56:05.835Z] 339a4e72a1f5: Pull complete [2024-11-08T02:56:06.094Z] 988bab9f4d93: Pull complete [2024-11-08T02:56:06.353Z] 1469e6f7b9e6: Pull complete [2024-11-08T02:56:06.353Z] eaf3925da568: Pull complete [2024-11-08T02:56:08.259Z] bab4dde63d76: Pull complete [2024-11-08T02:56:08.259Z] bde34c3a00c8: Pull complete [2024-11-08T02:56:08.259Z] b352a97aabf1: Pull complete [2024-11-08T02:56:08.259Z] 4872d77fe225: Pull complete [2024-11-08T02:56:08.259Z] 5851b861e8e6: Pull complete [2024-11-08T02:56:08.259Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T02:56:08.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:56:08.259Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:56:08.405Z] prd-ubuntu20.04-docker-8c-8g-24958 does not seem to be running inside a container [2024-11-08T02:56:08.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T02:56:12.536Z] $ docker top 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be -eo pid,comm [2024-11-08T02:56:12.594Z] 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-11-08T02:56:12.594Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T02:56:12.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:56:12.664Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:56:12.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:56:12.763Z] $ docker exec 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be ssh-agent [2024-11-08T02:56:12.876Z] SSH_AUTH_SOCK=/tmp/ssh-YZkDOj2k2egZ/agent.33 [2024-11-08T02:56:12.876Z] SSH_AGENT_PID=39 [2024-11-08T02:56:12.883Z] Running ssh-add (command line suppressed) [2024-11-08T02:56:12.968Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_10932844665221669760.key (/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_10932844665221669760.key) [2024-11-08T02:56:12.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:56:13.285Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T02:56:13.290Z] $ docker exec --env ******** --env ******** 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be ssh-agent -k [2024-11-08T02:56:13.378Z] unset SSH_AUTH_SOCK; [2024-11-08T02:56:13.379Z] unset SSH_AGENT_PID; [2024-11-08T02:56:13.379Z] echo Agent pid 39 killed; [2024-11-08T02:56:13.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T02:56:13.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:56:13.438Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:56:13.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:56:13.551Z] $ docker exec 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be ssh-agent [2024-11-08T02:56:13.663Z] SSH_AUTH_SOCK=/tmp/ssh-xcaq3lLw5A6N/agent.72 [2024-11-08T02:56:13.663Z] SSH_AGENT_PID=78 [2024-11-08T02:56:13.668Z] Running ssh-add (command line suppressed) [2024-11-08T02:56:13.763Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_4645506069759521493.key (/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_4645506069759521493.key) [2024-11-08T02:56:13.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:56:14.076Z] + git semver init [2024-11-08T02:56:14.335Z] 2024-11-08 02:56:14,234 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T02:56:14.335Z] 2024-11-08 02:56:14,235 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver [2024-11-08T02:56:14.335Z] 2024-11-08 02:56:14,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver [2024-11-08T02:56:14.335Z] 2024-11-08 02:56:14,236 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708, universal_newlines=False, shell=None, istream=None) [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,060 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.git/info/exclude [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 with force:False [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,061 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,065 [execute] INFO git cat-file --batch-check [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,070 [execute] INFO git cat-file --batch [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:56:16.242Z] 2024-11-08 02:56:16,075 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 [2024-11-08T02:56:16.242Z] 0.0.0 [Pipeline] } [2024-11-08T02:56:16.245Z] $ docker exec --env ******** --env ******** 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be ssh-agent -k [2024-11-08T02:56:16.353Z] unset SSH_AUTH_SOCK; [2024-11-08T02:56:16.353Z] unset SSH_AGENT_PID; [2024-11-08T02:56:16.353Z] echo Agent pid 78 killed; [2024-11-08T02:56:16.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T02:56:16.707Z] + git semver [Pipeline] } [2024-11-08T02:56:16.974Z] $ docker stop --time=1 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be [2024-11-08T02:56:18.387Z] $ docker rm -f --volumes 76b9b7ce906da398f365fd40ceac5a3efc76030b9ce86c1f663d2c1dbb4b26be [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:56:18.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T02:56:18.978Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T02:56:18.984Z] [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-11-08T02:56:19.197Z] provisioning config files... [2024-11-08T02:56:19.209Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config2880897135373012405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:56:19.516Z] ---> ****-login.sh [2024-11-08T02:56:19.516Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:56:19.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:19.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:19.516Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:19.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:19.516Z] [2024-11-08T02:56:19.516Z] Login Succeeded [2024-11-08T02:56:19.516Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:56:19.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:19.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:19.517Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:19.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:19.517Z] [2024-11-08T02:56:19.517Z] Login Succeeded [2024-11-08T02:56:19.517Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:56:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:19.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:19.777Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:19.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:19.777Z] [2024-11-08T02:56:19.777Z] Login Succeeded [2024-11-08T02:56:19.777Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:56:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:19.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:19.777Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:19.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:19.777Z] [2024-11-08T02:56:19.777Z] Login Succeeded [2024-11-08T02:56:19.777Z] ****.io [2024-11-08T02:56:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:56:20.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:56:20.038Z] Configure a credential helper to remove this warning. See [2024-11-08T02:56:20.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:56:20.038Z] [2024-11-08T02:56:20.038Z] Login Succeeded [2024-11-08T02:56:20.038Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:56:20.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T02:56:20.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:56:20.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:56:20.183Z] ========================================================= [2024-11-08T02:56:20.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T02:56:20.183Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:56:20.530Z] + 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-11-08T02:56:20.530Z] Sending build context to Docker daemon 20.98MB [2024-11-08T02:56:20.530Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:56:20.530Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T02:56:20.789Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T02:56:20.789Z] 43c4264eed91: Pulling fs layer [2024-11-08T02:56:20.789Z] 4cc291be95ef: Pulling fs layer [2024-11-08T02:56:20.789Z] 2ac1f1163629: Pulling fs layer [2024-11-08T02:56:20.789Z] 5c3c966382ef: Pulling fs layer [2024-11-08T02:56:20.789Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T02:56:20.789Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T02:56:20.789Z] 9f66e0745190: Pulling fs layer [2024-11-08T02:56:20.789Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T02:56:20.789Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T02:56:20.789Z] f49a43e4bbc0: Waiting [2024-11-08T02:56:20.789Z] 561ebcabdf7f: Waiting [2024-11-08T02:56:20.789Z] 4f4fb700ef54: Waiting [2024-11-08T02:56:20.789Z] 5d5c8e513c77: Waiting [2024-11-08T02:56:20.789Z] 9f66e0745190: Waiting [2024-11-08T02:56:20.789Z] 5c3c966382ef: Waiting [2024-11-08T02:56:20.789Z] 4cc291be95ef: Verifying Checksum [2024-11-08T02:56:20.789Z] 4cc291be95ef: Download complete [2024-11-08T02:56:20.789Z] 5c3c966382ef: Verifying Checksum [2024-11-08T02:56:20.789Z] 5c3c966382ef: Download complete [2024-11-08T02:56:20.789Z] 4f4fb700ef54: Download complete [2024-11-08T02:56:20.789Z] 5d5c8e513c77: Download complete [2024-11-08T02:56:20.789Z] 43c4264eed91: Verifying Checksum [2024-11-08T02:56:20.789Z] 43c4264eed91: Download complete [2024-11-08T02:56:20.789Z] 9f66e0745190: Verifying Checksum [2024-11-08T02:56:20.789Z] 9f66e0745190: Download complete [2024-11-08T02:56:21.049Z] 43c4264eed91: Pull complete [2024-11-08T02:56:21.049Z] 561ebcabdf7f: Download complete [2024-11-08T02:56:21.049Z] 4cc291be95ef: Pull complete [2024-11-08T02:56:21.307Z] 2ac1f1163629: Verifying Checksum [2024-11-08T02:56:21.307Z] 2ac1f1163629: Download complete [2024-11-08T02:56:21.567Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T02:56:21.567Z] f49a43e4bbc0: Download complete [2024-11-08T02:56:24.852Z] 2ac1f1163629: Pull complete [2024-11-08T02:56:24.852Z] 5c3c966382ef: Pull complete [2024-11-08T02:56:24.852Z] 4f4fb700ef54: Pull complete [2024-11-08T02:56:24.852Z] 5d5c8e513c77: Pull complete [2024-11-08T02:56:24.852Z] 9f66e0745190: Pull complete [2024-11-08T02:56:26.757Z] f49a43e4bbc0: Pull complete [2024-11-08T02:56:27.017Z] 561ebcabdf7f: Pull complete [2024-11-08T02:56:27.277Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T02:56:27.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T02:56:27.278Z] ---> 3a752c3f9dda [2024-11-08T02:56:27.278Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:56:33.848Z] ---> Running in 11e21a31bb99 [2024-11-08T02:56:33.848Z] Removing intermediate container 11e21a31bb99 [2024-11-08T02:56:33.848Z] ---> 86928a3f3396 [2024-11-08T02:56:33.848Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:56:33.848Z] ---> Running in 08abb4f264ce [2024-11-08T02:56:33.848Z] Removing intermediate container 08abb4f264ce [2024-11-08T02:56:33.848Z] ---> 95491f6dc79e [2024-11-08T02:56:33.848Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T02:56:33.848Z] ---> Running in 1e42d5120500 [2024-11-08T02:56:33.848Z] Removing intermediate container 1e42d5120500 [2024-11-08T02:56:33.848Z] ---> f1ee060cdf84 [2024-11-08T02:56:33.848Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T02:56:33.848Z] ---> Running in a5b2bf07efaf [2024-11-08T02:56:33.848Z] Removing intermediate container a5b2bf07efaf [2024-11-08T02:56:33.848Z] ---> d14cd2375e32 [2024-11-08T02:56:33.848Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:56:33.848Z] ---> Running in ddd32d175ce5 [2024-11-08T02:56:33.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:56:33.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:56:33.848Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T02:56:33.848Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T02:56:33.848Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T02:56:34.107Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T02:56:34.107Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:56:34.107Z] OK: 250 MiB in 58 packages [2024-11-08T02:56:34.143Z] Still waiting to schedule task [2024-11-08T02:56:34.143Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T02:56:35.045Z] Removing intermediate container ddd32d175ce5 [2024-11-08T02:56:35.045Z] ---> 07bd4f40b1b6 [2024-11-08T02:56:35.045Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-08T02:56:35.045Z] ---> Running in 6fddf3d5bab7 [2024-11-08T02:56:35.306Z] Removing intermediate container 6fddf3d5bab7 [2024-11-08T02:56:35.306Z] ---> 38ef46f00780 [2024-11-08T02:56:35.306Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T02:56:35.306Z] ---> 6c6528d1d40b [2024-11-08T02:56:35.306Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:56:35.306Z] ---> Running in 71f991061158 [2024-11-08T02:57:31.609Z] Removing intermediate container 71f991061158 [2024-11-08T02:57:31.609Z] ---> 434300c09d56 [2024-11-08T02:57:31.609Z] Step 11/12 : COPY . . [2024-11-08T02:57:31.609Z] ---> 30d48f7009f0 [2024-11-08T02:57:31.609Z] Step 12/12 : RUN $MAKE [2024-11-08T02:57:31.609Z] ---> Running in 74da395b3deb [2024-11-08T02:57:31.609Z] noop [2024-11-08T02:57:31.609Z] Removing intermediate container 74da395b3deb [2024-11-08T02:57:31.609Z] ---> 8499feaf9241 [2024-11-08T02:57:31.609Z] Successfully built 8499feaf9241 [2024-11-08T02:57:31.609Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:31.945Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:57:31.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:57:32.032Z] prd-ubuntu20.04-docker-8c-8g-24958 does not seem to be running inside a container [2024-11-08T02:57:32.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:57:32.395Z] $ docker top 9a14587e93c59968911b3dc7a4f39547f9fe3702f1d676c00c981c71b767599c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:57:32.737Z] + go version [2024-11-08T02:57:32.737Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T02:57:32.752Z] $ docker stop --time=1 9a14587e93c59968911b3dc7a4f39547f9fe3702f1d676c00c981c71b767599c [2024-11-08T02:57:34.013Z] $ docker rm -f --volumes 9a14587e93c59968911b3dc7a4f39547f9fe3702f1d676c00c981c71b767599c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:57:34.469Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:57:34.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:57:34.545Z] prd-ubuntu20.04-docker-8c-8g-24958 does not seem to be running inside a container [2024-11-08T02:57:34.578Z] $ 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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:57:34.883Z] $ docker top c567f82320bc45219e627dbb4b2e534e1297a93060903f84bdb2058cff25c529 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:57:35.223Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-708 [Pipeline] fileExists [Pipeline] sh [2024-11-08T02:57:35.527Z] + make test [2024-11-08T02:57:35.527Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T02:57:36.907Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-08T02:57:54.973Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-08T02:57:54.973Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-08T02:57:54.973Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements [2024-11-08T02:58:03.107Z] go vet ./... [2024-11-08T02:58:08.371Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T02:58:08.371Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T02:58:08.371Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T02:58:08.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T02:58:08.408Z] $ docker stop --time=1 c567f82320bc45219e627dbb4b2e534e1297a93060903f84bdb2058cff25c529 [2024-11-08T02:58:15.838Z] $ docker rm -f --volumes c567f82320bc45219e627dbb4b2e534e1297a93060903f84bdb2058cff25c529 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:58:16.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T02:58:16.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T02:58:16.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T02:58:17.146Z] + ls -al . [2024-11-08T02:58:17.146Z] total 252 [2024-11-08T02:58:17.146Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:57 . [2024-11-08T02:58:17.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:55 .. [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 02:55 .dockerignore [2024-11-08T02:58:17.146Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:57 .git [2024-11-08T02:58:17.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:55 .github [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 02:55 .gitignore [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 02:55 .golangci.yml [2024-11-08T02:58:17.146Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:56 .semver [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 02:55 Attribution.txt [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 02:55 CHANGELOG.md [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 02:55 Dockerfile [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:55 GOVERNANCE.md [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 02:55 Jenkinsfile [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 02:55 LICENSE [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 02:55 Makefile [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 02:55 OWNERS.md [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 02:55 README.md [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:56 VERSION [2024-11-08T02:58:17.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:55 bin [2024-11-08T02:58:17.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:55 cmd [2024-11-08T02:58:17.146Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 02:57 coverage.out [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 02:55 go.mod [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 02:55 go.sum [2024-11-08T02:58:17.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:55 internal [2024-11-08T02:58:17.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:55 mock [2024-11-08T02:58:17.146Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 02:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:17.546Z] + 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=cc886f0163229c0230891ab3c0de8aec2f7a231b --label arch=amd64 --label version=0.0.0 . [2024-11-08T02:58:17.546Z] Sending build context to Docker daemon 21MB [2024-11-08T02:58:17.546Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:58:17.546Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-08T02:58:17.546Z] ---> 8499feaf9241 [2024-11-08T02:58:17.546Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:58:18.115Z] ---> Running in 52fd67af29ca [2024-11-08T02:58:18.115Z] Removing intermediate container 52fd67af29ca [2024-11-08T02:58:18.115Z] ---> ee40b63378f6 [2024-11-08T02:58:18.115Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:58:18.115Z] ---> Running in 188f722ab7ba [2024-11-08T02:58:18.452Z] Removing intermediate container 188f722ab7ba [2024-11-08T02:58:18.452Z] ---> 70af8d54c6e2 [2024-11-08T02:58:18.452Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T02:58:18.452Z] ---> Running in 018927d31905 [2024-11-08T02:58:18.452Z] Removing intermediate container 018927d31905 [2024-11-08T02:58:18.452Z] ---> aa6c02797dee [2024-11-08T02:58:18.452Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T02:58:18.452Z] ---> Running in c0c5a9913129 [2024-11-08T02:58:18.452Z] Removing intermediate container c0c5a9913129 [2024-11-08T02:58:18.452Z] ---> 3cfdd8aeb735 [2024-11-08T02:58:18.452Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:58:18.452Z] ---> Running in a8739bcd2af7 [2024-11-08T02:58:18.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:18.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:18.969Z] OK: 250 MiB in 58 packages [2024-11-08T02:58:19.227Z] Removing intermediate container a8739bcd2af7 [2024-11-08T02:58:19.227Z] ---> 1725a19857f6 [2024-11-08T02:58:19.227Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-08T02:58:19.486Z] ---> Running in b53c3b629706 [2024-11-08T02:58:19.486Z] Removing intermediate container b53c3b629706 [2024-11-08T02:58:19.486Z] ---> a0324917f1dd [2024-11-08T02:58:19.486Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-08T02:58:19.486Z] ---> a04615fbe28c [2024-11-08T02:58:19.486Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:58:19.486Z] ---> Running in d66e6e1d467f [2024-11-08T02:58:20.054Z] Removing intermediate container d66e6e1d467f [2024-11-08T02:58:20.054Z] ---> cce4c77ddccf [2024-11-08T02:58:20.054Z] Step 11/25 : COPY . . [2024-11-08T02:58:21.012Z] ---> fca3cd40677a [2024-11-08T02:58:21.012Z] Step 12/25 : RUN $MAKE [2024-11-08T02:58:21.012Z] ---> Running in 9b7ac118d537 [2024-11-08T02:58:21.012Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-08T02:58:59.717Z] Removing intermediate container 9b7ac118d537 [2024-11-08T02:58:59.717Z] ---> 66a64ec44b1e [2024-11-08T02:58:59.717Z] Step 13/25 : FROM alpine:3.20 [2024-11-08T02:58:59.717Z] 3.20: Pulling from library/alpine [2024-11-08T02:58:59.717Z] 43c4264eed91: Already exists [2024-11-08T02:58:59.717Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T02:58:59.717Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T02:58:59.717Z] ---> 91ef0af61f39 [2024-11-08T02:58:59.717Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-08T02:58:59.717Z] ---> Running in 2b41be177fea [2024-11-08T02:58:59.717Z] Removing intermediate container 2b41be177fea [2024-11-08T02:58:59.717Z] ---> bc596c74aaf4 [2024-11-08T02:58:59.717Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-08T02:58:59.717Z] ---> Running in 650c1070f8f6 [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T02:58:59.717Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:58:59.717Z] OK: 8 MiB in 15 packages [2024-11-08T02:58:59.717Z] Removing intermediate container 650c1070f8f6 [2024-11-08T02:58:59.717Z] ---> 36cb0f75db3c [2024-11-08T02:58:59.717Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-08T02:58:59.717Z] ---> Running in 049183708c21 [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] Upgrading critical system libraries and apk-tools: [2024-11-08T02:58:59.717Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T02:58:59.717Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:58:59.717Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:59.717Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T02:58:59.717Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T02:58:59.717Z] OK: 8 MiB in 15 packages [2024-11-08T02:58:59.717Z] Removing intermediate container 049183708c21 [2024-11-08T02:58:59.717Z] ---> e435365b4ec4 [2024-11-08T02:58:59.717Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-08T02:58:59.717Z] ---> 195d602eb076 [2024-11-08T02:58:59.717Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-08T02:58:59.717Z] ---> 94b76d2c4a0a [2024-11-08T02:58:59.717Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-08T02:58:59.717Z] ---> e72e84ae1ca2 [2024-11-08T02:58:59.717Z] Step 20/25 : EXPOSE 59982 [2024-11-08T02:58:59.717Z] ---> Running in 9a32609417d6 [2024-11-08T02:58:59.717Z] Removing intermediate container 9a32609417d6 [2024-11-08T02:58:59.717Z] ---> 29e47f8d97f4 [2024-11-08T02:58:59.717Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-08T02:58:59.717Z] ---> Running in d8ad4786c21d [2024-11-08T02:58:59.717Z] Removing intermediate container d8ad4786c21d [2024-11-08T02:58:59.717Z] ---> 71b61b9ed4a7 [2024-11-08T02:58:59.717Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T02:58:59.717Z] ---> Running in 9d5c3bd8be58 [2024-11-08T02:58:59.717Z] Removing intermediate container 9d5c3bd8be58 [2024-11-08T02:58:59.717Z] ---> 4022632dceb8 [2024-11-08T02:58:59.717Z] Step 23/25 : LABEL arch=amd64 [2024-11-08T02:58:59.717Z] ---> Running in 1745079d3cd6 [2024-11-08T02:58:59.717Z] Removing intermediate container 1745079d3cd6 [2024-11-08T02:58:59.717Z] ---> 32b5d5a351d0 [2024-11-08T02:58:59.717Z] Step 24/25 : LABEL git_sha=cc886f0163229c0230891ab3c0de8aec2f7a231b [2024-11-08T02:58:59.717Z] ---> Running in f5b649f361f8 [2024-11-08T02:58:59.717Z] Removing intermediate container f5b649f361f8 [2024-11-08T02:58:59.717Z] ---> 62f9680a1b5f [2024-11-08T02:58:59.717Z] Step 25/25 : LABEL version=0.0.0 [2024-11-08T02:58:59.717Z] ---> Running in feaeb81a275d [2024-11-08T02:58:59.976Z] Removing intermediate container feaeb81a275d [2024-11-08T02:58:59.976Z] ---> 56410b07ce36 [2024-11-08T02:58:59.976Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T02:58:59.976Z] Successfully built 56410b07ce36 [2024-11-08T02:58:59.976Z] 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-11-08T02:59:00.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T02:59:00.470Z] [2024-11-08T02:59:00.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:00.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T02:59:00.777Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T02:59:00.777Z] 5eb5b503b376: Pulling fs layer [2024-11-08T02:59:00.777Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T02:59:00.777Z] ec43610c2a17: Pulling fs layer [2024-11-08T02:59:00.777Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T02:59:00.777Z] 33b1e0a273af: Pulling fs layer [2024-11-08T02:59:00.777Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T02:59:00.777Z] 2f39f015ded8: Pulling fs layer [2024-11-08T02:59:00.777Z] 5d3b04190fa2: Waiting [2024-11-08T02:59:00.777Z] 3a2ae6a8a46f: Waiting [2024-11-08T02:59:00.777Z] 33b1e0a273af: Waiting [2024-11-08T02:59:00.777Z] 2f39f015ded8: Waiting [2024-11-08T02:59:00.777Z] 5c69ac0246d0: Download complete [2024-11-08T02:59:00.777Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T02:59:00.777Z] 3a2ae6a8a46f: Download complete [2024-11-08T02:59:00.777Z] 33b1e0a273af: Verifying Checksum [2024-11-08T02:59:00.777Z] 33b1e0a273af: Download complete [2024-11-08T02:59:00.777Z] 5d3b04190fa2: Download complete [2024-11-08T02:59:00.777Z] ec43610c2a17: Verifying Checksum [2024-11-08T02:59:00.777Z] ec43610c2a17: Download complete [2024-11-08T02:59:01.052Z] 5eb5b503b376: Verifying Checksum [2024-11-08T02:59:01.052Z] 5eb5b503b376: Download complete [2024-11-08T02:59:02.002Z] 2f39f015ded8: Download complete [2024-11-08T02:59:02.570Z] 5eb5b503b376: Pull complete [2024-11-08T02:59:02.570Z] 5c69ac0246d0: Pull complete [2024-11-08T02:59:03.136Z] ec43610c2a17: Pull complete [2024-11-08T02:59:03.136Z] 3a2ae6a8a46f: Pull complete [2024-11-08T02:59:03.396Z] 33b1e0a273af: Pull complete [2024-11-08T02:59:03.396Z] 5d3b04190fa2: Pull complete [2024-11-08T02:59:07.583Z] 2f39f015ded8: Pull complete [2024-11-08T02:59:07.583Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T02:59:07.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T02:59:07.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:59:07.674Z] prd-ubuntu20.04-docker-8c-8g-24958 does not seem to be running inside a container [2024-11-08T02:59:07.716Z] $ 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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T02:59:14.515Z] $ docker top b05598456e7c00fd81c37a003998a48480c19687499667bbe7fae76ba679c08e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:59:14.927Z] ---> job-cost.sh [2024-11-08T02:59:14.927Z] lf-activate-venv: SKIPPING [2024-11-08T02:59:14.927Z] INFO: No Stack... [2024-11-08T02:59:15.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T02:59:15.446Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T02:59:15.741Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/cost.csv [2024-11-08T02:59:15.741Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T02:59:15.756Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [2024-11-08T02:59:15.764Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] did not exist. Created. [2024-11-08T02:59:15.771Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T02:59:16.088Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T02:59:16.125Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T02:59:16.135Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T02:59:16.176Z] $ docker stop --time=1 b05598456e7c00fd81c37a003998a48480c19687499667bbe7fae76ba679c08e [2024-11-08T02:59:17.466Z] $ docker rm -f --volumes b05598456e7c00fd81c37a003998a48480c19687499667bbe7fae76ba679c08e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T02:59:46.214Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24963 in /w/workspace/gexfoundry_device-mqtt-go_PR-708 [Pipeline] { [Pipeline] ws [2024-11-08T02:59:46.236Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T02:59:46.306Z] The recommended git tool is: git [2024-11-08T02:59:54.530Z] using credential edgex-jenkins-ssh [2024-11-08T02:59:54.561Z] Cloning the remote Git repository [2024-11-08T02:59:54.668Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T02:59:54.879Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2024-11-08T02:59:55.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T02:59:55.329Z] > git --version # timeout=10 [2024-11-08T02:59:55.404Z] > git --version # 'git version 2.25.1' [2024-11-08T02:59:55.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T02:59:55.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T02:59:59.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-08T02:59:59.373Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:00:02.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-08T03:00:02.573Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-08T03:00:02.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:00:02.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/708/head:refs/remotes/origin/PR-708 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:00:03.803Z] Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit cc886f0163229c0230891ab3c0de8aec2f7a231b [2024-11-08T03:00:04.196Z] Merge succeeded, producing cc886f0163229c0230891ab3c0de8aec2f7a231b [2024-11-08T03:00:04.197Z] Checking out Revision cc886f0163229c0230891ab3c0de8aec2f7a231b (PR-708) [2024-11-08T03:00:03.835Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:00:03.933Z] > git checkout -f cc886f0163229c0230891ab3c0de8aec2f7a231b # timeout=10 [2024-11-08T03:00:04.038Z] > git remote # timeout=10 [2024-11-08T03:00:04.056Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:00:04.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:00:04.106Z] > git merge 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 [2024-11-08T03:00:04.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:00:04.203Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:00:04.225Z] > git checkout -f cc886f0163229c0230891ab3c0de8aec2f7a231b # timeout=10 [2024-11-08T03:00:08.385Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:00:10.127Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:00:10.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:00:10.127Z] Dload Upload Total Spent Left Speed [2024-11-08T03:00:10.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh [2024-11-08T03:00:10.475Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:00:10.808Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:00:10.808Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:00:10.808Z] { [2024-11-08T03:00:10.808Z] "registry-mirrors": [ [2024-11-08T03:00:10.808Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:00:10.808Z] ], [2024-11-08T03:00:10.808Z] "bip": "10.250.0.254/24", [2024-11-08T03:00:10.808Z] "hosts": [ [2024-11-08T03:00:10.808Z] "tcp://0.0.0.0:5555", [2024-11-08T03:00:10.808Z] "unix:///var/run/docker.sock" [2024-11-08T03:00:10.808Z] ], [2024-11-08T03:00:10.808Z] "mtu": 1458, [2024-11-08T03:00:10.808Z] "selinux-enabled": true, [2024-11-08T03:00:10.808Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:00:10.808Z] } [Pipeline] sh [2024-11-08T03:00:11.171Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:00:11.500Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:00:29.845Z] provisioning config files... [2024-11-08T03:00:29.878Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3137292774604787536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:00:30.430Z] ---> ****-login.sh [2024-11-08T03:00:30.430Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:00:31.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:00:31.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:00:31.036Z] Configure a credential helper to remove this warning. See [2024-11-08T03:00:31.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:00:31.036Z] [2024-11-08T03:00:31.036Z] Login Succeeded [2024-11-08T03:00:31.036Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:00:31.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:00:31.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:00:31.596Z] Configure a credential helper to remove this warning. See [2024-11-08T03:00:31.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:00:31.596Z] [2024-11-08T03:00:31.596Z] Login Succeeded [2024-11-08T03:00:31.596Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:00:31.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:00:31.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:00:31.902Z] Configure a credential helper to remove this warning. See [2024-11-08T03:00:31.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:00:31.902Z] [2024-11-08T03:00:31.902Z] Login Succeeded [2024-11-08T03:00:31.902Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:00:32.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:00:32.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:00:32.475Z] Configure a credential helper to remove this warning. See [2024-11-08T03:00:32.475Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:00:32.475Z] [2024-11-08T03:00:32.475Z] Login Succeeded [2024-11-08T03:00:32.475Z] ****.io [2024-11-08T03:00:32.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:00:33.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:00:33.017Z] Configure a credential helper to remove this warning. See [2024-11-08T03:00:33.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:00:33.017Z] [2024-11-08T03:00:33.017Z] Login Succeeded [2024-11-08T03:00:33.017Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:00:33.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:00:33.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:00:33.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:00:33.445Z] ========================================================= [2024-11-08T03:00:33.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:00:33.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:33.818Z] + 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-11-08T03:00:34.423Z] Sending build context to Docker daemon 10.61MB [2024-11-08T03:00:34.423Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:00:34.423Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T03:00:34.700Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:00:34.701Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:00:34.701Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:00:34.701Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:00:34.701Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:00:34.701Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:00:34.701Z] 80978eb59214: Pulling fs layer [2024-11-08T03:00:34.701Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:00:34.701Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:00:34.701Z] 80978eb59214: Waiting [2024-11-08T03:00:34.701Z] c9f46d7d2bd2: Waiting [2024-11-08T03:00:34.701Z] c5a475d317c9: Waiting [2024-11-08T03:00:34.701Z] 50b3750afda1: Waiting [2024-11-08T03:00:34.701Z] 4f4fb700ef54: Waiting [2024-11-08T03:00:34.701Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T03:00:34.701Z] 55b35a11ae5e: Download complete [2024-11-08T03:00:34.701Z] 50b3750afda1: Verifying Checksum [2024-11-08T03:00:34.701Z] 50b3750afda1: Download complete [2024-11-08T03:00:34.701Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:00:34.701Z] 4f4fb700ef54: Download complete [2024-11-08T03:00:34.701Z] 80978eb59214: Verifying Checksum [2024-11-08T03:00:34.701Z] 80978eb59214: Download complete [2024-11-08T03:00:34.701Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:00:34.701Z] cf04c63912e1: Download complete [2024-11-08T03:00:35.305Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:00:35.305Z] c5a475d317c9: Download complete [2024-11-08T03:00:35.921Z] cf04c63912e1: Pull complete [2024-11-08T03:00:36.519Z] 55b35a11ae5e: Pull complete [2024-11-08T03:00:37.112Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:00:37.112Z] a37a00ec5f00: Download complete [2024-11-08T03:00:38.095Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:00:38.095Z] c9f46d7d2bd2: Download complete [2024-11-08T03:00:53.195Z] a37a00ec5f00: Pull complete [2024-11-08T03:00:53.195Z] 50b3750afda1: Pull complete [2024-11-08T03:00:53.195Z] 4f4fb700ef54: Pull complete [2024-11-08T03:00:53.195Z] 80978eb59214: Pull complete [2024-11-08T03:01:01.455Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:01:03.416Z] c5a475d317c9: Pull complete [2024-11-08T03:01:03.687Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:01:03.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:01:03.687Z] ---> be29e6b0f0d4 [2024-11-08T03:01:03.687Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:01:06.302Z] ---> Running in d417f0065124 [2024-11-08T03:01:06.302Z] Removing intermediate container d417f0065124 [2024-11-08T03:01:06.302Z] ---> 4a661a63df8e [2024-11-08T03:01:06.302Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:01:06.302Z] ---> Running in c26538cc0709 [2024-11-08T03:01:06.574Z] Removing intermediate container c26538cc0709 [2024-11-08T03:01:06.574Z] ---> 6e483826d1c0 [2024-11-08T03:01:06.574Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:01:06.842Z] ---> Running in f3e95014741e [2024-11-08T03:01:07.116Z] Removing intermediate container f3e95014741e [2024-11-08T03:01:07.116Z] ---> 004f9acd240e [2024-11-08T03:01:07.116Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:01:07.116Z] ---> Running in 85c6a4f6a670 [2024-11-08T03:01:07.700Z] Removing intermediate container 85c6a4f6a670 [2024-11-08T03:01:07.700Z] ---> 3191ca666351 [2024-11-08T03:01:07.700Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:01:07.700Z] ---> Running in 58b1ec714965 [2024-11-08T03:01:09.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:01:09.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:01:11.312Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T03:01:11.312Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T03:01:11.312Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T03:01:11.312Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T03:01:11.312Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:01:11.312Z] OK: 242 MiB in 58 packages [2024-11-08T03:01:12.727Z] Removing intermediate container 58b1ec714965 [2024-11-08T03:01:12.728Z] ---> a30f1d1fe64a [2024-11-08T03:01:12.728Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-08T03:01:12.728Z] ---> Running in 03b03d38237c [2024-11-08T03:01:12.995Z] Removing intermediate container 03b03d38237c [2024-11-08T03:01:12.995Z] ---> 75eecf2ed52c [2024-11-08T03:01:12.995Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T03:01:13.262Z] ---> a8585600da8f [2024-11-08T03:01:13.262Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:01:13.534Z] ---> Running in 25a26e912dfd [2024-11-08T03:03:20.328Z] Removing intermediate container 25a26e912dfd [2024-11-08T03:03:20.328Z] ---> a73a2be10c6f [2024-11-08T03:03:20.328Z] Step 11/12 : COPY . . [2024-11-08T03:03:20.328Z] ---> 39a5a7fdf275 [2024-11-08T03:03:20.328Z] Step 12/12 : RUN $MAKE [2024-11-08T03:03:20.328Z] ---> Running in 12544a66443e [2024-11-08T03:03:20.328Z] noop [2024-11-08T03:03:20.328Z] Removing intermediate container 12544a66443e [2024-11-08T03:03:20.328Z] ---> 985dc51a712d [2024-11-08T03:03:20.328Z] Successfully built 985dc51a712d [2024-11-08T03:03:20.328Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:03:20.742Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:03:20.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:03:21.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-24963 does not seem to be running inside a container [2024-11-08T03:03:21.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:03:22.750Z] $ docker top 3af68e3b2f612f4b30ca9a7a7b17ce99cbabffa7cf2fc541ea9474cfb0b2a0ea -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:03:23.714Z] + go version [2024-11-08T03:03:23.714Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:03:23.740Z] $ docker stop --time=1 3af68e3b2f612f4b30ca9a7a7b17ce99cbabffa7cf2fc541ea9474cfb0b2a0ea [2024-11-08T03:03:25.538Z] $ docker rm -f --volumes 3af68e3b2f612f4b30ca9a7a7b17ce99cbabffa7cf2fc541ea9474cfb0b2a0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:03:26.189Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:03:26.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:03:26.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-24963 does not seem to be running inside a container [2024-11-08T03:03:26.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:03:28.084Z] $ docker top 61ca68cb8149a920453ab44590aebc12486d0d9ef7454846dea8a690df60bb5c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:03:29.006Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:03:29.713Z] + make test [2024-11-08T03:03:29.713Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T03:03:36.437Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-08T03:08:13.540Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-08T03:08:13.540Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-08T03:08:13.540Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.8% of statements [2024-11-08T03:08:13.540Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:08:13.540Z] go vet ./... [2024-11-08T03:09:21.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:09:21.703Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:09:21.703Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:09:21.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:09:21.757Z] $ docker stop --time=1 61ca68cb8149a920453ab44590aebc12486d0d9ef7454846dea8a690df60bb5c [2024-11-08T03:09:24.042Z] $ docker rm -f --volumes 61ca68cb8149a920453ab44590aebc12486d0d9ef7454846dea8a690df60bb5c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:09:26.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:09:26.517Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:09:27.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:09:28.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:09:28.483Z] + ls -al . [2024-11-08T03:09:28.483Z] total 248 [2024-11-08T03:09:28.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:03 . [2024-11-08T03:09:28.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:59 .. [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:00 .dockerignore [2024-11-08T03:09:28.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:00 .git [2024-11-08T03:09:28.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:00 .github [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 03:00 .gitignore [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 03:00 .golangci.yml [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 8 03:00 Attribution.txt [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 03:00 CHANGELOG.md [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 8 03:00 Dockerfile [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:00 GOVERNANCE.md [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 03:00 Jenkinsfile [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:00 LICENSE [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 8 03:00 Makefile [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 03:00 OWNERS.md [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 03:00 README.md [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:56 VERSION [2024-11-08T03:09:28.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:00 bin [2024-11-08T03:09:28.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:00 cmd [2024-11-08T03:09:28.483Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 8 03:08 coverage.out [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 8 03:00 go.mod [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 03:00 go.sum [2024-11-08T03:09:28.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:00 internal [2024-11-08T03:09:28.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:00 mock [2024-11-08T03:09:28.483Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:09:28.888Z] + 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=cc886f0163229c0230891ab3c0de8aec2f7a231b --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:09:29.511Z] Sending build context to Docker daemon 10.63MB [2024-11-08T03:09:29.511Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:09:29.511Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-08T03:09:29.511Z] ---> 985dc51a712d [2024-11-08T03:09:29.511Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:09:29.788Z] ---> Running in ebfd31ffbd4b [2024-11-08T03:09:30.070Z] Removing intermediate container ebfd31ffbd4b [2024-11-08T03:09:30.070Z] ---> 5af73d962ac8 [2024-11-08T03:09:30.070Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:09:30.353Z] ---> Running in a986c34f5ba0 [2024-11-08T03:09:30.637Z] Removing intermediate container a986c34f5ba0 [2024-11-08T03:09:30.637Z] ---> fb0a07e4cbf9 [2024-11-08T03:09:30.637Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T03:09:30.911Z] ---> Running in bfc323546a47 [2024-11-08T03:09:31.186Z] Removing intermediate container bfc323546a47 [2024-11-08T03:09:31.186Z] ---> ece3c5070ee9 [2024-11-08T03:09:31.186Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T03:09:31.456Z] ---> Running in 5e1203099d52 [2024-11-08T03:09:31.733Z] Removing intermediate container 5e1203099d52 [2024-11-08T03:09:31.733Z] ---> 9978fade1155 [2024-11-08T03:09:31.733Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:09:31.733Z] ---> Running in b51b29121905 [2024-11-08T03:09:33.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:09:33.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:09:36.069Z] OK: 242 MiB in 58 packages [2024-11-08T03:09:37.525Z] Removing intermediate container b51b29121905 [2024-11-08T03:09:37.525Z] ---> 51ac1591c828 [2024-11-08T03:09:37.525Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-08T03:09:37.525Z] ---> Running in e581cb7537f7 [2024-11-08T03:09:37.795Z] Removing intermediate container e581cb7537f7 [2024-11-08T03:09:37.795Z] ---> 47273452a5f7 [2024-11-08T03:09:37.795Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-08T03:09:38.395Z] ---> 024627bcdffa [2024-11-08T03:09:38.395Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:09:38.395Z] ---> Running in 6aac6b4cecbb [2024-11-08T03:09:40.994Z] Removing intermediate container 6aac6b4cecbb [2024-11-08T03:09:40.994Z] ---> fff085027fc2 [2024-11-08T03:09:40.994Z] Step 11/25 : COPY . . [2024-11-08T03:09:42.994Z] ---> 28d4747907b5 [2024-11-08T03:09:42.994Z] Step 12/25 : RUN $MAKE [2024-11-08T03:09:42.994Z] ---> Running in 96fd25d8e854 [2024-11-08T03:09:44.457Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-08T03:14:51.577Z] Removing intermediate container 96fd25d8e854 [2024-11-08T03:14:51.577Z] ---> 1cb41f1d6681 [2024-11-08T03:14:51.577Z] Step 13/25 : FROM alpine:3.20 [2024-11-08T03:14:51.577Z] 3.20: Pulling from library/alpine [2024-11-08T03:14:51.577Z] cf04c63912e1: Already exists [2024-11-08T03:14:51.577Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:14:51.577Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:14:51.577Z] ---> c157a85ed455 [2024-11-08T03:14:51.577Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-08T03:14:51.577Z] ---> Running in 29f67470cb6e [2024-11-08T03:14:51.577Z] Removing intermediate container 29f67470cb6e [2024-11-08T03:14:51.577Z] ---> 4bd8369cf030 [2024-11-08T03:14:51.577Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:14:51.577Z] ---> Running in b8f318979d38 [2024-11-08T03:14:51.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:51.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:51.577Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:14:51.577Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:14:51.577Z] OK: 9 MiB in 15 packages [2024-11-08T03:14:51.577Z] Removing intermediate container b8f318979d38 [2024-11-08T03:14:51.577Z] ---> 5546afb786c4 [2024-11-08T03:14:51.577Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-08T03:14:51.577Z] ---> Running in 72379d17ff5c [2024-11-08T03:14:51.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:51.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:51.577Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:14:51.577Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:14:51.577Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:14:51.577Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:14:51.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:52.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:53.579Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:14:53.851Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:14:53.851Z] OK: 9 MiB in 15 packages [2024-11-08T03:14:55.273Z] Removing intermediate container 72379d17ff5c [2024-11-08T03:14:55.273Z] ---> 4c1147d4a9f2 [2024-11-08T03:14:55.273Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-08T03:14:57.236Z] ---> 6219a6b1ace8 [2024-11-08T03:14:57.236Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-08T03:14:57.834Z] ---> da36ade32922 [2024-11-08T03:14:57.834Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-08T03:14:58.425Z] ---> 9be6352f247b [2024-11-08T03:14:58.425Z] Step 20/25 : EXPOSE 59982 [2024-11-08T03:14:58.703Z] ---> Running in bfcccf39f833 [2024-11-08T03:14:58.973Z] Removing intermediate container bfcccf39f833 [2024-11-08T03:14:58.973Z] ---> 7ef02341251e [2024-11-08T03:14:58.973Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-08T03:14:58.973Z] ---> Running in b3ddec201657 [2024-11-08T03:14:59.244Z] Removing intermediate container b3ddec201657 [2024-11-08T03:14:59.244Z] ---> 13a551cb9b80 [2024-11-08T03:14:59.244Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T03:14:59.517Z] ---> Running in fa341b94a251 [2024-11-08T03:14:59.788Z] Removing intermediate container fa341b94a251 [2024-11-08T03:14:59.788Z] ---> 92fe2e16851e [2024-11-08T03:14:59.788Z] Step 23/25 : LABEL arch=arm64 [2024-11-08T03:15:00.056Z] ---> Running in e014ddc9441e [2024-11-08T03:15:00.325Z] Removing intermediate container e014ddc9441e [2024-11-08T03:15:00.325Z] ---> ced930ee355c [2024-11-08T03:15:00.325Z] Step 24/25 : LABEL git_sha=cc886f0163229c0230891ab3c0de8aec2f7a231b [2024-11-08T03:15:00.593Z] ---> Running in a1b5887bbb06 [2024-11-08T03:15:00.862Z] Removing intermediate container a1b5887bbb06 [2024-11-08T03:15:00.862Z] ---> 02b8ab3d07fc [2024-11-08T03:15:00.862Z] Step 25/25 : LABEL version=0.0.0 [2024-11-08T03:15:01.129Z] ---> Running in 281d5b3e06e1 [2024-11-08T03:15:01.397Z] Removing intermediate container 281d5b3e06e1 [2024-11-08T03:15:01.397Z] ---> 664c43b9430c [2024-11-08T03:15:01.397Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:15:01.397Z] Successfully built 664c43b9430c [2024-11-08T03:15:01.397Z] 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-11-08T03:15:01.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:15:01.910Z] [2024-11-08T03:15:01.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:15:02.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:15:02.535Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:15:02.535Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:15:02.535Z] 04944245beec: Pulling fs layer [2024-11-08T03:15:02.535Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:15:02.535Z] 765212b225bb: Pulling fs layer [2024-11-08T03:15:02.535Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:15:02.535Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:15:02.535Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:15:02.535Z] 765212b225bb: Waiting [2024-11-08T03:15:02.535Z] 2437ff75d9bd: Waiting [2024-11-08T03:15:02.535Z] d65c8cfc05b1: Waiting [2024-11-08T03:15:02.535Z] f23df028b6ca: Waiting [2024-11-08T03:15:02.535Z] 04944245beec: Verifying Checksum [2024-11-08T03:15:02.535Z] 04944245beec: Download complete [2024-11-08T03:15:02.535Z] 765212b225bb: Verifying Checksum [2024-11-08T03:15:02.535Z] 765212b225bb: Download complete [2024-11-08T03:15:02.535Z] f23df028b6ca: Verifying Checksum [2024-11-08T03:15:02.535Z] f23df028b6ca: Download complete [2024-11-08T03:15:02.535Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:15:02.535Z] d65c8cfc05b1: Download complete [2024-11-08T03:15:02.806Z] 699f458cf7ca: Download complete [2024-11-08T03:15:03.074Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:15:03.074Z] 8998bd30e6a1: Download complete [2024-11-08T03:15:05.666Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:15:05.666Z] 2437ff75d9bd: Download complete [2024-11-08T03:15:08.252Z] 8998bd30e6a1: Pull complete [2024-11-08T03:15:08.840Z] 04944245beec: Pull complete [2024-11-08T03:15:10.796Z] 699f458cf7ca: Pull complete [2024-11-08T03:15:10.796Z] 765212b225bb: Pull complete [2024-11-08T03:15:11.763Z] f23df028b6ca: Pull complete [2024-11-08T03:15:12.030Z] d65c8cfc05b1: Pull complete [2024-11-08T03:15:31.048Z] 2437ff75d9bd: Pull complete [2024-11-08T03:15:31.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:15:31.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:15:31.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:15:31.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-24963 does not seem to be running inside a container [2024-11-08T03:15:31.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:15:34.697Z] $ docker top 9ef1d941075c83d7e11a6ad9a8147f7d78a4b1945c85f579967a9edd4b46612c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:35.565Z] ---> job-cost.sh [2024-11-08T03:15:35.565Z] lf-activate-venv: SKIPPING [2024-11-08T03:15:35.565Z] INFO: No Stack... [2024-11-08T03:15:36.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:15:36.740Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:15:37.384Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2024-11-08T03:15:37.384Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:15:37.449Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [2024-11-08T03:15:37.459Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] did not exist. Created. [2024-11-08T03:15:37.470Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:15:38.124Z] /w/workspace/device-mqtt-go/2@tmp/durable-352d469a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:15:38.779Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:15:38.810Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:15:38.865Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:15:38.877Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:15:38.904Z] $ docker stop --time=1 9ef1d941075c83d7e11a6ad9a8147f7d78a4b1945c85f579967a9edd4b46612c [2024-11-08T03:15:40.452Z] $ docker rm -f --volumes 9ef1d941075c83d7e11a6ad9a8147f7d78a4b1945c85f579967a9edd4b46612c [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-11-08T03:15:40.977Z] provisioning config files... [2024-11-08T03:15:40.984Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config798266143476633632tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:15:41.284Z] + set +x [2024-11-08T03:15:41.284Z] + curl -s https://codecov.io/bash [2024-11-08T03:15:41.284Z] + bash -s -- [2024-11-08T03:15:41.544Z] [2024-11-08T03:15:41.544Z] _____ _ [2024-11-08T03:15:41.544Z] / ____| | | [2024-11-08T03:15:41.544Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:15:41.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:15:41.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:15:41.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:15:41.544Z] Bash-1.0.6 [2024-11-08T03:15:41.544Z] [2024-11-08T03:15:41.544Z] [2024-11-08T03:15:41.544Z] ==> git version 2.25.1 found [2024-11-08T03:15:41.544Z] ==> 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-11-08T03:15:41.544Z] Release-Date: 2020-01-08 [2024-11-08T03:15:41.544Z] 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-11-08T03:15:41.544Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:15:41.544Z] ==> Jenkins CI detected. [2024-11-08T03:15:41.544Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-708 [2024-11-08T03:15:41.544Z] project root: . [2024-11-08T03:15:41.544Z] --> token set from env [2024-11-08T03:15:41.544Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:15:41.544Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:15:41.544Z] ==> Python coveragepy not found [2024-11-08T03:15:41.544Z] ==> Searching for coverage reports in: [2024-11-08T03:15:41.544Z] + . [2024-11-08T03:15:41.544Z] -> Found 1 reports [2024-11-08T03:15:41.544Z] ==> Detecting git/mercurial file structure [2024-11-08T03:15:41.544Z] ==> Reading reports [2024-11-08T03:15:41.544Z] + ./coverage.out bytes=21039 [2024-11-08T03:15:41.544Z] ==> Appending adjustments [2024-11-08T03:15:41.545Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:15:41.545Z] + Found adjustments [2024-11-08T03:15:41.545Z] ==> Gzipping contents [2024-11-08T03:15:41.545Z] 4.0K /tmp/codecov.0pzjF3.gz [2024-11-08T03:15:41.545Z] ==> Uploading reports [2024-11-08T03:15:41.545Z] url: https://codecov.io [2024-11-08T03:15:41.545Z] query: branch=PR-708&commit=cc886f0163229c0230891ab3c0de8aec2f7a231b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-708%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=708&job=&cmd_args= [2024-11-08T03:15:41.545Z] -> Pinging Codecov [2024-11-08T03:15:41.545Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-708&commit=cc886f0163229c0230891ab3c0de8aec2f7a231b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-708%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=708&job=&cmd_args= [2024-11-08T03:15:41.805Z] -> Uploading to [2024-11-08T03:15:41.805Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/cc886f0163229c0230891ab3c0de8aec2f7a231b/d7ee0957-dcb6-4cba-a0d9-e84a7d589fcb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T031541Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d00789b977f2b40505a7f9cd02f3e3a47b05e68b17512e41adbcd1bd9999af4f [2024-11-08T03:15:41.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:15:41.805Z] Dload Upload Total Spent Left Speed [2024-11-08T03:15:42.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 15419 --:--:-- --:--:-- --:--:-- 15419 [2024-11-08T03:15:42.065Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/cc886f0163229c0230891ab3c0de8aec2f7a231b [Pipeline] } [2024-11-08T03:15:42.073Z] 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-11-08T03:15:42.966Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives ] [2024-11-08T03:15:42.966Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-08T03:15:42.966Z] total 16 [2024-11-08T03:15:42.966Z] drwxr-xr-x 3 root root 4096 Nov 8 02:59 . [2024-11-08T03:15:42.966Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 02:59 .. [2024-11-08T03:15:42.966Z] drwxr-xr-x 2 root root 4096 Nov 8 02:59 cost [2024-11-08T03:15:42.966Z] -rw-r--r-- 1 root root 86 Nov 8 02:59 cost.csv [2024-11-08T03:15:42.966Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-08T03:15:42.966Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-08T03:15:42.966Z] total 16 [2024-11-08T03:15:42.966Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:59 . [2024-11-08T03:15:42.966Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 02:59 .. [2024-11-08T03:15:42.966Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 02:59 cost [2024-11-08T03:15:42.966Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 02:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:43.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:44.131Z] ---> package-listing.sh [2024-11-08T03:15:44.131Z] ++ facter osfamily [2024-11-08T03:15:44.131Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:15:44.393Z] + OS_FAMILY=debian [2024-11-08T03:15:44.393Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-708 [2024-11-08T03:15:44.393Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:15:44.393Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:15:44.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:15:44.393Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:15:44.393Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-708 ']' [2024-11-08T03:15:44.393Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:15:44.393Z] + case "${OS_FAMILY}" in [2024-11-08T03:15:44.393Z] + dpkg -l [2024-11-08T03:15:44.393Z] + grep '^ii' [2024-11-08T03:15:44.393Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:15:44.393Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:15:44.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:15:44.393Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-708 ']' [2024-11-08T03:15:44.393Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/ [2024-11-08T03:15:44.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/ [Pipeline] echo [2024-11-08T03:15:44.409Z] 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-708/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:15:44.691Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:15:45.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:15:45.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:15:45.351Z] prd-ubuntu20.04-docker-8c-8g-24958 does not seem to be running inside a container [2024-11-08T03:15:45.395Z] $ 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-708/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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:15:45.689Z] $ docker top 6e4184fc2c06f8d551fe5057ed1fc79b0dd339ba58d8365755e3d9152070919c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:15:46.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:15:46.470Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:15:46.759Z] + ls /var/log/sa-host [2024-11-08T03:15:46.759Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:15:46.924Z] provisioning config files... [2024-11-08T03:15:46.934Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config11030010182809950085tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:15:46.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:47.257Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:15:47.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:47.616Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:15:47.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:47.915Z] ---> sudo-logs.sh [2024-11-08T03:15:47.915Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:15:47.946Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:48.228Z] ---> job-cost.sh [2024-11-08T03:15:48.228Z] lf-activate-venv: SKIPPING [2024-11-08T03:15:48.228Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:15:48.229Z] INFO: Retrieving Stack Cost... [2024-11-08T03:15:48.798Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:15:49.059Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:15:49.073Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:15:49.361Z] ---> logs-deploy.sh [2024-11-08T03:15:49.361Z] lf-activate-venv: SKIPPING [2024-11-08T03:15:49.361Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-708/2 [2024-11-08T03:15:49.361Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:15:50.300Z] Archives upload complete. [2024-11-08T03:15:50.560Z] INFO: archiving logs to Nexus [2024-11-08T03:15:51.131Z] ---> uname -a: [2024-11-08T03:15:51.132Z] Linux prd-ubuntu20-04-docker-8c-8g-24958 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] ---> lscpu: [2024-11-08T03:15:51.132Z] Architecture: x86_64 [2024-11-08T03:15:51.132Z] CPU op-mode(s): 32-bit, 64-bit [2024-11-08T03:15:51.132Z] Byte Order: Little Endian [2024-11-08T03:15:51.132Z] Address sizes: 40 bits physical, 48 bits virtual [2024-11-08T03:15:51.132Z] CPU(s): 8 [2024-11-08T03:15:51.132Z] On-line CPU(s) list: 0-7 [2024-11-08T03:15:51.132Z] Thread(s) per core: 1 [2024-11-08T03:15:51.132Z] Core(s) per socket: 1 [2024-11-08T03:15:51.132Z] Socket(s): 8 [2024-11-08T03:15:51.132Z] NUMA node(s): 1 [2024-11-08T03:15:51.132Z] Vendor ID: AuthenticAMD [2024-11-08T03:15:51.132Z] CPU family: 23 [2024-11-08T03:15:51.132Z] Model: 49 [2024-11-08T03:15:51.132Z] Model name: AMD EPYC-Rome Processor [2024-11-08T03:15:51.132Z] Stepping: 0 [2024-11-08T03:15:51.132Z] CPU MHz: 2799.998 [2024-11-08T03:15:51.132Z] BogoMIPS: 5599.99 [2024-11-08T03:15:51.132Z] Virtualization: AMD-V [2024-11-08T03:15:51.132Z] Hypervisor vendor: KVM [2024-11-08T03:15:51.132Z] Virtualization type: full [2024-11-08T03:15:51.132Z] L1d cache: 256 KiB [2024-11-08T03:15:51.132Z] L1i cache: 256 KiB [2024-11-08T03:15:51.132Z] L2 cache: 4 MiB [2024-11-08T03:15:51.132Z] L3 cache: 128 MiB [2024-11-08T03:15:51.132Z] NUMA node0 CPU(s): 0-7 [2024-11-08T03:15:51.132Z] Vulnerability Itlb multihit: Not affected [2024-11-08T03:15:51.132Z] Vulnerability L1tf: Not affected [2024-11-08T03:15:51.132Z] Vulnerability Mds: Not affected [2024-11-08T03:15:51.132Z] Vulnerability Meltdown: Not affected [2024-11-08T03:15:51.132Z] Vulnerability Mmio stale data: Not affected [2024-11-08T03:15:51.132Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-11-08T03:15:51.132Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-11-08T03:15:51.132Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-11-08T03:15:51.132Z] Vulnerability Srbds: Not affected [2024-11-08T03:15:51.132Z] Vulnerability Tsx async abort: Not affected [2024-11-08T03:15:51.132Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] ---> nproc: [2024-11-08T03:15:51.132Z] 8 [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z] ---> df -h: [2024-11-08T03:15:51.132Z] Filesystem Size Used Avail Use% Mounted on [2024-11-08T03:15:51.132Z] overlay 155G 12G 143G 8% / [2024-11-08T03:15:51.132Z] tmpfs 64M 0 64M 0% /dev [2024-11-08T03:15:51.132Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-11-08T03:15:51.132Z] shm 64M 0 64M 0% /dev/shm [2024-11-08T03:15:51.132Z] /dev/vda1 155G 12G 143G 8% /facter-os [2024-11-08T03:15:51.132Z] [2024-11-08T03:15:51.132Z]