Pull request #412 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec55248e5e01078cd56faecef1527e23b9a3c47b+735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (282192385bcfcb5ce364562ab08f76e0201658ef) 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-ssh4907689048474833575.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh2278000361734324445.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4987521856278879655.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1397380839543191173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6764012143232109209.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4675353756001411522.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-rest-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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13038 in /w/workspace/gexfoundry_device-rest-go_PR-412 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-412 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit ec55248e5e01078cd56faecef1527e23b9a3c47b Merge succeeded, producing ec55248e5e01078cd56faecef1527e23b9a3c47b Checking out Revision ec55248e5e01078cd56faecef1527e23b9a3c47b (PR-412) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-02T20:17:23.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-02T20:17:23.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-02T20:17:23.780Z] ========================================================= [2024-10-02T20:17:23.780Z] EdgeX Global Pipelines Version Info [2024-10-02T20:17:23.780Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:17:24.563Z] ------------------- [2024-10-02T20:17:24.563Z] stable info: [2024-10-02T20:17:24.563Z] ------------------- [2024-10-02T20:17:24.563Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T20:17:24.563Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T20:17:24.563Z] Message: update stable to v1.0.264 [2024-10-02T20:17:25.135Z] ------------------- [2024-10-02T20:17:25.135Z] experimental info: [2024-10-02T20:17:25.135Z] ------------------- [2024-10-02T20:17:25.135Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T20:17:25.135Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T20:17:25.135Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-02T20:17:25.363Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-02T20:17:25.423Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-02T20:17:25.493Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-02T20:17:25.551Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-02T20:17:25.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-02T20:17:25.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-02T20:17:25.734Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-02T20:17:25.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-02T20:17:25.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-02T20:17:25.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-02T20:17:25.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-02T20:17:26.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-02T20:17:26.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-02T20:17:26.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-02T20:17:26.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T20:17:26.270Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T20:17:26.338Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T20:17:26.403Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T20:17:26.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-02T20:17:26.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-02T20:17:26.585Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-02T20:17:26.646Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-02T20:17:26.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-02T20:17:26.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-02T20:17:26.825Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-02T20:17:26.884Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-02T20:17:26.937Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-02T20:17:26.990Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-412 [Pipeline] echo [2024-10-02T20:17:27.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-412 [Pipeline] echo [2024-10-02T20:17:27.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-412 [Pipeline] echo [2024-10-02T20:17:27.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo [2024-10-02T20:17:27.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec55248 [Pipeline] echo [2024-10-02T20:17:27.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T20:17:27.411Z] provisioning config files... [2024-10-02T20:17:27.425Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config4884875515980301989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:17:27.840Z] ---> ****-login.sh [2024-10-02T20:17:27.840Z] nexus3.edgexfoundry.org:10001 [2024-10-02T20:17:28.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:28.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:28.101Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:28.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:28.101Z] [2024-10-02T20:17:28.101Z] Login Succeeded [2024-10-02T20:17:28.101Z] nexus3.edgexfoundry.org:10002 [2024-10-02T20:17:28.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:28.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:28.362Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:28.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:28.362Z] [2024-10-02T20:17:28.362Z] Login Succeeded [2024-10-02T20:17:28.362Z] nexus3.edgexfoundry.org:10003 [2024-10-02T20:17:28.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:28.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:28.362Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:28.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:28.362Z] [2024-10-02T20:17:28.362Z] Login Succeeded [2024-10-02T20:17:28.362Z] nexus3.edgexfoundry.org:10004 [2024-10-02T20:17:28.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:28.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:28.623Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:28.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:28.623Z] [2024-10-02T20:17:28.623Z] Login Succeeded [2024-10-02T20:17:28.623Z] ****.io [2024-10-02T20:17:28.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:28.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:28.884Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:28.884Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:28.884Z] [2024-10-02T20:17:28.884Z] Login Succeeded [2024-10-02T20:17:28.884Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T20:17:28.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-02T20:17:30.772Z] + git rev-list -1 --merges ec55248e5e01078cd56faecef1527e23b9a3c47b~1..ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo [2024-10-02T20:17:30.826Z] -----------> git rev-list -1 --merges ec55248e5e01078cd56faecef1527e23b9a3c47b~1..ec55248e5e01078cd56faecef1527e23b9a3c47b ec55248e5e01078cd56faecef1527e23b9a3c47b [false] [Pipeline] sh [2024-10-02T20:17:31.151Z] + git log --format=format:%s -1 ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo [2024-10-02T20:17:31.195Z] ========================================================= [2024-10-02T20:17:31.195Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-02T20:17:31.195Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T20:17:31.667Z] + git log --format=format:%s -1 ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo [2024-10-02T20:17:31.721Z] [semverPrep] GIT_COMMIT: ec55248e5e01078cd56faecef1527e23b9a3c47b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-02T20:17:31.759Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-02T20:17:32.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-02T20:17:32.185Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-02T20:17:32.185Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-02T20:17:32.185Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-02T20:17:32.185Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-10-02T20:17:32.185Z] tee -a /etc/ssh/ssh_known_hosts [2024-10-02T20:17:32.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:17:32.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T20:17:32.710Z] [2024-10-02T20:17:32.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:17:33.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T20:17:33.117Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-02T20:17:33.117Z] b85a868b505f: Pulling fs layer [2024-10-02T20:17:33.117Z] e2be974225ed: Pulling fs layer [2024-10-02T20:17:33.117Z] 339a4e72a1f5: Pulling fs layer [2024-10-02T20:17:33.117Z] 988bab9f4d93: Pulling fs layer [2024-10-02T20:17:33.117Z] 1469e6f7b9e6: Pulling fs layer [2024-10-02T20:17:33.117Z] eaf3925da568: Pulling fs layer [2024-10-02T20:17:33.117Z] bab4dde63d76: Pulling fs layer [2024-10-02T20:17:33.117Z] 1469e6f7b9e6: Waiting [2024-10-02T20:17:33.117Z] eaf3925da568: Waiting [2024-10-02T20:17:33.117Z] 988bab9f4d93: Waiting [2024-10-02T20:17:33.117Z] bde34c3a00c8: Pulling fs layer [2024-10-02T20:17:33.117Z] b352a97aabf1: Pulling fs layer [2024-10-02T20:17:33.117Z] 4872d77fe225: Pulling fs layer [2024-10-02T20:17:33.117Z] 5851b861e8e6: Pulling fs layer [2024-10-02T20:17:33.117Z] bab4dde63d76: Waiting [2024-10-02T20:17:33.117Z] 4872d77fe225: Waiting [2024-10-02T20:17:33.117Z] b352a97aabf1: Waiting [2024-10-02T20:17:33.117Z] 5851b861e8e6: Waiting [2024-10-02T20:17:33.117Z] bde34c3a00c8: Waiting [2024-10-02T20:17:33.117Z] e2be974225ed: Verifying Checksum [2024-10-02T20:17:33.117Z] e2be974225ed: Download complete [2024-10-02T20:17:33.117Z] 988bab9f4d93: Verifying Checksum [2024-10-02T20:17:33.117Z] 988bab9f4d93: Download complete [2024-10-02T20:17:33.375Z] 1469e6f7b9e6: Verifying Checksum [2024-10-02T20:17:33.375Z] 1469e6f7b9e6: Download complete [2024-10-02T20:17:33.375Z] eaf3925da568: Verifying Checksum [2024-10-02T20:17:33.375Z] eaf3925da568: Download complete [2024-10-02T20:17:33.375Z] 339a4e72a1f5: Verifying Checksum [2024-10-02T20:17:33.375Z] 339a4e72a1f5: Download complete [2024-10-02T20:17:33.375Z] bde34c3a00c8: Verifying Checksum [2024-10-02T20:17:33.375Z] bde34c3a00c8: Download complete [2024-10-02T20:17:33.375Z] b352a97aabf1: Verifying Checksum [2024-10-02T20:17:33.375Z] 4872d77fe225: Verifying Checksum [2024-10-02T20:17:33.375Z] 4872d77fe225: Download complete [2024-10-02T20:17:33.375Z] 5851b861e8e6: Verifying Checksum [2024-10-02T20:17:33.375Z] 5851b861e8e6: Download complete [2024-10-02T20:17:33.375Z] b85a868b505f: Verifying Checksum [2024-10-02T20:17:33.375Z] b85a868b505f: Download complete [2024-10-02T20:17:33.633Z] bab4dde63d76: Verifying Checksum [2024-10-02T20:17:33.633Z] bab4dde63d76: Download complete [2024-10-02T20:17:34.569Z] b85a868b505f: Pull complete [2024-10-02T20:17:34.828Z] e2be974225ed: Pull complete [2024-10-02T20:17:35.399Z] 339a4e72a1f5: Pull complete [2024-10-02T20:17:35.399Z] 988bab9f4d93: Pull complete [2024-10-02T20:17:35.661Z] 1469e6f7b9e6: Pull complete [2024-10-02T20:17:35.661Z] eaf3925da568: Pull complete [2024-10-02T20:17:37.571Z] bab4dde63d76: Pull complete [2024-10-02T20:17:37.571Z] bde34c3a00c8: Pull complete [2024-10-02T20:17:37.571Z] b352a97aabf1: Pull complete [2024-10-02T20:17:37.832Z] 4872d77fe225: Pull complete [2024-10-02T20:17:37.832Z] 5851b861e8e6: Pull complete [2024-10-02T20:17:37.832Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-02T20:17:37.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T20:17:37.832Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:17:38.124Z] prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container [2024-10-02T20:17:38.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-02T20:17:39.329Z] $ docker top 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c -eo pid,comm [2024-10-02T20:17:39.392Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-02T20:17:39.392Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-02T20:17:39.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T20:17:39.564Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T20:17:39.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T20:17:39.680Z] $ docker exec 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent [2024-10-02T20:17:39.789Z] SSH_AUTH_SOCK=/tmp/ssh-5TxFbZ6cMkyH/agent.32 [2024-10-02T20:17:39.789Z] SSH_AGENT_PID=38 [2024-10-02T20:17:39.796Z] Running ssh-add (command line suppressed) [2024-10-02T20:17:39.898Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_9418604005986543664.key (/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_9418604005986543664.key) [2024-10-02T20:17:39.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T20:17:40.269Z] + git tag --points-at HEAD [Pipeline] } [2024-10-02T20:17:40.293Z] $ docker exec --env ******** --env ******** 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent -k [2024-10-02T20:17:40.384Z] unset SSH_AUTH_SOCK; [2024-10-02T20:17:40.384Z] unset SSH_AGENT_PID; [2024-10-02T20:17:40.384Z] echo Agent pid 38 killed; [2024-10-02T20:17:40.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-02T20:17:40.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T20:17:40.503Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T20:17:40.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T20:17:40.617Z] $ docker exec 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent [2024-10-02T20:17:40.738Z] SSH_AUTH_SOCK=/tmp/ssh-wn41EuOjC6aE/agent.72 [2024-10-02T20:17:40.739Z] SSH_AGENT_PID=78 [2024-10-02T20:17:40.744Z] Running ssh-add (command line suppressed) [2024-10-02T20:17:40.856Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_16035880454972480796.key (/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_16035880454972480796.key) [2024-10-02T20:17:40.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T20:17:41.230Z] + git semver init [2024-10-02T20:17:41.490Z] 2024-10-02 20:17:41,417 [run_init] DEBUG init version:0.0.0 force:False [2024-10-02T20:17:41.490Z] 2024-10-02 20:17:41,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver [2024-10-02T20:17:41.490Z] 2024-10-02 20:17:41,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-412/.semver [2024-10-02T20:17:41.490Z] 2024-10-02 20:17:41,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-412/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412, universal_newlines=False, shell=None, istream=None) [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-412/.git/info/exclude [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 with force:False [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,534 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,538 [execute] INFO git cat-file --batch-check [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,546 [execute] INFO git cat-file --batch [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T20:17:42.868Z] 2024-10-02 20:17:42,552 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 [2024-10-02T20:17:42.868Z] 0.0.0 [Pipeline] } [2024-10-02T20:17:42.904Z] $ docker exec --env ******** --env ******** 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent -k [2024-10-02T20:17:43.018Z] unset SSH_AUTH_SOCK; [2024-10-02T20:17:43.019Z] unset SSH_AGENT_PID; [2024-10-02T20:17:43.019Z] echo Agent pid 78 killed; [2024-10-02T20:17:43.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-02T20:17:43.577Z] + git semver [Pipeline] } [2024-10-02T20:17:43.862Z] $ docker stop --time=1 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c [2024-10-02T20:17:45.153Z] $ docker rm -f --volumes 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T20:17:45.588Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-02T20:17:45.909Z] Stashed 1 file(s) [Pipeline] echo [2024-10-02T20:17:45.932Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T20:17:46.653Z] provisioning config files... [2024-10-02T20:17:46.664Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config10396796547823436286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:17:47.035Z] ---> ****-login.sh [2024-10-02T20:17:47.035Z] nexus3.edgexfoundry.org:10001 [2024-10-02T20:17:47.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:47.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:47.035Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:47.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:47.035Z] [2024-10-02T20:17:47.035Z] Login Succeeded [2024-10-02T20:17:47.035Z] nexus3.edgexfoundry.org:10002 [2024-10-02T20:17:47.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:47.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:47.036Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:47.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:47.036Z] [2024-10-02T20:17:47.036Z] Login Succeeded [2024-10-02T20:17:47.036Z] nexus3.edgexfoundry.org:10003 [2024-10-02T20:17:47.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:47.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:47.296Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:47.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:47.296Z] [2024-10-02T20:17:47.296Z] Login Succeeded [2024-10-02T20:17:47.296Z] nexus3.edgexfoundry.org:10004 [2024-10-02T20:17:47.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:47.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:47.296Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:47.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:47.296Z] [2024-10-02T20:17:47.296Z] Login Succeeded [2024-10-02T20:17:47.296Z] ****.io [2024-10-02T20:17:47.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:17:47.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:17:47.557Z] Configure a credential helper to remove this warning. See [2024-10-02T20:17:47.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:17:47.557Z] [2024-10-02T20:17:47.557Z] Login Succeeded [2024-10-02T20:17:47.557Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T20:17:47.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T20:17:47.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T20:17:47.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T20:17:47.924Z] ========================================================= [2024-10-02T20:17:47.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-02T20:17:47.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:17:48.439Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T20:17:48.439Z] Sending build context to Docker daemon 16.6MB [2024-10-02T20:17:48.439Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T20:17:48.439Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-02T20:17:48.439Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-02T20:17:48.439Z] 619be1103602: Pulling fs layer [2024-10-02T20:17:48.439Z] 7862e08f4a3e: Pulling fs layer [2024-10-02T20:17:48.439Z] 5df492c9dc93: Pulling fs layer [2024-10-02T20:17:48.439Z] 7629e6793208: Pulling fs layer [2024-10-02T20:17:48.439Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T20:17:48.439Z] fb5054dd5b73: Pulling fs layer [2024-10-02T20:17:48.439Z] eeca6798cff9: Pulling fs layer [2024-10-02T20:17:48.439Z] aa269ceb94a6: Pulling fs layer [2024-10-02T20:17:48.439Z] ada007ff1a6a: Pulling fs layer [2024-10-02T20:17:48.439Z] eeca6798cff9: Waiting [2024-10-02T20:17:48.439Z] 7629e6793208: Waiting [2024-10-02T20:17:48.439Z] aa269ceb94a6: Waiting [2024-10-02T20:17:48.439Z] 4f4fb700ef54: Waiting [2024-10-02T20:17:48.439Z] fb5054dd5b73: Waiting [2024-10-02T20:17:48.439Z] ada007ff1a6a: Waiting [2024-10-02T20:17:48.439Z] 7862e08f4a3e: Download complete [2024-10-02T20:17:48.707Z] 7629e6793208: Verifying Checksum [2024-10-02T20:17:48.707Z] 7629e6793208: Download complete [2024-10-02T20:17:48.707Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T20:17:48.707Z] 4f4fb700ef54: Download complete [2024-10-02T20:17:48.707Z] fb5054dd5b73: Verifying Checksum [2024-10-02T20:17:48.707Z] fb5054dd5b73: Download complete [2024-10-02T20:17:48.707Z] 619be1103602: Verifying Checksum [2024-10-02T20:17:48.707Z] 619be1103602: Download complete [2024-10-02T20:17:48.707Z] eeca6798cff9: Verifying Checksum [2024-10-02T20:17:48.707Z] eeca6798cff9: Download complete [2024-10-02T20:17:48.707Z] 619be1103602: Pull complete [2024-10-02T20:17:48.966Z] ada007ff1a6a: Verifying Checksum [2024-10-02T20:17:48.966Z] ada007ff1a6a: Download complete [2024-10-02T20:17:48.966Z] 7862e08f4a3e: Pull complete [2024-10-02T20:17:48.966Z] 5df492c9dc93: Download complete [2024-10-02T20:17:49.536Z] aa269ceb94a6: Verifying Checksum [2024-10-02T20:17:49.536Z] aa269ceb94a6: Download complete [2024-10-02T20:17:52.085Z] 5df492c9dc93: Pull complete [2024-10-02T20:17:52.085Z] 7629e6793208: Pull complete [2024-10-02T20:17:52.085Z] 4f4fb700ef54: Pull complete [2024-10-02T20:17:52.343Z] fb5054dd5b73: Pull complete [2024-10-02T20:17:52.343Z] eeca6798cff9: Pull complete [2024-10-02T20:17:54.886Z] aa269ceb94a6: Pull complete [2024-10-02T20:17:54.886Z] ada007ff1a6a: Pull complete [2024-10-02T20:17:54.886Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-02T20:17:54.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-02T20:17:54.886Z] ---> f489d0715acc [2024-10-02T20:17:54.886Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-02T20:17:56.265Z] ---> Running in 049d4bc3d351 [2024-10-02T20:17:56.265Z] Removing intermediate container 049d4bc3d351 [2024-10-02T20:17:56.265Z] ---> 1b864445446e [2024-10-02T20:17:56.265Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T20:17:56.525Z] ---> Running in bda4bd8b75c8 [2024-10-02T20:17:56.525Z] Removing intermediate container bda4bd8b75c8 [2024-10-02T20:17:56.525Z] ---> a0d98b96ddcf [2024-10-02T20:17:56.525Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T20:17:56.525Z] ---> Running in f3b03a2750d6 [2024-10-02T20:17:56.525Z] Removing intermediate container f3b03a2750d6 [2024-10-02T20:17:56.525Z] ---> bef320c78a33 [2024-10-02T20:17:56.525Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T20:17:56.525Z] ---> Running in 3551a9dfbe7d [2024-10-02T20:17:56.785Z] Removing intermediate container 3551a9dfbe7d [2024-10-02T20:17:56.785Z] ---> 8ac0b08d49a2 [2024-10-02T20:17:56.785Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T20:17:56.785Z] ---> Running in 15f1497acae6 [2024-10-02T20:17:57.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T20:17:57.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T20:17:57.304Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-02T20:17:57.304Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-02T20:17:57.304Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-02T20:17:57.304Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-02T20:17:57.304Z] Executing busybox-1.36.1-r5.trigger [2024-10-02T20:17:57.304Z] OK: 268 MiB in 56 packages [2024-10-02T20:17:57.872Z] Removing intermediate container 15f1497acae6 [2024-10-02T20:17:57.872Z] ---> 960210543d19 [2024-10-02T20:17:57.872Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-02T20:17:57.872Z] ---> Running in 345f8657b859 [2024-10-02T20:17:57.872Z] Removing intermediate container 345f8657b859 [2024-10-02T20:17:57.872Z] ---> 91fbcd766fe1 [2024-10-02T20:17:57.873Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-02T20:17:57.873Z] ---> 03865e37e313 [2024-10-02T20:17:57.873Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T20:17:58.131Z] ---> Running in e0ac96090b09 [2024-10-02T20:18:01.430Z] Still waiting to schedule task [2024-10-02T20:18:01.430Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-02T20:18:36.870Z] Removing intermediate container e0ac96090b09 [2024-10-02T20:18:36.870Z] ---> 0c8e995c4fa3 [2024-10-02T20:18:36.870Z] Step 11/12 : COPY . . [2024-10-02T20:18:36.870Z] ---> e615ee579c31 [2024-10-02T20:18:36.870Z] Step 12/12 : RUN $MAKE [2024-10-02T20:18:36.870Z] ---> Running in 84dcaf8b8401 [2024-10-02T20:18:36.870Z] noop [2024-10-02T20:18:36.870Z] Removing intermediate container 84dcaf8b8401 [2024-10-02T20:18:36.870Z] ---> b645f33eef25 [2024-10-02T20:18:36.870Z] Successfully built b645f33eef25 [2024-10-02T20:18:36.870Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:18:37.361Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T20:18:37.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:18:37.515Z] prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container [2024-10-02T20:18:37.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-02T20:18:37.847Z] $ docker top 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T20:18:38.245Z] + go version [2024-10-02T20:18:38.245Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-02T20:18:38.279Z] $ docker stop --time=1 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 [2024-10-02T20:18:39.559Z] $ docker rm -f --volumes 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:18:40.336Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T20:18:40.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:18:40.495Z] prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container [2024-10-02T20:18:40.519Z] $ 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-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-02T20:18:40.847Z] $ docker top 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T20:18:41.246Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-412 [Pipeline] fileExists [Pipeline] sh [2024-10-02T20:18:41.636Z] + make test [2024-10-02T20:18:41.636Z] go test ./... -coverprofile=coverage.out ./... [2024-10-02T20:18:43.009Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-02T20:19:01.084Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-10-02T20:19:01.084Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements [2024-10-02T20:19:07.641Z] go vet ./... [2024-10-02T20:19:12.905Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T20:19:12.905Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T20:19:12.905Z] ./bin/test-attribution-txt.sh [2024-10-02T20:19:12.905Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [2024-10-02T20:19:12.905Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T20:19:12.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T20:19:13.054Z] $ docker stop --time=1 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 [2024-10-02T20:19:15.268Z] $ docker rm -f --volumes 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T20:19:15.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T20:19:15.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-02T20:19:16.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T20:19:17.010Z] + ls -al . [2024-10-02T20:19:17.010Z] total 248 [2024-10-02T20:19:17.010Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 20:18 . [2024-10-02T20:19:17.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:17 .. [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 2 20:17 .dockerignore [2024-10-02T20:19:17.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:18 .git [2024-10-02T20:19:17.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 .github [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 20:17 .gitignore [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 20:17 .golangci.yml [2024-10-02T20:19:17.010Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:17 .semver [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 2 20:17 Attribution.txt [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 2 20:17 CHANGELOG.md [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 1687 Oct 2 20:17 Dockerfile [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 20:17 GOVERNANCE.md [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 2 20:17 Jenkinsfile [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 20:17 LICENSE [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 2 20:17 Makefile [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 20:17 OWNERS.md [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 2 20:17 README.md [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 20:17 VERSION [2024-10-02T20:19:17.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:17 bin [2024-10-02T20:19:17.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 cmd [2024-10-02T20:19:17.010Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 2 20:18 coverage.out [2024-10-02T20:19:17.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:17 driver [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 2 20:17 go.mod [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 20:17 go.sum [2024-10-02T20:19:17.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 openapi [2024-10-02T20:19:17.010Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 2 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:19:17.436Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b --label arch=amd64 --label version=0.0.0 . [2024-10-02T20:19:17.436Z] Sending build context to Docker daemon 16.61MB [2024-10-02T20:19:17.436Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T20:19:17.436Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-02T20:19:17.436Z] ---> b645f33eef25 [2024-10-02T20:19:17.436Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-02T20:19:17.436Z] ---> Running in 2ee928c08938 [2024-10-02T20:19:17.695Z] Removing intermediate container 2ee928c08938 [2024-10-02T20:19:17.695Z] ---> 64d28d92b816 [2024-10-02T20:19:17.695Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T20:19:17.695Z] ---> Running in e76a9c8ee889 [2024-10-02T20:19:17.695Z] Removing intermediate container e76a9c8ee889 [2024-10-02T20:19:17.695Z] ---> 9fd99bb1ee4d [2024-10-02T20:19:17.695Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T20:19:17.695Z] ---> Running in 2aa0333464a2 [2024-10-02T20:19:17.695Z] Removing intermediate container 2aa0333464a2 [2024-10-02T20:19:17.695Z] ---> 5467fa990c23 [2024-10-02T20:19:17.695Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T20:19:17.695Z] ---> Running in 34d95d5881e5 [2024-10-02T20:19:17.955Z] Removing intermediate container 34d95d5881e5 [2024-10-02T20:19:17.955Z] ---> 75134286d041 [2024-10-02T20:19:17.955Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T20:19:17.955Z] ---> Running in b3780ff33527 [2024-10-02T20:19:18.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:18.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:18.476Z] OK: 268 MiB in 56 packages [2024-10-02T20:19:18.735Z] Removing intermediate container b3780ff33527 [2024-10-02T20:19:18.735Z] ---> 0b56e0dc47e5 [2024-10-02T20:19:18.735Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-02T20:19:18.735Z] ---> Running in c771825485a8 [2024-10-02T20:19:18.735Z] Removing intermediate container c771825485a8 [2024-10-02T20:19:18.735Z] ---> 76ac007c30fb [2024-10-02T20:19:18.735Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-02T20:19:18.995Z] ---> c661709617b9 [2024-10-02T20:19:18.995Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T20:19:18.995Z] ---> Running in bb09c5c6d137 [2024-10-02T20:19:19.563Z] Removing intermediate container bb09c5c6d137 [2024-10-02T20:19:19.563Z] ---> 13f822225efc [2024-10-02T20:19:19.563Z] Step 11/26 : COPY . . [2024-10-02T20:19:19.822Z] ---> 91a885e3c7e4 [2024-10-02T20:19:19.822Z] Step 12/26 : RUN $MAKE [2024-10-02T20:19:19.822Z] ---> Running in 99ca7c65d93a [2024-10-02T20:19:20.081Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-02T20:19:43.319Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13039 in /w/workspace/gexfoundry_device-rest-go_PR-412 [Pipeline] { [Pipeline] ws [2024-10-02T20:19:43.391Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-02T20:19:46.563Z] The recommended git tool is: git [2024-10-02T20:19:46.620Z] Removing intermediate container 99ca7c65d93a [2024-10-02T20:19:46.620Z] ---> 3376729fd4bc [2024-10-02T20:19:46.620Z] Step 13/26 : FROM alpine:3.18 [2024-10-02T20:19:46.620Z] 3.18: Pulling from library/alpine [2024-10-02T20:19:46.620Z] 1cc3d825d8b2: Pulling fs layer [2024-10-02T20:19:46.620Z] 1cc3d825d8b2: Verifying Checksum [2024-10-02T20:19:46.620Z] 1cc3d825d8b2: Download complete [2024-10-02T20:19:46.620Z] 1cc3d825d8b2: Pull complete [2024-10-02T20:19:46.620Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T20:19:46.620Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T20:19:46.620Z] ---> 2c64cf60f6f0 [2024-10-02T20:19:46.620Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T20:19:46.620Z] ---> Running in b0e4dbcc3a1d [2024-10-02T20:19:46.620Z] Removing intermediate container b0e4dbcc3a1d [2024-10-02T20:19:46.620Z] ---> 47c76cd4c098 [2024-10-02T20:19:46.620Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-02T20:19:46.620Z] ---> Running in 9e3f2b7c7dcd [2024-10-02T20:19:46.620Z] Removing intermediate container 9e3f2b7c7dcd [2024-10-02T20:19:46.620Z] ---> 442b72c39a41 [2024-10-02T20:19:46.620Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-02T20:19:46.620Z] ---> Running in 74da208e3c42 [2024-10-02T20:19:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:46.620Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T20:19:46.620Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T20:19:46.620Z] OK: 7 MiB in 16 packages [2024-10-02T20:19:46.620Z] Removing intermediate container 74da208e3c42 [2024-10-02T20:19:46.620Z] ---> e355cc335842 [2024-10-02T20:19:46.620Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-02T20:19:46.620Z] ---> Running in da9a71db5500 [2024-10-02T20:19:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T20:19:46.620Z] OK: 7 MiB in 16 packages [2024-10-02T20:19:46.878Z] Removing intermediate container da9a71db5500 [2024-10-02T20:19:46.878Z] ---> 5bbacb82f82d [2024-10-02T20:19:46.878Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-02T20:19:47.447Z] ---> 233ba474f102 [2024-10-02T20:19:47.447Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-02T20:19:47.447Z] ---> 86cf85e6ca2a [2024-10-02T20:19:47.447Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-02T20:19:47.447Z] ---> e7bfb63ad4a3 [2024-10-02T20:19:47.447Z] Step 21/26 : EXPOSE 59986 [2024-10-02T20:19:47.705Z] ---> Running in da5058332942 [2024-10-02T20:19:47.705Z] Removing intermediate container da5058332942 [2024-10-02T20:19:47.705Z] ---> 0c48cad20d9f [2024-10-02T20:19:47.705Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-02T20:19:47.705Z] ---> Running in 1e29f72efed0 [2024-10-02T20:19:47.705Z] Removing intermediate container 1e29f72efed0 [2024-10-02T20:19:47.705Z] ---> 6b2d52e0afd8 [2024-10-02T20:19:47.705Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-02T20:19:47.705Z] ---> Running in c5a396595450 [2024-10-02T20:19:47.705Z] Removing intermediate container c5a396595450 [2024-10-02T20:19:47.705Z] ---> ab18db825cff [2024-10-02T20:19:47.705Z] Step 24/26 : LABEL arch=amd64 [2024-10-02T20:19:47.965Z] ---> Running in 7de8308bf476 [2024-10-02T20:19:47.965Z] Removing intermediate container 7de8308bf476 [2024-10-02T20:19:47.965Z] ---> 81747eca0a2c [2024-10-02T20:19:47.965Z] Step 25/26 : LABEL git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b [2024-10-02T20:19:47.965Z] ---> Running in 9e0bf4b6fb3d [2024-10-02T20:19:47.965Z] Removing intermediate container 9e0bf4b6fb3d [2024-10-02T20:19:47.965Z] ---> e69f04efbe4a [2024-10-02T20:19:47.965Z] Step 26/26 : LABEL version=0.0.0 [2024-10-02T20:19:47.965Z] ---> Running in 335ebb8ae79d [2024-10-02T20:19:47.965Z] Removing intermediate container 335ebb8ae79d [2024-10-02T20:19:47.965Z] ---> 41144efb93de [2024-10-02T20:19:47.965Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T20:19:48.225Z] Successfully built 41144efb93de [2024-10-02T20:19:48.225Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:19:49.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T20:19:49.307Z] [2024-10-02T20:19:49.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:19:49.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T20:19:49.703Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-02T20:19:49.703Z] 5eb5b503b376: Pulling fs layer [2024-10-02T20:19:49.703Z] 5c69ac0246d0: Pulling fs layer [2024-10-02T20:19:49.703Z] ec43610c2a17: Pulling fs layer [2024-10-02T20:19:49.703Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-02T20:19:49.703Z] 33b1e0a273af: Pulling fs layer [2024-10-02T20:19:49.703Z] 5d3b04190fa2: Pulling fs layer [2024-10-02T20:19:49.703Z] 2f39f015ded8: Pulling fs layer [2024-10-02T20:19:49.703Z] 3a2ae6a8a46f: Waiting [2024-10-02T20:19:49.703Z] 33b1e0a273af: Waiting [2024-10-02T20:19:49.703Z] 5d3b04190fa2: Waiting [2024-10-02T20:19:49.703Z] 2f39f015ded8: Waiting [2024-10-02T20:19:49.703Z] 5c69ac0246d0: Download complete [2024-10-02T20:19:49.703Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-02T20:19:49.703Z] 3a2ae6a8a46f: Download complete [2024-10-02T20:19:49.703Z] 33b1e0a273af: Verifying Checksum [2024-10-02T20:19:49.703Z] 33b1e0a273af: Download complete [2024-10-02T20:19:49.703Z] ec43610c2a17: Verifying Checksum [2024-10-02T20:19:49.703Z] ec43610c2a17: Download complete [2024-10-02T20:19:49.703Z] 5d3b04190fa2: Download complete [2024-10-02T20:19:49.963Z] 5eb5b503b376: Verifying Checksum [2024-10-02T20:19:49.963Z] 5eb5b503b376: Download complete [2024-10-02T20:19:50.529Z] 2f39f015ded8: Download complete [2024-10-02T20:19:51.096Z] 5eb5b503b376: Pull complete [2024-10-02T20:19:51.096Z] 5c69ac0246d0: Pull complete [2024-10-02T20:19:51.355Z] ec43610c2a17: Pull complete [2024-10-02T20:19:51.614Z] 3a2ae6a8a46f: Pull complete [2024-10-02T20:19:51.614Z] 33b1e0a273af: Pull complete [2024-10-02T20:19:51.872Z] 5d3b04190fa2: Pull complete [2024-10-02T20:19:54.482Z] using credential edgex-jenkins-ssh [2024-10-02T20:19:54.509Z] Cloning the remote Git repository [2024-10-02T20:19:54.557Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-02T20:19:54.690Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-02T20:19:55.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-02T20:19:55.007Z] > git --version # timeout=10 [2024-10-02T20:19:55.047Z] > git --version # 'git version 2.25.1' [2024-10-02T20:19:55.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T20:19:55.233Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T20:19:56.052Z] 2f39f015ded8: Pull complete [2024-10-02T20:19:56.052Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-02T20:19:56.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T20:19:56.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:19:56.319Z] prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container [2024-10-02T20:19:56.349Z] $ 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-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-02T20:19:57.660Z] $ docker top 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:19:58.146Z] ---> job-cost.sh [2024-10-02T20:19:58.147Z] lf-activate-venv: SKIPPING [2024-10-02T20:19:58.147Z] INFO: No Stack... [2024-10-02T20:19:58.406Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T20:19:58.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-02T20:19:58.485Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T20:19:58.976Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T20:19:59.300Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-412/archives/cost.csv [2024-10-02T20:19:59.300Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T20:19:59.349Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [2024-10-02T20:19:59.356Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] did not exist. Created. [2024-10-02T20:19:59.363Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T20:19:59.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-02T20:19:59.839Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T20:19:59.878Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T20:19:59.960Z] $ docker stop --time=1 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 [2024-10-02T20:20:00.249Z] Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit ec55248e5e01078cd56faecef1527e23b9a3c47b [2024-10-02T20:19:59.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-02T20:19:59.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-02T20:19:59.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T20:19:59.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-02T20:20:00.273Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T20:20:00.614Z] Merge succeeded, producing ec55248e5e01078cd56faecef1527e23b9a3c47b [2024-10-02T20:20:00.614Z] Checking out Revision ec55248e5e01078cd56faecef1527e23b9a3c47b (PR-412) [2024-10-02T20:20:01.110Z] $ docker rm -f --volumes 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2024-10-02T20:20:01.306Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] } [Pipeline] // withEnv [2024-10-02T20:20:01.360Z] > git --version # timeout=10 [2024-10-02T20:20:01.375Z] > git --version # 'git version 2.25.1' [2024-10-02T20:20:01.390Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-02T20:20:00.360Z] > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 [2024-10-02T20:20:00.469Z] > git remote # timeout=10 [2024-10-02T20:20:00.503Z] > git config --get remote.origin.url # timeout=10 [2024-10-02T20:20:00.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T20:20:00.549Z] > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 [2024-10-02T20:20:00.581Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-02T20:20:00.624Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T20:20:00.645Z] > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T20:20:06.544Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-02T20:20:06.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T20:20:06.544Z] Dload Upload Total Spent Left Speed [2024-10-02T20:20:06.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-10-02T20:20:06.899Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-02T20:20:07.263Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-02T20:20:07.263Z] + sudo tee /etc/docker/daemon.new [2024-10-02T20:20:07.263Z] { [2024-10-02T20:20:07.263Z] "registry-mirrors": [ [2024-10-02T20:20:07.263Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-02T20:20:07.263Z] ], [2024-10-02T20:20:07.263Z] "bip": "10.250.0.254/24", [2024-10-02T20:20:07.263Z] "hosts": [ [2024-10-02T20:20:07.263Z] "tcp://0.0.0.0:5555", [2024-10-02T20:20:07.263Z] "unix:///var/run/docker.sock" [2024-10-02T20:20:07.263Z] ], [2024-10-02T20:20:07.263Z] "mtu": 1458, [2024-10-02T20:20:07.263Z] "selinux-enabled": true, [2024-10-02T20:20:07.263Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-02T20:20:07.263Z] } [Pipeline] sh [2024-10-02T20:20:07.619Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-02T20:20:07.983Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T20:20:26.364Z] provisioning config files... [2024-10-02T20:20:26.389Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2271141129101486336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:20:26.880Z] ---> ****-login.sh [2024-10-02T20:20:26.880Z] nexus3.edgexfoundry.org:10001 [2024-10-02T20:20:27.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:20:27.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:20:27.419Z] Configure a credential helper to remove this warning. See [2024-10-02T20:20:27.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:20:27.419Z] [2024-10-02T20:20:27.419Z] Login Succeeded [2024-10-02T20:20:27.419Z] nexus3.edgexfoundry.org:10002 [2024-10-02T20:20:27.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:20:27.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:20:27.687Z] Configure a credential helper to remove this warning. See [2024-10-02T20:20:27.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:20:27.687Z] [2024-10-02T20:20:27.687Z] Login Succeeded [2024-10-02T20:20:27.687Z] nexus3.edgexfoundry.org:10003 [2024-10-02T20:20:27.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:20:27.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:20:27.953Z] Configure a credential helper to remove this warning. See [2024-10-02T20:20:27.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:20:27.954Z] [2024-10-02T20:20:27.954Z] Login Succeeded [2024-10-02T20:20:28.224Z] nexus3.edgexfoundry.org:10004 [2024-10-02T20:20:28.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:20:28.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:20:28.502Z] Configure a credential helper to remove this warning. See [2024-10-02T20:20:28.502Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:20:28.502Z] [2024-10-02T20:20:28.502Z] Login Succeeded [2024-10-02T20:20:28.502Z] ****.io [2024-10-02T20:20:28.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T20:20:28.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T20:20:28.771Z] Configure a credential helper to remove this warning. See [2024-10-02T20:20:28.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T20:20:28.771Z] [2024-10-02T20:20:28.771Z] Login Succeeded [2024-10-02T20:20:28.771Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T20:20:28.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T20:20:29.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T20:20:29.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T20:20:29.434Z] ========================================================= [2024-10-02T20:20:29.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-02T20:20:29.434Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:20:29.990Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-02T20:20:29.990Z] Sending build context to Docker daemon 130.6kB [2024-10-02T20:20:30.258Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T20:20:30.258Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-02T20:20:30.258Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-02T20:20:30.258Z] c6b39de5b339: Pulling fs layer [2024-10-02T20:20:30.258Z] a69c41024577: Pulling fs layer [2024-10-02T20:20:30.258Z] d6de4b400683: Pulling fs layer [2024-10-02T20:20:30.258Z] 35cb2a7552d0: Pulling fs layer [2024-10-02T20:20:30.258Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T20:20:30.258Z] 464afbd9ba4c: Pulling fs layer [2024-10-02T20:20:30.258Z] 00f215d4a9da: Pulling fs layer [2024-10-02T20:20:30.258Z] d496ad576159: Pulling fs layer [2024-10-02T20:20:30.258Z] 35cb2a7552d0: Waiting [2024-10-02T20:20:30.258Z] 00f215d4a9da: Waiting [2024-10-02T20:20:30.258Z] d496ad576159: Waiting [2024-10-02T20:20:30.258Z] 4f4fb700ef54: Waiting [2024-10-02T20:20:30.258Z] 464afbd9ba4c: Waiting [2024-10-02T20:20:30.258Z] a69c41024577: Verifying Checksum [2024-10-02T20:20:30.258Z] a69c41024577: Download complete [2024-10-02T20:20:30.258Z] 35cb2a7552d0: Verifying Checksum [2024-10-02T20:20:30.258Z] 35cb2a7552d0: Download complete [2024-10-02T20:20:30.527Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T20:20:30.527Z] 4f4fb700ef54: Download complete [2024-10-02T20:20:30.527Z] c6b39de5b339: Download complete [2024-10-02T20:20:30.527Z] 464afbd9ba4c: Verifying Checksum [2024-10-02T20:20:30.527Z] 464afbd9ba4c: Download complete [2024-10-02T20:20:30.797Z] d496ad576159: Verifying Checksum [2024-10-02T20:20:30.797Z] d496ad576159: Download complete [2024-10-02T20:20:31.390Z] c6b39de5b339: Pull complete [2024-10-02T20:20:31.974Z] a69c41024577: Pull complete [2024-10-02T20:20:32.242Z] d6de4b400683: Verifying Checksum [2024-10-02T20:20:32.242Z] d6de4b400683: Download complete [2024-10-02T20:20:33.657Z] 00f215d4a9da: Verifying Checksum [2024-10-02T20:20:33.657Z] 00f215d4a9da: Download complete [2024-10-02T20:20:45.986Z] d6de4b400683: Pull complete [2024-10-02T20:20:45.986Z] 35cb2a7552d0: Pull complete [2024-10-02T20:20:45.986Z] 4f4fb700ef54: Pull complete [2024-10-02T20:20:45.986Z] 464afbd9ba4c: Pull complete [2024-10-02T20:20:54.216Z] 00f215d4a9da: Pull complete [2024-10-02T20:20:55.656Z] d496ad576159: Pull complete [2024-10-02T20:20:55.656Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-02T20:20:55.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-02T20:20:55.656Z] ---> f246e2811388 [2024-10-02T20:20:55.656Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-02T20:20:57.590Z] ---> Running in 6ccaf245646a [2024-10-02T20:20:57.858Z] Removing intermediate container 6ccaf245646a [2024-10-02T20:20:57.858Z] ---> 0d446d69c3bd [2024-10-02T20:20:57.858Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T20:20:57.858Z] ---> Running in c8acf5dafda8 [2024-10-02T20:20:58.133Z] Removing intermediate container c8acf5dafda8 [2024-10-02T20:20:58.133Z] ---> 17e96bb8a453 [2024-10-02T20:20:58.133Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T20:20:58.133Z] ---> Running in 52718f2dde47 [2024-10-02T20:20:58.402Z] Removing intermediate container 52718f2dde47 [2024-10-02T20:20:58.402Z] ---> ce1ed7d28fd4 [2024-10-02T20:20:58.402Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T20:20:58.672Z] ---> Running in 20767aeaf474 [2024-10-02T20:20:58.942Z] Removing intermediate container 20767aeaf474 [2024-10-02T20:20:58.942Z] ---> da03a2b734dd [2024-10-02T20:20:58.942Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T20:20:58.942Z] ---> Running in 70e08137be30 [2024-10-02T20:21:00.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T20:21:00.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T20:21:01.332Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-02T20:21:01.332Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-02T20:21:01.332Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-02T20:21:01.332Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-02T20:21:01.601Z] Executing busybox-1.36.1-r5.trigger [2024-10-02T20:21:01.601Z] OK: 271 MiB in 56 packages [2024-10-02T20:21:02.569Z] Removing intermediate container 70e08137be30 [2024-10-02T20:21:02.569Z] ---> 9a9244e86d6f [2024-10-02T20:21:02.569Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-02T20:21:02.569Z] ---> Running in c8a30ffb3205 [2024-10-02T20:21:03.156Z] Removing intermediate container c8a30ffb3205 [2024-10-02T20:21:03.156Z] ---> db238f209e04 [2024-10-02T20:21:03.156Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-02T20:21:04.567Z] ---> ddb2db6b2b13 [2024-10-02T20:21:04.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T20:21:04.850Z] ---> Running in fe04d19b0a00 [2024-10-02T20:22:56.486Z] Removing intermediate container fe04d19b0a00 [2024-10-02T20:22:56.486Z] ---> b5b4bb9ef655 [2024-10-02T20:22:56.486Z] Step 11/12 : COPY . . [2024-10-02T20:22:56.486Z] ---> 5ff31639d111 [2024-10-02T20:22:56.486Z] Step 12/12 : RUN $MAKE [2024-10-02T20:22:56.486Z] ---> Running in 9931a9742446 [2024-10-02T20:22:56.486Z] noop [2024-10-02T20:22:56.486Z] Removing intermediate container 9931a9742446 [2024-10-02T20:22:56.486Z] ---> efdee5c9385a [2024-10-02T20:22:56.486Z] Successfully built efdee5c9385a [2024-10-02T20:22:56.486Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:22:57.151Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T20:22:57.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:22:57.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container [2024-10-02T20:22:57.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-02T20:22:58.701Z] $ docker top 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T20:22:59.617Z] + go version [2024-10-02T20:22:59.618Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-02T20:22:59.656Z] $ docker stop --time=1 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 [2024-10-02T20:23:01.269Z] $ docker rm -f --volumes 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:23:02.172Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T20:23:02.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:23:02.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container [2024-10-02T20:23:02.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-02T20:23:03.798Z] $ docker top e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T20:23:04.696Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-02T20:23:05.421Z] + make test [2024-10-02T20:23:05.421Z] go test ./... -coverprofile=coverage.out ./... [2024-10-02T20:23:12.062Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-02T20:26:33.893Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-10-02T20:26:33.893Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements [2024-10-02T20:26:33.893Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-02T20:26:33.893Z] go vet ./... [2024-10-02T20:27:12.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T20:27:12.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T20:27:12.742Z] ./bin/test-attribution-txt.sh [2024-10-02T20:27:12.742Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [2024-10-02T20:27:12.742Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-02T20:27:12.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T20:27:12.835Z] $ docker stop --time=1 e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f [2024-10-02T20:27:14.631Z] $ docker rm -f --volumes e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T20:27:16.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T20:27:16.212Z] Warning: overwriting stash ‘coverage-report’ [2024-10-02T20:27:16.609Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T20:27:17.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T20:27:17.607Z] + ls -al . [2024-10-02T20:27:17.607Z] total 244 [2024-10-02T20:27:17.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:23 . [2024-10-02T20:27:17.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:19 .. [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 2 20:20 .dockerignore [2024-10-02T20:27:17.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:20 .git [2024-10-02T20:27:17.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 .github [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 20:20 .gitignore [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 20:20 .golangci.yml [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 2 20:20 Attribution.txt [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 2 20:20 CHANGELOG.md [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 1687 Oct 2 20:20 Dockerfile [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 20:20 GOVERNANCE.md [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 2 20:20 Jenkinsfile [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 20:20 LICENSE [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 2016 Oct 2 20:20 Makefile [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 20:20 OWNERS.md [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 2 20:20 README.md [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 20:17 VERSION [2024-10-02T20:27:17.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:20 bin [2024-10-02T20:27:17.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 cmd [2024-10-02T20:27:17.607Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 2 20:26 coverage.out [2024-10-02T20:27:17.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:20 driver [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 2 20:20 go.mod [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 20:20 go.sum [2024-10-02T20:27:17.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 openapi [2024-10-02T20:27:17.607Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 2 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:27:18.054Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b --label arch=arm64 --label version=0.0.0 . [2024-10-02T20:27:18.054Z] Sending build context to Docker daemon 145.9kB [2024-10-02T20:27:18.327Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T20:27:18.327Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-02T20:27:18.327Z] ---> efdee5c9385a [2024-10-02T20:27:18.327Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-02T20:27:18.327Z] ---> Running in 527f897ab90e [2024-10-02T20:27:18.594Z] Removing intermediate container 527f897ab90e [2024-10-02T20:27:18.594Z] ---> d3f739a2fb04 [2024-10-02T20:27:18.594Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-02T20:27:18.594Z] ---> Running in 7fe504639ab3 [2024-10-02T20:27:18.864Z] Removing intermediate container 7fe504639ab3 [2024-10-02T20:27:18.864Z] ---> 1c4a0fcbce8b [2024-10-02T20:27:18.864Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-02T20:27:19.132Z] ---> Running in 58546ea42ea1 [2024-10-02T20:27:19.398Z] Removing intermediate container 58546ea42ea1 [2024-10-02T20:27:19.398Z] ---> ac733cff19bf [2024-10-02T20:27:19.398Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-02T20:27:19.398Z] ---> Running in c6f0b7830885 [2024-10-02T20:27:19.666Z] Removing intermediate container c6f0b7830885 [2024-10-02T20:27:19.666Z] ---> 020fb7e14f78 [2024-10-02T20:27:19.666Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-02T20:27:19.666Z] ---> Running in 75fbcfc5760b [2024-10-02T20:27:20.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T20:27:20.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T20:27:21.841Z] OK: 271 MiB in 56 packages [2024-10-02T20:27:22.795Z] Removing intermediate container 75fbcfc5760b [2024-10-02T20:27:22.795Z] ---> cd860159d82b [2024-10-02T20:27:22.795Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-02T20:27:22.795Z] ---> Running in bb760821e5cc [2024-10-02T20:27:23.060Z] Removing intermediate container bb760821e5cc [2024-10-02T20:27:23.060Z] ---> ecbbaa3962f3 [2024-10-02T20:27:23.060Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-02T20:27:24.015Z] ---> 80eb2d3387cf [2024-10-02T20:27:24.015Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T20:27:24.015Z] ---> Running in e1110b4edfd4 [2024-10-02T20:27:26.593Z] Removing intermediate container e1110b4edfd4 [2024-10-02T20:27:26.593Z] ---> 96fff77bd63a [2024-10-02T20:27:26.593Z] Step 11/26 : COPY . . [2024-10-02T20:27:26.593Z] ---> c2c7968eb7f8 [2024-10-02T20:27:26.593Z] Step 12/26 : RUN $MAKE [2024-10-02T20:27:26.865Z] ---> Running in f107f9a27a46 [2024-10-02T20:27:27.821Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-10-02T20:30:49.598Z] Removing intermediate container f107f9a27a46 [2024-10-02T20:30:49.598Z] ---> 29ab8700b0c1 [2024-10-02T20:30:49.598Z] Step 13/26 : FROM alpine:3.18 [2024-10-02T20:30:49.598Z] 3.18: Pulling from library/alpine [2024-10-02T20:30:49.598Z] 720f3032cd11: Pulling fs layer [2024-10-02T20:30:49.598Z] 720f3032cd11: Verifying Checksum [2024-10-02T20:30:49.598Z] 720f3032cd11: Download complete [2024-10-02T20:30:49.598Z] 720f3032cd11: Pull complete [2024-10-02T20:30:49.598Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T20:30:49.598Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T20:30:49.598Z] ---> 3e834921e367 [2024-10-02T20:30:49.598Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T20:30:49.598Z] ---> Running in 584ca9952aa6 [2024-10-02T20:30:49.598Z] Removing intermediate container 584ca9952aa6 [2024-10-02T20:30:49.598Z] ---> 480f830ea4d4 [2024-10-02T20:30:49.598Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-02T20:30:49.598Z] ---> Running in 91018c1c9f95 [2024-10-02T20:30:49.598Z] Removing intermediate container 91018c1c9f95 [2024-10-02T20:30:49.598Z] ---> 64d48078534d [2024-10-02T20:30:49.598Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-02T20:30:49.598Z] ---> Running in 3d74750b9dec [2024-10-02T20:30:49.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T20:30:49.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T20:30:49.598Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T20:30:49.598Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T20:30:49.598Z] OK: 8 MiB in 16 packages [2024-10-02T20:30:49.598Z] Removing intermediate container 3d74750b9dec [2024-10-02T20:30:49.598Z] ---> 85c22134f6b9 [2024-10-02T20:30:49.598Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-02T20:30:49.598Z] ---> Running in d04876e2fbfc [2024-10-02T20:30:49.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T20:30:50.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T20:30:51.097Z] OK: 8 MiB in 16 packages [2024-10-02T20:30:51.687Z] Removing intermediate container d04876e2fbfc [2024-10-02T20:30:51.687Z] ---> 7644ca351faa [2024-10-02T20:30:51.687Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-02T20:30:53.638Z] ---> d6412f157d00 [2024-10-02T20:30:53.638Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-02T20:30:53.903Z] ---> 1d83d081e39e [2024-10-02T20:30:53.903Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-02T20:30:54.485Z] ---> c948d6b3b7b0 [2024-10-02T20:30:54.485Z] Step 21/26 : EXPOSE 59986 [2024-10-02T20:30:54.485Z] ---> Running in 7abeb7617cec [2024-10-02T20:30:54.757Z] Removing intermediate container 7abeb7617cec [2024-10-02T20:30:54.757Z] ---> fde875e32a63 [2024-10-02T20:30:54.757Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-02T20:30:55.024Z] ---> Running in 735e0dd07cd1 [2024-10-02T20:30:55.288Z] Removing intermediate container 735e0dd07cd1 [2024-10-02T20:30:55.288Z] ---> 2fefd08d5ead [2024-10-02T20:30:55.288Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-02T20:30:55.288Z] ---> Running in dc42914adbf8 [2024-10-02T20:30:55.554Z] Removing intermediate container dc42914adbf8 [2024-10-02T20:30:55.554Z] ---> f979ba2a8150 [2024-10-02T20:30:55.554Z] Step 24/26 : LABEL arch=arm64 [2024-10-02T20:30:55.554Z] ---> Running in 1324d47f3c21 [2024-10-02T20:30:56.143Z] Removing intermediate container 1324d47f3c21 [2024-10-02T20:30:56.143Z] ---> a6304def8350 [2024-10-02T20:30:56.143Z] Step 25/26 : LABEL git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b [2024-10-02T20:30:56.143Z] ---> Running in a3faf8e2747b [2024-10-02T20:30:56.677Z] Removing intermediate container a3faf8e2747b [2024-10-02T20:30:56.677Z] ---> 67d63c800631 [2024-10-02T20:30:56.677Z] Step 26/26 : LABEL version=0.0.0 [2024-10-02T20:30:56.677Z] ---> Running in e4344eff8325 [2024-10-02T20:30:57.661Z] Removing intermediate container e4344eff8325 [2024-10-02T20:30:57.661Z] ---> 4bdbb5241f40 [2024-10-02T20:30:57.661Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T20:30:57.661Z] Successfully built 4bdbb5241f40 [2024-10-02T20:30:57.661Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:30:58.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T20:30:58.579Z] [2024-10-02T20:30:58.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:30:59.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T20:30:59.005Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-02T20:30:59.005Z] 8998bd30e6a1: Pulling fs layer [2024-10-02T20:30:59.005Z] 04944245beec: Pulling fs layer [2024-10-02T20:30:59.005Z] 699f458cf7ca: Pulling fs layer [2024-10-02T20:30:59.005Z] 765212b225bb: Pulling fs layer [2024-10-02T20:30:59.005Z] f23df028b6ca: Pulling fs layer [2024-10-02T20:30:59.005Z] d65c8cfc05b1: Pulling fs layer [2024-10-02T20:30:59.005Z] 2437ff75d9bd: Pulling fs layer [2024-10-02T20:30:59.005Z] 765212b225bb: Waiting [2024-10-02T20:30:59.005Z] f23df028b6ca: Waiting [2024-10-02T20:30:59.005Z] d65c8cfc05b1: Waiting [2024-10-02T20:30:59.005Z] 2437ff75d9bd: Waiting [2024-10-02T20:30:59.271Z] 04944245beec: Verifying Checksum [2024-10-02T20:30:59.271Z] 04944245beec: Download complete [2024-10-02T20:30:59.271Z] 765212b225bb: Verifying Checksum [2024-10-02T20:30:59.271Z] 765212b225bb: Download complete [2024-10-02T20:30:59.271Z] f23df028b6ca: Download complete [2024-10-02T20:30:59.271Z] d65c8cfc05b1: Download complete [2024-10-02T20:30:59.540Z] 699f458cf7ca: Verifying Checksum [2024-10-02T20:30:59.540Z] 699f458cf7ca: Download complete [2024-10-02T20:30:59.808Z] 8998bd30e6a1: Download complete [2024-10-02T20:31:02.381Z] 2437ff75d9bd: Verifying Checksum [2024-10-02T20:31:02.381Z] 2437ff75d9bd: Download complete [2024-10-02T20:31:04.326Z] 8998bd30e6a1: Pull complete [2024-10-02T20:31:04.914Z] 04944245beec: Pull complete [2024-10-02T20:31:06.315Z] 699f458cf7ca: Pull complete [2024-10-02T20:31:06.581Z] 765212b225bb: Pull complete [2024-10-02T20:31:07.535Z] f23df028b6ca: Pull complete [2024-10-02T20:31:07.535Z] d65c8cfc05b1: Pull complete [2024-10-02T20:31:25.716Z] 2437ff75d9bd: Pull complete [2024-10-02T20:31:25.716Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-02T20:31:25.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T20:31:25.716Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:31:26.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container [2024-10-02T20:31:26.125Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-02T20:31:28.759Z] $ docker top 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:29.686Z] ---> job-cost.sh [2024-10-02T20:31:29.686Z] lf-activate-venv: SKIPPING [2024-10-02T20:31:29.686Z] INFO: No Stack... [2024-10-02T20:31:29.952Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-02T20:31:30.908Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T20:31:31.265Z] + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 [2024-10-02T20:31:31.265Z] [Pipeline] lock [2024-10-02T20:31:31.351Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [2024-10-02T20:31:31.358Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] did not exist. Created. [2024-10-02T20:31:31.365Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T20:31:31.792Z] /w/workspace/device-rest-go/1@tmp/durable-e7094f2b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-02T20:31:32.164Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-02T20:31:32.218Z] Warning: overwriting stash ‘stack-cost’ [2024-10-02T20:31:32.261Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T20:31:32.283Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T20:31:32.379Z] $ docker stop --time=1 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 [2024-10-02T20:31:33.880Z] $ docker rm -f --volumes 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-02T20:31:35.260Z] provisioning config files... [2024-10-02T20:31:35.266Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config2901243787009913744tmp [Pipeline] { [Pipeline] sh [2024-10-02T20:31:35.730Z] + set +x [2024-10-02T20:31:35.730Z] + curl -s https://codecov.io/bash [2024-10-02T20:31:35.730Z] + bash -s -- [2024-10-02T20:31:35.990Z] [2024-10-02T20:31:35.990Z] _____ _ [2024-10-02T20:31:35.990Z] / ____| | | [2024-10-02T20:31:35.990Z] | | ___ __| | ___ ___ _____ __ [2024-10-02T20:31:35.990Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-02T20:31:35.990Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-02T20:31:35.990Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-02T20:31:35.990Z] Bash-1.0.6 [2024-10-02T20:31:35.990Z] [2024-10-02T20:31:35.990Z] [2024-10-02T20:31:35.990Z] ==> git version 2.25.1 found [2024-10-02T20:31:35.990Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-02T20:31:35.990Z] Release-Date: 2020-01-08 [2024-10-02T20:31:35.990Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-02T20:31:35.990Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-02T20:31:35.990Z] ==> Jenkins CI detected. [2024-10-02T20:31:35.990Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-412 [2024-10-02T20:31:35.990Z] project root: . [2024-10-02T20:31:35.990Z] --> token set from env [2024-10-02T20:31:35.990Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-02T20:31:35.990Z] ==> Running gcov in . (disable via -X gcov) [2024-10-02T20:31:35.990Z] ==> Python coveragepy not found [2024-10-02T20:31:35.990Z] ==> Searching for coverage reports in: [2024-10-02T20:31:35.990Z] + . [2024-10-02T20:31:35.990Z] -> Found 1 reports [2024-10-02T20:31:35.990Z] ==> Detecting git/mercurial file structure [2024-10-02T20:31:35.990Z] ==> Reading reports [2024-10-02T20:31:35.990Z] + ./coverage.out bytes=14499 [2024-10-02T20:31:35.990Z] ==> Appending adjustments [2024-10-02T20:31:35.990Z] https://docs.codecov.io/docs/fixing-reports [2024-10-02T20:31:35.990Z] + Found adjustments [2024-10-02T20:31:35.990Z] ==> Gzipping contents [2024-10-02T20:31:35.990Z] 4.0K /tmp/codecov.pTwMtC.gz [2024-10-02T20:31:35.990Z] ==> Uploading reports [2024-10-02T20:31:35.990Z] url: https://codecov.io [2024-10-02T20:31:35.990Z] query: branch=PR-412&commit=ec55248e5e01078cd56faecef1527e23b9a3c47b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=412&job=&cmd_args= [2024-10-02T20:31:35.990Z] -> Pinging Codecov [2024-10-02T20:31:35.990Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-412&commit=ec55248e5e01078cd56faecef1527e23b9a3c47b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=412&job=&cmd_args= [2024-10-02T20:31:36.249Z] -> Uploading to [2024-10-02T20:31:36.249Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/ec55248e5e01078cd56faecef1527e23b9a3c47b/3196e3a6-0592-4e83-925a-cf0a2ac4e781.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T203136Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=cfd168b0696c90d45896d11e0b47be876ff5cc22b26847346bb61bac19b0fb52 [2024-10-02T20:31:36.249Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T20:31:36.249Z] Dload Upload Total Spent Left Speed [2024-10-02T20:31:36.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8996 --:--:-- --:--:-- --:--:-- 8996 [2024-10-02T20:31:36.509Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] } [2024-10-02T20:31:36.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-02T20:31:38.702Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-412/archives ] [2024-10-02T20:31:38.702Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-412/archives [2024-10-02T20:31:38.702Z] total 16 [2024-10-02T20:31:38.702Z] drwxr-xr-x 3 root root 4096 Oct 2 20:19 . [2024-10-02T20:31:38.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 20:19 .. [2024-10-02T20:31:38.702Z] drwxr-xr-x 2 root root 4096 Oct 2 20:19 cost [2024-10-02T20:31:38.702Z] -rw-r--r-- 1 root root 86 Oct 2 20:19 cost.csv [2024-10-02T20:31:38.702Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-412/archives [2024-10-02T20:31:38.702Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-412/archives [2024-10-02T20:31:38.702Z] total 16 [2024-10-02T20:31:38.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:19 . [2024-10-02T20:31:38.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 20:19 .. [2024-10-02T20:31:38.702Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 20:19 cost [2024-10-02T20:31:38.702Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 2 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:39.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:39.956Z] ---> package-listing.sh [2024-10-02T20:31:39.956Z] ++ facter osfamily [2024-10-02T20:31:39.956Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-02T20:31:39.956Z] + OS_FAMILY=debian [2024-10-02T20:31:39.956Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-412 [2024-10-02T20:31:39.956Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-02T20:31:39.956Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-02T20:31:39.956Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-02T20:31:39.956Z] + PACKAGES=/tmp/packages_start.txt [2024-10-02T20:31:39.956Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-412 ']' [2024-10-02T20:31:39.956Z] + PACKAGES=/tmp/packages_end.txt [2024-10-02T20:31:39.956Z] + case "${OS_FAMILY}" in [2024-10-02T20:31:39.956Z] + dpkg -l [2024-10-02T20:31:39.956Z] + grep '^ii' [2024-10-02T20:31:40.220Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-02T20:31:40.220Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-02T20:31:40.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-02T20:31:40.220Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-412 ']' [2024-10-02T20:31:40.220Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-412/archives/ [2024-10-02T20:31:40.220Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-412/archives/ [Pipeline] echo [2024-10-02T20:31:40.262Z] 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-rest-go_PR-412/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-02T20:31:40.562Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T20:31:41.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T20:31:41.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T20:31:41.379Z] prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container [2024-10-02T20:31:41.407Z] $ 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-rest-go_PR-412/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-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-02T20:31:41.586Z] $ docker top d5ded8149139ea4ae74cfef66a06ca70c63e463d89e58ab3f66f72cef4816363 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T20:31:41.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-02T20:31:42.319Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-02T20:31:42.636Z] + ls /var/log/sa-host [2024-10-02T20:31:42.636Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T20:31:42.877Z] provisioning config files... [2024-10-02T20:31:42.886Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config6647004486116924772tmp [Pipeline] { [Pipeline] echo [2024-10-02T20:31:42.957Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:43.279Z] ---> create-netrc.sh [Pipeline] } [2024-10-02T20:31:43.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:43.737Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-02T20:31:43.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:44.171Z] ---> sudo-logs.sh [2024-10-02T20:31:44.171Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-02T20:31:44.279Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:44.642Z] ---> job-cost.sh [2024-10-02T20:31:44.642Z] lf-activate-venv: SKIPPING [2024-10-02T20:31:44.642Z] DEBUG: total: 0.2199999988079071 [2024-10-02T20:31:44.642Z] INFO: Retrieving Stack Cost... [2024-10-02T20:31:44.925Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T20:31:45.517Z] INFO: Archiving Costs [Pipeline] echo [2024-10-02T20:31:45.562Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T20:31:45.887Z] ---> logs-deploy.sh [2024-10-02T20:31:45.887Z] lf-activate-venv: SKIPPING [2024-10-02T20:31:45.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-412/1 [2024-10-02T20:31:45.887Z] INFO: archiving workspace using pattern(s): [2024-10-02T20:31:46.823Z] Archives upload complete. [2024-10-02T20:31:46.823Z] INFO: archiving logs to Nexus