Pull request #403 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bae2d3ac7c969b8e164b4fc53d0f906d180c852f+e4e238686b828caed34ec9ef1ec6e6067dee5a1b (7257af899a257cdf60c2d592fc33b3347d5371a1) 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-ssh2565749194209265076.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh1563525651817525718.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 590556114a56c6d90cc8043840e039c2f74196dc 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-403/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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6780158985187725202.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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16853122216911312835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh17044465771572982926.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-403/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-403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8839330442822757179.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 590556114a56c6d90cc8043840e039c2f74196dc 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-6782 in /w/workspace/gexfoundry_device-rest-go_PR-403 [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-403 # 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/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e4e238686b828caed34ec9ef1ec6e6067dee5a1b into PR head commit bae2d3ac7c969b8e164b4fc53d0f906d180c852f Merge succeeded, producing bae2d3ac7c969b8e164b4fc53d0f906d180c852f Checking out Revision bae2d3ac7c969b8e164b4fc53d0f906d180c852f (PR-403) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # 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 e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-30T20:42:44.757Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-30T20:42:44.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-30T20:42:45.106Z] ========================================================= [2024-07-30T20:42:45.106Z] EdgeX Global Pipelines Version Info [2024-07-30T20:42:45.106Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:42:45.883Z] ------------------- [2024-07-30T20:42:45.883Z] stable info: [2024-07-30T20:42:45.883Z] ------------------- [2024-07-30T20:42:45.883Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T20:42:45.883Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T20:42:45.883Z] Message: update stable to v1.0.260 [2024-07-30T20:42:46.453Z] ------------------- [2024-07-30T20:42:46.453Z] experimental info: [2024-07-30T20:42:46.453Z] ------------------- [2024-07-30T20:42:46.453Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T20:42:46.453Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-30T20:42:46.453Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-30T20:42:46.685Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-30T20:42:46.743Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-30T20:42:46.798Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-30T20:42:46.856Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-30T20:42:46.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-30T20:42:46.977Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-30T20:42:47.037Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-30T20:42:47.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-30T20:42:47.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-30T20:42:47.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-30T20:42:47.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-30T20:42:47.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-30T20:42:47.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-30T20:42:47.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-30T20:42:47.510Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T20:42:47.571Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T20:42:47.627Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T20:42:47.686Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T20:42:47.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-30T20:42:47.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-30T20:42:47.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-30T20:42:47.915Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-30T20:42:47.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-30T20:42:48.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-30T20:42:48.101Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-30T20:42:48.164Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-30T20:42:48.225Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-30T20:42:48.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-403 [Pipeline] echo [2024-07-30T20:42:48.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-403 [Pipeline] echo [2024-07-30T20:42:48.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-403 [Pipeline] echo [2024-07-30T20:42:48.457Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo [2024-07-30T20:42:48.516Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bae2d3a [Pipeline] echo [2024-07-30T20:42:48.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T20:42:48.732Z] provisioning config files... [2024-07-30T20:42:48.747Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config4305760488020052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:42:49.148Z] ---> ****-login.sh [2024-07-30T20:42:49.148Z] nexus3.edgexfoundry.org:10001 [2024-07-30T20:42:49.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:42:49.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:42:49.409Z] Configure a credential helper to remove this warning. See [2024-07-30T20:42:49.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:42:49.409Z] [2024-07-30T20:42:49.409Z] Login Succeeded [2024-07-30T20:42:49.409Z] nexus3.edgexfoundry.org:10002 [2024-07-30T20:42:49.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:42:49.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:42:49.671Z] Configure a credential helper to remove this warning. See [2024-07-30T20:42:49.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:42:49.671Z] [2024-07-30T20:42:49.671Z] Login Succeeded [2024-07-30T20:42:49.671Z] nexus3.edgexfoundry.org:10003 [2024-07-30T20:42:49.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:42:49.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:42:49.671Z] Configure a credential helper to remove this warning. See [2024-07-30T20:42:49.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:42:49.671Z] [2024-07-30T20:42:49.671Z] Login Succeeded [2024-07-30T20:42:49.671Z] nexus3.edgexfoundry.org:10004 [2024-07-30T20:42:49.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:42:49.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:42:49.932Z] Configure a credential helper to remove this warning. See [2024-07-30T20:42:49.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:42:49.932Z] [2024-07-30T20:42:49.932Z] Login Succeeded [2024-07-30T20:42:49.933Z] ****.io [2024-07-30T20:42:49.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:42:50.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:42:50.194Z] Configure a credential helper to remove this warning. See [2024-07-30T20:42:50.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:42:50.194Z] [2024-07-30T20:42:50.194Z] Login Succeeded [2024-07-30T20:42:50.194Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T20:42:50.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-30T20:42:51.082Z] + git rev-list -1 --merges bae2d3ac7c969b8e164b4fc53d0f906d180c852f~1..bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo [2024-07-30T20:42:51.139Z] -----------> git rev-list -1 --merges bae2d3ac7c969b8e164b4fc53d0f906d180c852f~1..bae2d3ac7c969b8e164b4fc53d0f906d180c852f bae2d3ac7c969b8e164b4fc53d0f906d180c852f [false] [Pipeline] sh [2024-07-30T20:42:51.473Z] + git log --format=format:%s -1 bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo [2024-07-30T20:42:51.525Z] ========================================================= [2024-07-30T20:42:51.525Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-30T20:42:51.525Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T20:42:52.007Z] + git log --format=format:%s -1 bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo [2024-07-30T20:42:52.046Z] [semverPrep] GIT_COMMIT: bae2d3ac7c969b8e164b4fc53d0f906d180c852f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-30T20:42:52.087Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-30T20:42:52.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-30T20:42:52.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-30T20:42:52.503Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-30T20:42:52.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-30T20:42:52.503Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-07-30T20:42:52.503Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-30T20:42:52.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:42:53.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T20:42:53.025Z] [2024-07-30T20:42:53.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:42:53.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T20:42:53.434Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-30T20:42:53.434Z] b85a868b505f: Pulling fs layer [2024-07-30T20:42:53.434Z] e2be974225ed: Pulling fs layer [2024-07-30T20:42:53.434Z] 339a4e72a1f5: Pulling fs layer [2024-07-30T20:42:53.434Z] 988bab9f4d93: Pulling fs layer [2024-07-30T20:42:53.434Z] 1469e6f7b9e6: Pulling fs layer [2024-07-30T20:42:53.434Z] eaf3925da568: Pulling fs layer [2024-07-30T20:42:53.434Z] bab4dde63d76: Pulling fs layer [2024-07-30T20:42:53.434Z] bde34c3a00c8: Pulling fs layer [2024-07-30T20:42:53.434Z] b352a97aabf1: Pulling fs layer [2024-07-30T20:42:53.434Z] 4872d77fe225: Pulling fs layer [2024-07-30T20:42:53.434Z] 5851b861e8e6: Pulling fs layer [2024-07-30T20:42:53.434Z] eaf3925da568: Waiting [2024-07-30T20:42:53.434Z] 988bab9f4d93: Waiting [2024-07-30T20:42:53.434Z] bab4dde63d76: Waiting [2024-07-30T20:42:53.434Z] 1469e6f7b9e6: Waiting [2024-07-30T20:42:53.434Z] bde34c3a00c8: Waiting [2024-07-30T20:42:53.434Z] b352a97aabf1: Waiting [2024-07-30T20:42:53.434Z] 4872d77fe225: Waiting [2024-07-30T20:42:53.434Z] 5851b861e8e6: Waiting [2024-07-30T20:42:53.434Z] e2be974225ed: Download complete [2024-07-30T20:42:53.434Z] 988bab9f4d93: Verifying Checksum [2024-07-30T20:42:53.434Z] 988bab9f4d93: Download complete [2024-07-30T20:42:53.434Z] 1469e6f7b9e6: Verifying Checksum [2024-07-30T20:42:53.434Z] 1469e6f7b9e6: Download complete [2024-07-30T20:42:53.692Z] eaf3925da568: Verifying Checksum [2024-07-30T20:42:53.692Z] eaf3925da568: Download complete [2024-07-30T20:42:53.692Z] 339a4e72a1f5: Verifying Checksum [2024-07-30T20:42:53.692Z] 339a4e72a1f5: Download complete [2024-07-30T20:42:53.692Z] bde34c3a00c8: Verifying Checksum [2024-07-30T20:42:53.692Z] bde34c3a00c8: Download complete [2024-07-30T20:42:53.692Z] b352a97aabf1: Download complete [2024-07-30T20:42:53.692Z] 4872d77fe225: Verifying Checksum [2024-07-30T20:42:53.692Z] 4872d77fe225: Download complete [2024-07-30T20:42:53.692Z] 5851b861e8e6: Download complete [2024-07-30T20:42:53.692Z] b85a868b505f: Verifying Checksum [2024-07-30T20:42:53.692Z] b85a868b505f: Download complete [2024-07-30T20:42:53.952Z] bab4dde63d76: Verifying Checksum [2024-07-30T20:42:53.952Z] bab4dde63d76: Download complete [2024-07-30T20:42:54.894Z] b85a868b505f: Pull complete [2024-07-30T20:42:55.178Z] e2be974225ed: Pull complete [2024-07-30T20:42:55.440Z] 339a4e72a1f5: Pull complete [2024-07-30T20:42:55.700Z] 988bab9f4d93: Pull complete [2024-07-30T20:42:55.959Z] 1469e6f7b9e6: Pull complete [2024-07-30T20:42:55.959Z] eaf3925da568: Pull complete [2024-07-30T20:42:57.869Z] bab4dde63d76: Pull complete [2024-07-30T20:42:57.869Z] bde34c3a00c8: Pull complete [2024-07-30T20:42:57.869Z] b352a97aabf1: Pull complete [2024-07-30T20:42:58.129Z] 4872d77fe225: Pull complete [2024-07-30T20:42:58.129Z] 5851b861e8e6: Pull complete [2024-07-30T20:42:58.129Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-30T20:42:58.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T20:42:58.129Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:42:58.454Z] prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container [2024-07-30T20:42:58.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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-07-30T20:43:01.111Z] $ docker top dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a -eo pid,comm [2024-07-30T20:43:01.171Z] 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-07-30T20:43:01.171Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-30T20:43:01.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T20:43:01.337Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T20:43:01.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T20:43:01.452Z] $ docker exec dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent [2024-07-30T20:43:01.572Z] SSH_AUTH_SOCK=/tmp/ssh-EtDKxUdNH4oT/agent.32 [2024-07-30T20:43:01.572Z] SSH_AGENT_PID=38 [2024-07-30T20:43:01.579Z] Running ssh-add (command line suppressed) [2024-07-30T20:43:01.667Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_13431196461642640861.key (/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_13431196461642640861.key) [2024-07-30T20:43:01.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T20:43:02.060Z] + git tag --points-at HEAD [Pipeline] } [2024-07-30T20:43:02.088Z] $ docker exec --env ******** --env ******** dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent -k [2024-07-30T20:43:02.192Z] unset SSH_AUTH_SOCK; [2024-07-30T20:43:02.193Z] unset SSH_AGENT_PID; [2024-07-30T20:43:02.193Z] echo Agent pid 38 killed; [2024-07-30T20:43:02.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-30T20:43:02.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T20:43:02.331Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T20:43:02.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T20:43:02.456Z] $ docker exec dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent [2024-07-30T20:43:02.560Z] SSH_AUTH_SOCK=/tmp/ssh-BAticypWe8q8/agent.71 [2024-07-30T20:43:02.560Z] SSH_AGENT_PID=77 [2024-07-30T20:43:02.564Z] Running ssh-add (command line suppressed) [2024-07-30T20:43:02.660Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_6986588944250690335.key (/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_6986588944250690335.key) [2024-07-30T20:43:02.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T20:43:03.027Z] + git semver init [2024-07-30T20:43:03.301Z] 2024-07-30 20:43:03,269 [run_init] DEBUG init version:0.0.0 force:False [2024-07-30T20:43:03.301Z] 2024-07-30 20:43:03,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver [2024-07-30T20:43:03.301Z] 2024-07-30 20:43:03,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-403/.semver [2024-07-30T20:43:03.301Z] 2024-07-30 20:43:03,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-403/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403, universal_newlines=False, shell=None, istream=None) [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,559 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-403/.git/info/exclude [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 with force:False [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,560 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,564 [execute] INFO git cat-file --batch-check [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,571 [execute] INFO git cat-file --batch [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T20:43:04.690Z] 2024-07-30 20:43:04,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 [2024-07-30T20:43:04.690Z] 0.0.0 [Pipeline] } [2024-07-30T20:43:04.718Z] $ docker exec --env ******** --env ******** dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent -k [2024-07-30T20:43:04.820Z] unset SSH_AUTH_SOCK; [2024-07-30T20:43:04.820Z] unset SSH_AGENT_PID; [2024-07-30T20:43:04.820Z] echo Agent pid 77 killed; [2024-07-30T20:43:04.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-30T20:43:05.284Z] + git semver [Pipeline] } [2024-07-30T20:43:05.571Z] $ docker stop --time=1 dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a [2024-07-30T20:43:06.888Z] $ docker rm -f --volumes dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T20:43:07.304Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-30T20:43:07.619Z] Stashed 1 file(s) [Pipeline] echo [2024-07-30T20:43:07.646Z] [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-07-30T20:43:08.422Z] provisioning config files... [2024-07-30T20:43:08.433Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config482779785479221795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:43:08.807Z] ---> ****-login.sh [2024-07-30T20:43:08.807Z] nexus3.edgexfoundry.org:10001 [2024-07-30T20:43:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:43:08.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:43:08.808Z] Configure a credential helper to remove this warning. See [2024-07-30T20:43:08.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:43:08.808Z] [2024-07-30T20:43:08.808Z] Login Succeeded [2024-07-30T20:43:08.808Z] nexus3.edgexfoundry.org:10002 [2024-07-30T20:43:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:43:08.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:43:08.808Z] Configure a credential helper to remove this warning. See [2024-07-30T20:43:08.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:43:08.808Z] [2024-07-30T20:43:08.808Z] Login Succeeded [2024-07-30T20:43:08.808Z] nexus3.edgexfoundry.org:10003 [2024-07-30T20:43:09.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:43:09.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:43:09.070Z] Configure a credential helper to remove this warning. See [2024-07-30T20:43:09.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:43:09.070Z] [2024-07-30T20:43:09.070Z] Login Succeeded [2024-07-30T20:43:09.070Z] nexus3.edgexfoundry.org:10004 [2024-07-30T20:43:09.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:43:09.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:43:09.070Z] Configure a credential helper to remove this warning. See [2024-07-30T20:43:09.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:43:09.070Z] [2024-07-30T20:43:09.070Z] Login Succeeded [2024-07-30T20:43:09.070Z] ****.io [2024-07-30T20:43:09.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:43:09.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:43:09.331Z] Configure a credential helper to remove this warning. See [2024-07-30T20:43:09.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:43:09.331Z] [2024-07-30T20:43:09.331Z] Login Succeeded [2024-07-30T20:43:09.331Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T20:43:09.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T20:43:09.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T20:43:09.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T20:43:09.711Z] ========================================================= [2024-07-30T20:43:09.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-30T20:43:09.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:43:10.243Z] + 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-07-30T20:43:10.243Z] Sending build context to Docker daemon 16.56MB [2024-07-30T20:43:10.243Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T20:43:10.243Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-30T20:43:10.243Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-30T20:43:10.243Z] 619be1103602: Pulling fs layer [2024-07-30T20:43:10.243Z] 7862e08f4a3e: Pulling fs layer [2024-07-30T20:43:10.243Z] 5df492c9dc93: Pulling fs layer [2024-07-30T20:43:10.244Z] 7629e6793208: Pulling fs layer [2024-07-30T20:43:10.244Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T20:43:10.244Z] fb5054dd5b73: Pulling fs layer [2024-07-30T20:43:10.244Z] eeca6798cff9: Pulling fs layer [2024-07-30T20:43:10.244Z] aa269ceb94a6: Pulling fs layer [2024-07-30T20:43:10.244Z] ada007ff1a6a: Pulling fs layer [2024-07-30T20:43:10.244Z] fb5054dd5b73: Waiting [2024-07-30T20:43:10.244Z] eeca6798cff9: Waiting [2024-07-30T20:43:10.244Z] 7629e6793208: Waiting [2024-07-30T20:43:10.244Z] aa269ceb94a6: Waiting [2024-07-30T20:43:10.244Z] ada007ff1a6a: Waiting [2024-07-30T20:43:10.244Z] 4f4fb700ef54: Waiting [2024-07-30T20:43:10.503Z] 7862e08f4a3e: Download complete [2024-07-30T20:43:10.503Z] 7629e6793208: Verifying Checksum [2024-07-30T20:43:10.503Z] 7629e6793208: Download complete [2024-07-30T20:43:10.503Z] fb5054dd5b73: Download complete [2024-07-30T20:43:10.503Z] 619be1103602: Verifying Checksum [2024-07-30T20:43:10.503Z] 619be1103602: Download complete [2024-07-30T20:43:10.503Z] eeca6798cff9: Download complete [2024-07-30T20:43:10.503Z] 619be1103602: Pull complete [2024-07-30T20:43:10.503Z] ada007ff1a6a: Verifying Checksum [2024-07-30T20:43:10.503Z] ada007ff1a6a: Download complete [2024-07-30T20:43:10.763Z] 7862e08f4a3e: Pull complete [2024-07-30T20:43:10.763Z] 5df492c9dc93: Verifying Checksum [2024-07-30T20:43:10.763Z] 5df492c9dc93: Download complete [2024-07-30T20:43:11.331Z] aa269ceb94a6: Verifying Checksum [2024-07-30T20:43:11.331Z] aa269ceb94a6: Download complete [2024-07-30T20:43:14.625Z] 5df492c9dc93: Pull complete [2024-07-30T20:43:14.625Z] 7629e6793208: Pull complete [2024-07-30T20:43:14.625Z] 4f4fb700ef54: Pull complete [2024-07-30T20:43:14.625Z] fb5054dd5b73: Pull complete [2024-07-30T20:43:14.625Z] eeca6798cff9: Pull complete [2024-07-30T20:43:17.158Z] aa269ceb94a6: Pull complete [2024-07-30T20:43:17.417Z] ada007ff1a6a: Pull complete [2024-07-30T20:43:17.417Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-30T20:43:17.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-30T20:43:17.417Z] ---> f489d0715acc [2024-07-30T20:43:17.417Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-30T20:43:21.683Z] ---> Running in ac56a479b517 [2024-07-30T20:43:21.683Z] Removing intermediate container ac56a479b517 [2024-07-30T20:43:21.683Z] ---> ddd3a6e74c8d [2024-07-30T20:43:21.683Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T20:43:21.683Z] ---> Running in fe600bdcd9c2 [2024-07-30T20:43:21.683Z] Removing intermediate container fe600bdcd9c2 [2024-07-30T20:43:21.683Z] ---> aec33c7508fb [2024-07-30T20:43:21.683Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T20:43:21.683Z] ---> Running in 195b7696db62 [2024-07-30T20:43:21.683Z] Removing intermediate container 195b7696db62 [2024-07-30T20:43:21.683Z] ---> 6030dbf52b21 [2024-07-30T20:43:21.683Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T20:43:21.683Z] ---> Running in 3cb472238a92 [2024-07-30T20:43:21.683Z] Removing intermediate container 3cb472238a92 [2024-07-30T20:43:21.683Z] ---> 9ddbbe9fbc1d [2024-07-30T20:43:21.683Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T20:43:21.683Z] ---> Running in 0f1af3dd8288 [2024-07-30T20:43:21.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T20:43:22.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T20:43:22.462Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T20:43:22.462Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-30T20:43:22.462Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T20:43:22.462Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T20:43:22.462Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T20:43:22.462Z] OK: 268 MiB in 56 packages [2024-07-30T20:43:23.030Z] Removing intermediate container 0f1af3dd8288 [2024-07-30T20:43:23.030Z] ---> fe2103727538 [2024-07-30T20:43:23.030Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-30T20:43:23.030Z] ---> Running in 4b8a8fd15762 [2024-07-30T20:43:23.191Z] Still waiting to schedule task [2024-07-30T20:43:23.192Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-30T20:43:23.289Z] Removing intermediate container 4b8a8fd15762 [2024-07-30T20:43:23.290Z] ---> f794d652a952 [2024-07-30T20:43:23.290Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-30T20:43:23.290Z] ---> 1d9355983393 [2024-07-30T20:43:23.290Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T20:43:23.290Z] ---> Running in dba6532a5394 [2024-07-30T20:44:19.563Z] Removing intermediate container dba6532a5394 [2024-07-30T20:44:19.563Z] ---> 90db7cdb075c [2024-07-30T20:44:19.563Z] Step 11/12 : COPY . . [2024-07-30T20:44:19.563Z] ---> b04fba7ef0bb [2024-07-30T20:44:19.563Z] Step 12/12 : RUN $MAKE [2024-07-30T20:44:19.563Z] ---> Running in 348350b19f44 [2024-07-30T20:44:19.563Z] noop [2024-07-30T20:44:19.563Z] Removing intermediate container 348350b19f44 [2024-07-30T20:44:19.563Z] ---> f7bbe08a8088 [2024-07-30T20:44:19.563Z] Successfully built f7bbe08a8088 [2024-07-30T20:44:19.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:44:20.058Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T20:44:20.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:44:20.232Z] prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container [2024-07-30T20:44:20.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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-07-30T20:44:20.588Z] $ docker top 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T20:44:21.006Z] + go version [2024-07-30T20:44:21.006Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-30T20:44:21.041Z] $ docker stop --time=1 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 [2024-07-30T20:44:22.328Z] $ docker rm -f --volumes 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:44:23.144Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T20:44:23.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:44:23.314Z] prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container [2024-07-30T20:44:23.340Z] $ 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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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-07-30T20:44:23.679Z] $ docker top 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T20:44:24.091Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-403 [Pipeline] fileExists [Pipeline] sh [2024-07-30T20:44:24.479Z] + make test [2024-07-30T20:44:24.479Z] go test ./... -coverprofile=coverage.out ./... [2024-07-30T20:44:26.423Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-30T20:44:45.118Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-30T20:44:45.118Z] ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements [2024-07-30T20:44:55.942Z] go vet ./... [2024-07-30T20:45:01.213Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T20:45:01.213Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T20:45:01.213Z] ./bin/test-attribution-txt.sh [2024-07-30T20:45:01.213Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-30T20:45:01.213Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T20:45:01.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T20:45:01.315Z] $ docker stop --time=1 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 [2024-07-30T20:45:02.826Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6783 in /w/workspace/gexfoundry_device-rest-go_PR-403 [2024-07-30T20:45:05.298Z] $ docker rm -f --volumes 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-07-30T20:45:05.746Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-07-30T20:45:05.865Z] The recommended git tool is: git [2024-07-30T20:45:05.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T20:45:06.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-30T20:45:06.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T20:45:07.111Z] + ls -al . [2024-07-30T20:45:07.111Z] total 248 [2024-07-30T20:45:07.111Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 20:44 . [2024-07-30T20:45:07.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 20:42 .. [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 20:42 .dockerignore [2024-07-30T20:45:07.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:44 .git [2024-07-30T20:45:07.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 .github [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 30 20:42 .gitignore [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 20:42 .golangci.yml [2024-07-30T20:45:07.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 20:43 .semver [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 30 20:42 Attribution.txt [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 30 20:42 CHANGELOG.md [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 30 20:42 Dockerfile [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 20:42 GOVERNANCE.md [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 20:42 Jenkinsfile [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 20:42 LICENSE [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 30 20:42 Makefile [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 30 20:42 OWNERS.md [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 30 20:42 README.md [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 20:43 VERSION [2024-07-30T20:45:07.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:42 bin [2024-07-30T20:45:07.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 cmd [2024-07-30T20:45:07.111Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 30 20:44 coverage.out [2024-07-30T20:45:07.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:42 driver [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 30 20:42 go.mod [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 20:42 go.sum [2024-07-30T20:45:07.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 openapi [2024-07-30T20:45:07.111Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:45:07.543Z] + 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=bae2d3ac7c969b8e164b4fc53d0f906d180c852f --label arch=amd64 --label version=0.0.0 . [2024-07-30T20:45:07.543Z] Sending build context to Docker daemon 16.57MB [2024-07-30T20:45:07.543Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T20:45:07.543Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-30T20:45:07.543Z] ---> f7bbe08a8088 [2024-07-30T20:45:07.543Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-30T20:45:07.802Z] ---> Running in 0cb427c40642 [2024-07-30T20:45:07.802Z] Removing intermediate container 0cb427c40642 [2024-07-30T20:45:07.802Z] ---> 627c1b903e70 [2024-07-30T20:45:07.802Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T20:45:07.802Z] ---> Running in 25fd47242643 [2024-07-30T20:45:08.070Z] Removing intermediate container 25fd47242643 [2024-07-30T20:45:08.070Z] ---> 7758f7279f33 [2024-07-30T20:45:08.070Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T20:45:08.070Z] ---> Running in df44ce9eb4d3 [2024-07-30T20:45:08.070Z] Removing intermediate container df44ce9eb4d3 [2024-07-30T20:45:08.070Z] ---> 11a01e25c343 [2024-07-30T20:45:08.070Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T20:45:08.070Z] ---> Running in 9aaef04f4ff9 [2024-07-30T20:45:08.070Z] Removing intermediate container 9aaef04f4ff9 [2024-07-30T20:45:08.070Z] ---> dbfa1fb4c037 [2024-07-30T20:45:08.070Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T20:45:08.070Z] ---> Running in a89f9441f328 [2024-07-30T20:45:08.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:08.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:08.854Z] OK: 268 MiB in 56 packages [2024-07-30T20:45:09.115Z] Removing intermediate container a89f9441f328 [2024-07-30T20:45:09.115Z] ---> 9ed1a1ca132f [2024-07-30T20:45:09.115Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-30T20:45:09.115Z] ---> Running in bc1fd18549b2 [2024-07-30T20:45:09.115Z] Removing intermediate container bc1fd18549b2 [2024-07-30T20:45:09.115Z] ---> 55b84d74684a [2024-07-30T20:45:09.115Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-30T20:45:09.379Z] ---> 4d26f5449ebc [2024-07-30T20:45:09.379Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T20:45:09.379Z] ---> Running in ca84264dc7e3 [2024-07-30T20:45:09.945Z] Removing intermediate container ca84264dc7e3 [2024-07-30T20:45:09.945Z] ---> 7fd160eacf44 [2024-07-30T20:45:09.945Z] Step 11/26 : COPY . . [2024-07-30T20:45:10.528Z] ---> 49818a582726 [2024-07-30T20:45:10.528Z] Step 12/26 : RUN $MAKE [2024-07-30T20:45:10.528Z] ---> Running in a76c8e412ed5 [2024-07-30T20:45:10.787Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-30T20:45:13.146Z] using credential edgex-jenkins-ssh [2024-07-30T20:45:20.048Z] Cloning the remote Git repository [2024-07-30T20:45:20.089Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-30T20:45:20.184Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-07-30T20:45:20.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-30T20:45:20.323Z] > git --version # timeout=10 [2024-07-30T20:45:20.349Z] > git --version # 'git version 2.25.1' [2024-07-30T20:45:20.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T20:45:20.491Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T20:45:24.481Z] Merging remotes/origin/main commit e4e238686b828caed34ec9ef1ec6e6067dee5a1b into PR head commit bae2d3ac7c969b8e164b4fc53d0f906d180c852f [2024-07-30T20:45:23.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-30T20:45:23.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T20:45:23.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-30T20:45:23.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-30T20:45:23.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T20:45:23.980Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-30T20:45:24.492Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T20:45:24.555Z] > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 [2024-07-30T20:45:24.634Z] > git remote # timeout=10 [2024-07-30T20:45:24.650Z] > git config --get remote.origin.url # timeout=10 [2024-07-30T20:45:24.739Z] Merge succeeded, producing bae2d3ac7c969b8e164b4fc53d0f906d180c852f [2024-07-30T20:45:24.740Z] Checking out Revision bae2d3ac7c969b8e164b4fc53d0f906d180c852f (PR-403) [2024-07-30T20:45:25.237Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-30T20:45:25.279Z] > git --version # timeout=10 [2024-07-30T20:45:25.292Z] > git --version # 'git version 2.25.1' [2024-07-30T20:45:25.308Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T20:45:24.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T20:45:24.695Z] > git merge e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 [2024-07-30T20:45:24.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-30T20:45:24.741Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T20:45:24.754Z] > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T20:45:30.126Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-30T20:45:30.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T20:45:30.126Z] Dload Upload Total Spent Left Speed [2024-07-30T20:45:30.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-07-30T20:45:30.474Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-30T20:45:30.819Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-30T20:45:30.819Z] + sudo tee /etc/docker/daemon.new [2024-07-30T20:45:30.819Z] { [2024-07-30T20:45:30.819Z] "registry-mirrors": [ [2024-07-30T20:45:30.819Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-30T20:45:30.819Z] ], [2024-07-30T20:45:30.819Z] "bip": "10.250.0.254/24", [2024-07-30T20:45:30.819Z] "hosts": [ [2024-07-30T20:45:30.819Z] "tcp://0.0.0.0:5555", [2024-07-30T20:45:30.819Z] "unix:///var/run/docker.sock" [2024-07-30T20:45:30.819Z] ], [2024-07-30T20:45:30.819Z] "mtu": 1458, [2024-07-30T20:45:30.819Z] "selinux-enabled": true, [2024-07-30T20:45:30.819Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-30T20:45:30.819Z] } [Pipeline] sh [2024-07-30T20:45:31.167Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-30T20:45:31.516Z] + sudo service docker restart [2024-07-30T20:45:42.856Z] Removing intermediate container a76c8e412ed5 [2024-07-30T20:45:42.856Z] ---> a1b256094477 [2024-07-30T20:45:42.856Z] Step 13/26 : FROM alpine:3.18 [2024-07-30T20:45:42.856Z] 3.18: Pulling from library/alpine [2024-07-30T20:45:42.856Z] 930bdd4d222e: Pulling fs layer [2024-07-30T20:45:42.856Z] 930bdd4d222e: Verifying Checksum [2024-07-30T20:45:42.856Z] 930bdd4d222e: Download complete [2024-07-30T20:45:42.856Z] 930bdd4d222e: Pull complete [2024-07-30T20:45:42.856Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T20:45:42.856Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T20:45:42.856Z] ---> 18f865063206 [2024-07-30T20:45:42.856Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T20:45:42.856Z] ---> Running in 32bb43e79a1e [2024-07-30T20:45:42.856Z] Removing intermediate container 32bb43e79a1e [2024-07-30T20:45:42.856Z] ---> 6607cdd5d06d [2024-07-30T20:45:42.856Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-30T20:45:42.856Z] ---> Running in 56e8b211a0a5 [2024-07-30T20:45:42.856Z] Removing intermediate container 56e8b211a0a5 [2024-07-30T20:45:42.856Z] ---> c993cbf5d30e [2024-07-30T20:45:42.856Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-30T20:45:42.856Z] ---> Running in f112b4e38ac8 [2024-07-30T20:45:42.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:42.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:42.856Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T20:45:42.856Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T20:45:42.856Z] OK: 7 MiB in 16 packages [2024-07-30T20:45:42.856Z] Removing intermediate container f112b4e38ac8 [2024-07-30T20:45:42.856Z] ---> 619f64ed40e6 [2024-07-30T20:45:42.856Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-30T20:45:42.856Z] ---> Running in 56308c650572 [2024-07-30T20:45:42.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:42.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T20:45:42.856Z] OK: 7 MiB in 16 packages [2024-07-30T20:45:43.117Z] Removing intermediate container 56308c650572 [2024-07-30T20:45:43.117Z] ---> 58d3d0875336 [2024-07-30T20:45:43.117Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-30T20:45:44.510Z] ---> 1c6718b55c9e [2024-07-30T20:45:44.510Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-30T20:45:44.510Z] ---> bf8f8b1b2087 [2024-07-30T20:45:44.510Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-30T20:45:44.770Z] ---> 7692d8497e0f [2024-07-30T20:45:44.770Z] Step 21/26 : EXPOSE 59986 [2024-07-30T20:45:44.770Z] ---> Running in d3c65f460fea [2024-07-30T20:45:44.770Z] Removing intermediate container d3c65f460fea [2024-07-30T20:45:44.770Z] ---> 743dc711cee8 [2024-07-30T20:45:44.770Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-30T20:45:44.770Z] ---> Running in 10c5b5a996fa [2024-07-30T20:45:44.770Z] Removing intermediate container 10c5b5a996fa [2024-07-30T20:45:44.770Z] ---> a5adfc3991a5 [2024-07-30T20:45:44.770Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-30T20:45:45.031Z] ---> Running in 4d87dd88152d [2024-07-30T20:45:45.031Z] Removing intermediate container 4d87dd88152d [2024-07-30T20:45:45.031Z] ---> 4615ad71d6e8 [2024-07-30T20:45:45.031Z] Step 24/26 : LABEL arch=amd64 [2024-07-30T20:45:45.031Z] ---> Running in dd2d4ecb69de [2024-07-30T20:45:45.031Z] Removing intermediate container dd2d4ecb69de [2024-07-30T20:45:45.031Z] ---> b3aad61f81de [2024-07-30T20:45:45.031Z] Step 25/26 : LABEL git_sha=bae2d3ac7c969b8e164b4fc53d0f906d180c852f [2024-07-30T20:45:45.031Z] ---> Running in b9f4deb32f6b [2024-07-30T20:45:45.031Z] Removing intermediate container b9f4deb32f6b [2024-07-30T20:45:45.031Z] ---> 4b1a02f3d8a0 [2024-07-30T20:45:45.031Z] Step 26/26 : LABEL version=0.0.0 [2024-07-30T20:45:45.295Z] ---> Running in 6f28bda65fce [2024-07-30T20:45:45.295Z] Removing intermediate container 6f28bda65fce [2024-07-30T20:45:45.295Z] ---> 66d07f9629b1 [2024-07-30T20:45:45.295Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T20:45:45.295Z] Successfully built 66d07f9629b1 [2024-07-30T20:45:45.295Z] 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-07-30T20:45:46.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T20:45:46.507Z] [2024-07-30T20:45:46.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:45:46.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T20:45:46.922Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-30T20:45:46.922Z] 5eb5b503b376: Pulling fs layer [2024-07-30T20:45:46.922Z] 5c69ac0246d0: Pulling fs layer [2024-07-30T20:45:46.922Z] ec43610c2a17: Pulling fs layer [2024-07-30T20:45:46.922Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-30T20:45:46.922Z] 33b1e0a273af: Pulling fs layer [2024-07-30T20:45:46.922Z] 5d3b04190fa2: Pulling fs layer [2024-07-30T20:45:46.922Z] 2f39f015ded8: Pulling fs layer [2024-07-30T20:45:46.922Z] 33b1e0a273af: Waiting [2024-07-30T20:45:46.922Z] 5d3b04190fa2: Waiting [2024-07-30T20:45:46.922Z] 2f39f015ded8: Waiting [2024-07-30T20:45:46.922Z] 3a2ae6a8a46f: Waiting [2024-07-30T20:45:46.922Z] 5c69ac0246d0: Download complete [2024-07-30T20:45:46.922Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-30T20:45:46.922Z] 3a2ae6a8a46f: Download complete [2024-07-30T20:45:46.922Z] 33b1e0a273af: Download complete [2024-07-30T20:45:46.922Z] ec43610c2a17: Verifying Checksum [2024-07-30T20:45:46.922Z] ec43610c2a17: Download complete [2024-07-30T20:45:46.922Z] 5d3b04190fa2: Verifying Checksum [2024-07-30T20:45:46.922Z] 5d3b04190fa2: Download complete [2024-07-30T20:45:47.180Z] 5eb5b503b376: Verifying Checksum [2024-07-30T20:45:47.180Z] 5eb5b503b376: Download complete [2024-07-30T20:45:47.747Z] 2f39f015ded8: Verifying Checksum [2024-07-30T20:45:47.747Z] 2f39f015ded8: Download complete [2024-07-30T20:45:48.314Z] 5eb5b503b376: Pull complete [2024-07-30T20:45:48.573Z] 5c69ac0246d0: Pull complete [2024-07-30T20:45:48.832Z] ec43610c2a17: Pull complete [2024-07-30T20:45:49.092Z] 3a2ae6a8a46f: Pull complete [2024-07-30T20:45:49.351Z] 33b1e0a273af: Pull complete [2024-07-30T20:45:49.351Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T20:45:49.854Z] provisioning config files... [2024-07-30T20:45:49.876Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1574449725639854486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:45:50.359Z] ---> ****-login.sh [2024-07-30T20:45:50.359Z] nexus3.edgexfoundry.org:10001 [2024-07-30T20:45:50.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:45:50.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:45:50.904Z] Configure a credential helper to remove this warning. See [2024-07-30T20:45:50.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:45:50.905Z] [2024-07-30T20:45:50.905Z] Login Succeeded [2024-07-30T20:45:50.905Z] nexus3.edgexfoundry.org:10002 [2024-07-30T20:45:51.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:45:51.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:45:51.174Z] Configure a credential helper to remove this warning. See [2024-07-30T20:45:51.174Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:45:51.174Z] [2024-07-30T20:45:51.174Z] Login Succeeded [2024-07-30T20:45:51.174Z] nexus3.edgexfoundry.org:10003 [2024-07-30T20:45:51.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:45:51.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:45:51.716Z] Configure a credential helper to remove this warning. See [2024-07-30T20:45:51.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:45:51.716Z] [2024-07-30T20:45:51.716Z] Login Succeeded [2024-07-30T20:45:51.716Z] nexus3.edgexfoundry.org:10004 [2024-07-30T20:45:51.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:45:51.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:45:51.987Z] Configure a credential helper to remove this warning. See [2024-07-30T20:45:51.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:45:51.987Z] [2024-07-30T20:45:51.987Z] Login Succeeded [2024-07-30T20:45:51.987Z] ****.io [2024-07-30T20:45:52.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T20:45:52.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T20:45:52.254Z] Configure a credential helper to remove this warning. See [2024-07-30T20:45:52.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T20:45:52.254Z] [2024-07-30T20:45:52.254Z] Login Succeeded [2024-07-30T20:45:52.254Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T20:45:52.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T20:45:52.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T20:45:52.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T20:45:52.941Z] ========================================================= [2024-07-30T20:45:52.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-30T20:45:52.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:45:53.494Z] + 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-07-30T20:45:53.494Z] Sending build context to Docker daemon 130.6kB [2024-07-30T20:45:53.538Z] 2f39f015ded8: Pull complete [2024-07-30T20:45:53.538Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-30T20:45:53.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T20:45:53.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2024-07-30T20:45:53.765Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T20:45:53.765Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-30T20:45:53.765Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-30T20:45:53.765Z] c6b39de5b339: Pulling fs layer [2024-07-30T20:45:53.765Z] a69c41024577: Pulling fs layer [2024-07-30T20:45:53.765Z] d6de4b400683: Pulling fs layer [2024-07-30T20:45:53.765Z] 35cb2a7552d0: Pulling fs layer [2024-07-30T20:45:53.765Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T20:45:53.765Z] 464afbd9ba4c: Pulling fs layer [2024-07-30T20:45:53.765Z] 00f215d4a9da: Pulling fs layer [2024-07-30T20:45:53.765Z] d496ad576159: Pulling fs layer [2024-07-30T20:45:53.765Z] 35cb2a7552d0: Waiting [2024-07-30T20:45:53.765Z] 4f4fb700ef54: Waiting [2024-07-30T20:45:53.765Z] 464afbd9ba4c: Waiting [2024-07-30T20:45:53.765Z] 00f215d4a9da: Waiting [2024-07-30T20:45:53.765Z] d496ad576159: Waiting [Pipeline] withDockerContainer [2024-07-30T20:45:53.859Z] prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container [2024-07-30T20:45:53.891Z] $ 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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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-07-30T20:45:54.036Z] a69c41024577: Verifying Checksum [2024-07-30T20:45:54.036Z] a69c41024577: Download complete [2024-07-30T20:45:54.036Z] 35cb2a7552d0: Verifying Checksum [2024-07-30T20:45:54.036Z] 35cb2a7552d0: Download complete [2024-07-30T20:45:54.036Z] c6b39de5b339: Download complete [2024-07-30T20:45:54.036Z] 4f4fb700ef54: Verifying Checksum [2024-07-30T20:45:54.036Z] 4f4fb700ef54: Download complete [2024-07-30T20:45:54.036Z] 464afbd9ba4c: Download complete [2024-07-30T20:45:54.626Z] d496ad576159: Verifying Checksum [2024-07-30T20:45:54.626Z] d496ad576159: Download complete [2024-07-30T20:45:54.896Z] c6b39de5b339: Pull complete [2024-07-30T20:45:55.482Z] a69c41024577: Pull complete [2024-07-30T20:45:55.757Z] d6de4b400683: Verifying Checksum [2024-07-30T20:45:55.757Z] d6de4b400683: Download complete [2024-07-30T20:45:56.723Z] 00f215d4a9da: Verifying Checksum [2024-07-30T20:45:56.723Z] 00f215d4a9da: Download complete [2024-07-30T20:45:58.316Z] $ docker top 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:45:58.954Z] ---> job-cost.sh [2024-07-30T20:45:58.954Z] lf-activate-venv: SKIPPING [2024-07-30T20:45:58.954Z] INFO: No Stack... [2024-07-30T20:45:59.214Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T20:45:59.473Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T20:45:59.805Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-403/archives/cost.csv [2024-07-30T20:45:59.805Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T20:45:59.864Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [2024-07-30T20:45:59.870Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] did not exist. Created. [2024-07-30T20:45:59.876Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T20:46:00.309Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-30T20:46:00.398Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T20:46:00.445Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T20:46:00.547Z] $ docker stop --time=1 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 [2024-07-30T20:46:01.703Z] $ docker rm -f --volumes 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-30T20:46:09.050Z] d6de4b400683: Pull complete [2024-07-30T20:46:09.050Z] 35cb2a7552d0: Pull complete [2024-07-30T20:46:09.050Z] 4f4fb700ef54: Pull complete [2024-07-30T20:46:09.322Z] 464afbd9ba4c: Pull complete [2024-07-30T20:46:19.411Z] 00f215d4a9da: Pull complete [2024-07-30T20:46:20.373Z] d496ad576159: Pull complete [2024-07-30T20:46:20.373Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-30T20:46:20.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-30T20:46:20.373Z] ---> f246e2811388 [2024-07-30T20:46:20.373Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-30T20:46:21.337Z] ---> Running in 3c3b291bf403 [2024-07-30T20:46:21.612Z] Removing intermediate container 3c3b291bf403 [2024-07-30T20:46:21.612Z] ---> cae9c5c31b43 [2024-07-30T20:46:21.612Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T20:46:21.880Z] ---> Running in fd4fff2a0927 [2024-07-30T20:46:22.148Z] Removing intermediate container fd4fff2a0927 [2024-07-30T20:46:22.148Z] ---> 0cf3d8d65bb3 [2024-07-30T20:46:22.148Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T20:46:22.148Z] ---> Running in 1896193d20d2 [2024-07-30T20:46:22.417Z] Removing intermediate container 1896193d20d2 [2024-07-30T20:46:22.417Z] ---> 2e28999dd3b6 [2024-07-30T20:46:22.417Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T20:46:22.417Z] ---> Running in ed94f2167067 [2024-07-30T20:46:22.686Z] Removing intermediate container ed94f2167067 [2024-07-30T20:46:22.686Z] ---> c2e2b0fe6f5b [2024-07-30T20:46:22.686Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T20:46:22.957Z] ---> Running in 2dd1e1ac30d8 [2024-07-30T20:46:23.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T20:46:24.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T20:46:25.457Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T20:46:25.457Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-30T20:46:25.457Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T20:46:25.457Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T20:46:25.457Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T20:46:25.457Z] OK: 271 MiB in 56 packages [2024-07-30T20:46:26.873Z] Removing intermediate container 2dd1e1ac30d8 [2024-07-30T20:46:26.873Z] ---> c4ad73485c02 [2024-07-30T20:46:26.873Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-30T20:46:26.873Z] ---> Running in 419095b88cd4 [2024-07-30T20:46:26.873Z] Removing intermediate container 419095b88cd4 [2024-07-30T20:46:26.873Z] ---> b38e480321ee [2024-07-30T20:46:26.873Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-30T20:46:27.460Z] ---> 1d913a209984 [2024-07-30T20:46:27.460Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T20:46:27.460Z] ---> Running in 3e800bb2c5db [2024-07-30T20:48:19.128Z] Removing intermediate container 3e800bb2c5db [2024-07-30T20:48:19.128Z] ---> ad1fa3aca2dd [2024-07-30T20:48:19.128Z] Step 11/12 : COPY . . [2024-07-30T20:48:19.128Z] ---> 86932230bf9f [2024-07-30T20:48:19.128Z] Step 12/12 : RUN $MAKE [2024-07-30T20:48:19.128Z] ---> Running in cdcf5ecc88ac [2024-07-30T20:48:19.128Z] noop [2024-07-30T20:48:19.128Z] Removing intermediate container cdcf5ecc88ac [2024-07-30T20:48:19.128Z] ---> 96c9cc3d8f31 [2024-07-30T20:48:19.128Z] Successfully built 96c9cc3d8f31 [2024-07-30T20:48:19.128Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:48:19.993Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T20:48:19.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:48:20.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container [2024-07-30T20:48:20.375Z] $ 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-07-30T20:48:21.626Z] $ docker top c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T20:48:22.536Z] + go version [2024-07-30T20:48:22.536Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-30T20:48:22.571Z] $ docker stop --time=1 c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a [2024-07-30T20:48:24.210Z] $ docker rm -f --volumes c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:48:25.136Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T20:48:25.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:48:25.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container [2024-07-30T20:48:25.472Z] $ 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-07-30T20:48:26.659Z] $ docker top 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T20:48:27.572Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-30T20:48:28.296Z] + make test [2024-07-30T20:48:28.296Z] go test ./... -coverprofile=coverage.out ./... [2024-07-30T20:48:33.658Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-30T20:51:40.660Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-30T20:51:43.235Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 33.2% of statements [2024-07-30T20:51:43.828Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-30T20:51:43.828Z] go vet ./... [2024-07-30T20:52:30.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T20:52:30.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T20:52:30.685Z] ./bin/test-attribution-txt.sh [2024-07-30T20:52:30.685Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-30T20:52:30.685Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T20:52:30.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T20:52:30.776Z] $ docker stop --time=1 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 [2024-07-30T20:52:32.660Z] $ docker rm -f --volumes 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T20:52:34.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T20:52:34.206Z] Warning: overwriting stash ‘coverage-report’ [2024-07-30T20:52:34.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T20:52:35.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T20:52:35.651Z] + ls -al . [2024-07-30T20:52:35.651Z] total 244 [2024-07-30T20:52:35.651Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:48 . [2024-07-30T20:52:35.651Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 20:45 .. [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 20:45 .dockerignore [2024-07-30T20:52:35.651Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:45 .git [2024-07-30T20:52:35.651Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 .github [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 30 20:45 .gitignore [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 20:45 .golangci.yml [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 30 20:45 Attribution.txt [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 30 20:45 CHANGELOG.md [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 30 20:45 Dockerfile [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 20:45 GOVERNANCE.md [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 20:45 Jenkinsfile [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 20:45 LICENSE [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 30 20:45 Makefile [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 30 20:45 OWNERS.md [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 30 20:45 README.md [2024-07-30T20:52:35.651Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 20:43 VERSION [2024-07-30T20:52:35.651Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:45 bin [2024-07-30T20:52:35.651Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 cmd [2024-07-30T20:52:35.651Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 30 20:51 coverage.out [2024-07-30T20:52:35.652Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:45 driver [2024-07-30T20:52:35.652Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 30 20:45 go.mod [2024-07-30T20:52:35.652Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 20:45 go.sum [2024-07-30T20:52:35.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 openapi [2024-07-30T20:52:35.652Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:52:36.108Z] + 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=bae2d3ac7c969b8e164b4fc53d0f906d180c852f --label arch=arm64 --label version=0.0.0 . [2024-07-30T20:52:36.108Z] Sending build context to Docker daemon 145.9kB [2024-07-30T20:52:36.375Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T20:52:36.375Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-30T20:52:36.375Z] ---> 96c9cc3d8f31 [2024-07-30T20:52:36.375Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-30T20:52:36.375Z] ---> Running in ac22aab6ee33 [2024-07-30T20:52:36.645Z] Removing intermediate container ac22aab6ee33 [2024-07-30T20:52:36.645Z] ---> fb01cd129bee [2024-07-30T20:52:36.645Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T20:52:36.913Z] ---> Running in a68e51adbfb3 [2024-07-30T20:52:37.182Z] Removing intermediate container a68e51adbfb3 [2024-07-30T20:52:37.182Z] ---> cd5f462a13d2 [2024-07-30T20:52:37.182Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-30T20:52:37.182Z] ---> Running in 09ee41d2cd43 [2024-07-30T20:52:37.449Z] Removing intermediate container 09ee41d2cd43 [2024-07-30T20:52:37.449Z] ---> e336f7ffa43a [2024-07-30T20:52:37.449Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-30T20:52:37.449Z] ---> Running in 72392c43cbf7 [2024-07-30T20:52:38.039Z] Removing intermediate container 72392c43cbf7 [2024-07-30T20:52:38.039Z] ---> efd981d25c5e [2024-07-30T20:52:38.039Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-30T20:52:38.039Z] ---> Running in 8746fa8d5d73 [2024-07-30T20:52:38.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T20:52:39.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T20:52:40.219Z] OK: 271 MiB in 56 packages [2024-07-30T20:52:41.183Z] Removing intermediate container 8746fa8d5d73 [2024-07-30T20:52:41.183Z] ---> ab75eb464348 [2024-07-30T20:52:41.183Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-30T20:52:41.183Z] ---> Running in 3c4850a95441 [2024-07-30T20:52:41.452Z] Removing intermediate container 3c4850a95441 [2024-07-30T20:52:41.452Z] ---> 18a1c85d2411 [2024-07-30T20:52:41.452Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-30T20:52:42.036Z] ---> 02c8778d8f91 [2024-07-30T20:52:42.036Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T20:52:42.036Z] ---> Running in 53b25b7c4774 [2024-07-30T20:52:44.623Z] Removing intermediate container 53b25b7c4774 [2024-07-30T20:52:44.623Z] ---> 69598585541b [2024-07-30T20:52:44.623Z] Step 11/26 : COPY . . [2024-07-30T20:52:44.890Z] ---> 2571934b79c9 [2024-07-30T20:52:44.890Z] Step 12/26 : RUN $MAKE [2024-07-30T20:52:44.890Z] ---> Running in e659e35c42de [2024-07-30T20:52:45.852Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-30T20:56:07.607Z] Removing intermediate container e659e35c42de [2024-07-30T20:56:07.607Z] ---> f6075bd04556 [2024-07-30T20:56:07.607Z] Step 13/26 : FROM alpine:3.18 [2024-07-30T20:56:07.607Z] 3.18: Pulling from library/alpine [2024-07-30T20:56:07.607Z] 4983c3fe2029: Pulling fs layer [2024-07-30T20:56:07.607Z] 4983c3fe2029: Verifying Checksum [2024-07-30T20:56:07.607Z] 4983c3fe2029: Download complete [2024-07-30T20:56:07.607Z] 4983c3fe2029: Pull complete [2024-07-30T20:56:07.607Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T20:56:07.607Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T20:56:07.607Z] ---> a0237000ae83 [2024-07-30T20:56:07.607Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-30T20:56:07.607Z] ---> Running in 205d619801b1 [2024-07-30T20:56:07.607Z] Removing intermediate container 205d619801b1 [2024-07-30T20:56:07.607Z] ---> d684e215163b [2024-07-30T20:56:07.607Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-30T20:56:07.607Z] ---> Running in 1f0d20716f9f [2024-07-30T20:56:07.607Z] Removing intermediate container 1f0d20716f9f [2024-07-30T20:56:07.607Z] ---> 62eb5f6c018b [2024-07-30T20:56:07.607Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-30T20:56:07.607Z] ---> Running in 2cd0a7583729 [2024-07-30T20:56:07.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T20:56:07.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T20:56:07.607Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T20:56:07.607Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T20:56:07.607Z] OK: 8 MiB in 16 packages [2024-07-30T20:56:07.607Z] Removing intermediate container 2cd0a7583729 [2024-07-30T20:56:07.607Z] ---> 10e734e7b83a [2024-07-30T20:56:07.607Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-30T20:56:07.607Z] ---> Running in 19934ac58905 [2024-07-30T20:56:07.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T20:56:07.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T20:56:07.607Z] OK: 8 MiB in 16 packages [2024-07-30T20:56:07.607Z] Removing intermediate container 19934ac58905 [2024-07-30T20:56:07.607Z] ---> 067a538b9fb2 [2024-07-30T20:56:07.607Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-30T20:56:08.189Z] ---> 7987e5a53567 [2024-07-30T20:56:08.189Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-30T20:56:08.770Z] ---> efcc6b3e1008 [2024-07-30T20:56:08.770Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-30T20:56:09.352Z] ---> b10f45fbaf53 [2024-07-30T20:56:09.352Z] Step 21/26 : EXPOSE 59986 [2024-07-30T20:56:09.352Z] ---> Running in 0932ba5b9f40 [2024-07-30T20:56:09.626Z] Removing intermediate container 0932ba5b9f40 [2024-07-30T20:56:09.626Z] ---> 58536cc02caf [2024-07-30T20:56:09.626Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-30T20:56:09.626Z] ---> Running in b001d21a93a6 [2024-07-30T20:56:09.894Z] Removing intermediate container b001d21a93a6 [2024-07-30T20:56:09.894Z] ---> cc2fd01af728 [2024-07-30T20:56:09.894Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-30T20:56:10.170Z] ---> Running in 7bbea4d06d6f [2024-07-30T20:56:10.437Z] Removing intermediate container 7bbea4d06d6f [2024-07-30T20:56:10.437Z] ---> 883a5ce34d2d [2024-07-30T20:56:10.437Z] Step 24/26 : LABEL arch=arm64 [2024-07-30T20:56:10.437Z] ---> Running in c0bdb4fdd1da [2024-07-30T20:56:10.704Z] Removing intermediate container c0bdb4fdd1da [2024-07-30T20:56:10.704Z] ---> e3597f6e6ae6 [2024-07-30T20:56:10.704Z] Step 25/26 : LABEL git_sha=bae2d3ac7c969b8e164b4fc53d0f906d180c852f [2024-07-30T20:56:10.704Z] ---> Running in da025ec9164f [2024-07-30T20:56:10.973Z] Removing intermediate container da025ec9164f [2024-07-30T20:56:10.973Z] ---> 4213e75399f5 [2024-07-30T20:56:10.973Z] Step 26/26 : LABEL version=0.0.0 [2024-07-30T20:56:11.239Z] ---> Running in 6584997c2a77 [2024-07-30T20:56:11.504Z] Removing intermediate container 6584997c2a77 [2024-07-30T20:56:11.504Z] ---> 8052c0e6951c [2024-07-30T20:56:11.504Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T20:56:11.504Z] Successfully built 8052c0e6951c [2024-07-30T20:56:11.504Z] 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-07-30T20:56:12.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T20:56:12.498Z] [2024-07-30T20:56:12.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:56:12.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T20:56:12.931Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-30T20:56:12.931Z] 8998bd30e6a1: Pulling fs layer [2024-07-30T20:56:12.931Z] 04944245beec: Pulling fs layer [2024-07-30T20:56:12.931Z] 699f458cf7ca: Pulling fs layer [2024-07-30T20:56:12.931Z] 765212b225bb: Pulling fs layer [2024-07-30T20:56:12.931Z] f23df028b6ca: Pulling fs layer [2024-07-30T20:56:12.931Z] d65c8cfc05b1: Pulling fs layer [2024-07-30T20:56:12.931Z] 2437ff75d9bd: Pulling fs layer [2024-07-30T20:56:12.931Z] 765212b225bb: Waiting [2024-07-30T20:56:12.931Z] f23df028b6ca: Waiting [2024-07-30T20:56:12.931Z] 2437ff75d9bd: Waiting [2024-07-30T20:56:13.196Z] 04944245beec: Verifying Checksum [2024-07-30T20:56:13.196Z] 04944245beec: Download complete [2024-07-30T20:56:13.196Z] 765212b225bb: Verifying Checksum [2024-07-30T20:56:13.196Z] 765212b225bb: Download complete [2024-07-30T20:56:13.196Z] f23df028b6ca: Verifying Checksum [2024-07-30T20:56:13.196Z] d65c8cfc05b1: Verifying Checksum [2024-07-30T20:56:13.196Z] d65c8cfc05b1: Download complete [2024-07-30T20:56:13.462Z] 699f458cf7ca: Verifying Checksum [2024-07-30T20:56:13.462Z] 699f458cf7ca: Download complete [2024-07-30T20:56:13.727Z] 8998bd30e6a1: Verifying Checksum [2024-07-30T20:56:13.728Z] 8998bd30e6a1: Download complete [2024-07-30T20:56:16.303Z] 2437ff75d9bd: Verifying Checksum [2024-07-30T20:56:16.303Z] 2437ff75d9bd: Download complete [2024-07-30T20:56:18.235Z] 8998bd30e6a1: Pull complete [2024-07-30T20:56:18.815Z] 04944245beec: Pull complete [2024-07-30T20:56:20.215Z] 699f458cf7ca: Pull complete [2024-07-30T20:56:20.480Z] 765212b225bb: Pull complete [2024-07-30T20:56:21.433Z] f23df028b6ca: Pull complete [2024-07-30T20:56:21.697Z] d65c8cfc05b1: Pull complete [2024-07-30T20:56:39.881Z] 2437ff75d9bd: Pull complete [2024-07-30T20:56:39.881Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-30T20:56:39.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T20:56:39.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:56:40.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container [2024-07-30T20:56:40.296Z] $ 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-07-30T20:56:42.874Z] $ docker top 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:43.775Z] ---> job-cost.sh [2024-07-30T20:56:43.775Z] lf-activate-venv: SKIPPING [2024-07-30T20:56:43.775Z] INFO: No Stack... [2024-07-30T20:56:44.041Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-30T20:56:45.006Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T20:56:45.360Z] + cut -d, -f6 [2024-07-30T20:56:45.360Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2024-07-30T20:56:45.707Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [2024-07-30T20:56:45.714Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] did not exist. Created. [2024-07-30T20:56:45.727Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T20:56:46.175Z] /w/workspace/device-rest-go/1@tmp/durable-9d4d1d0d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-30T20:56:47.112Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-30T20:56:47.164Z] Warning: overwriting stash ‘stack-cost’ [2024-07-30T20:56:47.207Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T20:56:47.230Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T20:56:47.318Z] $ docker stop --time=1 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 [2024-07-30T20:56:48.791Z] $ docker rm -f --volumes 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 [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-07-30T20:56:50.054Z] provisioning config files... [2024-07-30T20:56:50.060Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config13171860522386319274tmp [Pipeline] { [Pipeline] sh [2024-07-30T20:56:50.414Z] + set +x [2024-07-30T20:56:50.414Z] + bash -s -- [2024-07-30T20:56:50.414Z] + curl -s https://codecov.io/bash [2024-07-30T20:56:50.414Z] [2024-07-30T20:56:50.414Z] _____ _ [2024-07-30T20:56:50.414Z] / ____| | | [2024-07-30T20:56:50.414Z] | | ___ __| | ___ ___ _____ __ [2024-07-30T20:56:50.414Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-30T20:56:50.414Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-30T20:56:50.414Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-30T20:56:50.414Z] Bash-1.0.6 [2024-07-30T20:56:50.414Z] [2024-07-30T20:56:50.414Z] [2024-07-30T20:56:50.414Z] ==> git version 2.25.1 found [2024-07-30T20:56:50.414Z] ==> 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-07-30T20:56:50.414Z] Release-Date: 2020-01-08 [2024-07-30T20:56:50.414Z] 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-07-30T20:56:50.415Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-30T20:56:50.415Z] ==> Jenkins CI detected. [2024-07-30T20:56:50.415Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-403 [2024-07-30T20:56:50.415Z] project root: . [2024-07-30T20:56:50.415Z] --> token set from env [2024-07-30T20:56:50.415Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-30T20:56:50.415Z] ==> Running gcov in . (disable via -X gcov) [2024-07-30T20:56:50.415Z] ==> Python coveragepy not found [2024-07-30T20:56:50.415Z] ==> Searching for coverage reports in: [2024-07-30T20:56:50.415Z] + . [2024-07-30T20:56:50.415Z] -> Found 1 reports [2024-07-30T20:56:50.415Z] ==> Detecting git/mercurial file structure [2024-07-30T20:56:50.674Z] ==> Reading reports [2024-07-30T20:56:50.674Z] + ./coverage.out bytes=14499 [2024-07-30T20:56:50.674Z] ==> Appending adjustments [2024-07-30T20:56:50.674Z] https://docs.codecov.io/docs/fixing-reports [2024-07-30T20:56:50.674Z] + Found adjustments [2024-07-30T20:56:50.674Z] ==> Gzipping contents [2024-07-30T20:56:50.674Z] 4.0K /tmp/codecov.qe6x6W.gz [2024-07-30T20:56:50.674Z] ==> Uploading reports [2024-07-30T20:56:50.674Z] url: https://codecov.io [2024-07-30T20:56:50.674Z] query: branch=PR-403&commit=bae2d3ac7c969b8e164b4fc53d0f906d180c852f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=403&job=&cmd_args= [2024-07-30T20:56:50.674Z] -> Pinging Codecov [2024-07-30T20:56:50.675Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-403&commit=bae2d3ac7c969b8e164b4fc53d0f906d180c852f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=403&job=&cmd_args= [2024-07-30T20:56:50.675Z] -> Uploading to [2024-07-30T20:56:50.675Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-30/4E5D53B4F1F92C436F7061BF334D961C/bae2d3ac7c969b8e164b4fc53d0f906d180c852f/0afb60aa-347d-4b97-b884-5351f8e7292a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T205650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=693be9de0b7722f2451dbe65cabb021ffd359a4951ebf8a30d48664756c56b60 [2024-07-30T20:56:50.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T20:56:50.675Z] Dload Upload Total Spent Left Speed [2024-07-30T20:56:50.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9473 --:--:-- --:--:-- --:--:-- 9473 [2024-07-30T20:56:50.935Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] } [2024-07-30T20:56:50.968Z] 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-07-30T20:56:53.306Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-403/archives ] [2024-07-30T20:56:53.306Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-403/archives [2024-07-30T20:56:53.306Z] total 16 [2024-07-30T20:56:53.306Z] drwxr-xr-x 3 root root 4096 Jul 30 20:45 . [2024-07-30T20:56:53.306Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 20:46 .. [2024-07-30T20:56:53.306Z] drwxr-xr-x 2 root root 4096 Jul 30 20:45 cost [2024-07-30T20:56:53.306Z] -rw-r--r-- 1 root root 86 Jul 30 20:45 cost.csv [2024-07-30T20:56:53.306Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-403/archives [2024-07-30T20:56:53.306Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-403/archives [2024-07-30T20:56:53.306Z] total 16 [2024-07-30T20:56:53.306Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 20:45 . [2024-07-30T20:56:53.306Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 20:46 .. [2024-07-30T20:56:53.306Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 20:45 cost [2024-07-30T20:56:53.306Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 30 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:53.650Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:54.568Z] ---> package-listing.sh [2024-07-30T20:56:54.568Z] ++ facter osfamily [2024-07-30T20:56:54.568Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-30T20:56:54.828Z] + OS_FAMILY=debian [2024-07-30T20:56:54.828Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-403 [2024-07-30T20:56:54.828Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-30T20:56:54.828Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-30T20:56:54.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-30T20:56:54.828Z] + PACKAGES=/tmp/packages_start.txt [2024-07-30T20:56:54.828Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-403 ']' [2024-07-30T20:56:54.828Z] + PACKAGES=/tmp/packages_end.txt [2024-07-30T20:56:54.828Z] + case "${OS_FAMILY}" in [2024-07-30T20:56:54.828Z] + dpkg -l [2024-07-30T20:56:54.828Z] + grep '^ii' [2024-07-30T20:56:54.828Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-30T20:56:54.828Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-30T20:56:54.828Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-30T20:56:54.828Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-403 ']' [2024-07-30T20:56:54.828Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-403/archives/ [2024-07-30T20:56:54.828Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-403/archives/ [Pipeline] echo [2024-07-30T20:56:54.872Z] 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-403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-30T20:56:55.171Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T20:56:55.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T20:56:55.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T20:56:56.008Z] prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container [2024-07-30T20:56:56.038Z] $ 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-403/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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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-07-30T20:56:56.240Z] $ docker top 1fa49005a844936915a927edb7790ca69b14a75fbd8b92f2ed7f27d46f228533 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T20:56:56.671Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-30T20:56:56.988Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-30T20:56:57.312Z] + ls /var/log/sa-host [2024-07-30T20:56:57.312Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T20:56:57.600Z] provisioning config files... [2024-07-30T20:56:57.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config8187579307153246416tmp [Pipeline] { [Pipeline] echo [2024-07-30T20:56:57.680Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:58.040Z] ---> create-netrc.sh [Pipeline] } [2024-07-30T20:56:58.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:58.555Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-30T20:56:58.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:58.938Z] ---> sudo-logs.sh [2024-07-30T20:56:58.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-30T20:56:59.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:56:59.375Z] ---> job-cost.sh [2024-07-30T20:56:59.375Z] lf-activate-venv: SKIPPING [2024-07-30T20:56:59.375Z] DEBUG: total: 0.2199999988079071 [2024-07-30T20:56:59.375Z] INFO: Retrieving Stack Cost... [2024-07-30T20:56:59.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T20:57:00.206Z] INFO: Archiving Costs [Pipeline] echo [2024-07-30T20:57:00.251Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T20:57:00.579Z] ---> logs-deploy.sh [2024-07-30T20:57:00.580Z] lf-activate-venv: SKIPPING [2024-07-30T20:57:00.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-403/1 [2024-07-30T20:57:00.580Z] INFO: archiving workspace using pattern(s): [2024-07-30T20:57:01.516Z] Archives upload complete. [2024-07-30T20:57:01.774Z] INFO: archiving logs to Nexus