Pull request #471 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f80d6f0f415602187c4b7782428aa9efb3b3f6fd+b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c (572830e2aab8d474989ea8ee1f8ddf0fdc5a4c6a) 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-ssh9234743940374344304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3260175669709088049.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-471/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-onvif-camera/branches/PR-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10913209054022903536.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-onvif-camera/branches/PR-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9793015059314259153.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17052163576876285035.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-onvif-camera/branches/PR-471/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-onvif-camera/branches/PR-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4350273238950464887.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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-24473 in /w/workspace/undry_device-onvif-camera_PR-471 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-471 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit f80d6f0f415602187c4b7782428aa9efb3b3f6fd Merge succeeded, producing f80d6f0f415602187c4b7782428aa9efb3b3f6fd Checking out Revision f80d6f0f415602187c4b7782428aa9efb3b3f6fd (PR-471) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f80d6f0f415602187c4b7782428aa9efb3b3f6fd # 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 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f80d6f0f415602187c4b7782428aa9efb3b3f6fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-04T03:29:00.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-04T03:29:00.285Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-04T03:29:00.404Z] ========================================================= [2024-11-04T03:29:00.404Z] EdgeX Global Pipelines Version Info [2024-11-04T03:29:00.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:29:01.551Z] ------------------- [2024-11-04T03:29:01.551Z] stable info: [2024-11-04T03:29:01.551Z] ------------------- [2024-11-04T03:29:01.551Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-04T03:29:01.551Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-04T03:29:01.551Z] Message: update stable to v1.0.265 [2024-11-04T03:29:01.811Z] ------------------- [2024-11-04T03:29:01.811Z] experimental info: [2024-11-04T03:29:01.811Z] ------------------- [2024-11-04T03:29:01.811Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-04T03:29:01.812Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-04T03:29:01.812Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-04T03:29:02.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-04T03:29:02.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-04T03:29:02.155Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-04T03:29:02.209Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-04T03:29:02.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-04T03:29:02.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-04T03:29:02.391Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-04T03:29:02.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-04T03:29:02.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-04T03:29:02.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-04T03:29:02.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-04T03:29:02.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-04T03:29:02.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-04T03:29:02.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-04T03:29:02.860Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T03:29:02.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T03:29:02.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T03:29:03.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T03:29:03.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-04T03:29:03.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-04T03:29:03.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-04T03:29:03.267Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-04T03:29:03.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-04T03:29:03.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-04T03:29:03.431Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-04T03:29:03.493Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-04T03:29:03.549Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-04T03:29:03.605Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-471 [Pipeline] echo [2024-11-04T03:29:03.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-471 [Pipeline] echo [2024-11-04T03:29:03.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-471 [Pipeline] echo [2024-11-04T03:29:03.769Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f80d6f0f415602187c4b7782428aa9efb3b3f6fd [Pipeline] echo [2024-11-04T03:29:03.826Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f80d6f0 [Pipeline] echo [2024-11-04T03:29:03.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T03:29:04.029Z] provisioning config files... [2024-11-04T03:29:04.043Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-471@tmp/config3980865500535104355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:29:04.437Z] ---> ****-login.sh [2024-11-04T03:29:04.437Z] nexus3.edgexfoundry.org:10001 [2024-11-04T03:29:04.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:04.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:04.698Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:04.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:04.699Z] [2024-11-04T03:29:04.699Z] Login Succeeded [2024-11-04T03:29:04.699Z] nexus3.edgexfoundry.org:10002 [2024-11-04T03:29:04.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:04.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:04.959Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:04.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:04.959Z] [2024-11-04T03:29:04.959Z] Login Succeeded [2024-11-04T03:29:04.959Z] nexus3.edgexfoundry.org:10003 [2024-11-04T03:29:04.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:04.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:04.960Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:04.960Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:04.960Z] [2024-11-04T03:29:04.960Z] Login Succeeded [2024-11-04T03:29:04.960Z] nexus3.edgexfoundry.org:10004 [2024-11-04T03:29:05.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:05.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:05.220Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:05.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:05.220Z] [2024-11-04T03:29:05.220Z] Login Succeeded [2024-11-04T03:29:05.220Z] ****.io [2024-11-04T03:29:05.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:05.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:05.491Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:05.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:05.491Z] [2024-11-04T03:29:05.491Z] Login Succeeded [2024-11-04T03:29:05.491Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T03:29:05.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-04T03:29:06.215Z] + git rev-list -1 --merges f80d6f0f415602187c4b7782428aa9efb3b3f6fd~1..f80d6f0f415602187c4b7782428aa9efb3b3f6fd [Pipeline] echo [2024-11-04T03:29:06.271Z] -----------> git rev-list -1 --merges f80d6f0f415602187c4b7782428aa9efb3b3f6fd~1..f80d6f0f415602187c4b7782428aa9efb3b3f6fd f80d6f0f415602187c4b7782428aa9efb3b3f6fd [false] [Pipeline] sh [2024-11-04T03:29:06.597Z] + git log --format=format:%s -1 f80d6f0f415602187c4b7782428aa9efb3b3f6fd [Pipeline] echo [2024-11-04T03:29:06.644Z] ========================================================= [2024-11-04T03:29:06.644Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-04T03:29:06.644Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T03:29:07.096Z] + git log --format=format:%s -1 f80d6f0f415602187c4b7782428aa9efb3b3f6fd [Pipeline] echo [2024-11-04T03:29:07.133Z] [semverPrep] GIT_COMMIT: f80d6f0f415602187c4b7782428aa9efb3b3f6fd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-04T03:29:07.178Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-04T03:29:07.601Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-04T03:29:07.601Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-04T03:29:07.601Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-04T03:29:07.601Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-04T03:29:07.601Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-04T03:29:07.601Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-04T03:29:07.601Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:29:08.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T03:29:08.126Z] [2024-11-04T03:29:08.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:29:08.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T03:29:08.639Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-04T03:29:08.639Z] b85a868b505f: Pulling fs layer [2024-11-04T03:29:08.639Z] e2be974225ed: Pulling fs layer [2024-11-04T03:29:08.639Z] 339a4e72a1f5: Pulling fs layer [2024-11-04T03:29:08.639Z] 988bab9f4d93: Pulling fs layer [2024-11-04T03:29:08.639Z] 1469e6f7b9e6: Pulling fs layer [2024-11-04T03:29:08.639Z] eaf3925da568: Pulling fs layer [2024-11-04T03:29:08.639Z] bab4dde63d76: Pulling fs layer [2024-11-04T03:29:08.639Z] bde34c3a00c8: Pulling fs layer [2024-11-04T03:29:08.639Z] b352a97aabf1: Pulling fs layer [2024-11-04T03:29:08.639Z] 4872d77fe225: Pulling fs layer [2024-11-04T03:29:08.639Z] 5851b861e8e6: Pulling fs layer [2024-11-04T03:29:08.639Z] 988bab9f4d93: Waiting [2024-11-04T03:29:08.639Z] 1469e6f7b9e6: Waiting [2024-11-04T03:29:08.639Z] eaf3925da568: Waiting [2024-11-04T03:29:08.639Z] bab4dde63d76: Waiting [2024-11-04T03:29:08.639Z] bde34c3a00c8: Waiting [2024-11-04T03:29:08.639Z] 5851b861e8e6: Waiting [2024-11-04T03:29:08.639Z] b352a97aabf1: Waiting [2024-11-04T03:29:08.639Z] 4872d77fe225: Waiting [2024-11-04T03:29:08.639Z] e2be974225ed: Download complete [2024-11-04T03:29:08.639Z] 988bab9f4d93: Verifying Checksum [2024-11-04T03:29:08.639Z] 988bab9f4d93: Download complete [2024-11-04T03:29:08.639Z] 1469e6f7b9e6: Verifying Checksum [2024-11-04T03:29:08.639Z] 1469e6f7b9e6: Download complete [2024-11-04T03:29:08.901Z] eaf3925da568: Download complete [2024-11-04T03:29:08.901Z] 339a4e72a1f5: Verifying Checksum [2024-11-04T03:29:08.901Z] 339a4e72a1f5: Download complete [2024-11-04T03:29:08.901Z] b352a97aabf1: Verifying Checksum [2024-11-04T03:29:08.901Z] b352a97aabf1: Download complete [2024-11-04T03:29:08.901Z] 4872d77fe225: Verifying Checksum [2024-11-04T03:29:08.901Z] 4872d77fe225: Download complete [2024-11-04T03:29:08.901Z] 5851b861e8e6: Verifying Checksum [2024-11-04T03:29:08.901Z] 5851b861e8e6: Download complete [2024-11-04T03:29:08.901Z] b85a868b505f: Download complete [2024-11-04T03:29:09.162Z] bab4dde63d76: Verifying Checksum [2024-11-04T03:29:09.162Z] bab4dde63d76: Download complete [2024-11-04T03:29:10.102Z] b85a868b505f: Pull complete [2024-11-04T03:29:10.362Z] e2be974225ed: Pull complete [2024-11-04T03:29:10.932Z] 339a4e72a1f5: Pull complete [2024-11-04T03:29:10.932Z] 988bab9f4d93: Pull complete [2024-11-04T03:29:11.192Z] 1469e6f7b9e6: Pull complete [2024-11-04T03:29:11.192Z] eaf3925da568: Pull complete [2024-11-04T03:29:13.099Z] bab4dde63d76: Pull complete [2024-11-04T03:29:13.099Z] bde34c3a00c8: Pull complete [2024-11-04T03:29:13.358Z] b352a97aabf1: Pull complete [2024-11-04T03:29:13.358Z] 4872d77fe225: Pull complete [2024-11-04T03:29:13.358Z] 5851b861e8e6: Pull complete [2024-11-04T03:29:13.358Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-04T03:29:13.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T03:29:13.618Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:29:13.916Z] prd-ubuntu20.04-docker-8c-8g-24473 does not seem to be running inside a container [2024-11-04T03:29:13.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-471 -v /w/workspace/undry_device-onvif-camera_PR-471:/w/workspace/undry_device-onvif-camera_PR-471:rw,z -v /w/workspace/undry_device-onvif-camera_PR-471@tmp:/w/workspace/undry_device-onvif-camera_PR-471@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-11-04T03:29:16.794Z] $ docker top b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 -eo pid,comm [2024-11-04T03:29:16.846Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-04T03:29:16.846Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-04T03:29:17.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T03:29:17.018Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T03:29:17.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T03:29:17.146Z] $ docker exec b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 ssh-agent [2024-11-04T03:29:17.276Z] SSH_AUTH_SOCK=/tmp/ssh-GkiXKWm6vZVK/agent.31 [2024-11-04T03:29:17.276Z] SSH_AGENT_PID=37 [2024-11-04T03:29:17.284Z] Running ssh-add (command line suppressed) [2024-11-04T03:29:17.388Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-471@tmp/private_key_14659043075410700354.key (/w/workspace/undry_device-onvif-camera_PR-471@tmp/private_key_14659043075410700354.key) [2024-11-04T03:29:17.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T03:29:17.753Z] + git tag --points-at HEAD [Pipeline] } [2024-11-04T03:29:17.781Z] $ docker exec --env ******** --env ******** b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 ssh-agent -k [2024-11-04T03:29:17.885Z] unset SSH_AUTH_SOCK; [2024-11-04T03:29:17.885Z] unset SSH_AGENT_PID; [2024-11-04T03:29:17.885Z] echo Agent pid 37 killed; [2024-11-04T03:29:17.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-04T03:29:18.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T03:29:18.007Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T03:29:18.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T03:29:18.144Z] $ docker exec b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 ssh-agent [2024-11-04T03:29:18.282Z] SSH_AUTH_SOCK=/tmp/ssh-17yRAKN1QZQm/agent.71 [2024-11-04T03:29:18.282Z] SSH_AGENT_PID=77 [2024-11-04T03:29:18.287Z] Running ssh-add (command line suppressed) [2024-11-04T03:29:18.389Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-471@tmp/private_key_15351421440202917143.key (/w/workspace/undry_device-onvif-camera_PR-471@tmp/private_key_15351421440202917143.key) [2024-11-04T03:29:18.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T03:29:18.755Z] + git semver init [2024-11-04T03:29:19.016Z] 2024-11-04 03:29:18,975 [run_init] DEBUG init version:0.0.0 force:False [2024-11-04T03:29:19.016Z] 2024-11-04 03:29:18,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-471/.semver [2024-11-04T03:29:19.016Z] 2024-11-04 03:29:18,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-471/.semver [2024-11-04T03:29:19.016Z] 2024-11-04 03:29:18,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-471/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-471, universal_newlines=False, shell=None, istream=None) [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,213 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-471/.git/info/exclude [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-471/.semver/PR-471 with force:False [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,214 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-471/.semver/PR-471 [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,219 [execute] INFO git cat-file --batch-check [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,226 [execute] INFO git cat-file --batch [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T03:29:20.401Z] 2024-11-04 03:29:20,234 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-471/.semver/PR-471 [2024-11-04T03:29:20.401Z] 0.0.0 [Pipeline] } [2024-11-04T03:29:20.428Z] $ docker exec --env ******** --env ******** b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 ssh-agent -k [2024-11-04T03:29:20.535Z] unset SSH_AUTH_SOCK; [2024-11-04T03:29:20.535Z] unset SSH_AGENT_PID; [2024-11-04T03:29:20.536Z] echo Agent pid 77 killed; [2024-11-04T03:29:20.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-04T03:29:21.012Z] + git semver [Pipeline] } [2024-11-04T03:29:21.298Z] $ docker stop --time=1 b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 [2024-11-04T03:29:22.594Z] $ docker rm -f --volumes b42c9547b7d4873890feb9aab16a52b3eb5a068d7d3f14342ef05ef93e78afc5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T03:29:23.023Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-04T03:29:23.361Z] Stashed 1 file(s) [Pipeline] echo [2024-11-04T03:29:23.390Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T03:29:24.125Z] provisioning config files... [2024-11-04T03:29:24.137Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-471@tmp/config11035926030160529231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:29:24.508Z] ---> ****-login.sh [2024-11-04T03:29:24.508Z] nexus3.edgexfoundry.org:10001 [2024-11-04T03:29:24.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:24.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:24.508Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:24.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:24.508Z] [2024-11-04T03:29:24.508Z] Login Succeeded [2024-11-04T03:29:24.508Z] nexus3.edgexfoundry.org:10002 [2024-11-04T03:29:24.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:24.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:24.509Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:24.509Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:24.509Z] [2024-11-04T03:29:24.509Z] Login Succeeded [2024-11-04T03:29:24.509Z] nexus3.edgexfoundry.org:10003 [2024-11-04T03:29:24.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:24.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:24.770Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:24.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:24.770Z] [2024-11-04T03:29:24.770Z] Login Succeeded [2024-11-04T03:29:24.770Z] nexus3.edgexfoundry.org:10004 [2024-11-04T03:29:24.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:24.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:24.770Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:24.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:24.770Z] [2024-11-04T03:29:24.770Z] Login Succeeded [2024-11-04T03:29:24.770Z] ****.io [2024-11-04T03:29:25.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:29:25.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:29:25.030Z] Configure a credential helper to remove this warning. See [2024-11-04T03:29:25.031Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:29:25.031Z] [2024-11-04T03:29:25.031Z] Login Succeeded [2024-11-04T03:29:25.031Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T03:29:25.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T03:29:25.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T03:29:25.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T03:29:25.405Z] ========================================================= [2024-11-04T03:29:25.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-04T03:29:25.405Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:29:25.933Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-04T03:29:25.933Z] Sending build context to Docker daemon 36.8MB [2024-11-04T03:29:25.933Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T03:29:25.933Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-04T03:29:26.193Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-04T03:29:26.193Z] 43c4264eed91: Pulling fs layer [2024-11-04T03:29:26.193Z] 4cc291be95ef: Pulling fs layer [2024-11-04T03:29:26.193Z] 2ac1f1163629: Pulling fs layer [2024-11-04T03:29:26.193Z] 5c3c966382ef: Pulling fs layer [2024-11-04T03:29:26.193Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T03:29:26.193Z] 5d5c8e513c77: Pulling fs layer [2024-11-04T03:29:26.193Z] 9f66e0745190: Pulling fs layer [2024-11-04T03:29:26.193Z] f49a43e4bbc0: Pulling fs layer [2024-11-04T03:29:26.193Z] 561ebcabdf7f: Pulling fs layer [2024-11-04T03:29:26.193Z] 4f4fb700ef54: Waiting [2024-11-04T03:29:26.193Z] 5d5c8e513c77: Waiting [2024-11-04T03:29:26.193Z] 9f66e0745190: Waiting [2024-11-04T03:29:26.193Z] f49a43e4bbc0: Waiting [2024-11-04T03:29:26.193Z] 5c3c966382ef: Waiting [2024-11-04T03:29:26.193Z] 561ebcabdf7f: Waiting [2024-11-04T03:29:26.193Z] 4cc291be95ef: Verifying Checksum [2024-11-04T03:29:26.193Z] 4cc291be95ef: Download complete [2024-11-04T03:29:26.193Z] 5c3c966382ef: Download complete [2024-11-04T03:29:26.193Z] 4f4fb700ef54: Verifying Checksum [2024-11-04T03:29:26.193Z] 4f4fb700ef54: Download complete [2024-11-04T03:29:26.193Z] 5d5c8e513c77: Verifying Checksum [2024-11-04T03:29:26.193Z] 5d5c8e513c77: Download complete [2024-11-04T03:29:26.193Z] 43c4264eed91: Download complete [2024-11-04T03:29:26.193Z] 9f66e0745190: Verifying Checksum [2024-11-04T03:29:26.193Z] 9f66e0745190: Download complete [2024-11-04T03:29:26.460Z] 43c4264eed91: Pull complete [2024-11-04T03:29:26.460Z] 561ebcabdf7f: Download complete [2024-11-04T03:29:26.719Z] 4cc291be95ef: Pull complete [2024-11-04T03:29:26.719Z] 2ac1f1163629: Download complete [2024-11-04T03:29:26.978Z] f49a43e4bbc0: Verifying Checksum [2024-11-04T03:29:26.978Z] f49a43e4bbc0: Download complete [2024-11-04T03:29:30.281Z] 2ac1f1163629: Pull complete [2024-11-04T03:29:30.542Z] 5c3c966382ef: Pull complete [2024-11-04T03:29:30.542Z] 4f4fb700ef54: Pull complete [2024-11-04T03:29:30.542Z] 5d5c8e513c77: Pull complete [2024-11-04T03:29:30.802Z] 9f66e0745190: Pull complete [2024-11-04T03:29:33.336Z] f49a43e4bbc0: Pull complete [2024-11-04T03:29:33.595Z] 561ebcabdf7f: Pull complete [2024-11-04T03:29:33.595Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-04T03:29:33.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-04T03:29:33.595Z] ---> 3a752c3f9dda [2024-11-04T03:29:33.595Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-04T03:29:38.897Z] Still waiting to schedule task [2024-11-04T03:29:38.898Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-04T03:29:38.965Z] ---> Running in 8629fefe82a4 [2024-11-04T03:29:38.965Z] Removing intermediate container 8629fefe82a4 [2024-11-04T03:29:38.965Z] ---> ce24b997d7ef [2024-11-04T03:29:38.965Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T03:29:38.965Z] ---> Running in 003b2a2c73ac [2024-11-04T03:29:38.965Z] Removing intermediate container 003b2a2c73ac [2024-11-04T03:29:38.965Z] ---> 9c0c5d505371 [2024-11-04T03:29:38.965Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-04T03:29:38.965Z] ---> Running in d771e9129559 [2024-11-04T03:29:38.965Z] Removing intermediate container d771e9129559 [2024-11-04T03:29:38.965Z] ---> 77411103e939 [2024-11-04T03:29:38.965Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T03:29:38.965Z] ---> Running in 723a344b9139 [2024-11-04T03:29:38.965Z] Removing intermediate container 723a344b9139 [2024-11-04T03:29:38.965Z] ---> c3814fc5d285 [2024-11-04T03:29:38.966Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-04T03:29:38.966Z] ---> Running in 9f55de31bfe8 [2024-11-04T03:29:38.966Z] Removing intermediate container 9f55de31bfe8 [2024-11-04T03:29:38.966Z] ---> cdf6af1bebb3 [2024-11-04T03:29:38.966Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T03:29:38.966Z] ---> Running in d6951a716573 [2024-11-04T03:29:38.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T03:29:39.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T03:29:39.510Z] OK: 246 MiB in 54 packages [2024-11-04T03:29:39.770Z] Removing intermediate container d6951a716573 [2024-11-04T03:29:39.770Z] ---> 3e11a3839063 [2024-11-04T03:29:39.770Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-04T03:29:39.770Z] ---> Running in 477f5272bb87 [2024-11-04T03:29:40.029Z] Removing intermediate container 477f5272bb87 [2024-11-04T03:29:40.029Z] ---> 473eba4c7d06 [2024-11-04T03:29:40.029Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-04T03:29:40.029Z] ---> 49d838d88afd [2024-11-04T03:29:40.029Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T03:29:40.029Z] ---> Running in 74fe714fe1b7 [2024-11-04T03:30:49.459Z] Removing intermediate container 74fe714fe1b7 [2024-11-04T03:30:49.459Z] ---> a875580b5b80 [2024-11-04T03:30:49.459Z] Step 12/13 : COPY . . [2024-11-04T03:30:49.459Z] ---> f139ce7cac43 [2024-11-04T03:30:49.459Z] Step 13/13 : RUN ${MAKE} [2024-11-04T03:30:49.459Z] ---> Running in 1fadc5ff76d8 [2024-11-04T03:30:49.459Z] noop [2024-11-04T03:30:49.459Z] Removing intermediate container 1fadc5ff76d8 [2024-11-04T03:30:49.459Z] ---> 57a9edbd3b20 [2024-11-04T03:30:49.459Z] Successfully built 57a9edbd3b20 [2024-11-04T03:30:49.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:30:49.958Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T03:30:49.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:30:50.134Z] prd-ubuntu20.04-docker-8c-8g-24473 does not seem to be running inside a container [2024-11-04T03:30:50.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-471 -v /w/workspace/undry_device-onvif-camera_PR-471:/w/workspace/undry_device-onvif-camera_PR-471:rw,z -v /w/workspace/undry_device-onvif-camera_PR-471@tmp:/w/workspace/undry_device-onvif-camera_PR-471@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-11-04T03:30:50.536Z] $ docker top 446e1cd43415d5d92dd281cb0077d1edeb573167ffc5327c78e687a7743c6960 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T03:30:50.950Z] + go version [2024-11-04T03:30:50.950Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-04T03:30:50.982Z] $ docker stop --time=1 446e1cd43415d5d92dd281cb0077d1edeb573167ffc5327c78e687a7743c6960 [2024-11-04T03:30:52.290Z] $ docker rm -f --volumes 446e1cd43415d5d92dd281cb0077d1edeb573167ffc5327c78e687a7743c6960 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:30:53.080Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T03:30:53.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:30:53.246Z] prd-ubuntu20.04-docker-8c-8g-24473 does not seem to be running inside a container [2024-11-04T03:30:53.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-471 -v /w/workspace/undry_device-onvif-camera_PR-471:/w/workspace/undry_device-onvif-camera_PR-471:rw,z -v /w/workspace/undry_device-onvif-camera_PR-471@tmp:/w/workspace/undry_device-onvif-camera_PR-471@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-11-04T03:30:53.629Z] $ docker top f1b01ad9c614cad82cef1f802fd7943e7c629db5c15587b0b5e91607ae7c5388 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T03:30:54.039Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-471 [Pipeline] fileExists [Pipeline] sh [2024-11-04T03:30:54.419Z] + make test [2024-11-04T03:30:54.420Z] go test ./... -coverprofile=coverage.out ./... [2024-11-04T03:30:56.339Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-04T03:31:11.195Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24474 in /w/workspace/undry_device-onvif-camera_PR-471 [Pipeline] { [Pipeline] ws [2024-11-04T03:31:11.271Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-04T03:31:11.373Z] The recommended git tool is: git [2024-11-04T03:31:17.960Z] using credential edgex-jenkins-ssh [2024-11-04T03:31:17.989Z] Cloning the remote Git repository [2024-11-04T03:31:18.289Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-04T03:31:18.289Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-04T03:31:18.289Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements [2024-11-04T03:31:18.856Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.625s coverage: 86.5% of statements [2024-11-04T03:31:18.037Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-04T03:31:18.145Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-11-04T03:31:18.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-04T03:31:18.323Z] > git --version # timeout=10 [2024-11-04T03:31:18.357Z] > git --version # 'git version 2.25.1' [2024-11-04T03:31:18.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T03:31:18.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T03:31:21.190Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-04T03:31:21.226Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T03:31:22.832Z] Merging remotes/origin/main commit b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c into PR head commit f80d6f0f415602187c4b7782428aa9efb3b3f6fd [2024-11-04T03:31:23.283Z] Merge succeeded, producing f80d6f0f415602187c4b7782428aa9efb3b3f6fd [2024-11-04T03:31:23.284Z] Checking out Revision f80d6f0f415602187c4b7782428aa9efb3b3f6fd (PR-471) [2024-11-04T03:31:22.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-04T03:31:22.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-04T03:31:22.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T03:31:22.340Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-04T03:31:22.853Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T03:31:22.952Z] > git checkout -f f80d6f0f415602187c4b7782428aa9efb3b3f6fd # timeout=10 [2024-11-04T03:31:23.150Z] > git remote # timeout=10 [2024-11-04T03:31:23.177Z] > git config --get remote.origin.url # timeout=10 [2024-11-04T03:31:23.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T03:31:23.221Z] > git merge b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 [2024-11-04T03:31:23.251Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-04T03:31:23.288Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T03:31:23.315Z] > git checkout -f f80d6f0f415602187c4b7782428aa9efb3b3f6fd # timeout=10 [2024-11-04T03:31:24.045Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-04T03:31:24.092Z] > git --version # timeout=10 [2024-11-04T03:31:24.113Z] > git --version # 'git version 2.25.1' [2024-11-04T03:31:24.138Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T03:31:29.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-04T03:31:29.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T03:31:29.255Z] Dload Upload Total Spent Left Speed [2024-11-04T03:31:29.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 101k 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-11-04T03:31:29.605Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-04T03:31:29.978Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-11-04T03:31:29.978Z] sudo tee /etc/docker/daemon.new [2024-11-04T03:31:29.978Z] { [2024-11-04T03:31:29.978Z] "registry-mirrors": [ [2024-11-04T03:31:29.978Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-04T03:31:29.978Z] ], [2024-11-04T03:31:29.978Z] "bip": "10.250.0.254/24", [2024-11-04T03:31:29.978Z] "hosts": [ [2024-11-04T03:31:29.978Z] "tcp://0.0.0.0:5555", [2024-11-04T03:31:29.978Z] "unix:///var/run/docker.sock" [2024-11-04T03:31:29.978Z] ], [2024-11-04T03:31:29.978Z] "mtu": 1458, [2024-11-04T03:31:29.978Z] "selinux-enabled": true, [2024-11-04T03:31:29.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-04T03:31:29.978Z] } [Pipeline] sh [2024-11-04T03:31:30.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-04T03:31:30.700Z] + sudo service docker restart [2024-11-04T03:31:33.740Z] go vet ./... [2024-11-04T03:31:40.303Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T03:31:40.303Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T03:31:40.303Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T03:31:40.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T03:31:40.391Z] $ docker stop --time=1 f1b01ad9c614cad82cef1f802fd7943e7c629db5c15587b0b5e91607ae7c5388 [2024-11-04T03:31:42.308Z] $ docker rm -f --volumes f1b01ad9c614cad82cef1f802fd7943e7c629db5c15587b0b5e91607ae7c5388 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T03:31:43.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T03:31:43.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-04T03:31:44.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T03:31:44.359Z] + ls -al . [2024-11-04T03:31:44.359Z] total 316 [2024-11-04T03:31:44.359Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 03:30 . [2024-11-04T03:31:44.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:28 .. [2024-11-04T03:31:44.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 03:31 .git [2024-11-04T03:31:44.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 03:28 .github [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 4 03:28 .gitignore [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 4 03:28 .golangci.yml [2024-11-04T03:31:44.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 03:29 .semver [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 4 03:28 Attribution.txt [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 4 03:28 CHANGELOG.md [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 4 03:28 Dockerfile [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 03:28 GOVERNANCE.md [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 4 03:28 Jenkinsfile [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 4 03:28 LICENSE [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 4 03:28 Makefile [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 4 03:28 OWNERS.md [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 4 03:28 README.md [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 03:29 VERSION [2024-11-04T03:31:44.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 03:28 bin [2024-11-04T03:31:44.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 03:28 cmd [2024-11-04T03:31:44.359Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 4 03:31 coverage.out [2024-11-04T03:31:44.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:28 doc [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 4 03:28 go.mod [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 4 03:28 go.sum [2024-11-04T03:31:44.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:28 internal [2024-11-04T03:31:44.359Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 4 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:31:44.792Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f80d6f0f415602187c4b7782428aa9efb3b3f6fd --label arch=amd64 --label version=0.0.0 . [2024-11-04T03:31:44.792Z] Sending build context to Docker daemon 36.9MB [2024-11-04T03:31:44.792Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T03:31:44.792Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-04T03:31:44.792Z] ---> 57a9edbd3b20 [2024-11-04T03:31:44.792Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-04T03:31:45.361Z] ---> Running in 39defb853d16 [2024-11-04T03:31:45.619Z] Removing intermediate container 39defb853d16 [2024-11-04T03:31:45.619Z] ---> d77c6053b201 [2024-11-04T03:31:45.619Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T03:31:45.619Z] ---> Running in ffd1b07fa602 [2024-11-04T03:31:45.619Z] Removing intermediate container ffd1b07fa602 [2024-11-04T03:31:45.619Z] ---> a4c1ea89d54a [2024-11-04T03:31:45.620Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-04T03:31:45.620Z] ---> Running in d4b2aa3bae1a [2024-11-04T03:31:45.620Z] Removing intermediate container d4b2aa3bae1a [2024-11-04T03:31:45.620Z] ---> e5dbcac14391 [2024-11-04T03:31:45.620Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T03:31:45.877Z] ---> Running in 2ad3685c5cee [2024-11-04T03:31:45.877Z] Removing intermediate container 2ad3685c5cee [2024-11-04T03:31:45.877Z] ---> 61a4080ff097 [2024-11-04T03:31:45.877Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-04T03:31:45.877Z] ---> Running in c7601ea9b717 [2024-11-04T03:31:45.877Z] Removing intermediate container c7601ea9b717 [2024-11-04T03:31:45.877Z] ---> 3c20a466db1e [2024-11-04T03:31:45.877Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T03:31:45.877Z] ---> Running in 917ce83e436e [2024-11-04T03:31:46.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T03:31:46.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T03:31:46.650Z] OK: 246 MiB in 54 packages [2024-11-04T03:31:47.218Z] Removing intermediate container 917ce83e436e [2024-11-04T03:31:47.218Z] ---> a9b835e71e10 [2024-11-04T03:31:47.218Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-04T03:31:47.218Z] ---> Running in a7eaad2ff7a3 [2024-11-04T03:31:47.218Z] Removing intermediate container a7eaad2ff7a3 [2024-11-04T03:31:47.218Z] ---> 20e106052b93 [2024-11-04T03:31:47.218Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-04T03:31:47.218Z] ---> c79eba7b6faf [2024-11-04T03:31:47.218Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T03:31:47.477Z] ---> Running in db34dfec35c3 [2024-11-04T03:31:48.044Z] Removing intermediate container db34dfec35c3 [2024-11-04T03:31:48.044Z] ---> c859a9d8c66f [2024-11-04T03:31:48.044Z] Step 12/27 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T03:31:49.111Z] provisioning config files... [2024-11-04T03:31:49.146Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1102615737105375769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:31:49.416Z] ---> 35283fcee781 [2024-11-04T03:31:49.416Z] Step 13/27 : RUN ${MAKE} [2024-11-04T03:31:49.416Z] ---> Running in 1c1e1f76dac2 [2024-11-04T03:31:49.416Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-04T03:31:49.670Z] ---> ****-login.sh [2024-11-04T03:31:49.670Z] nexus3.edgexfoundry.org:10001 [2024-11-04T03:31:49.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:31:50.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:31:50.219Z] Configure a credential helper to remove this warning. See [2024-11-04T03:31:50.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:31:50.219Z] [2024-11-04T03:31:50.219Z] Login Succeeded [2024-11-04T03:31:50.219Z] nexus3.edgexfoundry.org:10002 [2024-11-04T03:31:50.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:31:50.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:31:50.491Z] Configure a credential helper to remove this warning. See [2024-11-04T03:31:50.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:31:50.491Z] [2024-11-04T03:31:50.491Z] Login Succeeded [2024-11-04T03:31:50.762Z] nexus3.edgexfoundry.org:10003 [2024-11-04T03:31:50.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:31:51.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:31:51.034Z] Configure a credential helper to remove this warning. See [2024-11-04T03:31:51.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:31:51.034Z] [2024-11-04T03:31:51.034Z] Login Succeeded [2024-11-04T03:31:51.034Z] nexus3.edgexfoundry.org:10004 [2024-11-04T03:31:51.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:31:51.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:31:51.306Z] Configure a credential helper to remove this warning. See [2024-11-04T03:31:51.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:31:51.306Z] [2024-11-04T03:31:51.306Z] Login Succeeded [2024-11-04T03:31:51.306Z] ****.io [2024-11-04T03:31:51.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T03:31:51.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T03:31:51.848Z] Configure a credential helper to remove this warning. See [2024-11-04T03:31:51.848Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T03:31:51.848Z] [2024-11-04T03:31:51.848Z] Login Succeeded [2024-11-04T03:31:51.848Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T03:31:51.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T03:31:52.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T03:31:52.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T03:31:52.448Z] ========================================================= [2024-11-04T03:31:52.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-04T03:31:52.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:31:52.974Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-04T03:31:53.561Z] Sending build context to Docker daemon 21.81MB [2024-11-04T03:31:53.561Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T03:31:53.561Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-04T03:31:53.833Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-04T03:31:53.833Z] cf04c63912e1: Pulling fs layer [2024-11-04T03:31:53.833Z] 55b35a11ae5e: Pulling fs layer [2024-11-04T03:31:53.833Z] a37a00ec5f00: Pulling fs layer [2024-11-04T03:31:53.833Z] 50b3750afda1: Pulling fs layer [2024-11-04T03:31:53.833Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T03:31:53.833Z] 80978eb59214: Pulling fs layer [2024-11-04T03:31:53.833Z] c9f46d7d2bd2: Pulling fs layer [2024-11-04T03:31:53.833Z] c5a475d317c9: Pulling fs layer [2024-11-04T03:31:53.833Z] 80978eb59214: Waiting [2024-11-04T03:31:53.833Z] c9f46d7d2bd2: Waiting [2024-11-04T03:31:53.833Z] c5a475d317c9: Waiting [2024-11-04T03:31:53.833Z] 50b3750afda1: Waiting [2024-11-04T03:31:53.833Z] 4f4fb700ef54: Waiting [2024-11-04T03:31:53.833Z] 55b35a11ae5e: Verifying Checksum [2024-11-04T03:31:53.833Z] 55b35a11ae5e: Download complete [2024-11-04T03:31:53.833Z] 50b3750afda1: Verifying Checksum [2024-11-04T03:31:53.833Z] 50b3750afda1: Download complete [2024-11-04T03:31:53.833Z] 4f4fb700ef54: Download complete [2024-11-04T03:31:53.833Z] 80978eb59214: Verifying Checksum [2024-11-04T03:31:53.833Z] 80978eb59214: Download complete [2024-11-04T03:31:53.833Z] cf04c63912e1: Verifying Checksum [2024-11-04T03:31:53.833Z] cf04c63912e1: Download complete [2024-11-04T03:31:54.417Z] c5a475d317c9: Verifying Checksum [2024-11-04T03:31:54.417Z] c5a475d317c9: Download complete [2024-11-04T03:31:55.004Z] cf04c63912e1: Pull complete [2024-11-04T03:31:55.590Z] 55b35a11ae5e: Pull complete [2024-11-04T03:31:56.171Z] a37a00ec5f00: Verifying Checksum [2024-11-04T03:31:56.171Z] a37a00ec5f00: Download complete [2024-11-04T03:31:56.761Z] c9f46d7d2bd2: Verifying Checksum [2024-11-04T03:31:56.761Z] c9f46d7d2bd2: Download complete [2024-11-04T03:32:09.066Z] a37a00ec5f00: Pull complete [2024-11-04T03:32:09.334Z] 50b3750afda1: Pull complete [2024-11-04T03:32:09.601Z] 4f4fb700ef54: Pull complete [2024-11-04T03:32:09.867Z] 80978eb59214: Pull complete [2024-11-04T03:32:18.084Z] c9f46d7d2bd2: Pull complete [2024-11-04T03:32:18.664Z] c5a475d317c9: Pull complete [2024-11-04T03:32:18.664Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-04T03:32:18.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-04T03:32:18.664Z] ---> be29e6b0f0d4 [2024-11-04T03:32:18.664Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-04T03:32:19.619Z] ---> Running in 56744079dc72 [2024-11-04T03:32:19.619Z] Removing intermediate container 56744079dc72 [2024-11-04T03:32:19.619Z] ---> a710e261de62 [2024-11-04T03:32:19.619Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T03:32:19.619Z] ---> Running in 47ad3e0e38d9 [2024-11-04T03:32:19.884Z] Removing intermediate container 47ad3e0e38d9 [2024-11-04T03:32:19.884Z] ---> 52614f9e004c [2024-11-04T03:32:19.884Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-04T03:32:20.161Z] ---> Running in 1c8fa6a47178 [2024-11-04T03:32:20.161Z] Removing intermediate container 1c8fa6a47178 [2024-11-04T03:32:20.161Z] ---> d7eaf52eaba2 [2024-11-04T03:32:20.161Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T03:32:20.425Z] ---> Running in 92af01c12f70 [2024-11-04T03:32:20.693Z] Removing intermediate container 92af01c12f70 [2024-11-04T03:32:20.693Z] ---> adc18ca1ddd1 [2024-11-04T03:32:20.693Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-04T03:32:20.693Z] ---> Running in a68113881abf [2024-11-04T03:32:20.960Z] Removing intermediate container a68113881abf [2024-11-04T03:32:20.960Z] ---> f44ebdcc16c2 [2024-11-04T03:32:20.960Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T03:32:20.960Z] ---> Running in 199e5ffb9cc7 [2024-11-04T03:32:22.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T03:32:22.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T03:32:23.777Z] OK: 238 MiB in 54 packages [2024-11-04T03:32:24.362Z] Removing intermediate container 199e5ffb9cc7 [2024-11-04T03:32:24.362Z] ---> f6a11d10fc0e [2024-11-04T03:32:24.362Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-04T03:32:24.628Z] ---> Running in 01cae603f644 [2024-11-04T03:32:24.894Z] Removing intermediate container 01cae603f644 [2024-11-04T03:32:24.894Z] ---> 748bc6e751c2 [2024-11-04T03:32:24.894Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-04T03:32:25.159Z] ---> be1df9845fda [2024-11-04T03:32:25.159Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T03:32:25.425Z] ---> Running in ad2d89080b31 [2024-11-04T03:32:28.545Z] Removing intermediate container 1c1e1f76dac2 [2024-11-04T03:32:28.545Z] ---> 44bb6a667559 [2024-11-04T03:32:28.545Z] Step 14/27 : FROM alpine:3.20 [2024-11-04T03:32:28.545Z] 3.20: Pulling from library/alpine [2024-11-04T03:32:28.545Z] 43c4264eed91: Already exists [2024-11-04T03:32:28.545Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T03:32:28.545Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T03:32:28.545Z] ---> 91ef0af61f39 [2024-11-04T03:32:28.545Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-04T03:32:28.545Z] ---> Running in 24b2d3a1d48a [2024-11-04T03:32:28.545Z] Removing intermediate container 24b2d3a1d48a [2024-11-04T03:32:28.545Z] ---> 74627fda30e4 [2024-11-04T03:32:28.545Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-04T03:32:28.545Z] ---> Running in 7b18a40a003b [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T03:32:28.545Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T03:32:28.545Z] OK: 8 MiB in 15 packages [2024-11-04T03:32:28.545Z] Removing intermediate container 7b18a40a003b [2024-11-04T03:32:28.545Z] ---> 55590bc19464 [2024-11-04T03:32:28.545Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-04T03:32:28.545Z] ---> Running in 810a746f2a27 [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] Upgrading critical system libraries and apk-tools: [2024-11-04T03:32:28.545Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T03:32:28.545Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T03:32:28.545Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T03:32:28.545Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T03:32:28.545Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T03:32:28.545Z] OK: 8 MiB in 15 packages [2024-11-04T03:32:28.545Z] Removing intermediate container 810a746f2a27 [2024-11-04T03:32:28.545Z] ---> 0053ded3d23b [2024-11-04T03:32:28.545Z] Step 18/27 : WORKDIR / [2024-11-04T03:32:28.545Z] ---> Running in aaf775167351 [2024-11-04T03:32:28.545Z] Removing intermediate container aaf775167351 [2024-11-04T03:32:28.545Z] ---> 08f86414a2f0 [2024-11-04T03:32:28.545Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-04T03:32:29.945Z] ---> b6f8cfea08a8 [2024-11-04T03:32:29.945Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-04T03:32:29.945Z] ---> 87ec80ee7ce1 [2024-11-04T03:32:29.945Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-04T03:32:29.945Z] ---> 1126a18c1228 [2024-11-04T03:32:29.945Z] Step 22/27 : EXPOSE 59984 [2024-11-04T03:32:29.945Z] ---> Running in 0a7ed0994014 [2024-11-04T03:32:29.945Z] Removing intermediate container 0a7ed0994014 [2024-11-04T03:32:29.945Z] ---> a85903a895cb [2024-11-04T03:32:29.945Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-04T03:32:29.945Z] ---> Running in 4b456f2945fd [2024-11-04T03:32:30.204Z] Removing intermediate container 4b456f2945fd [2024-11-04T03:32:30.204Z] ---> e84b10674d46 [2024-11-04T03:32:30.204Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T03:32:30.204Z] ---> Running in 35808f86f608 [2024-11-04T03:32:30.204Z] Removing intermediate container 35808f86f608 [2024-11-04T03:32:30.204Z] ---> 6aa268c48b37 [2024-11-04T03:32:30.204Z] Step 25/27 : LABEL arch=amd64 [2024-11-04T03:32:30.204Z] ---> Running in 98cbffbeaca0 [2024-11-04T03:32:30.204Z] Removing intermediate container 98cbffbeaca0 [2024-11-04T03:32:30.204Z] ---> 051af5c13d29 [2024-11-04T03:32:30.204Z] Step 26/27 : LABEL git_sha=f80d6f0f415602187c4b7782428aa9efb3b3f6fd [2024-11-04T03:32:30.204Z] ---> Running in fd9f02233327 [2024-11-04T03:32:30.464Z] Removing intermediate container fd9f02233327 [2024-11-04T03:32:30.464Z] ---> 32de98077638 [2024-11-04T03:32:30.464Z] Step 27/27 : LABEL version=0.0.0 [2024-11-04T03:32:30.464Z] ---> Running in 8781b5848ade [2024-11-04T03:32:30.464Z] Removing intermediate container 8781b5848ade [2024-11-04T03:32:30.464Z] ---> 7b9e06fff963 [2024-11-04T03:32:30.464Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T03:32:30.464Z] Successfully built 7b9e06fff963 [2024-11-04T03:32:30.464Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:32:31.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T03:32:31.630Z] [2024-11-04T03:32:31.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:32:32.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T03:32:32.039Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-04T03:32:32.039Z] 5eb5b503b376: Pulling fs layer [2024-11-04T03:32:32.039Z] 5c69ac0246d0: Pulling fs layer [2024-11-04T03:32:32.039Z] ec43610c2a17: Pulling fs layer [2024-11-04T03:32:32.039Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-04T03:32:32.039Z] 33b1e0a273af: Pulling fs layer [2024-11-04T03:32:32.039Z] 5d3b04190fa2: Pulling fs layer [2024-11-04T03:32:32.039Z] 2f39f015ded8: Pulling fs layer [2024-11-04T03:32:32.039Z] 3a2ae6a8a46f: Waiting [2024-11-04T03:32:32.039Z] 33b1e0a273af: Waiting [2024-11-04T03:32:32.039Z] 5d3b04190fa2: Waiting [2024-11-04T03:32:32.039Z] 2f39f015ded8: Waiting [2024-11-04T03:32:32.039Z] 5c69ac0246d0: Verifying Checksum [2024-11-04T03:32:32.039Z] 5c69ac0246d0: Download complete [2024-11-04T03:32:32.039Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-04T03:32:32.039Z] 3a2ae6a8a46f: Download complete [2024-11-04T03:32:32.039Z] 33b1e0a273af: Verifying Checksum [2024-11-04T03:32:32.039Z] 33b1e0a273af: Download complete [2024-11-04T03:32:32.039Z] 5d3b04190fa2: Verifying Checksum [2024-11-04T03:32:32.039Z] 5d3b04190fa2: Download complete [2024-11-04T03:32:32.039Z] ec43610c2a17: Download complete [2024-11-04T03:32:32.297Z] 5eb5b503b376: Download complete [2024-11-04T03:32:32.864Z] 2f39f015ded8: Download complete [2024-11-04T03:32:33.431Z] 5eb5b503b376: Pull complete [2024-11-04T03:32:33.689Z] 5c69ac0246d0: Pull complete [2024-11-04T03:32:34.257Z] ec43610c2a17: Pull complete [2024-11-04T03:32:34.257Z] 3a2ae6a8a46f: Pull complete [2024-11-04T03:32:34.516Z] 33b1e0a273af: Pull complete [2024-11-04T03:32:34.516Z] 5d3b04190fa2: Pull complete [2024-11-04T03:32:39.784Z] 2f39f015ded8: Pull complete [2024-11-04T03:32:39.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-04T03:32:39.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T03:32:39.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:32:40.069Z] prd-ubuntu20.04-docker-8c-8g-24473 does not seem to be running inside a container [2024-11-04T03:32:40.097Z] $ 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/undry_device-onvif-camera_PR-471 -v /w/workspace/undry_device-onvif-camera_PR-471:/w/workspace/undry_device-onvif-camera_PR-471:rw,z -v /w/workspace/undry_device-onvif-camera_PR-471@tmp:/w/workspace/undry_device-onvif-camera_PR-471@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-11-04T03:32:45.142Z] $ docker top 6e4c69376daafe6b57b4806093277e08b28d8d33a6e4bee12892b3faaed8aaf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:32:45.660Z] ---> job-cost.sh [2024-11-04T03:32:45.660Z] lf-activate-venv: SKIPPING [2024-11-04T03:32:45.660Z] INFO: No Stack... [2024-11-04T03:32:45.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T03:32:46.179Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T03:32:46.504Z] + cat /w/workspace/undry_device-onvif-camera_PR-471/archives/cost.csv [2024-11-04T03:32:46.504Z] + cut -d, -f6 [Pipeline] lock [2024-11-04T03:32:46.556Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [2024-11-04T03:32:46.562Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] did not exist. Created. [2024-11-04T03:32:46.569Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-04T03:32:46.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-04T03:32:47.048Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T03:32:47.085Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T03:32:47.168Z] $ docker stop --time=1 6e4c69376daafe6b57b4806093277e08b28d8d33a6e4bee12892b3faaed8aaf4 [2024-11-04T03:32:48.348Z] $ docker rm -f --volumes 6e4c69376daafe6b57b4806093277e08b28d8d33a6e4bee12892b3faaed8aaf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-04T03:34:32.101Z] Removing intermediate container ad2d89080b31 [2024-11-04T03:34:32.101Z] ---> bc80e8d55f71 [2024-11-04T03:34:32.101Z] Step 12/13 : COPY . . [2024-11-04T03:34:32.101Z] ---> 204c99b2f212 [2024-11-04T03:34:32.101Z] Step 13/13 : RUN ${MAKE} [2024-11-04T03:34:32.101Z] ---> Running in d6425c549319 [2024-11-04T03:34:32.101Z] noop [2024-11-04T03:34:32.101Z] Removing intermediate container d6425c549319 [2024-11-04T03:34:32.101Z] ---> de9d80b49f28 [2024-11-04T03:34:32.101Z] Successfully built de9d80b49f28 [2024-11-04T03:34:32.101Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:34:32.636Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T03:34:32.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:34:32.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-24474 does not seem to be running inside a container [2024-11-04T03:34:32.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** ci-base-image-arm64 cat [2024-11-04T03:34:34.150Z] $ docker top 80d5855636a2ed6d716e55605976ddc34d5c687c3f7b9a1cb9f27e41df106a7d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T03:34:35.022Z] + go version [2024-11-04T03:34:35.022Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-04T03:34:35.064Z] $ docker stop --time=1 80d5855636a2ed6d716e55605976ddc34d5c687c3f7b9a1cb9f27e41df106a7d [2024-11-04T03:34:36.616Z] $ docker rm -f --volumes 80d5855636a2ed6d716e55605976ddc34d5c687c3f7b9a1cb9f27e41df106a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:34:37.465Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T03:34:37.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:34:37.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-24474 does not seem to be running inside a container [2024-11-04T03:34:37.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** ci-base-image-arm64 cat [2024-11-04T03:34:38.851Z] $ docker top bf9049fa24bfcdbddcce3c8bc8ae678dae8e10d6af618dd7b1f2ccda32013a46 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T03:34:39.392Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-04T03:34:39.791Z] + make test [2024-11-04T03:34:39.791Z] go test ./... -coverprofile=coverage.out ./... [2024-11-04T03:34:45.127Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-04T03:38:06.928Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-04T03:38:06.928Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-04T03:38:06.928Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.179s coverage: 31.4% of statements [2024-11-04T03:38:33.809Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.431s coverage: 86.5% of statements [2024-11-04T03:38:33.809Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-04T03:38:33.809Z] go vet ./... [2024-11-04T03:39:20.695Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T03:39:20.695Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T03:39:20.695Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T03:39:20.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T03:39:20.789Z] $ docker stop --time=1 bf9049fa24bfcdbddcce3c8bc8ae678dae8e10d6af618dd7b1f2ccda32013a46 [2024-11-04T03:39:22.670Z] $ docker rm -f --volumes bf9049fa24bfcdbddcce3c8bc8ae678dae8e10d6af618dd7b1f2ccda32013a46 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T03:39:24.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T03:39:24.376Z] Warning: overwriting stash ‘coverage-report’ [2024-11-04T03:39:24.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T03:39:25.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T03:39:25.998Z] + ls -al . [2024-11-04T03:39:25.998Z] total 312 [2024-11-04T03:39:25.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 03:34 . [2024-11-04T03:39:25.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:31 .. [2024-11-04T03:39:25.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 03:31 .git [2024-11-04T03:39:25.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 03:31 .github [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 4 03:31 .gitignore [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 4 03:31 .golangci.yml [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 4 03:31 Attribution.txt [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 4 03:31 CHANGELOG.md [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 4 03:31 Dockerfile [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 03:31 GOVERNANCE.md [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 4 03:31 Jenkinsfile [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 4 03:31 LICENSE [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 4 03:31 Makefile [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 4 03:31 OWNERS.md [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 4 03:31 README.md [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 03:29 VERSION [2024-11-04T03:39:25.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 03:31 bin [2024-11-04T03:39:25.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 03:31 cmd [2024-11-04T03:39:25.998Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 4 03:38 coverage.out [2024-11-04T03:39:25.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:31 doc [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 4 03:31 go.mod [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 4 03:31 go.sum [2024-11-04T03:39:25.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 03:31 internal [2024-11-04T03:39:25.998Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 4 03:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:39:26.456Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f80d6f0f415602187c4b7782428aa9efb3b3f6fd --label arch=arm64 --label version=0.0.0 . [2024-11-04T03:39:27.045Z] Sending build context to Docker daemon 21.9MB [2024-11-04T03:39:27.045Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T03:39:27.045Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-04T03:39:27.045Z] ---> de9d80b49f28 [2024-11-04T03:39:27.045Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-04T03:39:27.313Z] ---> Running in 5014ebd3b5dd [2024-11-04T03:39:27.583Z] Removing intermediate container 5014ebd3b5dd [2024-11-04T03:39:27.583Z] ---> 195223582192 [2024-11-04T03:39:27.583Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T03:39:27.583Z] ---> Running in bba276d6fc54 [2024-11-04T03:39:27.873Z] Removing intermediate container bba276d6fc54 [2024-11-04T03:39:27.873Z] ---> 7649010974c9 [2024-11-04T03:39:27.873Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-04T03:39:28.140Z] ---> Running in a4560872cfed [2024-11-04T03:39:28.407Z] Removing intermediate container a4560872cfed [2024-11-04T03:39:28.408Z] ---> 008964caea33 [2024-11-04T03:39:28.408Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T03:39:28.408Z] ---> Running in c7a183690f70 [2024-11-04T03:39:28.675Z] Removing intermediate container c7a183690f70 [2024-11-04T03:39:28.676Z] ---> 37546c5994d5 [2024-11-04T03:39:28.676Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-04T03:39:28.676Z] ---> Running in 4f3810ddae86 [2024-11-04T03:39:28.950Z] Removing intermediate container 4f3810ddae86 [2024-11-04T03:39:28.950Z] ---> b54dffb2915b [2024-11-04T03:39:28.950Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T03:39:29.239Z] ---> Running in e854efb13d21 [2024-11-04T03:39:30.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T03:39:30.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T03:39:31.900Z] OK: 238 MiB in 54 packages [2024-11-04T03:39:32.863Z] Removing intermediate container e854efb13d21 [2024-11-04T03:39:32.863Z] ---> a6fdfd8260a4 [2024-11-04T03:39:32.863Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-04T03:39:32.863Z] ---> Running in 298022c95147 [2024-11-04T03:39:33.130Z] Removing intermediate container 298022c95147 [2024-11-04T03:39:33.130Z] ---> e6905d94befd [2024-11-04T03:39:33.130Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-04T03:39:33.721Z] ---> 84fdb28516d1 [2024-11-04T03:39:33.721Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T03:39:33.721Z] ---> Running in 07492965075d [2024-11-04T03:39:36.303Z] Removing intermediate container 07492965075d [2024-11-04T03:39:36.303Z] ---> a16a07df1b4d [2024-11-04T03:39:36.303Z] Step 12/27 : COPY . . [2024-11-04T03:39:37.730Z] ---> d8f00afaffba [2024-11-04T03:39:37.730Z] Step 13/27 : RUN ${MAKE} [2024-11-04T03:39:37.730Z] ---> Running in 66aadfc01db1 [2024-11-04T03:39:38.317Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-04T03:43:15.102Z] Removing intermediate container 66aadfc01db1 [2024-11-04T03:43:15.102Z] ---> b6de4ca9752b [2024-11-04T03:43:15.102Z] Step 14/27 : FROM alpine:3.20 [2024-11-04T03:43:15.102Z] 3.20: Pulling from library/alpine [2024-11-04T03:43:15.102Z] cf04c63912e1: Already exists [2024-11-04T03:43:15.102Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T03:43:15.102Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T03:43:15.102Z] ---> c157a85ed455 [2024-11-04T03:43:15.102Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-04T03:43:15.102Z] ---> Running in 01750b6025ef [2024-11-04T03:43:15.102Z] Removing intermediate container 01750b6025ef [2024-11-04T03:43:15.102Z] ---> a9aff17b7798 [2024-11-04T03:43:15.102Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-04T03:43:15.102Z] ---> Running in 6d3d816181cb [2024-11-04T03:43:15.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:15.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:15.102Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T03:43:15.102Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T03:43:15.102Z] OK: 9 MiB in 15 packages [2024-11-04T03:43:15.102Z] Removing intermediate container 6d3d816181cb [2024-11-04T03:43:15.102Z] ---> e5b9e822a218 [2024-11-04T03:43:15.102Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-04T03:43:15.102Z] ---> Running in 0c6e564c3a06 [2024-11-04T03:43:16.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:16.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:17.735Z] Upgrading critical system libraries and apk-tools: [2024-11-04T03:43:17.736Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T03:43:17.736Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T03:43:18.001Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T03:43:18.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:18.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T03:43:19.225Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T03:43:19.491Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T03:43:19.491Z] OK: 9 MiB in 15 packages [2024-11-04T03:43:20.898Z] Removing intermediate container 0c6e564c3a06 [2024-11-04T03:43:20.898Z] ---> 4ce432e80f99 [2024-11-04T03:43:20.898Z] Step 18/27 : WORKDIR / [2024-11-04T03:43:20.898Z] ---> Running in a519b24b35d4 [2024-11-04T03:43:21.181Z] Removing intermediate container a519b24b35d4 [2024-11-04T03:43:21.181Z] ---> a74ce952c4bf [2024-11-04T03:43:21.181Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-04T03:43:23.771Z] ---> 2ab7eb21d761 [2024-11-04T03:43:23.771Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-04T03:43:25.179Z] ---> 71fdee9acd87 [2024-11-04T03:43:25.179Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-04T03:43:25.761Z] ---> 6a4a85c7a0d8 [2024-11-04T03:43:25.761Z] Step 22/27 : EXPOSE 59984 [2024-11-04T03:43:25.761Z] ---> Running in fc3e49eb5c78 [2024-11-04T03:43:26.355Z] Removing intermediate container fc3e49eb5c78 [2024-11-04T03:43:26.355Z] ---> 1aa96a3b60eb [2024-11-04T03:43:26.355Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-04T03:43:26.355Z] ---> Running in 11f52e25e8cf [2024-11-04T03:43:26.625Z] Removing intermediate container 11f52e25e8cf [2024-11-04T03:43:26.625Z] ---> 0115eee0f16f [2024-11-04T03:43:26.625Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T03:43:26.625Z] ---> Running in da91270529ff [2024-11-04T03:43:26.890Z] Removing intermediate container da91270529ff [2024-11-04T03:43:26.890Z] ---> 26185f5cc22c [2024-11-04T03:43:26.890Z] Step 25/27 : LABEL arch=arm64 [2024-11-04T03:43:26.890Z] ---> Running in e7de23e49712 [2024-11-04T03:43:27.154Z] Removing intermediate container e7de23e49712 [2024-11-04T03:43:27.154Z] ---> f708f400ea4d [2024-11-04T03:43:27.154Z] Step 26/27 : LABEL git_sha=f80d6f0f415602187c4b7782428aa9efb3b3f6fd [2024-11-04T03:43:27.420Z] ---> Running in 13c4c2f8622d [2024-11-04T03:43:27.686Z] Removing intermediate container 13c4c2f8622d [2024-11-04T03:43:27.686Z] ---> c39d53752900 [2024-11-04T03:43:27.686Z] Step 27/27 : LABEL version=0.0.0 [2024-11-04T03:43:27.686Z] ---> Running in c4b1afba0edd [2024-11-04T03:43:27.950Z] Removing intermediate container c4b1afba0edd [2024-11-04T03:43:27.950Z] ---> 9690934cc78f [2024-11-04T03:43:27.950Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T03:43:27.950Z] Successfully built 9690934cc78f [2024-11-04T03:43:27.950Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:43:28.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T03:43:28.863Z] [2024-11-04T03:43:28.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:43:29.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T03:43:29.285Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-04T03:43:29.285Z] 8998bd30e6a1: Pulling fs layer [2024-11-04T03:43:29.285Z] 04944245beec: Pulling fs layer [2024-11-04T03:43:29.285Z] 699f458cf7ca: Pulling fs layer [2024-11-04T03:43:29.285Z] 765212b225bb: Pulling fs layer [2024-11-04T03:43:29.285Z] f23df028b6ca: Pulling fs layer [2024-11-04T03:43:29.285Z] d65c8cfc05b1: Pulling fs layer [2024-11-04T03:43:29.285Z] 2437ff75d9bd: Pulling fs layer [2024-11-04T03:43:29.285Z] 765212b225bb: Waiting [2024-11-04T03:43:29.285Z] f23df028b6ca: Waiting [2024-11-04T03:43:29.285Z] d65c8cfc05b1: Waiting [2024-11-04T03:43:29.285Z] 2437ff75d9bd: Waiting [2024-11-04T03:43:29.550Z] 04944245beec: Verifying Checksum [2024-11-04T03:43:29.550Z] 04944245beec: Download complete [2024-11-04T03:43:29.550Z] 765212b225bb: Verifying Checksum [2024-11-04T03:43:29.550Z] 765212b225bb: Download complete [2024-11-04T03:43:29.550Z] f23df028b6ca: Download complete [2024-11-04T03:43:29.550Z] d65c8cfc05b1: Verifying Checksum [2024-11-04T03:43:29.550Z] d65c8cfc05b1: Download complete [2024-11-04T03:43:29.818Z] 699f458cf7ca: Verifying Checksum [2024-11-04T03:43:29.818Z] 699f458cf7ca: Download complete [2024-11-04T03:43:30.085Z] 8998bd30e6a1: Verifying Checksum [2024-11-04T03:43:30.085Z] 8998bd30e6a1: Download complete [2024-11-04T03:43:32.679Z] 2437ff75d9bd: Verifying Checksum [2024-11-04T03:43:32.679Z] 2437ff75d9bd: Download complete [2024-11-04T03:43:34.631Z] 8998bd30e6a1: Pull complete [2024-11-04T03:43:35.216Z] 04944245beec: Pull complete [2024-11-04T03:43:36.634Z] 699f458cf7ca: Pull complete [2024-11-04T03:43:36.902Z] 765212b225bb: Pull complete [2024-11-04T03:43:37.864Z] f23df028b6ca: Pull complete [2024-11-04T03:43:38.133Z] d65c8cfc05b1: Pull complete [2024-11-04T03:43:56.347Z] 2437ff75d9bd: Pull complete [2024-11-04T03:43:56.347Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-04T03:43:56.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T03:43:56.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:43:56.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-24474 does not seem to be running inside a container [2024-11-04T03:43:56.773Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-04T03:43:59.417Z] $ docker top b6afac80f1f8d64260b0f588aa83a36d377bf8c36b2177d3236349123c144762 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:00.339Z] ---> job-cost.sh [2024-11-04T03:44:00.339Z] lf-activate-venv: SKIPPING [2024-11-04T03:44:00.339Z] INFO: No Stack... [2024-11-04T03:44:00.603Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-04T03:44:01.559Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T03:44:02.227Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-11-04T03:44:02.227Z] + cut -d, -f6 [Pipeline] lock [2024-11-04T03:44:02.317Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [2024-11-04T03:44:02.324Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] did not exist. Created. [2024-11-04T03:44:02.331Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-04T03:44:03.080Z] /w/workspace/device-onvif-camera/1@tmp/durable-c19b08d6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-04T03:44:03.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-04T03:44:03.796Z] Warning: overwriting stash ‘stack-cost’ [2024-11-04T03:44:03.853Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T03:44:03.874Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T03:44:03.966Z] $ docker stop --time=1 b6afac80f1f8d64260b0f588aa83a36d377bf8c36b2177d3236349123c144762 [2024-11-04T03:44:05.470Z] $ docker rm -f --volumes b6afac80f1f8d64260b0f588aa83a36d377bf8c36b2177d3236349123c144762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-04T03:44:06.790Z] provisioning config files... [2024-11-04T03:44:06.798Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-471@tmp/config3157904972880087022tmp [Pipeline] { [Pipeline] sh [2024-11-04T03:44:07.164Z] + set +x [2024-11-04T03:44:07.164Z] + bash -s -- [2024-11-04T03:44:07.164Z] + curl -s https://codecov.io/bash [2024-11-04T03:44:07.164Z] [2024-11-04T03:44:07.164Z] _____ _ [2024-11-04T03:44:07.164Z] / ____| | | [2024-11-04T03:44:07.164Z] | | ___ __| | ___ ___ _____ __ [2024-11-04T03:44:07.164Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-04T03:44:07.164Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-04T03:44:07.164Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-04T03:44:07.164Z] Bash-1.0.6 [2024-11-04T03:44:07.164Z] [2024-11-04T03:44:07.164Z] [2024-11-04T03:44:07.164Z] ==> git version 2.25.1 found [2024-11-04T03:44:07.164Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-04T03:44:07.164Z] Release-Date: 2020-01-08 [2024-11-04T03:44:07.164Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-04T03:44:07.164Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-04T03:44:07.164Z] ==> Jenkins CI detected. [2024-11-04T03:44:07.164Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-471 [2024-11-04T03:44:07.164Z] project root: . [2024-11-04T03:44:07.164Z] --> token set from env [2024-11-04T03:44:07.164Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-04T03:44:07.422Z] ==> Running gcov in . (disable via -X gcov) [2024-11-04T03:44:07.422Z] ==> Python coveragepy not found [2024-11-04T03:44:07.422Z] ==> Searching for coverage reports in: [2024-11-04T03:44:07.422Z] + . [2024-11-04T03:44:07.422Z] -> Found 1 reports [2024-11-04T03:44:07.422Z] ==> Detecting git/mercurial file structure [2024-11-04T03:44:07.422Z] ==> Reading reports [2024-11-04T03:44:07.422Z] + ./coverage.out bytes=92292 [2024-11-04T03:44:07.422Z] ==> Appending adjustments [2024-11-04T03:44:07.422Z] https://docs.codecov.io/docs/fixing-reports [2024-11-04T03:44:07.422Z] + Found adjustments [2024-11-04T03:44:07.422Z] ==> Gzipping contents [2024-11-04T03:44:07.422Z] 12K /tmp/codecov.hyCRyx.gz [2024-11-04T03:44:07.422Z] ==> Uploading reports [2024-11-04T03:44:07.422Z] url: https://codecov.io [2024-11-04T03:44:07.422Z] query: branch=PR-471&commit=f80d6f0f415602187c4b7782428aa9efb3b3f6fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=471&job=&cmd_args= [2024-11-04T03:44:07.423Z] -> Pinging Codecov [2024-11-04T03:44:07.423Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-471&commit=f80d6f0f415602187c4b7782428aa9efb3b3f6fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=471&job=&cmd_args= [2024-11-04T03:44:07.682Z] -> Uploading to [2024-11-04T03:44:07.682Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/f80d6f0f415602187c4b7782428aa9efb3b3f6fd/337c9a4d-4bc2-478c-8a57-a9a0253e7515.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241104%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241104T034407Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e2d5641b3a47798e344d6c29cc0e3f2e377f5473f1d82aa662d2e74d32f384b1 [2024-11-04T03:44:07.682Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T03:44:07.682Z] Dload Upload Total Spent Left Speed [2024-11-04T03:44:07.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 46024 --:--:-- --:--:-- --:--:-- 46024 [2024-11-04T03:44:07.941Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f80d6f0f415602187c4b7782428aa9efb3b3f6fd [Pipeline] } [2024-11-04T03:44:07.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-04T03:44:10.143Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-471/archives ] [2024-11-04T03:44:10.143Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-471/archives [2024-11-04T03:44:10.143Z] total 16 [2024-11-04T03:44:10.143Z] drwxr-xr-x 3 root root 4096 Nov 4 03:32 . [2024-11-04T03:44:10.143Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 03:32 .. [2024-11-04T03:44:10.143Z] drwxr-xr-x 2 root root 4096 Nov 4 03:32 cost [2024-11-04T03:44:10.143Z] -rw-r--r-- 1 root root 91 Nov 4 03:32 cost.csv [2024-11-04T03:44:10.143Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-471/archives [2024-11-04T03:44:10.143Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-471/archives [2024-11-04T03:44:10.143Z] total 16 [2024-11-04T03:44:10.143Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 03:32 . [2024-11-04T03:44:10.143Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 03:32 .. [2024-11-04T03:44:10.143Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 4 03:32 cost [2024-11-04T03:44:10.143Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 4 03:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:10.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:11.392Z] ---> package-listing.sh [2024-11-04T03:44:11.392Z] ++ facter osfamily [2024-11-04T03:44:11.392Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-04T03:44:11.652Z] + OS_FAMILY=debian [2024-11-04T03:44:11.652Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-471 [2024-11-04T03:44:11.652Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-04T03:44:11.652Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-04T03:44:11.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-04T03:44:11.652Z] + PACKAGES=/tmp/packages_start.txt [2024-11-04T03:44:11.652Z] + '[' /w/workspace/undry_device-onvif-camera_PR-471 ']' [2024-11-04T03:44:11.652Z] + PACKAGES=/tmp/packages_end.txt [2024-11-04T03:44:11.652Z] + case "${OS_FAMILY}" in [2024-11-04T03:44:11.652Z] + dpkg -l [2024-11-04T03:44:11.652Z] + grep '^ii' [2024-11-04T03:44:11.652Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-04T03:44:11.652Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-04T03:44:11.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-04T03:44:11.652Z] + '[' /w/workspace/undry_device-onvif-camera_PR-471 ']' [2024-11-04T03:44:11.652Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-471/archives/ [2024-11-04T03:44:11.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-471/archives/ [Pipeline] echo [2024-11-04T03:44:11.695Z] 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/undry_device-onvif-camera_PR-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-04T03:44:11.996Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T03:44:12.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T03:44:12.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T03:44:12.821Z] prd-ubuntu20.04-docker-8c-8g-24473 does not seem to be running inside a container [2024-11-04T03:44:12.846Z] $ 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/undry_device-onvif-camera_PR-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-471 -v /w/workspace/undry_device-onvif-camera_PR-471:/w/workspace/undry_device-onvif-camera_PR-471:rw,z -v /w/workspace/undry_device-onvif-camera_PR-471@tmp:/w/workspace/undry_device-onvif-camera_PR-471@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-11-04T03:44:13.024Z] $ docker top bb1e7b36b96c1e1b8e7f590e8f8a9917cbe6e075d0f6d3ae9188ca8412158f65 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T03:44:13.442Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-04T03:44:13.795Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-04T03:44:14.118Z] + ls /var/log/sa-host [2024-11-04T03:44:14.118Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T03:44:14.388Z] provisioning config files... [2024-11-04T03:44:14.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-471@tmp/config10837919515379408563tmp [Pipeline] { [Pipeline] echo [2024-11-04T03:44:14.466Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:14.783Z] ---> create-netrc.sh [Pipeline] } [2024-11-04T03:44:14.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:15.239Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-04T03:44:15.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:15.608Z] ---> sudo-logs.sh [2024-11-04T03:44:15.608Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-04T03:44:15.712Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:16.114Z] ---> job-cost.sh [2024-11-04T03:44:16.114Z] lf-activate-venv: SKIPPING [2024-11-04T03:44:16.114Z] DEBUG: total: 0.2199999988079071 [2024-11-04T03:44:16.114Z] INFO: Retrieving Stack Cost... [2024-11-04T03:44:16.718Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T03:44:16.997Z] INFO: Archiving Costs [Pipeline] echo [2024-11-04T03:44:17.042Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T03:44:17.401Z] ---> logs-deploy.sh [2024-11-04T03:44:17.401Z] lf-activate-venv: SKIPPING [2024-11-04T03:44:17.401Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-471/1 [2024-11-04T03:44:17.401Z] INFO: archiving workspace using pattern(s): [2024-11-04T03:44:18.340Z] Archives upload complete. [2024-11-04T03:44:18.340Z] INFO: archiving logs to Nexus