Pull request #475 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8+124a5f1bb5d04e19c2b309127a124eb76166dd36 (6b7b719729cbc79b36a7b46fba0b4d1198902814) 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-ssh13923068704909079342.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-ssh1427619599509604502.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-475/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-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12458660990363252562.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-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16016366416918805841.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-ssh550703310917156782.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-475/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-475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8599688255910187408.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26109 in /w/workspace/undry_device-onvif-camera_PR-475 [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-475 # 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 > 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/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 124a5f1bb5d04e19c2b309127a124eb76166dd36 into PR head commit 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 Merge succeeded, producing 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 Checking out Revision 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 (PR-475) Commit message: "fix: Ensures that the parsed value is within the bounds of int32" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 # 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 124a5f1bb5d04e19c2b309127a124eb76166dd36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T04:34:44.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T04:34:44.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T04:34:44.411Z] ========================================================= [2024-11-11T04:34:44.411Z] EdgeX Global Pipelines Version Info [2024-11-11T04:34:44.411Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:34:45.184Z] ------------------- [2024-11-11T04:34:45.184Z] stable info: [2024-11-11T04:34:45.184Z] ------------------- [2024-11-11T04:34:45.184Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T04:34:45.184Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:34:45.184Z] Message: update stable to v1.0.265 [2024-11-11T04:34:45.769Z] ------------------- [2024-11-11T04:34:45.769Z] experimental info: [2024-11-11T04:34:45.769Z] ------------------- [2024-11-11T04:34:45.769Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T04:34:45.769Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T04:34:45.769Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T04:34:45.976Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-11T04:34:46.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-11T04:34:46.103Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T04:34:46.162Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T04:34:46.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T04:34:46.286Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T04:34:46.353Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T04:34:46.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-11T04:34:46.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T04:34:46.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T04:34:46.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T04:34:46.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-11T04:34:46.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T04:34:46.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T04:34:46.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T04:34:46.867Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T04:34:46.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:34:46.983Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:34:47.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T04:34:47.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T04:34:47.155Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-11T04:34:47.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-11T04:34:47.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T04:34:47.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T04:34:47.393Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T04:34:47.450Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T04:34:47.503Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T04:34:47.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-475 [Pipeline] echo [2024-11-11T04:34:47.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-475 [Pipeline] echo [2024-11-11T04:34:47.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-475 [Pipeline] echo [2024-11-11T04:34:47.732Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [Pipeline] echo [2024-11-11T04:34:47.798Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22d23d7 [Pipeline] echo [2024-11-11T04:34:47.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:34:48.017Z] provisioning config files... [2024-11-11T04:34:48.036Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-475@tmp/config9897998525579910081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:34:48.404Z] ---> ****-login.sh [2024-11-11T04:34:48.404Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:34:48.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:34:48.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:34:48.670Z] Configure a credential helper to remove this warning. See [2024-11-11T04:34:48.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:34:48.670Z] [2024-11-11T04:34:48.670Z] Login Succeeded [2024-11-11T04:34:48.670Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:34:48.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:34:48.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:34:48.939Z] Configure a credential helper to remove this warning. See [2024-11-11T04:34:48.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:34:48.939Z] [2024-11-11T04:34:48.939Z] Login Succeeded [2024-11-11T04:34:48.939Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:34:48.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:34:48.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:34:48.940Z] Configure a credential helper to remove this warning. See [2024-11-11T04:34:48.940Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:34:48.940Z] [2024-11-11T04:34:48.940Z] Login Succeeded [2024-11-11T04:34:48.940Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:34:48.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:34:49.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:34:49.200Z] Configure a credential helper to remove this warning. See [2024-11-11T04:34:49.200Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:34:49.200Z] [2024-11-11T04:34:49.200Z] Login Succeeded [2024-11-11T04:34:49.200Z] ****.io [2024-11-11T04:34:49.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:34:49.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:34:49.462Z] Configure a credential helper to remove this warning. See [2024-11-11T04:34:49.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:34:49.462Z] [2024-11-11T04:34:49.462Z] Login Succeeded [2024-11-11T04:34:49.462Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:34:49.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T04:34:50.182Z] + git rev-list -1 --merges 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8~1..22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [Pipeline] echo [2024-11-11T04:34:50.229Z] -----------> git rev-list -1 --merges 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8~1..22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [false] [Pipeline] sh [2024-11-11T04:34:50.556Z] + git log --format=format:%s -1 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [Pipeline] echo [2024-11-11T04:34:50.598Z] ========================================================= [2024-11-11T04:34:50.598Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T04:34:50.598Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:34:51.068Z] + git log --format=format:%s -1 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [Pipeline] echo [2024-11-11T04:34:51.113Z] [semverPrep] GIT_COMMIT: 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8, Commit Message: fix: Ensures that the parsed value is within the bounds of int32 [Pipeline] echo [2024-11-11T04:34:51.161Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T04:34:51.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T04:34:51.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T04:34:51.569Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T04:34:51.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T04:34:51.569Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T04:34:51.569Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T04:34:51.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:34:52.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:34:52.041Z] [2024-11-11T04:34:52.041Z] 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-11T04:34:52.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:34:52.446Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T04:34:52.446Z] b85a868b505f: Pulling fs layer [2024-11-11T04:34:52.446Z] e2be974225ed: Pulling fs layer [2024-11-11T04:34:52.446Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T04:34:52.446Z] 988bab9f4d93: Pulling fs layer [2024-11-11T04:34:52.446Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T04:34:52.446Z] eaf3925da568: Pulling fs layer [2024-11-11T04:34:52.446Z] bab4dde63d76: Pulling fs layer [2024-11-11T04:34:52.446Z] bde34c3a00c8: Pulling fs layer [2024-11-11T04:34:52.446Z] b352a97aabf1: Pulling fs layer [2024-11-11T04:34:52.446Z] 4872d77fe225: Pulling fs layer [2024-11-11T04:34:52.446Z] 5851b861e8e6: Pulling fs layer [2024-11-11T04:34:52.446Z] bab4dde63d76: Waiting [2024-11-11T04:34:52.446Z] bde34c3a00c8: Waiting [2024-11-11T04:34:52.446Z] b352a97aabf1: Waiting [2024-11-11T04:34:52.446Z] 5851b861e8e6: Waiting [2024-11-11T04:34:52.446Z] 1469e6f7b9e6: Waiting [2024-11-11T04:34:52.446Z] eaf3925da568: Waiting [2024-11-11T04:34:52.446Z] 988bab9f4d93: Waiting [2024-11-11T04:34:52.446Z] e2be974225ed: Verifying Checksum [2024-11-11T04:34:52.446Z] e2be974225ed: Download complete [2024-11-11T04:34:52.446Z] 988bab9f4d93: Download complete [2024-11-11T04:34:52.446Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T04:34:52.446Z] 1469e6f7b9e6: Download complete [2024-11-11T04:34:52.446Z] eaf3925da568: Verifying Checksum [2024-11-11T04:34:52.446Z] eaf3925da568: Download complete [2024-11-11T04:34:52.707Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T04:34:52.707Z] 339a4e72a1f5: Download complete [2024-11-11T04:34:52.707Z] bde34c3a00c8: Download complete [2024-11-11T04:34:52.707Z] b352a97aabf1: Download complete [2024-11-11T04:34:52.707Z] 4872d77fe225: Download complete [2024-11-11T04:34:52.707Z] 5851b861e8e6: Download complete [2024-11-11T04:34:52.707Z] b85a868b505f: Verifying Checksum [2024-11-11T04:34:52.707Z] b85a868b505f: Download complete [2024-11-11T04:34:52.967Z] bab4dde63d76: Verifying Checksum [2024-11-11T04:34:52.967Z] bab4dde63d76: Download complete [2024-11-11T04:34:53.906Z] b85a868b505f: Pull complete [2024-11-11T04:34:54.165Z] e2be974225ed: Pull complete [2024-11-11T04:34:54.426Z] 339a4e72a1f5: Pull complete [2024-11-11T04:34:54.426Z] 988bab9f4d93: Pull complete [2024-11-11T04:34:54.686Z] 1469e6f7b9e6: Pull complete [2024-11-11T04:34:54.945Z] eaf3925da568: Pull complete [2024-11-11T04:34:58.213Z] bab4dde63d76: Pull complete [2024-11-11T04:34:58.213Z] bde34c3a00c8: Pull complete [2024-11-11T04:34:58.213Z] b352a97aabf1: Pull complete [2024-11-11T04:34:58.213Z] 4872d77fe225: Pull complete [2024-11-11T04:34:58.474Z] 5851b861e8e6: Pull complete [2024-11-11T04:34:58.474Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T04:34:58.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:34:58.474Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:34:58.790Z] prd-ubuntu20.04-docker-8c-8g-26109 does not seem to be running inside a container [2024-11-11T04:34:58.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-475 -v /w/workspace/undry_device-onvif-camera_PR-475:/w/workspace/undry_device-onvif-camera_PR-475:rw,z -v /w/workspace/undry_device-onvif-camera_PR-475@tmp:/w/workspace/undry_device-onvif-camera_PR-475@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T04:35:01.618Z] $ docker top c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 -eo pid,comm [2024-11-11T04:35:01.679Z] 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-11T04:35:01.679Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T04:35:01.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:35:01.855Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:35:01.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:35:01.969Z] $ docker exec c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 ssh-agent [2024-11-11T04:35:02.083Z] SSH_AUTH_SOCK=/tmp/ssh-1JRzae60Tdry/agent.32 [2024-11-11T04:35:02.083Z] SSH_AGENT_PID=39 [2024-11-11T04:35:02.091Z] Running ssh-add (command line suppressed) [2024-11-11T04:35:02.181Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-475@tmp/private_key_109579275975206167.key (/w/workspace/undry_device-onvif-camera_PR-475@tmp/private_key_109579275975206167.key) [2024-11-11T04:35:02.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:35:02.541Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T04:35:02.569Z] $ docker exec --env ******** --env ******** c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 ssh-agent -k [2024-11-11T04:35:02.665Z] unset SSH_AUTH_SOCK; [2024-11-11T04:35:02.666Z] unset SSH_AGENT_PID; [2024-11-11T04:35:02.666Z] echo Agent pid 39 killed; [2024-11-11T04:35:02.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T04:35:02.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:35:02.798Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:35:02.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:35:02.905Z] $ docker exec c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 ssh-agent [2024-11-11T04:35:03.001Z] SSH_AUTH_SOCK=/tmp/ssh-JPFJU9cB0idx/agent.72 [2024-11-11T04:35:03.001Z] SSH_AGENT_PID=78 [2024-11-11T04:35:03.006Z] Running ssh-add (command line suppressed) [2024-11-11T04:35:03.098Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-475@tmp/private_key_1103006078224603609.key (/w/workspace/undry_device-onvif-camera_PR-475@tmp/private_key_1103006078224603609.key) [2024-11-11T04:35:03.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:35:03.461Z] + git semver init [2024-11-11T04:35:03.720Z] 2024-11-11 04:35:03,651 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T04:35:03.720Z] 2024-11-11 04:35:03,651 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-475/.semver [2024-11-11T04:35:03.720Z] 2024-11-11 04:35:03,652 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-475/.semver [2024-11-11T04:35:03.720Z] 2024-11-11 04:35:03,652 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-475/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-475, universal_newlines=False, shell=None, istream=None) [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,856 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-475/.git/info/exclude [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-475/.semver/PR-475 with force:False [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,857 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-475/.semver/PR-475 [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,861 [execute] INFO git cat-file --batch-check [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-475/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,867 [execute] INFO git cat-file --batch [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-475/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:35:05.102Z] 2024-11-11 04:35:04,872 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-475/.semver/PR-475 [2024-11-11T04:35:05.102Z] 0.0.0 [Pipeline] } [2024-11-11T04:35:05.134Z] $ docker exec --env ******** --env ******** c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 ssh-agent -k [2024-11-11T04:35:05.229Z] unset SSH_AUTH_SOCK; [2024-11-11T04:35:05.229Z] unset SSH_AGENT_PID; [2024-11-11T04:35:05.230Z] echo Agent pid 78 killed; [2024-11-11T04:35:05.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T04:35:05.692Z] + git semver [Pipeline] } [2024-11-11T04:35:05.977Z] $ docker stop --time=1 c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 [2024-11-11T04:35:07.253Z] $ docker rm -f --volumes c7f99b35353607b2afe5eacdbfc3bcc62cba50d65681cf01c80adfc1c7ecf244 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:35:07.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T04:35:07.973Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T04:35:07.996Z] [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-11T04:35:08.716Z] provisioning config files... [2024-11-11T04:35:08.727Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-475@tmp/config10542948211489468663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:35:09.097Z] ---> ****-login.sh [2024-11-11T04:35:09.097Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:35:09.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:35:09.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:35:09.097Z] Configure a credential helper to remove this warning. See [2024-11-11T04:35:09.097Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:35:09.097Z] [2024-11-11T04:35:09.097Z] Login Succeeded [2024-11-11T04:35:09.097Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:35:09.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:35:09.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:35:09.357Z] Configure a credential helper to remove this warning. See [2024-11-11T04:35:09.357Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:35:09.357Z] [2024-11-11T04:35:09.357Z] Login Succeeded [2024-11-11T04:35:09.357Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:35:09.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:35:09.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:35:09.357Z] Configure a credential helper to remove this warning. See [2024-11-11T04:35:09.357Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:35:09.357Z] [2024-11-11T04:35:09.357Z] Login Succeeded [2024-11-11T04:35:09.357Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:35:09.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:35:09.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:35:09.616Z] Configure a credential helper to remove this warning. See [2024-11-11T04:35:09.616Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:35:09.616Z] [2024-11-11T04:35:09.616Z] Login Succeeded [2024-11-11T04:35:09.616Z] ****.io [2024-11-11T04:35:09.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:35:09.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:35:09.876Z] Configure a credential helper to remove this warning. See [2024-11-11T04:35:09.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:35:09.876Z] [2024-11-11T04:35:09.876Z] Login Succeeded [2024-11-11T04:35:09.876Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:35:09.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:35:10.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:35:10.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:35:10.248Z] ========================================================= [2024-11-11T04:35:10.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T04:35:10.248Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:35:10.809Z] + 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-11T04:35:10.809Z] Sending build context to Docker daemon 36.89MB [2024-11-11T04:35:10.809Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:35:10.809Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-11T04:35:11.068Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T04:35:11.068Z] 43c4264eed91: Pulling fs layer [2024-11-11T04:35:11.069Z] 4cc291be95ef: Pulling fs layer [2024-11-11T04:35:11.069Z] 2ac1f1163629: Pulling fs layer [2024-11-11T04:35:11.069Z] 5c3c966382ef: Pulling fs layer [2024-11-11T04:35:11.069Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:35:11.069Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T04:35:11.069Z] 9f66e0745190: Pulling fs layer [2024-11-11T04:35:11.069Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T04:35:11.069Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T04:35:11.069Z] 5c3c966382ef: Waiting [2024-11-11T04:35:11.069Z] 4f4fb700ef54: Waiting [2024-11-11T04:35:11.069Z] 5d5c8e513c77: Waiting [2024-11-11T04:35:11.069Z] 9f66e0745190: Waiting [2024-11-11T04:35:11.069Z] 561ebcabdf7f: Waiting [2024-11-11T04:35:11.069Z] f49a43e4bbc0: Waiting [2024-11-11T04:35:11.069Z] 4cc291be95ef: Verifying Checksum [2024-11-11T04:35:11.069Z] 4cc291be95ef: Download complete [2024-11-11T04:35:11.069Z] 5c3c966382ef: Verifying Checksum [2024-11-11T04:35:11.069Z] 5c3c966382ef: Download complete [2024-11-11T04:35:11.069Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:35:11.069Z] 4f4fb700ef54: Download complete [2024-11-11T04:35:11.069Z] 5d5c8e513c77: Verifying Checksum [2024-11-11T04:35:11.069Z] 5d5c8e513c77: Download complete [2024-11-11T04:35:11.069Z] 43c4264eed91: Verifying Checksum [2024-11-11T04:35:11.069Z] 43c4264eed91: Download complete [2024-11-11T04:35:11.069Z] 9f66e0745190: Verifying Checksum [2024-11-11T04:35:11.069Z] 9f66e0745190: Download complete [2024-11-11T04:35:13.910Z] 43c4264eed91: Pull complete [2024-11-11T04:35:13.910Z] 4cc291be95ef: Pull complete [2024-11-11T04:35:13.910Z] 561ebcabdf7f: Verifying Checksum [2024-11-11T04:35:13.910Z] 561ebcabdf7f: Download complete [2024-11-11T04:35:14.167Z] 2ac1f1163629: Verifying Checksum [2024-11-11T04:35:14.167Z] 2ac1f1163629: Download complete [2024-11-11T04:35:14.424Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T04:35:14.424Z] f49a43e4bbc0: Download complete [2024-11-11T04:35:17.718Z] 2ac1f1163629: Pull complete [2024-11-11T04:35:17.718Z] 5c3c966382ef: Pull complete [2024-11-11T04:35:17.718Z] 4f4fb700ef54: Pull complete [2024-11-11T04:35:17.976Z] 5d5c8e513c77: Pull complete [2024-11-11T04:35:17.976Z] 9f66e0745190: Pull complete [2024-11-11T04:35:20.514Z] f49a43e4bbc0: Pull complete [2024-11-11T04:35:20.774Z] 561ebcabdf7f: Pull complete [2024-11-11T04:35:20.774Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T04:35:20.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T04:35:20.774Z] ---> 3a752c3f9dda [2024-11-11T04:35:20.774Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-11T04:35:23.496Z] Still waiting to schedule task [2024-11-11T04:35:23.497Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-11T04:35:25.184Z] ---> Running in 3775989ba090 [2024-11-11T04:35:25.184Z] Removing intermediate container 3775989ba090 [2024-11-11T04:35:25.184Z] ---> d1e8c03c0981 [2024-11-11T04:35:25.184Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T04:35:25.184Z] ---> Running in a683b8a2451c [2024-11-11T04:35:25.184Z] Removing intermediate container a683b8a2451c [2024-11-11T04:35:25.184Z] ---> 4aa2464a146e [2024-11-11T04:35:25.184Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-11T04:35:25.184Z] ---> Running in 84cef790dd80 [2024-11-11T04:35:25.184Z] Removing intermediate container 84cef790dd80 [2024-11-11T04:35:25.184Z] ---> 5d2a8b1b42c8 [2024-11-11T04:35:25.184Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T04:35:25.184Z] ---> Running in aca2e4fcaae0 [2024-11-11T04:35:25.184Z] Removing intermediate container aca2e4fcaae0 [2024-11-11T04:35:25.184Z] ---> a08014de34b7 [2024-11-11T04:35:25.184Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-11T04:35:25.184Z] ---> Running in fcddf0196450 [2024-11-11T04:35:25.184Z] Removing intermediate container fcddf0196450 [2024-11-11T04:35:25.184Z] ---> 8d636c90f72e [2024-11-11T04:35:25.184Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T04:35:25.184Z] ---> Running in c2084ebb98f8 [2024-11-11T04:35:25.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:35:25.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:35:25.963Z] OK: 246 MiB in 54 packages [2024-11-11T04:35:26.223Z] Removing intermediate container c2084ebb98f8 [2024-11-11T04:35:26.223Z] ---> 97fcc5f2597b [2024-11-11T04:35:26.223Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-11T04:35:26.223Z] ---> Running in fd1073ef2f99 [2024-11-11T04:35:26.482Z] Removing intermediate container fd1073ef2f99 [2024-11-11T04:35:26.482Z] ---> 6398a8e5b827 [2024-11-11T04:35:26.482Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-11T04:35:26.482Z] ---> 4aeec377375c [2024-11-11T04:35:26.482Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:35:26.482Z] ---> Running in 1d43840ea0c4 [2024-11-11T04:36:26.076Z] Removing intermediate container 1d43840ea0c4 [2024-11-11T04:36:26.076Z] ---> 8dc0577e2ce5 [2024-11-11T04:36:26.076Z] Step 12/13 : COPY . . [2024-11-11T04:36:26.076Z] ---> cd922d0ae5ea [2024-11-11T04:36:26.076Z] Step 13/13 : RUN ${MAKE} [2024-11-11T04:36:26.076Z] ---> Running in 23644162ddd9 [2024-11-11T04:36:26.076Z] noop [2024-11-11T04:36:26.076Z] Removing intermediate container 23644162ddd9 [2024-11-11T04:36:26.076Z] ---> 12f03c9cd804 [2024-11-11T04:36:26.076Z] Successfully built 12f03c9cd804 [2024-11-11T04:36:26.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:36:26.576Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:36:26.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:36:26.743Z] prd-ubuntu20.04-docker-8c-8g-26109 does not seem to be running inside a container [2024-11-11T04:36:26.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-475 -v /w/workspace/undry_device-onvif-camera_PR-475:/w/workspace/undry_device-onvif-camera_PR-475:rw,z -v /w/workspace/undry_device-onvif-camera_PR-475@tmp:/w/workspace/undry_device-onvif-camera_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:36:27.110Z] $ docker top 1efec47c4b907217f20bfc44457617b689f2e3d1362ef5e3f1d997d36894c1f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:36:27.528Z] + go version [2024-11-11T04:36:27.528Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T04:36:27.567Z] $ docker stop --time=1 1efec47c4b907217f20bfc44457617b689f2e3d1362ef5e3f1d997d36894c1f9 [2024-11-11T04:36:28.845Z] $ docker rm -f --volumes 1efec47c4b907217f20bfc44457617b689f2e3d1362ef5e3f1d997d36894c1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:36:29.619Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:36:29.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:36:29.787Z] prd-ubuntu20.04-docker-8c-8g-26109 does not seem to be running inside a container [2024-11-11T04:36:29.819Z] $ 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-475 -v /w/workspace/undry_device-onvif-camera_PR-475:/w/workspace/undry_device-onvif-camera_PR-475:rw,z -v /w/workspace/undry_device-onvif-camera_PR-475@tmp:/w/workspace/undry_device-onvif-camera_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:36:30.138Z] $ docker top 3ee2670c80b69753a04d52ffaabe9d8d04ab386e61eede17c9a997b75ac49871 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:36:30.546Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-475 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:36:30.925Z] + make test [2024-11-11T04:36:30.925Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T04:36:32.842Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-11T04:36:50.924Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-11T04:36:50.924Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-11T04:36:52.825Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.4% of statements [2024-11-11T04:36:53.085Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.321s coverage: 86.5% of statements [2024-11-11T04:37:03.053Z] go vet ./... [2024-11-11T04:37:09.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:37:09.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:37:09.612Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:37:09.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:37:09.693Z] $ docker stop --time=1 3ee2670c80b69753a04d52ffaabe9d8d04ab386e61eede17c9a997b75ac49871 [2024-11-11T04:37:13.481Z] $ docker rm -f --volumes 3ee2670c80b69753a04d52ffaabe9d8d04ab386e61eede17c9a997b75ac49871 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:37:14.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:37:14.199Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T04:37:15.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:37:15.376Z] + ls -al . [2024-11-11T04:37:15.376Z] total 316 [2024-11-11T04:37:15.376Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 04:36 . [2024-11-11T04:37:15.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:34 .. [2024-11-11T04:37:15.376Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:36 .git [2024-11-11T04:37:15.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:34 .github [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 11 04:34 .gitignore [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:34 .golangci.yml [2024-11-11T04:37:15.376Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:35 .semver [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 11 04:34 Attribution.txt [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 11 04:34 CHANGELOG.md [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 11 04:34 Dockerfile [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:34 GOVERNANCE.md [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 11 04:34 Jenkinsfile [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 04:34 LICENSE [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 11 04:34 Makefile [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 04:34 OWNERS.md [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 11 04:34 README.md [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:35 VERSION [2024-11-11T04:37:15.376Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:34 bin [2024-11-11T04:37:15.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:34 cmd [2024-11-11T04:37:15.376Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 11 04:36 coverage.out [2024-11-11T04:37:15.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:34 doc [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 11 04:34 go.mod [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 11 04:34 go.sum [2024-11-11T04:37:15.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:34 internal [2024-11-11T04:37:15.376Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:37:15.801Z] + 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=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 --label arch=amd64 --label version=0.0.0 . [2024-11-11T04:37:15.801Z] Sending build context to Docker daemon 36.98MB [2024-11-11T04:37:15.801Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:37:15.801Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-11T04:37:15.801Z] ---> 12f03c9cd804 [2024-11-11T04:37:15.801Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-11T04:37:16.369Z] ---> Running in f7c6c87b7e60 [2024-11-11T04:37:16.369Z] Removing intermediate container f7c6c87b7e60 [2024-11-11T04:37:16.369Z] ---> 9f2f06bd8e12 [2024-11-11T04:37:16.369Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T04:37:16.369Z] ---> Running in 44ff82071d1f [2024-11-11T04:37:16.633Z] Removing intermediate container 44ff82071d1f [2024-11-11T04:37:16.633Z] ---> f78f41b92a56 [2024-11-11T04:37:16.633Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-11T04:37:16.633Z] ---> Running in 54d1ae5e508d [2024-11-11T04:37:16.633Z] Removing intermediate container 54d1ae5e508d [2024-11-11T04:37:16.633Z] ---> e980dc796980 [2024-11-11T04:37:16.633Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T04:37:16.633Z] ---> Running in 20c24f3ab2d9 [2024-11-11T04:37:16.633Z] Removing intermediate container 20c24f3ab2d9 [2024-11-11T04:37:16.633Z] ---> 882f5b6c0b62 [2024-11-11T04:37:16.633Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-11T04:37:16.633Z] ---> Running in d13bbe98b83a [2024-11-11T04:37:16.892Z] Removing intermediate container d13bbe98b83a [2024-11-11T04:37:16.892Z] ---> 843507990100 [2024-11-11T04:37:16.892Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T04:37:16.892Z] ---> Running in 9e5211e2b5e2 [2024-11-11T04:37:17.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:17.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:17.724Z] OK: 246 MiB in 54 packages [2024-11-11T04:37:17.985Z] Removing intermediate container 9e5211e2b5e2 [2024-11-11T04:37:17.985Z] ---> 9e78defb08a4 [2024-11-11T04:37:17.985Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-11T04:37:17.985Z] ---> Running in 78de25b48547 [2024-11-11T04:37:17.985Z] Removing intermediate container 78de25b48547 [2024-11-11T04:37:17.985Z] ---> ccddfc81a9b9 [2024-11-11T04:37:17.985Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-11T04:37:17.985Z] ---> 0aaf4551c8c7 [2024-11-11T04:37:17.985Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:37:18.244Z] ---> Running in e8710c590645 [2024-11-11T04:37:18.812Z] Removing intermediate container e8710c590645 [2024-11-11T04:37:18.812Z] ---> 2c09853a036e [2024-11-11T04:37:18.812Z] Step 12/27 : COPY . . [2024-11-11T04:37:19.748Z] ---> bb78a06df1b1 [2024-11-11T04:37:19.748Z] Step 13/27 : RUN ${MAKE} [2024-11-11T04:37:19.748Z] ---> Running in 1b5dbf33b365 [2024-11-11T04:37:20.006Z] 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.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-11T04:37:52.090Z] Removing intermediate container 1b5dbf33b365 [2024-11-11T04:37:52.090Z] ---> 0052ca465df9 [2024-11-11T04:37:52.090Z] Step 14/27 : FROM alpine:3.20 [2024-11-11T04:37:52.090Z] 3.20: Pulling from library/alpine [2024-11-11T04:37:52.354Z] 43c4264eed91: Already exists [2024-11-11T04:37:52.354Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:37:52.354Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:37:52.354Z] ---> 91ef0af61f39 [2024-11-11T04:37:52.354Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-11T04:37:52.354Z] ---> Running in c28c85e7f42b [2024-11-11T04:37:52.354Z] Removing intermediate container c28c85e7f42b [2024-11-11T04:37:52.354Z] ---> 5ffd29a46740 [2024-11-11T04:37:52.354Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:37:52.354Z] ---> Running in 9c55059b5ce7 [2024-11-11T04:37:52.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:52.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:53.136Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:37:53.136Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:37:53.136Z] OK: 8 MiB in 15 packages [2024-11-11T04:37:53.396Z] Removing intermediate container 9c55059b5ce7 [2024-11-11T04:37:53.396Z] ---> 3f6c71322852 [2024-11-11T04:37:53.396Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-11T04:37:53.396Z] ---> Running in 8efb6505b508 [2024-11-11T04:37:53.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:53.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:54.185Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:37:54.185Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:37:54.185Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:37:54.185Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:37:54.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:54.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:37:54.447Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:37:54.706Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:37:54.706Z] OK: 8 MiB in 15 packages [2024-11-11T04:37:55.285Z] Removing intermediate container 8efb6505b508 [2024-11-11T04:37:55.285Z] ---> 99741e8af77e [2024-11-11T04:37:55.285Z] Step 18/27 : WORKDIR / [2024-11-11T04:37:55.285Z] ---> Running in e9d26060cf5a [2024-11-11T04:37:55.285Z] Removing intermediate container e9d26060cf5a [2024-11-11T04:37:55.285Z] ---> b2df12f34d12 [2024-11-11T04:37:55.285Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-11T04:37:56.663Z] ---> 839e0ffccdc7 [2024-11-11T04:37:56.663Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-11T04:37:56.922Z] ---> b08756b0e219 [2024-11-11T04:37:56.922Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-11T04:37:56.922Z] ---> 6e63d354f05f [2024-11-11T04:37:56.922Z] Step 22/27 : EXPOSE 59984 [2024-11-11T04:37:56.922Z] ---> Running in 4cf46a4fea66 [2024-11-11T04:37:57.180Z] Removing intermediate container 4cf46a4fea66 [2024-11-11T04:37:57.181Z] ---> 31968fd49f52 [2024-11-11T04:37:57.181Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-11T04:37:57.181Z] ---> Running in bd5264218d8e [2024-11-11T04:37:57.181Z] Removing intermediate container bd5264218d8e [2024-11-11T04:37:57.181Z] ---> 6ddda7181559 [2024-11-11T04:37:57.181Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T04:37:57.181Z] ---> Running in 78a6dec7e24e [2024-11-11T04:37:57.181Z] Removing intermediate container 78a6dec7e24e [2024-11-11T04:37:57.181Z] ---> 1c2ce0d732aa [2024-11-11T04:37:57.181Z] Step 25/27 : LABEL arch=amd64 [2024-11-11T04:37:57.181Z] ---> Running in df7c29e21df1 [2024-11-11T04:37:57.440Z] Removing intermediate container df7c29e21df1 [2024-11-11T04:37:57.440Z] ---> 8b844597224e [2024-11-11T04:37:57.440Z] Step 26/27 : LABEL git_sha=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [2024-11-11T04:37:57.440Z] ---> Running in 2de5e955365e [2024-11-11T04:37:57.440Z] Removing intermediate container 2de5e955365e [2024-11-11T04:37:57.440Z] ---> 7728d0ebbb63 [2024-11-11T04:37:57.440Z] Step 27/27 : LABEL version=0.0.0 [2024-11-11T04:37:57.440Z] ---> Running in ec2ca6609207 [2024-11-11T04:37:57.440Z] Removing intermediate container ec2ca6609207 [2024-11-11T04:37:57.440Z] ---> 968fd922f5c8 [2024-11-11T04:37:57.440Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:37:57.440Z] Successfully built 968fd922f5c8 [2024-11-11T04:37:57.440Z] 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-11T04:37:58.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:37:58.481Z] [2024-11-11T04:37:58.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:37:58.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:37:58.895Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T04:37:58.895Z] 5eb5b503b376: Pulling fs layer [2024-11-11T04:37:58.895Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T04:37:58.895Z] ec43610c2a17: Pulling fs layer [2024-11-11T04:37:58.895Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T04:37:58.895Z] 33b1e0a273af: Pulling fs layer [2024-11-11T04:37:58.895Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T04:37:58.895Z] 2f39f015ded8: Pulling fs layer [2024-11-11T04:37:58.895Z] 3a2ae6a8a46f: Waiting [2024-11-11T04:37:58.895Z] 5d3b04190fa2: Waiting [2024-11-11T04:37:58.895Z] 2f39f015ded8: Waiting [2024-11-11T04:37:58.895Z] 5c69ac0246d0: Verifying Checksum [2024-11-11T04:37:58.895Z] 5c69ac0246d0: Download complete [2024-11-11T04:37:58.895Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-11T04:37:58.895Z] 3a2ae6a8a46f: Download complete [2024-11-11T04:37:58.895Z] 33b1e0a273af: Verifying Checksum [2024-11-11T04:37:58.895Z] 33b1e0a273af: Download complete [2024-11-11T04:37:58.895Z] 5d3b04190fa2: Verifying Checksum [2024-11-11T04:37:58.895Z] 5d3b04190fa2: Download complete [2024-11-11T04:37:58.895Z] ec43610c2a17: Verifying Checksum [2024-11-11T04:37:58.895Z] ec43610c2a17: Download complete [2024-11-11T04:37:59.155Z] 5eb5b503b376: Verifying Checksum [2024-11-11T04:37:59.155Z] 5eb5b503b376: Download complete [2024-11-11T04:37:59.722Z] 2f39f015ded8: Verifying Checksum [2024-11-11T04:37:59.722Z] 2f39f015ded8: Download complete [2024-11-11T04:38:00.289Z] 5eb5b503b376: Pull complete [2024-11-11T04:38:00.548Z] 5c69ac0246d0: Pull complete [2024-11-11T04:38:01.115Z] ec43610c2a17: Pull complete [2024-11-11T04:38:01.115Z] 3a2ae6a8a46f: Pull complete [2024-11-11T04:38:01.374Z] 33b1e0a273af: Pull complete [2024-11-11T04:38:01.374Z] 5d3b04190fa2: Pull complete [2024-11-11T04:38:05.561Z] 2f39f015ded8: Pull complete [2024-11-11T04:38:05.561Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T04:38:05.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:38:05.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:38:05.826Z] prd-ubuntu20.04-docker-8c-8g-26109 does not seem to be running inside a container [2024-11-11T04:38:05.856Z] $ 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-475 -v /w/workspace/undry_device-onvif-camera_PR-475:/w/workspace/undry_device-onvif-camera_PR-475:rw,z -v /w/workspace/undry_device-onvif-camera_PR-475@tmp:/w/workspace/undry_device-onvif-camera_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:38:09.532Z] $ docker top 3d1ebbf7d54b786314f877e2f93e5916f3d55bed4efacec658c6538ec814f285 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:38:10.027Z] ---> job-cost.sh [2024-11-11T04:38:10.027Z] lf-activate-venv: SKIPPING [2024-11-11T04:38:10.027Z] INFO: No Stack... [2024-11-11T04:38:10.286Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:38:10.546Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:38:10.880Z] + cat /w/workspace/undry_device-onvif-camera_PR-475/archives/cost.csv [2024-11-11T04:38:10.880Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:38:10.929Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [2024-11-11T04:38:10.935Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] did not exist. Created. [2024-11-11T04:38:10.944Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:38:11.355Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T04:38:11.417Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:38:11.460Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:38:11.559Z] $ docker stop --time=1 3d1ebbf7d54b786314f877e2f93e5916f3d55bed4efacec658c6538ec814f285 [2024-11-11T04:38:12.738Z] $ docker rm -f --volumes 3d1ebbf7d54b786314f877e2f93e5916f3d55bed4efacec658c6538ec814f285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T04:38:55.044Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26111 in /w/workspace/undry_device-onvif-camera_PR-475 [Pipeline] { [Pipeline] ws [2024-11-11T04:38:55.132Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-11T04:38:58.257Z] The recommended git tool is: git [2024-11-11T04:39:03.566Z] using credential edgex-jenkins-ssh [2024-11-11T04:39:03.598Z] Cloning the remote Git repository [2024-11-11T04:39:03.652Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-11T04:39:03.763Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-11-11T04:39:03.955Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-11T04:39:03.956Z] > git --version # timeout=10 [2024-11-11T04:39:03.977Z] > git --version # 'git version 2.25.1' [2024-11-11T04:39:03.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:39:04.142Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:39:06.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-11T04:39:06.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:39:07.903Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-11T04:39:07.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-11T04:39:07.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:39:07.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T04:39:08.459Z] Merging remotes/origin/main commit 124a5f1bb5d04e19c2b309127a124eb76166dd36 into PR head commit 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [2024-11-11T04:39:08.863Z] Merge succeeded, producing 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [2024-11-11T04:39:08.863Z] Checking out Revision 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 (PR-475) [2024-11-11T04:39:09.659Z] Commit message: "fix: Ensures that the parsed value is within the bounds of int32" [2024-11-11T04:39:09.711Z] > git --version # timeout=10 [2024-11-11T04:39:09.724Z] > git --version # 'git version 2.25.1' [2024-11-11T04:39:09.738Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:39:08.478Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:39:08.556Z] > git checkout -f 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 # timeout=10 [2024-11-11T04:39:08.758Z] > git remote # timeout=10 [2024-11-11T04:39:08.775Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T04:39:08.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:39:08.820Z] > git merge 124a5f1bb5d04e19c2b309127a124eb76166dd36 # timeout=10 [2024-11-11T04:39:08.846Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T04:39:08.870Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:39:08.883Z] > git checkout -f 22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:39:14.832Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T04:39:14.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:39:14.832Z] Dload Upload Total Spent Left Speed [2024-11-11T04:39:14.832Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2024-11-11T04:39:15.184Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T04:39:15.539Z] + sudo tee /etc/docker/daemon.new [2024-11-11T04:39:15.539Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-11T04:39:15.539Z] { [2024-11-11T04:39:15.539Z] "registry-mirrors": [ [2024-11-11T04:39:15.539Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T04:39:15.539Z] ], [2024-11-11T04:39:15.539Z] "bip": "10.250.0.254/24", [2024-11-11T04:39:15.539Z] "hosts": [ [2024-11-11T04:39:15.539Z] "tcp://0.0.0.0:5555", [2024-11-11T04:39:15.539Z] "unix:///var/run/docker.sock" [2024-11-11T04:39:15.539Z] ], [2024-11-11T04:39:15.539Z] "mtu": 1458, [2024-11-11T04:39:15.539Z] "selinux-enabled": true, [2024-11-11T04:39:15.539Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T04:39:15.539Z] } [Pipeline] sh [2024-11-11T04:39:15.892Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T04:39:16.247Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:39:34.602Z] provisioning config files... [2024-11-11T04:39:34.637Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5868696358938451428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:39:35.148Z] ---> ****-login.sh [2024-11-11T04:39:35.148Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:39:35.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:39:35.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:39:35.738Z] Configure a credential helper to remove this warning. See [2024-11-11T04:39:35.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:39:35.738Z] [2024-11-11T04:39:35.738Z] Login Succeeded [2024-11-11T04:39:35.738Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:39:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:39:36.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:39:36.276Z] Configure a credential helper to remove this warning. See [2024-11-11T04:39:36.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:39:36.276Z] [2024-11-11T04:39:36.276Z] Login Succeeded [2024-11-11T04:39:36.277Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:39:36.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:39:36.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:39:36.551Z] Configure a credential helper to remove this warning. See [2024-11-11T04:39:36.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:39:36.551Z] [2024-11-11T04:39:36.551Z] Login Succeeded [2024-11-11T04:39:36.551Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:39:36.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:39:36.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:39:36.829Z] Configure a credential helper to remove this warning. See [2024-11-11T04:39:36.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:39:36.829Z] [2024-11-11T04:39:36.829Z] Login Succeeded [2024-11-11T04:39:36.829Z] ****.io [2024-11-11T04:39:37.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:39:37.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:39:37.368Z] Configure a credential helper to remove this warning. See [2024-11-11T04:39:37.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:39:37.368Z] [2024-11-11T04:39:37.368Z] Login Succeeded [2024-11-11T04:39:37.368Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:39:37.404Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:39:37.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:39:37.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:39:38.010Z] ========================================================= [2024-11-11T04:39:38.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T04:39:38.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:39:38.571Z] + 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-11T04:39:39.161Z] Sending build context to Docker daemon 21.86MB [2024-11-11T04:39:39.161Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:39:39.161Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-11T04:39:39.161Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T04:39:39.161Z] cf04c63912e1: Pulling fs layer [2024-11-11T04:39:39.161Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T04:39:39.161Z] a37a00ec5f00: Pulling fs layer [2024-11-11T04:39:39.161Z] 50b3750afda1: Pulling fs layer [2024-11-11T04:39:39.161Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:39:39.161Z] 80978eb59214: Pulling fs layer [2024-11-11T04:39:39.161Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T04:39:39.161Z] c5a475d317c9: Pulling fs layer [2024-11-11T04:39:39.161Z] 4f4fb700ef54: Waiting [2024-11-11T04:39:39.161Z] c9f46d7d2bd2: Waiting [2024-11-11T04:39:39.161Z] c5a475d317c9: Waiting [2024-11-11T04:39:39.161Z] 50b3750afda1: Waiting [2024-11-11T04:39:39.161Z] 80978eb59214: Waiting [2024-11-11T04:39:39.438Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T04:39:39.438Z] 55b35a11ae5e: Download complete [2024-11-11T04:39:39.438Z] 50b3750afda1: Download complete [2024-11-11T04:39:39.438Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:39:39.438Z] 4f4fb700ef54: Download complete [2024-11-11T04:39:39.438Z] 80978eb59214: Verifying Checksum [2024-11-11T04:39:39.438Z] 80978eb59214: Download complete [2024-11-11T04:39:39.438Z] cf04c63912e1: Verifying Checksum [2024-11-11T04:39:39.438Z] cf04c63912e1: Download complete [2024-11-11T04:39:40.033Z] c5a475d317c9: Verifying Checksum [2024-11-11T04:39:40.033Z] c5a475d317c9: Download complete [2024-11-11T04:39:40.303Z] cf04c63912e1: Pull complete [2024-11-11T04:39:40.899Z] 55b35a11ae5e: Pull complete [2024-11-11T04:39:41.493Z] a37a00ec5f00: Verifying Checksum [2024-11-11T04:39:41.493Z] a37a00ec5f00: Download complete [2024-11-11T04:39:42.079Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T04:39:42.079Z] c9f46d7d2bd2: Download complete [2024-11-11T04:39:54.426Z] a37a00ec5f00: Pull complete [2024-11-11T04:39:54.426Z] 50b3750afda1: Pull complete [2024-11-11T04:39:54.426Z] 4f4fb700ef54: Pull complete [2024-11-11T04:39:54.694Z] 80978eb59214: Pull complete [2024-11-11T04:40:02.916Z] c9f46d7d2bd2: Pull complete [2024-11-11T04:40:03.896Z] c5a475d317c9: Pull complete [2024-11-11T04:40:03.896Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T04:40:03.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T04:40:03.896Z] ---> be29e6b0f0d4 [2024-11-11T04:40:03.896Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-11T04:40:05.854Z] ---> Running in 1c60cc7890a9 [2024-11-11T04:40:06.133Z] Removing intermediate container 1c60cc7890a9 [2024-11-11T04:40:06.133Z] ---> 6409d8849a9d [2024-11-11T04:40:06.133Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T04:40:06.404Z] ---> Running in 8eee0c4f011c [2024-11-11T04:40:06.675Z] Removing intermediate container 8eee0c4f011c [2024-11-11T04:40:06.675Z] ---> d4a3ae4f8d53 [2024-11-11T04:40:06.676Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-11T04:40:06.676Z] ---> Running in 8342e3fa563f [2024-11-11T04:40:06.945Z] Removing intermediate container 8342e3fa563f [2024-11-11T04:40:06.945Z] ---> d6f25f0d2e06 [2024-11-11T04:40:06.945Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T04:40:07.217Z] ---> Running in f11474aeb53b [2024-11-11T04:40:07.487Z] Removing intermediate container f11474aeb53b [2024-11-11T04:40:07.487Z] ---> 763b56e7409a [2024-11-11T04:40:07.487Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-11T04:40:07.487Z] ---> Running in 55e7f63b5965 [2024-11-11T04:40:07.755Z] Removing intermediate container 55e7f63b5965 [2024-11-11T04:40:07.755Z] ---> 547b4c90f212 [2024-11-11T04:40:07.755Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T04:40:07.755Z] ---> Running in 1e747ead5d67 [2024-11-11T04:40:09.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:09.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:10.866Z] OK: 238 MiB in 54 packages [2024-11-11T04:40:11.838Z] Removing intermediate container 1e747ead5d67 [2024-11-11T04:40:11.838Z] ---> f8583326dc6c [2024-11-11T04:40:11.838Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-11T04:40:11.838Z] ---> Running in 2d01fc6925a2 [2024-11-11T04:40:12.121Z] Removing intermediate container 2d01fc6925a2 [2024-11-11T04:40:12.121Z] ---> 85b6f857a3ce [2024-11-11T04:40:12.121Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-11T04:40:12.709Z] ---> 6a65bd8ca8d0 [2024-11-11T04:40:12.709Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:40:12.709Z] ---> Running in a45bb0ee1088 [2024-11-11T04:42:19.442Z] Removing intermediate container a45bb0ee1088 [2024-11-11T04:42:19.442Z] ---> e436b8b8e246 [2024-11-11T04:42:19.442Z] Step 12/13 : COPY . . [2024-11-11T04:42:19.442Z] ---> 6222e670205f [2024-11-11T04:42:19.442Z] Step 13/13 : RUN ${MAKE} [2024-11-11T04:42:19.442Z] ---> Running in 5c9743696ed4 [2024-11-11T04:42:19.442Z] noop [2024-11-11T04:42:19.442Z] Removing intermediate container 5c9743696ed4 [2024-11-11T04:42:19.442Z] ---> 860c0d117fa6 [2024-11-11T04:42:19.442Z] Successfully built 860c0d117fa6 [2024-11-11T04:42:19.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:42:19.996Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:42:19.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:42:20.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-26111 does not seem to be running inside a container [2024-11-11T04:42:20.379Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:42:21.728Z] $ docker top f1b2f0e389538d4af1aca0c0c6d082968ec5fe4b894b28115a6e5ac77d390893 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:42:22.641Z] + go version [2024-11-11T04:42:22.641Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T04:42:22.683Z] $ docker stop --time=1 f1b2f0e389538d4af1aca0c0c6d082968ec5fe4b894b28115a6e5ac77d390893 [2024-11-11T04:42:24.317Z] $ docker rm -f --volumes f1b2f0e389538d4af1aca0c0c6d082968ec5fe4b894b28115a6e5ac77d390893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:42:25.301Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:42:25.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:42:25.563Z] prd-ubuntu20.04-docker-arm64-4c-16g-26111 does not seem to be running inside a container [2024-11-11T04:42:25.625Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:42:26.750Z] $ docker top 82948861e56060773d9a242bc9d27c41418ef7fde0041c29c0b62996739fd5fe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:42:27.655Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:42:28.060Z] + make test [2024-11-11T04:42:28.328Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T04:42:33.661Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-11T04:45:55.575Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-11T04:46:02.241Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-11T04:46:03.651Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 31.4% of statements [2024-11-11T04:46:21.871Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.263s coverage: 86.5% of statements [2024-11-11T04:46:21.871Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T04:46:21.871Z] go vet ./... [2024-11-11T04:47:18.318Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:47:18.318Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:47:18.318Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:47:18.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:47:18.410Z] $ docker stop --time=1 82948861e56060773d9a242bc9d27c41418ef7fde0041c29c0b62996739fd5fe [2024-11-11T04:47:20.323Z] $ docker rm -f --volumes 82948861e56060773d9a242bc9d27c41418ef7fde0041c29c0b62996739fd5fe [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:47:22.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:47:22.123Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T04:47:22.742Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:47:23.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:47:23.766Z] + ls -al . [2024-11-11T04:47:23.766Z] total 312 [2024-11-11T04:47:23.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:42 . [2024-11-11T04:47:23.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:39 .. [2024-11-11T04:47:23.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:39 .git [2024-11-11T04:47:23.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:39 .github [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 11 04:39 .gitignore [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:39 .golangci.yml [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 11 04:39 Attribution.txt [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 11 04:39 CHANGELOG.md [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 11 04:39 Dockerfile [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:39 GOVERNANCE.md [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 11 04:39 Jenkinsfile [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 04:39 LICENSE [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 3465 Nov 11 04:39 Makefile [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 04:39 OWNERS.md [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 11 04:39 README.md [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:35 VERSION [2024-11-11T04:47:23.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:39 bin [2024-11-11T04:47:23.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:39 cmd [2024-11-11T04:47:23.766Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 11 04:46 coverage.out [2024-11-11T04:47:23.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:39 doc [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 11 04:39 go.mod [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 11 04:39 go.sum [2024-11-11T04:47:23.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:39 internal [2024-11-11T04:47:23.766Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 04:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:47:24.223Z] + 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=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 --label arch=arm64 --label version=0.0.0 . [2024-11-11T04:47:24.880Z] Sending build context to Docker daemon 21.95MB [2024-11-11T04:47:24.880Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:47:24.880Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-11T04:47:24.880Z] ---> 860c0d117fa6 [2024-11-11T04:47:24.880Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-11T04:47:25.851Z] ---> Running in 82652b821e32 [2024-11-11T04:47:26.123Z] Removing intermediate container 82652b821e32 [2024-11-11T04:47:26.123Z] ---> 248eeaba52ff [2024-11-11T04:47:26.123Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T04:47:26.123Z] ---> Running in ddca9c847206 [2024-11-11T04:47:26.396Z] Removing intermediate container ddca9c847206 [2024-11-11T04:47:26.396Z] ---> f032d455bc8c [2024-11-11T04:47:26.396Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-11T04:47:26.670Z] ---> Running in 57ee5157c6e1 [2024-11-11T04:47:26.939Z] Removing intermediate container 57ee5157c6e1 [2024-11-11T04:47:26.939Z] ---> 53bbf311a30d [2024-11-11T04:47:26.939Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T04:47:26.939Z] ---> Running in fe40c2f4360d [2024-11-11T04:47:27.206Z] Removing intermediate container fe40c2f4360d [2024-11-11T04:47:27.206Z] ---> 9a80fb8ba8ca [2024-11-11T04:47:27.206Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-11T04:47:27.476Z] ---> Running in 10ce317b4ff7 [2024-11-11T04:47:27.744Z] Removing intermediate container 10ce317b4ff7 [2024-11-11T04:47:27.744Z] ---> 7679d7786361 [2024-11-11T04:47:27.744Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T04:47:28.018Z] ---> Running in f25de4a16fb2 [2024-11-11T04:47:28.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:47:29.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:47:30.680Z] OK: 238 MiB in 54 packages [2024-11-11T04:47:32.102Z] Removing intermediate container f25de4a16fb2 [2024-11-11T04:47:32.102Z] ---> b148a5b3f198 [2024-11-11T04:47:32.102Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-11T04:47:32.102Z] ---> Running in 00d86b8e20c7 [2024-11-11T04:47:32.371Z] Removing intermediate container 00d86b8e20c7 [2024-11-11T04:47:32.371Z] ---> 0a8f06307436 [2024-11-11T04:47:32.371Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-11T04:47:32.959Z] ---> a4bd644b909f [2024-11-11T04:47:32.959Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:47:32.959Z] ---> Running in 1d3fd853d5dd [2024-11-11T04:47:36.355Z] Removing intermediate container 1d3fd853d5dd [2024-11-11T04:47:36.355Z] ---> f04b93c74cee [2024-11-11T04:47:36.355Z] Step 12/27 : COPY . . [2024-11-11T04:47:37.767Z] ---> 43dc2fef2ea8 [2024-11-11T04:47:37.767Z] Step 13/27 : RUN ${MAKE} [2024-11-11T04:47:38.035Z] ---> Running in 9eb871fdd675 [2024-11-11T04:47:38.998Z] 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.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-11T04:51:46.526Z] Removing intermediate container 9eb871fdd675 [2024-11-11T04:51:46.526Z] ---> 414e7be42b3f [2024-11-11T04:51:46.526Z] Step 14/27 : FROM alpine:3.20 [2024-11-11T04:51:46.526Z] 3.20: Pulling from library/alpine [2024-11-11T04:51:46.526Z] cf04c63912e1: Already exists [2024-11-11T04:51:46.526Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:51:46.526Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:51:46.526Z] ---> c157a85ed455 [2024-11-11T04:51:46.527Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-11T04:51:46.527Z] ---> Running in 6723f2f26847 [2024-11-11T04:51:46.527Z] Removing intermediate container 6723f2f26847 [2024-11-11T04:51:46.527Z] ---> 57de3412b46e [2024-11-11T04:51:46.527Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:51:46.527Z] ---> Running in 8033f54ae018 [2024-11-11T04:51:46.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:46.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:46.802Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:51:46.802Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:51:46.802Z] OK: 9 MiB in 15 packages [2024-11-11T04:51:48.221Z] Removing intermediate container 8033f54ae018 [2024-11-11T04:51:48.221Z] ---> 11d450c67ea4 [2024-11-11T04:51:48.221Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-11T04:51:48.221Z] ---> Running in 5163be16be44 [2024-11-11T04:51:49.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:49.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:50.864Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:51:50.864Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:51:50.864Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:51:51.131Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:51:51.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:51.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:53.139Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:51:53.139Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:51:53.413Z] OK: 9 MiB in 15 packages [2024-11-11T04:51:54.391Z] Removing intermediate container 5163be16be44 [2024-11-11T04:51:54.391Z] ---> e0f2ee75eee1 [2024-11-11T04:51:54.391Z] Step 18/27 : WORKDIR / [2024-11-11T04:51:54.661Z] ---> Running in a3e73415babc [2024-11-11T04:51:54.930Z] Removing intermediate container a3e73415babc [2024-11-11T04:51:54.930Z] ---> cdbfffa0f9e6 [2024-11-11T04:51:54.930Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-11T04:51:56.876Z] ---> 55ee031e2986 [2024-11-11T04:51:56.876Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-11T04:51:57.462Z] ---> fcd9fa2def4b [2024-11-11T04:51:57.462Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-11T04:51:58.052Z] ---> 4c65508a46b4 [2024-11-11T04:51:58.052Z] Step 22/27 : EXPOSE 59984 [2024-11-11T04:51:58.052Z] ---> Running in e5f930f7717f [2024-11-11T04:51:58.320Z] Removing intermediate container e5f930f7717f [2024-11-11T04:51:58.320Z] ---> a0c92461659e [2024-11-11T04:51:58.320Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-11T04:51:58.589Z] ---> Running in 149359020c4d [2024-11-11T04:51:58.859Z] Removing intermediate container 149359020c4d [2024-11-11T04:51:58.859Z] ---> ec0530aeceb9 [2024-11-11T04:51:58.859Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T04:51:58.859Z] ---> Running in 189206ce8c07 [2024-11-11T04:51:59.451Z] Removing intermediate container 189206ce8c07 [2024-11-11T04:51:59.451Z] ---> 31b8a124ab5e [2024-11-11T04:51:59.451Z] Step 25/27 : LABEL arch=arm64 [2024-11-11T04:51:59.451Z] ---> Running in 10861947fcb1 [2024-11-11T04:51:59.721Z] Removing intermediate container 10861947fcb1 [2024-11-11T04:51:59.721Z] ---> 42c3d9a6de93 [2024-11-11T04:51:59.721Z] Step 26/27 : LABEL git_sha=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [2024-11-11T04:51:59.721Z] ---> Running in 15fbbc4e4c78 [2024-11-11T04:52:00.310Z] Removing intermediate container 15fbbc4e4c78 [2024-11-11T04:52:00.310Z] ---> b3256a009401 [2024-11-11T04:52:00.310Z] Step 27/27 : LABEL version=0.0.0 [2024-11-11T04:52:00.310Z] ---> Running in 311f8049436f [2024-11-11T04:52:00.579Z] Removing intermediate container 311f8049436f [2024-11-11T04:52:00.579Z] ---> f478e7f247e8 [2024-11-11T04:52:00.579Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:52:00.579Z] Successfully built f478e7f247e8 [2024-11-11T04:52:00.579Z] 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-11T04:52:01.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:52:01.547Z] [2024-11-11T04:52:01.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:52:01.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:52:02.258Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T04:52:02.258Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T04:52:02.258Z] 04944245beec: Pulling fs layer [2024-11-11T04:52:02.258Z] 699f458cf7ca: Pulling fs layer [2024-11-11T04:52:02.258Z] 765212b225bb: Pulling fs layer [2024-11-11T04:52:02.258Z] f23df028b6ca: Pulling fs layer [2024-11-11T04:52:02.258Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T04:52:02.258Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T04:52:02.258Z] 765212b225bb: Waiting [2024-11-11T04:52:02.258Z] f23df028b6ca: Waiting [2024-11-11T04:52:02.258Z] d65c8cfc05b1: Waiting [2024-11-11T04:52:02.258Z] 2437ff75d9bd: Waiting [2024-11-11T04:52:02.258Z] 04944245beec: Verifying Checksum [2024-11-11T04:52:02.258Z] 04944245beec: Download complete [2024-11-11T04:52:02.258Z] 765212b225bb: Verifying Checksum [2024-11-11T04:52:02.258Z] 765212b225bb: Download complete [2024-11-11T04:52:02.621Z] f23df028b6ca: Verifying Checksum [2024-11-11T04:52:02.621Z] f23df028b6ca: Download complete [2024-11-11T04:52:02.621Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T04:52:02.621Z] d65c8cfc05b1: Download complete [2024-11-11T04:52:02.621Z] 699f458cf7ca: Verifying Checksum [2024-11-11T04:52:02.621Z] 699f458cf7ca: Download complete [2024-11-11T04:52:03.211Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T04:52:03.211Z] 8998bd30e6a1: Download complete [2024-11-11T04:52:05.819Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T04:52:05.819Z] 2437ff75d9bd: Download complete [2024-11-11T04:52:08.494Z] 8998bd30e6a1: Pull complete [2024-11-11T04:52:08.494Z] 04944245beec: Pull complete [2024-11-11T04:52:10.471Z] 699f458cf7ca: Pull complete [2024-11-11T04:52:10.471Z] 765212b225bb: Pull complete [2024-11-11T04:52:11.433Z] f23df028b6ca: Pull complete [2024-11-11T04:52:11.702Z] d65c8cfc05b1: Pull complete [2024-11-11T04:52:29.904Z] 2437ff75d9bd: Pull complete [2024-11-11T04:52:29.904Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T04:52:29.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:52:29.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:52:30.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-26111 does not seem to be running inside a container [2024-11-11T04:52:30.383Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T04:52:33.591Z] $ docker top 04d6c54daced1bb8735b4395fdbb67c904c65739599630747db9e74f20f74c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:34.567Z] ---> job-cost.sh [2024-11-11T04:52:34.567Z] lf-activate-venv: SKIPPING [2024-11-11T04:52:34.567Z] INFO: No Stack... [2024-11-11T04:52:35.155Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T04:52:35.740Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:52:36.422Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-11-11T04:52:36.422Z] cut -d, -f6 [Pipeline] lock [2024-11-11T04:52:36.492Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [2024-11-11T04:52:36.499Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] did not exist. Created. [2024-11-11T04:52:36.507Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:52:37.272Z] /w/workspace/device-onvif-camera/1@tmp/durable-53745a2b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T04:52:37.946Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T04:52:37.984Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T04:52:38.051Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:52:38.074Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:52:38.174Z] $ docker stop --time=1 04d6c54daced1bb8735b4395fdbb67c904c65739599630747db9e74f20f74c16 [2024-11-11T04:52:39.723Z] $ docker rm -f --volumes 04d6c54daced1bb8735b4395fdbb67c904c65739599630747db9e74f20f74c16 [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-11T04:52:40.837Z] provisioning config files... [2024-11-11T04:52:40.852Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-475@tmp/config6890656506024249803tmp [Pipeline] { [Pipeline] sh [2024-11-11T04:52:41.218Z] + set +x [2024-11-11T04:52:41.218Z] + bash -s -- [2024-11-11T04:52:41.218Z] + curl -s https://codecov.io/bash [2024-11-11T04:52:41.218Z] [2024-11-11T04:52:41.218Z] _____ _ [2024-11-11T04:52:41.218Z] / ____| | | [2024-11-11T04:52:41.218Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T04:52:41.218Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T04:52:41.218Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T04:52:41.218Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T04:52:41.218Z] Bash-1.0.6 [2024-11-11T04:52:41.218Z] [2024-11-11T04:52:41.218Z] [2024-11-11T04:52:41.218Z] ==> git version 2.25.1 found [2024-11-11T04:52:41.218Z] ==> 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-11T04:52:41.218Z] Release-Date: 2020-01-08 [2024-11-11T04:52:41.218Z] 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-11T04:52:41.218Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T04:52:41.218Z] ==> Jenkins CI detected. [2024-11-11T04:52:41.218Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-475 [2024-11-11T04:52:41.218Z] project root: . [2024-11-11T04:52:41.218Z] --> token set from env [2024-11-11T04:52:41.218Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T04:52:41.218Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T04:52:41.218Z] ==> Python coveragepy not found [2024-11-11T04:52:41.218Z] ==> Searching for coverage reports in: [2024-11-11T04:52:41.218Z] + . [2024-11-11T04:52:41.483Z] -> Found 1 reports [2024-11-11T04:52:41.483Z] ==> Detecting git/mercurial file structure [2024-11-11T04:52:41.483Z] ==> Reading reports [2024-11-11T04:52:41.483Z] + ./coverage.out bytes=92292 [2024-11-11T04:52:41.483Z] ==> Appending adjustments [2024-11-11T04:52:41.483Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T04:52:41.483Z] + Found adjustments [2024-11-11T04:52:41.484Z] ==> Gzipping contents [2024-11-11T04:52:41.484Z] 12K /tmp/codecov.Lhrcpc.gz [2024-11-11T04:52:41.484Z] ==> Uploading reports [2024-11-11T04:52:41.484Z] url: https://codecov.io [2024-11-11T04:52:41.484Z] query: branch=PR-475&commit=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=475&job=&cmd_args= [2024-11-11T04:52:41.484Z] -> Pinging Codecov [2024-11-11T04:52:41.484Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-475&commit=22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=475&job=&cmd_args= [2024-11-11T04:52:41.750Z] -> Uploading to [2024-11-11T04:52:41.750Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8/759c06ba-e1ea-424f-9521-0de2872ad1b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T045241Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=179b5db2beff8de46a79566811ad8aabc0ef538e1524efd1cd77166c3712a8a0 [2024-11-11T04:52:41.750Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:52:41.750Z] Dload Upload Total Spent Left Speed [2024-11-11T04:52:42.015Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11416 0 0 100 11416 0 48786 --:--:-- --:--:-- --:--:-- 48995 [2024-11-11T04:52:42.015Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/22d23d7ae3353e0154e35ebad73c72e7f4fdf7f8 [Pipeline] } [2024-11-11T04:52:42.057Z] 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-11T04:52:44.275Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-475/archives ] [2024-11-11T04:52:44.275Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-475/archives [2024-11-11T04:52:44.275Z] total 16 [2024-11-11T04:52:44.275Z] drwxr-xr-x 3 root root 4096 Nov 11 04:38 . [2024-11-11T04:52:44.275Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:38 .. [2024-11-11T04:52:44.275Z] drwxr-xr-x 2 root root 4096 Nov 11 04:38 cost [2024-11-11T04:52:44.275Z] -rw-r--r-- 1 root root 91 Nov 11 04:38 cost.csv [2024-11-11T04:52:44.275Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-475/archives [2024-11-11T04:52:44.275Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-475/archives [2024-11-11T04:52:44.275Z] total 16 [2024-11-11T04:52:44.275Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:38 . [2024-11-11T04:52:44.275Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:38 .. [2024-11-11T04:52:44.275Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:38 cost [2024-11-11T04:52:44.275Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 11 04:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:44.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:45.531Z] ---> package-listing.sh [2024-11-11T04:52:45.532Z] ++ facter osfamily [2024-11-11T04:52:45.532Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T04:52:45.792Z] + OS_FAMILY=debian [2024-11-11T04:52:45.792Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-475 [2024-11-11T04:52:45.792Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T04:52:45.792Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T04:52:45.792Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T04:52:45.792Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T04:52:45.792Z] + '[' /w/workspace/undry_device-onvif-camera_PR-475 ']' [2024-11-11T04:52:45.792Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T04:52:45.792Z] + case "${OS_FAMILY}" in [2024-11-11T04:52:45.792Z] + dpkg -l [2024-11-11T04:52:45.792Z] + grep '^ii' [2024-11-11T04:52:45.792Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T04:52:45.792Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T04:52:45.792Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T04:52:45.792Z] + '[' /w/workspace/undry_device-onvif-camera_PR-475 ']' [2024-11-11T04:52:45.792Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-475/archives/ [2024-11-11T04:52:45.792Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-475/archives/ [Pipeline] echo [2024-11-11T04:52:45.838Z] 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-475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T04:52:46.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:52:46.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:52:46.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:52:46.970Z] prd-ubuntu20.04-docker-8c-8g-26109 does not seem to be running inside a container [2024-11-11T04:52:46.994Z] $ 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-475/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-475 -v /w/workspace/undry_device-onvif-camera_PR-475:/w/workspace/undry_device-onvif-camera_PR-475:rw,z -v /w/workspace/undry_device-onvif-camera_PR-475@tmp:/w/workspace/undry_device-onvif-camera_PR-475@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-11T04:52:47.177Z] $ docker top c96cb9749919802b69955cb8f0c8bcc6c63484c76face4bf27acd127f3a22afb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:52:47.597Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T04:52:47.918Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T04:52:48.241Z] + ls /var/log/sa-host [2024-11-11T04:52:48.241Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:52:48.412Z] provisioning config files... [2024-11-11T04:52:48.421Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-475@tmp/config640384234880844323tmp [Pipeline] { [Pipeline] echo [2024-11-11T04:52:48.494Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:48.822Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T04:52:48.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:49.288Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T04:52:49.331Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:49.662Z] ---> sudo-logs.sh [2024-11-11T04:52:49.662Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T04:52:49.767Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:50.095Z] ---> job-cost.sh [2024-11-11T04:52:50.095Z] lf-activate-venv: SKIPPING [2024-11-11T04:52:50.095Z] DEBUG: total: 0.2199999988079071 [2024-11-11T04:52:50.095Z] INFO: Retrieving Stack Cost... [2024-11-11T04:52:50.664Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:52:50.923Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T04:52:50.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:52:51.294Z] ---> logs-deploy.sh [2024-11-11T04:52:51.294Z] lf-activate-venv: SKIPPING [2024-11-11T04:52:51.294Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-475/1 [2024-11-11T04:52:51.294Z] INFO: archiving workspace using pattern(s): [2024-11-11T04:52:52.231Z] Archives upload complete. [2024-11-11T04:52:52.231Z] INFO: archiving logs to Nexus