Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from a83730c2ca7660bd580c8c11ae1217f2c0590c44+c03763b95a868410e957b4793cb640e2d9fdc9e9 (152114fbb7daf1192aafc1ab6828cecd7c8118bb) 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-ssh5557781623597578333.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-ssh9463534282975348278.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-465/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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6195597949892510119.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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17777831616257998965.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-ssh16506876050326357235.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-465/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-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6370147533860159602.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-22682 in /w/workspace/undry_device-onvif-camera_PR-465 [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-465 # 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/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c03763b95a868410e957b4793cb640e2d9fdc9e9 into PR head commit a83730c2ca7660bd580c8c11ae1217f2c0590c44 Merge succeeded, producing a83730c2ca7660bd580c8c11ae1217f2c0590c44 Checking out Revision a83730c2ca7660bd580c8c11ae1217f2c0590c44 (PR-465) > git config core.sparsecheckout # timeout=10 > git checkout -f a83730c2ca7660bd580c8c11ae1217f2c0590c44 # 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 c03763b95a868410e957b4793cb640e2d9fdc9e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a83730c2ca7660bd580c8c11ae1217f2c0590c44 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T06:52:46.711Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T06:52:49.289Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T06:52:49.424Z] ========================================================= [2024-10-14T06:52:49.424Z] EdgeX Global Pipelines Version Info [2024-10-14T06:52:49.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:52:52.731Z] ------------------- [2024-10-14T06:52:52.731Z] stable info: [2024-10-14T06:52:52.731Z] ------------------- [2024-10-14T06:52:52.731Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T06:52:52.731Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T06:52:52.731Z] Message: update stable to v1.0.265 [2024-10-14T06:52:53.930Z] ------------------- [2024-10-14T06:52:53.930Z] experimental info: [2024-10-14T06:52:53.930Z] ------------------- [2024-10-14T06:52:53.930Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T06:52:53.930Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T06:52:53.930Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T06:53:01.424Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-14T06:53:01.478Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-14T06:53:01.537Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T06:53:01.593Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T06:53:01.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T06:53:01.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T06:53:01.777Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T06:53:01.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T06:53:01.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T06:53:02.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T06:53:02.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T06:53:02.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-14T06:53:02.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T06:53:02.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T06:53:02.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:53:02.466Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:53:02.528Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:53:02.592Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:53:02.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T06:53:02.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T06:53:02.772Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-14T06:53:02.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-14T06:53:02.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T06:53:02.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T06:53:03.002Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T06:53:03.066Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T06:53:03.130Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T06:53:03.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo [2024-10-14T06:53:03.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo [2024-10-14T06:53:03.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo [2024-10-14T06:53:03.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a83730c2ca7660bd580c8c11ae1217f2c0590c44 [Pipeline] echo [2024-10-14T06:53:03.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a83730c [Pipeline] echo [2024-10-14T06:53:03.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:53:03.663Z] provisioning config files... [2024-10-14T06:53:03.679Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-465@tmp/config1589200782883795549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:53:04.092Z] ---> ****-login.sh [2024-10-14T06:53:04.092Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:53:04.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:04.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:04.626Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:04.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:04.626Z] [2024-10-14T06:53:04.626Z] Login Succeeded [2024-10-14T06:53:04.626Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:53:04.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:04.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:04.627Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:04.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:04.627Z] [2024-10-14T06:53:04.627Z] Login Succeeded [2024-10-14T06:53:04.627Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:53:04.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:04.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:04.627Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:04.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:04.627Z] [2024-10-14T06:53:04.627Z] Login Succeeded [2024-10-14T06:53:04.627Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:53:04.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:04.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:04.888Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:04.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:04.888Z] [2024-10-14T06:53:04.888Z] Login Succeeded [2024-10-14T06:53:04.888Z] ****.io [2024-10-14T06:53:04.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:05.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:05.148Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:05.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:05.148Z] [2024-10-14T06:53:05.148Z] Login Succeeded [2024-10-14T06:53:05.148Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:53:05.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T06:53:05.876Z] + git rev-list -1 --merges a83730c2ca7660bd580c8c11ae1217f2c0590c44~1..a83730c2ca7660bd580c8c11ae1217f2c0590c44 [Pipeline] echo [2024-10-14T06:53:05.925Z] -----------> git rev-list -1 --merges a83730c2ca7660bd580c8c11ae1217f2c0590c44~1..a83730c2ca7660bd580c8c11ae1217f2c0590c44 a83730c2ca7660bd580c8c11ae1217f2c0590c44 [false] [Pipeline] sh [2024-10-14T06:53:06.248Z] + git log --format=format:%s -1 a83730c2ca7660bd580c8c11ae1217f2c0590c44 [Pipeline] echo [2024-10-14T06:53:06.291Z] ========================================================= [2024-10-14T06:53:06.291Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T06:53:06.291Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:53:06.765Z] + git log --format=format:%s -1 a83730c2ca7660bd580c8c11ae1217f2c0590c44 [Pipeline] echo [2024-10-14T06:53:06.811Z] [semverPrep] GIT_COMMIT: a83730c2ca7660bd580c8c11ae1217f2c0590c44, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T06:53:06.857Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T06:53:07.267Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T06:53:07.267Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T06:53:07.267Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T06:53:07.267Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T06:53:07.267Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T06:53:07.267Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T06:53:07.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:53:07.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:53:07.814Z] [2024-10-14T06:53:07.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:53:08.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:53:08.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T06:53:08.210Z] b85a868b505f: Pulling fs layer [2024-10-14T06:53:08.210Z] e2be974225ed: Pulling fs layer [2024-10-14T06:53:08.210Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T06:53:08.210Z] 988bab9f4d93: Pulling fs layer [2024-10-14T06:53:08.210Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T06:53:08.210Z] 988bab9f4d93: Waiting [2024-10-14T06:53:08.210Z] eaf3925da568: Pulling fs layer [2024-10-14T06:53:08.210Z] bab4dde63d76: Pulling fs layer [2024-10-14T06:53:08.210Z] bde34c3a00c8: Pulling fs layer [2024-10-14T06:53:08.210Z] b352a97aabf1: Pulling fs layer [2024-10-14T06:53:08.210Z] 4872d77fe225: Pulling fs layer [2024-10-14T06:53:08.210Z] 5851b861e8e6: Pulling fs layer [2024-10-14T06:53:08.210Z] 1469e6f7b9e6: Waiting [2024-10-14T06:53:08.210Z] eaf3925da568: Waiting [2024-10-14T06:53:08.210Z] bab4dde63d76: Waiting [2024-10-14T06:53:08.210Z] b352a97aabf1: Waiting [2024-10-14T06:53:08.210Z] 4872d77fe225: Waiting [2024-10-14T06:53:08.210Z] bde34c3a00c8: Waiting [2024-10-14T06:53:08.210Z] 5851b861e8e6: Waiting [2024-10-14T06:53:08.476Z] e2be974225ed: Verifying Checksum [2024-10-14T06:53:08.477Z] e2be974225ed: Download complete [2024-10-14T06:53:08.477Z] 988bab9f4d93: Verifying Checksum [2024-10-14T06:53:08.477Z] 988bab9f4d93: Download complete [2024-10-14T06:53:08.477Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T06:53:08.477Z] 1469e6f7b9e6: Download complete [2024-10-14T06:53:08.477Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T06:53:08.477Z] 339a4e72a1f5: Download complete [2024-10-14T06:53:08.477Z] eaf3925da568: Verifying Checksum [2024-10-14T06:53:08.477Z] eaf3925da568: Download complete [2024-10-14T06:53:08.477Z] bde34c3a00c8: Download complete [2024-10-14T06:53:08.477Z] b352a97aabf1: Download complete [2024-10-14T06:53:08.477Z] 4872d77fe225: Verifying Checksum [2024-10-14T06:53:08.477Z] 4872d77fe225: Download complete [2024-10-14T06:53:08.477Z] 5851b861e8e6: Download complete [2024-10-14T06:53:08.736Z] b85a868b505f: Verifying Checksum [2024-10-14T06:53:08.736Z] b85a868b505f: Download complete [2024-10-14T06:53:08.736Z] bab4dde63d76: Download complete [2024-10-14T06:53:10.109Z] b85a868b505f: Pull complete [2024-10-14T06:53:10.109Z] e2be974225ed: Pull complete [2024-10-14T06:53:10.679Z] 339a4e72a1f5: Pull complete [2024-10-14T06:53:10.679Z] 988bab9f4d93: Pull complete [2024-10-14T06:53:10.938Z] 1469e6f7b9e6: Pull complete [2024-10-14T06:53:10.938Z] eaf3925da568: Pull complete [2024-10-14T06:53:12.842Z] bab4dde63d76: Pull complete [2024-10-14T06:53:12.842Z] bde34c3a00c8: Pull complete [2024-10-14T06:53:12.842Z] b352a97aabf1: Pull complete [2024-10-14T06:53:13.103Z] 4872d77fe225: Pull complete [2024-10-14T06:53:13.103Z] 5851b861e8e6: Pull complete [2024-10-14T06:53:13.103Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T06:53:13.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:53:13.103Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:53:13.406Z] prd-ubuntu20.04-docker-8c-8g-22682 does not seem to be running inside a container [2024-10-14T06:53:13.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-465 -v /w/workspace/undry_device-onvif-camera_PR-465:/w/workspace/undry_device-onvif-camera_PR-465:rw,z -v /w/workspace/undry_device-onvif-camera_PR-465@tmp:/w/workspace/undry_device-onvif-camera_PR-465@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-devops/py-git-semver:0.1.4 cat [2024-10-14T06:53:16.745Z] $ docker top 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 -eo pid,comm [2024-10-14T06:53:16.804Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-14T06:53:16.804Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T06:53:16.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:53:16.982Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:53:17.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:53:17.099Z] $ docker exec 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 ssh-agent [2024-10-14T06:53:17.208Z] SSH_AUTH_SOCK=/tmp/ssh-SJaAot6n712X/agent.32 [2024-10-14T06:53:17.208Z] SSH_AGENT_PID=38 [2024-10-14T06:53:17.215Z] Running ssh-add (command line suppressed) [2024-10-14T06:53:17.322Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-465@tmp/private_key_7379574866272856790.key (/w/workspace/undry_device-onvif-camera_PR-465@tmp/private_key_7379574866272856790.key) [2024-10-14T06:53:17.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:53:17.679Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T06:53:17.705Z] $ docker exec --env ******** --env ******** 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 ssh-agent -k [2024-10-14T06:53:17.811Z] unset SSH_AUTH_SOCK; [2024-10-14T06:53:17.811Z] unset SSH_AGENT_PID; [2024-10-14T06:53:17.811Z] echo Agent pid 38 killed; [2024-10-14T06:53:17.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T06:53:17.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:53:17.941Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:53:18.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:53:18.054Z] $ docker exec 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 ssh-agent [2024-10-14T06:53:18.160Z] SSH_AUTH_SOCK=/tmp/ssh-vNVqPr2iu7ja/agent.71 [2024-10-14T06:53:18.160Z] SSH_AGENT_PID=77 [2024-10-14T06:53:18.171Z] Running ssh-add (command line suppressed) [2024-10-14T06:53:18.260Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-465@tmp/private_key_11544891047655838964.key (/w/workspace/undry_device-onvif-camera_PR-465@tmp/private_key_11544891047655838964.key) [2024-10-14T06:53:18.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:53:18.620Z] + git semver init [2024-10-14T06:53:18.880Z] 2024-10-14 06:53:18,795 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T06:53:18.880Z] 2024-10-14 06:53:18,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-465/.semver [2024-10-14T06:53:18.880Z] 2024-10-14 06:53:18,796 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-465/.semver [2024-10-14T06:53:18.880Z] 2024-10-14 06:53:18,796 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-465/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-465, universal_newlines=False, shell=None, istream=None) [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:19,989 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-465/.git/info/exclude [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:19,990 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-465/.semver/PR-465 with force:False [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:19,990 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-465/.semver/PR-465 [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:19,995 [execute] INFO git cat-file --batch-check [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:19,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:20,002 [execute] INFO git cat-file --batch [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:20,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:53:20.263Z] 2024-10-14 06:53:20,008 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-465/.semver/PR-465 [2024-10-14T06:53:20.263Z] 0.0.0 [Pipeline] } [2024-10-14T06:53:20.293Z] $ docker exec --env ******** --env ******** 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 ssh-agent -k [2024-10-14T06:53:20.389Z] unset SSH_AUTH_SOCK; [2024-10-14T06:53:20.389Z] unset SSH_AGENT_PID; [2024-10-14T06:53:20.390Z] echo Agent pid 77 killed; [2024-10-14T06:53:20.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T06:53:20.858Z] + git semver [Pipeline] } [2024-10-14T06:53:21.145Z] $ docker stop --time=1 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 [2024-10-14T06:53:22.481Z] $ docker rm -f --volumes 6e415ffaac75ce8426cf1881650876cc5e72cd867d9d4dbe2872c365433643a0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:53:22.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T06:53:23.226Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T06:53:23.252Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:53:24.002Z] provisioning config files... [2024-10-14T06:53:24.012Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-465@tmp/config94232455050382323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:53:24.380Z] ---> ****-login.sh [2024-10-14T06:53:24.380Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:53:24.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:24.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:24.381Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:24.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:24.381Z] [2024-10-14T06:53:24.381Z] Login Succeeded [2024-10-14T06:53:24.381Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:53:24.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:24.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:24.381Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:24.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:24.381Z] [2024-10-14T06:53:24.381Z] Login Succeeded [2024-10-14T06:53:24.381Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:53:24.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:24.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:24.641Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:24.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:24.641Z] [2024-10-14T06:53:24.641Z] Login Succeeded [2024-10-14T06:53:24.641Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:53:24.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:24.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:24.641Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:24.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:24.641Z] [2024-10-14T06:53:24.641Z] Login Succeeded [2024-10-14T06:53:24.641Z] ****.io [2024-10-14T06:53:24.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:53:24.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:53:24.903Z] Configure a credential helper to remove this warning. See [2024-10-14T06:53:24.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:53:24.903Z] [2024-10-14T06:53:24.903Z] Login Succeeded [2024-10-14T06:53:24.903Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:53:24.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T06:53:25.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:53:25.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:53:25.269Z] ========================================================= [2024-10-14T06:53:25.269Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T06:53:25.269Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:53:25.791Z] + 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-10-14T06:53:25.791Z] Sending build context to Docker daemon 36.75MB [2024-10-14T06:53:25.791Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:53:25.791Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T06:53:26.060Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T06:53:26.060Z] 43c4264eed91: Pulling fs layer [2024-10-14T06:53:26.060Z] 4cc291be95ef: Pulling fs layer [2024-10-14T06:53:26.060Z] 2ac1f1163629: Pulling fs layer [2024-10-14T06:53:26.060Z] 5c3c966382ef: Pulling fs layer [2024-10-14T06:53:26.060Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T06:53:26.060Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T06:53:26.060Z] 9f66e0745190: Pulling fs layer [2024-10-14T06:53:26.060Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T06:53:26.060Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T06:53:26.060Z] 561ebcabdf7f: Waiting [2024-10-14T06:53:26.060Z] 9f66e0745190: Waiting [2024-10-14T06:53:26.060Z] 5c3c966382ef: Waiting [2024-10-14T06:53:26.060Z] 4f4fb700ef54: Waiting [2024-10-14T06:53:26.060Z] f49a43e4bbc0: Waiting [2024-10-14T06:53:26.060Z] 5d5c8e513c77: Waiting [2024-10-14T06:53:26.060Z] 4cc291be95ef: Verifying Checksum [2024-10-14T06:53:26.060Z] 4cc291be95ef: Download complete [2024-10-14T06:53:26.060Z] 5c3c966382ef: Download complete [2024-10-14T06:53:26.060Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T06:53:26.060Z] 4f4fb700ef54: Download complete [2024-10-14T06:53:26.060Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T06:53:26.060Z] 5d5c8e513c77: Download complete [2024-10-14T06:53:26.060Z] 43c4264eed91: Download complete [2024-10-14T06:53:26.060Z] 9f66e0745190: Verifying Checksum [2024-10-14T06:53:26.060Z] 9f66e0745190: Download complete [2024-10-14T06:53:26.320Z] 43c4264eed91: Pull complete [2024-10-14T06:53:26.320Z] 4cc291be95ef: Pull complete [2024-10-14T06:53:26.320Z] 561ebcabdf7f: Verifying Checksum [2024-10-14T06:53:26.320Z] 561ebcabdf7f: Download complete [2024-10-14T06:53:26.580Z] 2ac1f1163629: Download complete [2024-10-14T06:53:26.839Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T06:53:26.839Z] f49a43e4bbc0: Download complete [2024-10-14T06:53:30.129Z] 2ac1f1163629: Pull complete [2024-10-14T06:53:30.129Z] 5c3c966382ef: Pull complete [2024-10-14T06:53:30.129Z] 4f4fb700ef54: Pull complete [2024-10-14T06:53:30.129Z] 5d5c8e513c77: Pull complete [2024-10-14T06:53:30.129Z] 9f66e0745190: Pull complete [2024-10-14T06:53:32.670Z] f49a43e4bbc0: Pull complete [2024-10-14T06:53:32.929Z] 561ebcabdf7f: Pull complete [2024-10-14T06:53:32.929Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T06:53:32.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T06:53:32.929Z] ---> 3a752c3f9dda [2024-10-14T06:53:32.929Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:53:38.252Z] ---> Running in 4e81f6baa2ed [2024-10-14T06:53:38.252Z] Removing intermediate container 4e81f6baa2ed [2024-10-14T06:53:38.252Z] ---> 81b734ecb003 [2024-10-14T06:53:38.252Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:53:38.252Z] ---> Running in 5592e402116b [2024-10-14T06:53:38.252Z] Removing intermediate container 5592e402116b [2024-10-14T06:53:38.252Z] ---> 1abbcf6248b8 [2024-10-14T06:53:38.252Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-14T06:53:38.252Z] ---> Running in 50ffc5ca7835 [2024-10-14T06:53:38.252Z] Removing intermediate container 50ffc5ca7835 [2024-10-14T06:53:38.252Z] ---> 5d3e333afb45 [2024-10-14T06:53:38.252Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:53:38.252Z] ---> Running in b66192b9e022 [2024-10-14T06:53:38.252Z] Removing intermediate container b66192b9e022 [2024-10-14T06:53:38.252Z] ---> 989f170c5a7d [2024-10-14T06:53:38.252Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-14T06:53:38.252Z] ---> Running in 8cc67fa5e2fc [2024-10-14T06:53:38.252Z] Removing intermediate container 8cc67fa5e2fc [2024-10-14T06:53:38.252Z] ---> 3a4e70628dba [2024-10-14T06:53:38.252Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:53:38.252Z] ---> Running in 7f0e2f7378ed [2024-10-14T06:53:38.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:53:38.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:53:38.792Z] Still waiting to schedule task [2024-10-14T06:53:38.794Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-14T06:53:39.340Z] OK: 246 MiB in 54 packages [2024-10-14T06:53:39.600Z] Removing intermediate container 7f0e2f7378ed [2024-10-14T06:53:39.600Z] ---> d7a7e42e5015 [2024-10-14T06:53:39.600Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-14T06:53:39.600Z] ---> Running in 92768d9d491a [2024-10-14T06:53:39.600Z] Removing intermediate container 92768d9d491a [2024-10-14T06:53:39.600Z] ---> 7c15061dc0c4 [2024-10-14T06:53:39.600Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-14T06:53:39.860Z] ---> 86c7bf09fa63 [2024-10-14T06:53:39.860Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:53:39.860Z] ---> Running in b66c52882eca [2024-10-14T06:54:36.103Z] Removing intermediate container b66c52882eca [2024-10-14T06:54:36.104Z] ---> 700a7f9432f9 [2024-10-14T06:54:36.104Z] Step 12/13 : COPY . . [2024-10-14T06:54:36.104Z] ---> fd374bfcac64 [2024-10-14T06:54:36.104Z] Step 13/13 : RUN ${MAKE} [2024-10-14T06:54:36.104Z] ---> Running in 1cba02ecfad8 [2024-10-14T06:54:36.104Z] noop [2024-10-14T06:54:36.104Z] Removing intermediate container 1cba02ecfad8 [2024-10-14T06:54:36.104Z] ---> 64f96f434df9 [2024-10-14T06:54:36.104Z] Successfully built 64f96f434df9 [2024-10-14T06:54:36.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:54:36.587Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T06:54:36.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:54:36.766Z] prd-ubuntu20.04-docker-8c-8g-22682 does not seem to be running inside a container [2024-10-14T06:54:36.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-465 -v /w/workspace/undry_device-onvif-camera_PR-465:/w/workspace/undry_device-onvif-camera_PR-465:rw,z -v /w/workspace/undry_device-onvif-camera_PR-465@tmp:/w/workspace/undry_device-onvif-camera_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T06:54:37.173Z] $ docker top 1051ff2b3adbcc01000cad2308243a5faae890f0265f2170b78343c65b9733f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:54:37.594Z] + go version [2024-10-14T06:54:37.594Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T06:54:37.627Z] $ docker stop --time=1 1051ff2b3adbcc01000cad2308243a5faae890f0265f2170b78343c65b9733f7 [2024-10-14T06:54:38.913Z] $ docker rm -f --volumes 1051ff2b3adbcc01000cad2308243a5faae890f0265f2170b78343c65b9733f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:54:39.712Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T06:54:39.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:54:39.884Z] prd-ubuntu20.04-docker-8c-8g-22682 does not seem to be running inside a container [2024-10-14T06:54:39.913Z] $ 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-465 -v /w/workspace/undry_device-onvif-camera_PR-465:/w/workspace/undry_device-onvif-camera_PR-465:rw,z -v /w/workspace/undry_device-onvif-camera_PR-465@tmp:/w/workspace/undry_device-onvif-camera_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T06:54:40.217Z] $ docker top c403e2ed38b06ecd912ec07bf38fa0e49dafe63cd59b6fc9a8918e8084dbc108 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:54:40.638Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-465 [Pipeline] fileExists [Pipeline] sh [2024-10-14T06:54:41.031Z] + make test [2024-10-14T06:54:41.031Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T06:54:42.936Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-14T06:55:04.870Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-14T06:55:04.870Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-14T06:55:04.870Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.026s coverage: 31.4% of statements [2024-10-14T06:55:04.870Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.413s coverage: 86.5% of statements [2024-10-14T06:55:17.082Z] go vet ./... [2024-10-14T06:55:23.651Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T06:55:23.651Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T06:55:23.651Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T06:55:23.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T06:55:23.736Z] $ docker stop --time=1 c403e2ed38b06ecd912ec07bf38fa0e49dafe63cd59b6fc9a8918e8084dbc108 [2024-10-14T06:55:26.441Z] $ docker rm -f --volumes c403e2ed38b06ecd912ec07bf38fa0e49dafe63cd59b6fc9a8918e8084dbc108 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:55:27.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T06:55:27.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T06:55:27.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T06:55:28.302Z] + ls -al . [2024-10-14T06:55:28.302Z] total 328 [2024-10-14T06:55:28.302Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 06:54 . [2024-10-14T06:55:28.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:52 .. [2024-10-14T06:55:28.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:55 .git [2024-10-14T06:55:28.302Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:52 .github [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 14 06:52 .gitignore [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 06:52 .golangci.yml [2024-10-14T06:55:28.302Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 06:53 .semver [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 14 06:52 Attribution.txt [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 14 06:52 CHANGELOG.md [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 14 06:52 Dockerfile [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 06:52 GOVERNANCE.md [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 14 06:52 Jenkinsfile [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 06:52 LICENSE [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 14 06:52 Makefile [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 14 06:52 OWNERS.md [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 14 06:52 README.md [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:53 VERSION [2024-10-14T06:55:28.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:52 bin [2024-10-14T06:55:28.302Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:52 cmd [2024-10-14T06:55:28.302Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 14 06:55 coverage.out [2024-10-14T06:55:28.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:52 doc [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 14 06:52 go.mod [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 14 06:52 go.sum [2024-10-14T06:55:28.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:52 internal [2024-10-14T06:55:28.302Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 14 06:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:55:28.733Z] + 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=a83730c2ca7660bd580c8c11ae1217f2c0590c44 --label arch=amd64 --label version=0.0.0 . [2024-10-14T06:55:28.733Z] Sending build context to Docker daemon 36.84MB [2024-10-14T06:55:28.733Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:55:28.733Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-14T06:55:28.733Z] ---> 64f96f434df9 [2024-10-14T06:55:28.733Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:55:29.304Z] ---> Running in 243cf79900c6 [2024-10-14T06:55:29.564Z] Removing intermediate container 243cf79900c6 [2024-10-14T06:55:29.564Z] ---> ed11befc50c1 [2024-10-14T06:55:29.564Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:55:29.564Z] ---> Running in 94387eb65c05 [2024-10-14T06:55:29.564Z] Removing intermediate container 94387eb65c05 [2024-10-14T06:55:29.564Z] ---> d6b06beebcc6 [2024-10-14T06:55:29.564Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-14T06:55:29.564Z] ---> Running in cd3172a375f4 [2024-10-14T06:55:29.564Z] Removing intermediate container cd3172a375f4 [2024-10-14T06:55:29.564Z] ---> 67f2cec1aabc [2024-10-14T06:55:29.564Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:55:29.564Z] ---> Running in d2867aae05c0 [2024-10-14T06:55:29.822Z] Removing intermediate container d2867aae05c0 [2024-10-14T06:55:29.822Z] ---> 53fb35ee0f90 [2024-10-14T06:55:29.822Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-14T06:55:29.822Z] ---> Running in f5818e5188ca [2024-10-14T06:55:29.822Z] Removing intermediate container f5818e5188ca [2024-10-14T06:55:29.822Z] ---> c0fbeba60fac [2024-10-14T06:55:29.822Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:55:29.822Z] ---> Running in 89208b8e6ae0 [2024-10-14T06:55:30.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:55:30.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:55:30.648Z] OK: 246 MiB in 54 packages [2024-10-14T06:55:30.907Z] Removing intermediate container 89208b8e6ae0 [2024-10-14T06:55:30.907Z] ---> fa5ecb76612b [2024-10-14T06:55:30.907Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-14T06:55:30.907Z] ---> Running in c7069ba3499f [2024-10-14T06:55:30.907Z] Removing intermediate container c7069ba3499f [2024-10-14T06:55:30.907Z] ---> e88037b4c4c0 [2024-10-14T06:55:30.907Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-14T06:55:31.166Z] ---> 2affdc2b4fd1 [2024-10-14T06:55:31.166Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:55:31.166Z] ---> Running in 00b116921987 [2024-10-14T06:55:32.099Z] Removing intermediate container 00b116921987 [2024-10-14T06:55:32.099Z] ---> 196270dea7e4 [2024-10-14T06:55:32.099Z] Step 12/27 : COPY . . [2024-10-14T06:55:33.033Z] ---> 5622e256d50f [2024-10-14T06:55:33.033Z] Step 13/27 : RUN ${MAKE} [2024-10-14T06:55:33.033Z] ---> Running in 33329f1617bc [2024-10-14T06:55:33.300Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-14T06:56:12.017Z] Removing intermediate container 33329f1617bc [2024-10-14T06:56:12.017Z] ---> 9a8b3c569f7a [2024-10-14T06:56:12.017Z] Step 14/27 : FROM alpine:3.20 [2024-10-14T06:56:12.017Z] 3.20: Pulling from library/alpine [2024-10-14T06:56:12.017Z] 43c4264eed91: Already exists [2024-10-14T06:56:12.017Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T06:56:12.017Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T06:56:12.017Z] ---> 91ef0af61f39 [2024-10-14T06:56:12.017Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T06:56:12.017Z] ---> Running in 196f20d3981d [2024-10-14T06:56:12.017Z] Removing intermediate container 196f20d3981d [2024-10-14T06:56:12.017Z] ---> 732d0c0bc973 [2024-10-14T06:56:12.017Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-14T06:56:12.017Z] ---> Running in 9670ba10313d [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T06:56:12.017Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:56:12.017Z] OK: 8 MiB in 15 packages [2024-10-14T06:56:12.017Z] Removing intermediate container 9670ba10313d [2024-10-14T06:56:12.017Z] ---> 5b5b8ae8921f [2024-10-14T06:56:12.017Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-14T06:56:12.017Z] ---> Running in 2400f59935ef [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] Upgrading critical system libraries and apk-tools: [2024-10-14T06:56:12.017Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T06:56:12.017Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:56:12.017Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:56:12.017Z] OK: 8 MiB in 15 packages [2024-10-14T06:56:12.017Z] Removing intermediate container 2400f59935ef [2024-10-14T06:56:12.017Z] ---> 5120bc1aef55 [2024-10-14T06:56:12.017Z] Step 18/27 : WORKDIR / [2024-10-14T06:56:12.017Z] ---> Running in 9bc098c9158b [2024-10-14T06:56:12.017Z] Removing intermediate container 9bc098c9158b [2024-10-14T06:56:12.017Z] ---> 489118c78078 [2024-10-14T06:56:12.017Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-14T06:56:13.402Z] ---> 6f52bfd62be0 [2024-10-14T06:56:13.402Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-14T06:56:13.402Z] ---> 77f3da544856 [2024-10-14T06:56:13.402Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-14T06:56:13.662Z] ---> b4cdea587a48 [2024-10-14T06:56:13.662Z] Step 22/27 : EXPOSE 59984 [2024-10-14T06:56:13.662Z] ---> Running in 5828f79f0661 [2024-10-14T06:56:13.662Z] Removing intermediate container 5828f79f0661 [2024-10-14T06:56:13.662Z] ---> 2fd9e9c9f93b [2024-10-14T06:56:13.662Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-14T06:56:13.662Z] ---> Running in 498e2b695e08 [2024-10-14T06:56:13.920Z] Removing intermediate container 498e2b695e08 [2024-10-14T06:56:13.920Z] ---> f802c4c40e2d [2024-10-14T06:56:13.920Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T06:56:13.920Z] ---> Running in 029147ee78cd [2024-10-14T06:56:13.920Z] Removing intermediate container 029147ee78cd [2024-10-14T06:56:13.920Z] ---> 39b765f5684a [2024-10-14T06:56:13.920Z] Step 25/27 : LABEL arch=amd64 [2024-10-14T06:56:13.920Z] ---> Running in 99e6214e5920 [2024-10-14T06:56:13.920Z] Removing intermediate container 99e6214e5920 [2024-10-14T06:56:13.920Z] ---> fe2347b51731 [2024-10-14T06:56:13.921Z] Step 26/27 : LABEL git_sha=a83730c2ca7660bd580c8c11ae1217f2c0590c44 [2024-10-14T06:56:13.921Z] ---> Running in 2118eff1b6e3 [2024-10-14T06:56:14.179Z] Removing intermediate container 2118eff1b6e3 [2024-10-14T06:56:14.179Z] ---> c4de7b94e1ed [2024-10-14T06:56:14.179Z] Step 27/27 : LABEL version=0.0.0 [2024-10-14T06:56:14.179Z] ---> Running in 23d5fd02d79c [2024-10-14T06:56:14.179Z] Removing intermediate container 23d5fd02d79c [2024-10-14T06:56:14.179Z] ---> 2175a900a849 [2024-10-14T06:56:14.179Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T06:56:14.179Z] Successfully built 2175a900a849 [2024-10-14T06:56:14.179Z] 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-10-14T06:56:15.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:56:15.181Z] [2024-10-14T06:56:15.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:56:15.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:56:15.578Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T06:56:15.578Z] 5eb5b503b376: Pulling fs layer [2024-10-14T06:56:15.578Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T06:56:15.578Z] ec43610c2a17: Pulling fs layer [2024-10-14T06:56:15.578Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T06:56:15.578Z] 33b1e0a273af: Pulling fs layer [2024-10-14T06:56:15.578Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T06:56:15.578Z] 2f39f015ded8: Pulling fs layer [2024-10-14T06:56:15.578Z] 33b1e0a273af: Waiting [2024-10-14T06:56:15.578Z] 5d3b04190fa2: Waiting [2024-10-14T06:56:15.578Z] 3a2ae6a8a46f: Waiting [2024-10-14T06:56:15.578Z] 2f39f015ded8: Waiting [2024-10-14T06:56:15.578Z] 5c69ac0246d0: Download complete [2024-10-14T06:56:15.578Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T06:56:15.578Z] 3a2ae6a8a46f: Download complete [2024-10-14T06:56:15.578Z] ec43610c2a17: Verifying Checksum [2024-10-14T06:56:15.578Z] ec43610c2a17: Download complete [2024-10-14T06:56:15.838Z] 33b1e0a273af: Verifying Checksum [2024-10-14T06:56:15.838Z] 33b1e0a273af: Download complete [2024-10-14T06:56:15.838Z] 5d3b04190fa2: Verifying Checksum [2024-10-14T06:56:15.838Z] 5d3b04190fa2: Download complete [2024-10-14T06:56:15.838Z] 5eb5b503b376: Verifying Checksum [2024-10-14T06:56:15.838Z] 5eb5b503b376: Download complete [2024-10-14T06:56:16.405Z] 2f39f015ded8: Download complete [2024-10-14T06:56:17.342Z] 5eb5b503b376: Pull complete [2024-10-14T06:56:17.342Z] 5c69ac0246d0: Pull complete [2024-10-14T06:56:17.911Z] ec43610c2a17: Pull complete [2024-10-14T06:56:17.911Z] 3a2ae6a8a46f: Pull complete [2024-10-14T06:56:17.911Z] 33b1e0a273af: Pull complete [2024-10-14T06:56:18.169Z] 5d3b04190fa2: Pull complete [2024-10-14T06:56:22.359Z] 2f39f015ded8: Pull complete [2024-10-14T06:56:22.359Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T06:56:22.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:56:22.359Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:56:22.653Z] prd-ubuntu20.04-docker-8c-8g-22682 does not seem to be running inside a container [2024-10-14T06:56:22.682Z] $ 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-465 -v /w/workspace/undry_device-onvif-camera_PR-465:/w/workspace/undry_device-onvif-camera_PR-465:rw,z -v /w/workspace/undry_device-onvif-camera_PR-465@tmp:/w/workspace/undry_device-onvif-camera_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T06:56:26.552Z] $ docker top 72d6c6e496243e0fc6a398b97a6d38bf01352f87ae7a3030e3a216097016371c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:56:27.055Z] ---> job-cost.sh [2024-10-14T06:56:27.055Z] lf-activate-venv: SKIPPING [2024-10-14T06:56:27.055Z] INFO: No Stack... [2024-10-14T06:56:27.313Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T06:56:27.572Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T06:56:27.901Z] + cat /w/workspace/undry_device-onvif-camera_PR-465/archives/cost.csv [2024-10-14T06:56:27.901Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T06:56:27.949Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [2024-10-14T06:56:27.956Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] did not exist. Created. [2024-10-14T06:56:27.964Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T06:56:28.396Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T06:56:28.458Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T06:56:28.495Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T06:56:28.587Z] $ docker stop --time=1 72d6c6e496243e0fc6a398b97a6d38bf01352f87ae7a3030e3a216097016371c [2024-10-14T06:56:29.724Z] $ docker rm -f --volumes 72d6c6e496243e0fc6a398b97a6d38bf01352f87ae7a3030e3a216097016371c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T06:57:53.262Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22683 in /w/workspace/undry_device-onvif-camera_PR-465 [Pipeline] { [Pipeline] ws [2024-10-14T06:57:53.340Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-14T06:57:53.434Z] The recommended git tool is: git [2024-10-14T06:57:59.217Z] using credential edgex-jenkins-ssh [2024-10-14T06:57:59.242Z] Cloning the remote Git repository [2024-10-14T06:57:59.288Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-14T06:57:59.391Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-14T06:57:59.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-14T06:57:59.562Z] > git --version # timeout=10 [2024-10-14T06:57:59.584Z] > git --version # 'git version 2.25.1' [2024-10-14T06:57:59.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:57:59.804Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T06:58:02.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-14T06:58:02.500Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T06:58:03.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-14T06:58:03.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-14T06:58:03.542Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:58:03.566Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T06:58:04.109Z] Merging remotes/origin/main commit c03763b95a868410e957b4793cb640e2d9fdc9e9 into PR head commit a83730c2ca7660bd580c8c11ae1217f2c0590c44 [2024-10-14T06:58:04.531Z] Merge succeeded, producing a83730c2ca7660bd580c8c11ae1217f2c0590c44 [2024-10-14T06:58:04.533Z] Checking out Revision a83730c2ca7660bd580c8c11ae1217f2c0590c44 (PR-465) [2024-10-14T06:58:04.135Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T06:58:04.217Z] > git checkout -f a83730c2ca7660bd580c8c11ae1217f2c0590c44 # timeout=10 [2024-10-14T06:58:04.414Z] > git remote # timeout=10 [2024-10-14T06:58:04.432Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T06:58:04.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:58:04.480Z] > git merge c03763b95a868410e957b4793cb640e2d9fdc9e9 # timeout=10 [2024-10-14T06:58:04.510Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T06:58:04.537Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T06:58:04.559Z] > git checkout -f a83730c2ca7660bd580c8c11ae1217f2c0590c44 # timeout=10 [2024-10-14T06:58:08.408Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T06:58:08.471Z] > git --version # timeout=10 [2024-10-14T06:58:08.483Z] > git --version # 'git version 2.25.1' [2024-10-14T06:58:08.500Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:58:10.729Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T06:58:10.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T06:58:10.730Z] Dload Upload Total Spent Left Speed [2024-10-14T06:58:10.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-10-14T06:58:11.107Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T06:58:11.479Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T06:58:11.479Z] + sudo tee /etc/docker/daemon.new [2024-10-14T06:58:11.479Z] { [2024-10-14T06:58:11.479Z] "registry-mirrors": [ [2024-10-14T06:58:11.479Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T06:58:11.479Z] ], [2024-10-14T06:58:11.479Z] "bip": "10.250.0.254/24", [2024-10-14T06:58:11.479Z] "hosts": [ [2024-10-14T06:58:11.479Z] "tcp://0.0.0.0:5555", [2024-10-14T06:58:11.479Z] "unix:///var/run/docker.sock" [2024-10-14T06:58:11.479Z] ], [2024-10-14T06:58:11.479Z] "mtu": 1458, [2024-10-14T06:58:11.479Z] "selinux-enabled": true, [2024-10-14T06:58:11.479Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T06:58:11.479Z] } [Pipeline] sh [2024-10-14T06:58:11.857Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T06:58:12.241Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:58:30.685Z] provisioning config files... [2024-10-14T06:58:30.728Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config878858392844931309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:58:31.275Z] ---> ****-login.sh [2024-10-14T06:58:31.275Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:58:31.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:58:32.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:58:32.159Z] Configure a credential helper to remove this warning. See [2024-10-14T06:58:32.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:58:32.159Z] [2024-10-14T06:58:32.159Z] Login Succeeded [2024-10-14T06:58:32.159Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:58:32.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:58:32.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:58:32.720Z] Configure a credential helper to remove this warning. See [2024-10-14T06:58:32.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:58:32.720Z] [2024-10-14T06:58:32.720Z] Login Succeeded [2024-10-14T06:58:32.720Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:58:33.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:58:33.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:58:33.003Z] Configure a credential helper to remove this warning. See [2024-10-14T06:58:33.003Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:58:33.003Z] [2024-10-14T06:58:33.003Z] Login Succeeded [2024-10-14T06:58:33.003Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:58:33.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:58:33.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:58:33.619Z] Configure a credential helper to remove this warning. See [2024-10-14T06:58:33.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:58:33.619Z] [2024-10-14T06:58:33.619Z] Login Succeeded [2024-10-14T06:58:33.619Z] ****.io [2024-10-14T06:58:33.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:58:34.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:58:34.169Z] Configure a credential helper to remove this warning. See [2024-10-14T06:58:34.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:58:34.169Z] [2024-10-14T06:58:34.169Z] Login Succeeded [2024-10-14T06:58:34.169Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:58:34.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T06:58:34.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:58:34.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:58:34.942Z] ========================================================= [2024-10-14T06:58:34.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T06:58:34.942Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:58:35.488Z] + 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-10-14T06:58:36.109Z] Sending build context to Docker daemon 21.79MB [2024-10-14T06:58:36.109Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:58:36.109Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T06:58:36.385Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T06:58:36.385Z] cf04c63912e1: Pulling fs layer [2024-10-14T06:58:36.385Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T06:58:36.385Z] a37a00ec5f00: Pulling fs layer [2024-10-14T06:58:36.385Z] 50b3750afda1: Pulling fs layer [2024-10-14T06:58:36.385Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T06:58:36.385Z] 80978eb59214: Pulling fs layer [2024-10-14T06:58:36.385Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T06:58:36.385Z] c5a475d317c9: Pulling fs layer [2024-10-14T06:58:36.385Z] 50b3750afda1: Waiting [2024-10-14T06:58:36.385Z] 4f4fb700ef54: Waiting [2024-10-14T06:58:36.385Z] 80978eb59214: Waiting [2024-10-14T06:58:36.386Z] c9f46d7d2bd2: Waiting [2024-10-14T06:58:36.386Z] c5a475d317c9: Waiting [2024-10-14T06:58:36.386Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T06:58:36.386Z] 55b35a11ae5e: Download complete [2024-10-14T06:58:36.386Z] 50b3750afda1: Verifying Checksum [2024-10-14T06:58:36.386Z] 50b3750afda1: Download complete [2024-10-14T06:58:36.386Z] 4f4fb700ef54: Download complete [2024-10-14T06:58:36.669Z] 80978eb59214: Verifying Checksum [2024-10-14T06:58:36.669Z] 80978eb59214: Download complete [2024-10-14T06:58:36.669Z] cf04c63912e1: Verifying Checksum [2024-10-14T06:58:36.669Z] cf04c63912e1: Download complete [2024-10-14T06:58:36.948Z] c5a475d317c9: Verifying Checksum [2024-10-14T06:58:36.948Z] c5a475d317c9: Download complete [2024-10-14T06:58:37.932Z] cf04c63912e1: Pull complete [2024-10-14T06:58:38.533Z] 55b35a11ae5e: Pull complete [2024-10-14T06:58:38.806Z] a37a00ec5f00: Verifying Checksum [2024-10-14T06:58:38.806Z] a37a00ec5f00: Download complete [2024-10-14T06:58:39.783Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T06:58:39.783Z] c9f46d7d2bd2: Download complete [2024-10-14T06:58:54.836Z] a37a00ec5f00: Pull complete [2024-10-14T06:58:54.836Z] 50b3750afda1: Pull complete [2024-10-14T06:58:54.836Z] 4f4fb700ef54: Pull complete [2024-10-14T06:58:54.836Z] 80978eb59214: Pull complete [2024-10-14T06:59:03.095Z] c9f46d7d2bd2: Pull complete [2024-10-14T06:59:04.527Z] c5a475d317c9: Pull complete [2024-10-14T06:59:04.527Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T06:59:04.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T06:59:04.527Z] ---> be29e6b0f0d4 [2024-10-14T06:59:04.527Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:59:06.528Z] ---> Running in 8ffa4466079d [2024-10-14T06:59:07.122Z] Removing intermediate container 8ffa4466079d [2024-10-14T06:59:07.122Z] ---> 79cd737216b9 [2024-10-14T06:59:07.122Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:59:07.122Z] ---> Running in cfcbadbde259 [2024-10-14T06:59:07.393Z] Removing intermediate container cfcbadbde259 [2024-10-14T06:59:07.393Z] ---> 6ec05ad1bf99 [2024-10-14T06:59:07.393Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-14T06:59:07.669Z] ---> Running in a173b51e6023 [2024-10-14T06:59:07.953Z] Removing intermediate container a173b51e6023 [2024-10-14T06:59:07.953Z] ---> b363bff6f7f2 [2024-10-14T06:59:07.953Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:59:08.225Z] ---> Running in 7e3ad635aaa5 [2024-10-14T06:59:08.495Z] Removing intermediate container 7e3ad635aaa5 [2024-10-14T06:59:08.495Z] ---> 01e4a1cfe1bb [2024-10-14T06:59:08.495Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-14T06:59:08.495Z] ---> Running in 481dee135ef1 [2024-10-14T06:59:09.086Z] Removing intermediate container 481dee135ef1 [2024-10-14T06:59:09.086Z] ---> 21b3c7b0fc92 [2024-10-14T06:59:09.086Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:59:09.086Z] ---> Running in a2abb788a4a2 [2024-10-14T06:59:10.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T06:59:11.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T06:59:13.089Z] OK: 238 MiB in 54 packages [2024-10-14T06:59:14.073Z] Removing intermediate container a2abb788a4a2 [2024-10-14T06:59:14.073Z] ---> ee87e922a8ed [2024-10-14T06:59:14.073Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-14T06:59:14.343Z] ---> Running in 0c4ff6abf7c0 [2024-10-14T06:59:14.627Z] Removing intermediate container 0c4ff6abf7c0 [2024-10-14T06:59:14.627Z] ---> 0aaecb174b75 [2024-10-14T06:59:14.627Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-14T06:59:15.600Z] ---> c00c8a0bd028 [2024-10-14T06:59:15.600Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:59:15.600Z] ---> Running in 97149f5a83c9 [2024-10-14T07:01:38.040Z] Removing intermediate container 97149f5a83c9 [2024-10-14T07:01:38.040Z] ---> 874a0085638a [2024-10-14T07:01:38.040Z] Step 12/13 : COPY . . [2024-10-14T07:01:38.040Z] ---> 3bd038dee92f [2024-10-14T07:01:38.040Z] Step 13/13 : RUN ${MAKE} [2024-10-14T07:01:38.040Z] ---> Running in 7ead63180ebe [2024-10-14T07:01:38.040Z] noop [2024-10-14T07:01:38.040Z] Removing intermediate container 7ead63180ebe [2024-10-14T07:01:38.040Z] ---> d93ed8a923c4 [2024-10-14T07:01:38.040Z] Successfully built d93ed8a923c4 [2024-10-14T07:01:38.040Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:01:38.580Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:01:38.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:01:38.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-22683 does not seem to be running inside a container [2024-10-14T07:01:39.023Z] $ 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-10-14T07:01:40.529Z] $ docker top 1b191b67ad2446d3d2cfa34c64f8c847798be628d81f594b33126fa989232c74 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:01:41.532Z] + go version [2024-10-14T07:01:41.532Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T07:01:41.572Z] $ docker stop --time=1 1b191b67ad2446d3d2cfa34c64f8c847798be628d81f594b33126fa989232c74 [2024-10-14T07:01:43.266Z] $ docker rm -f --volumes 1b191b67ad2446d3d2cfa34c64f8c847798be628d81f594b33126fa989232c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:01:44.265Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:01:44.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:01:44.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-22683 does not seem to be running inside a container [2024-10-14T07:01:44.663Z] $ 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-10-14T07:01:46.126Z] $ docker top 1b6350f06aa050275ee5295a624df47e011ec26b08e7ccbc879989c252100287 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:01:47.081Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:01:47.834Z] + make test [2024-10-14T07:01:47.835Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T07:01:54.495Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-14T07:07:01.621Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-14T07:07:01.621Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-14T07:07:01.621Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.198s coverage: 31.4% of statements [2024-10-14T07:07:16.651Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.691s coverage: 86.5% of statements [2024-10-14T07:07:18.064Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T07:07:18.064Z] go vet ./... [2024-10-14T07:08:14.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:08:14.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:08:14.527Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:08:15.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:08:15.591Z] $ docker stop --time=1 1b6350f06aa050275ee5295a624df47e011ec26b08e7ccbc879989c252100287 [2024-10-14T07:08:17.743Z] $ docker rm -f --volumes 1b6350f06aa050275ee5295a624df47e011ec26b08e7ccbc879989c252100287 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:08:19.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:08:19.898Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T07:08:20.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:08:21.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:08:21.645Z] + ls -al . [2024-10-14T07:08:21.646Z] total 324 [2024-10-14T07:08:21.646Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:01 . [2024-10-14T07:08:21.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:57 .. [2024-10-14T07:08:21.646Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:58 .git [2024-10-14T07:08:21.646Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:58 .github [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 14 06:58 .gitignore [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 06:58 .golangci.yml [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 14 06:58 Attribution.txt [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 14 06:58 CHANGELOG.md [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 14 06:58 Dockerfile [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 06:58 GOVERNANCE.md [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 14 06:58 Jenkinsfile [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 06:58 LICENSE [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 14 06:58 Makefile [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 14 06:58 OWNERS.md [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 14 06:58 README.md [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:53 VERSION [2024-10-14T07:08:21.646Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:58 bin [2024-10-14T07:08:21.646Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:58 cmd [2024-10-14T07:08:21.646Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 14 07:07 coverage.out [2024-10-14T07:08:21.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:58 doc [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 14 06:58 go.mod [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 14 06:58 go.sum [2024-10-14T07:08:21.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:58 internal [2024-10-14T07:08:21.646Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 14 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:08:22.101Z] + 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=a83730c2ca7660bd580c8c11ae1217f2c0590c44 --label arch=arm64 --label version=0.0.0 . [2024-10-14T07:08:22.684Z] Sending build context to Docker daemon 21.88MB [2024-10-14T07:08:22.685Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:08:22.685Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-14T07:08:22.685Z] ---> d93ed8a923c4 [2024-10-14T07:08:22.685Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:08:22.953Z] ---> Running in cb265540ea81 [2024-10-14T07:08:23.226Z] Removing intermediate container cb265540ea81 [2024-10-14T07:08:23.226Z] ---> c75a51ee4378 [2024-10-14T07:08:23.226Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:08:23.226Z] ---> Running in 51734b3ef5eb [2024-10-14T07:08:23.504Z] Removing intermediate container 51734b3ef5eb [2024-10-14T07:08:23.504Z] ---> fdf3af3831f2 [2024-10-14T07:08:23.504Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-14T07:08:23.774Z] ---> Running in d2c7a01142e3 [2024-10-14T07:08:24.041Z] Removing intermediate container d2c7a01142e3 [2024-10-14T07:08:24.041Z] ---> eb59dae86a07 [2024-10-14T07:08:24.041Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:08:24.041Z] ---> Running in 67e8ceb7f729 [2024-10-14T07:08:24.309Z] Removing intermediate container 67e8ceb7f729 [2024-10-14T07:08:24.309Z] ---> 8386984f47f3 [2024-10-14T07:08:24.309Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-14T07:08:24.580Z] ---> Running in d29ace5f54f6 [2024-10-14T07:08:24.851Z] Removing intermediate container d29ace5f54f6 [2024-10-14T07:08:24.851Z] ---> 6af28ff4783b [2024-10-14T07:08:24.851Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:08:24.851Z] ---> Running in e1866d0d3188 [2024-10-14T07:08:26.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:08:26.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:08:28.469Z] OK: 238 MiB in 54 packages [2024-10-14T07:08:29.053Z] Removing intermediate container e1866d0d3188 [2024-10-14T07:08:29.053Z] ---> 8051f77c5a69 [2024-10-14T07:08:29.053Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-14T07:08:29.320Z] ---> Running in b5e788e03037 [2024-10-14T07:08:29.589Z] Removing intermediate container b5e788e03037 [2024-10-14T07:08:29.589Z] ---> ee6f26ae3261 [2024-10-14T07:08:29.589Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-14T07:08:30.184Z] ---> b6d6e9830208 [2024-10-14T07:08:30.184Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:08:30.184Z] ---> Running in 614371ca588a [2024-10-14T07:08:33.546Z] Removing intermediate container 614371ca588a [2024-10-14T07:08:33.546Z] ---> 62bcddc9ff0f [2024-10-14T07:08:33.546Z] Step 12/27 : COPY . . [2024-10-14T07:08:35.502Z] ---> b07d70ecf18c [2024-10-14T07:08:35.502Z] Step 13/27 : RUN ${MAKE} [2024-10-14T07:08:35.502Z] ---> Running in dd709d8dd94c [2024-10-14T07:08:36.919Z] 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/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-14T07:13:14.036Z] Removing intermediate container dd709d8dd94c [2024-10-14T07:13:14.036Z] ---> 8fb22edb81fc [2024-10-14T07:13:14.036Z] Step 14/27 : FROM alpine:3.20 [2024-10-14T07:13:14.036Z] 3.20: Pulling from library/alpine [2024-10-14T07:13:14.036Z] cf04c63912e1: Already exists [2024-10-14T07:13:14.036Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:13:14.036Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:13:14.036Z] ---> c157a85ed455 [2024-10-14T07:13:14.036Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T07:13:14.036Z] ---> Running in a0d15a5f97c7 [2024-10-14T07:13:14.036Z] Removing intermediate container a0d15a5f97c7 [2024-10-14T07:13:14.036Z] ---> 0e606fc495ae [2024-10-14T07:13:14.036Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:13:14.036Z] ---> Running in c27905c6f9d9 [2024-10-14T07:13:15.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:15.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:17.241Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:13:17.241Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:13:17.241Z] OK: 9 MiB in 15 packages [2024-10-14T07:13:18.678Z] Removing intermediate container c27905c6f9d9 [2024-10-14T07:13:18.678Z] ---> e8cee99ffdd8 [2024-10-14T07:13:18.678Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-14T07:13:18.678Z] ---> Running in 98dc91ef3050 [2024-10-14T07:13:20.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:20.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:22.347Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:13:22.347Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:13:22.347Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:13:22.621Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:13:22.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:23.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:13:25.958Z] OK: 9 MiB in 15 packages [2024-10-14T07:13:27.400Z] Removing intermediate container 98dc91ef3050 [2024-10-14T07:13:27.400Z] ---> 2fcd5443eb6a [2024-10-14T07:13:27.400Z] Step 18/27 : WORKDIR / [2024-10-14T07:13:27.400Z] ---> Running in c11823dc577c [2024-10-14T07:13:27.673Z] Removing intermediate container c11823dc577c [2024-10-14T07:13:27.673Z] ---> 7abee8068b7d [2024-10-14T07:13:27.673Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-14T07:13:30.286Z] ---> 6660385f13b4 [2024-10-14T07:13:30.287Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-14T07:13:31.259Z] ---> e914f95f95d8 [2024-10-14T07:13:31.259Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-14T07:13:31.528Z] ---> cbf397269b96 [2024-10-14T07:13:31.529Z] Step 22/27 : EXPOSE 59984 [2024-10-14T07:13:31.796Z] ---> Running in fc6950681cee [2024-10-14T07:13:32.067Z] Removing intermediate container fc6950681cee [2024-10-14T07:13:32.067Z] ---> 7938ea39af38 [2024-10-14T07:13:32.067Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-14T07:13:32.338Z] ---> Running in e343c0ef2a3f [2024-10-14T07:13:32.610Z] Removing intermediate container e343c0ef2a3f [2024-10-14T07:13:32.610Z] ---> 8fd222f9e433 [2024-10-14T07:13:32.610Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-14T07:13:32.610Z] ---> Running in 65b2a5819ca4 [2024-10-14T07:13:33.202Z] Removing intermediate container 65b2a5819ca4 [2024-10-14T07:13:33.202Z] ---> 09a24d743b13 [2024-10-14T07:13:33.202Z] Step 25/27 : LABEL arch=arm64 [2024-10-14T07:13:33.202Z] ---> Running in b1a7a259f35f [2024-10-14T07:13:33.790Z] Removing intermediate container b1a7a259f35f [2024-10-14T07:13:33.790Z] ---> 9a5d9fafd155 [2024-10-14T07:13:33.790Z] Step 26/27 : LABEL git_sha=a83730c2ca7660bd580c8c11ae1217f2c0590c44 [2024-10-14T07:13:33.790Z] ---> Running in 60ac180a7bd4 [2024-10-14T07:13:34.061Z] Removing intermediate container 60ac180a7bd4 [2024-10-14T07:13:34.061Z] ---> b3573a4c8f45 [2024-10-14T07:13:34.061Z] Step 27/27 : LABEL version=0.0.0 [2024-10-14T07:13:34.337Z] ---> Running in ea44ca9c99a9 [2024-10-14T07:13:34.608Z] Removing intermediate container ea44ca9c99a9 [2024-10-14T07:13:34.608Z] ---> 5289e961b89d [2024-10-14T07:13:34.608Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:13:34.608Z] Successfully built 5289e961b89d [2024-10-14T07:13:34.608Z] 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-10-14T07:13:35.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:13:35.583Z] [2024-10-14T07:13:35.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:13:36.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:13:36.304Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T07:13:36.304Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T07:13:36.304Z] 04944245beec: Pulling fs layer [2024-10-14T07:13:36.304Z] 699f458cf7ca: Pulling fs layer [2024-10-14T07:13:36.304Z] 765212b225bb: Pulling fs layer [2024-10-14T07:13:36.304Z] f23df028b6ca: Pulling fs layer [2024-10-14T07:13:36.304Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T07:13:36.304Z] 765212b225bb: Waiting [2024-10-14T07:13:36.304Z] f23df028b6ca: Waiting [2024-10-14T07:13:36.304Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T07:13:36.304Z] d65c8cfc05b1: Waiting [2024-10-14T07:13:36.304Z] 2437ff75d9bd: Waiting [2024-10-14T07:13:36.304Z] 04944245beec: Verifying Checksum [2024-10-14T07:13:36.304Z] 04944245beec: Download complete [2024-10-14T07:13:36.304Z] 765212b225bb: Verifying Checksum [2024-10-14T07:13:36.304Z] 765212b225bb: Download complete [2024-10-14T07:13:36.304Z] f23df028b6ca: Verifying Checksum [2024-10-14T07:13:36.304Z] f23df028b6ca: Download complete [2024-10-14T07:13:36.580Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T07:13:36.580Z] d65c8cfc05b1: Download complete [2024-10-14T07:13:36.580Z] 699f458cf7ca: Verifying Checksum [2024-10-14T07:13:36.580Z] 699f458cf7ca: Download complete [2024-10-14T07:13:37.179Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T07:13:37.179Z] 8998bd30e6a1: Download complete [2024-10-14T07:13:39.793Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T07:13:39.793Z] 2437ff75d9bd: Download complete [2024-10-14T07:13:42.398Z] 8998bd30e6a1: Pull complete [2024-10-14T07:13:42.669Z] 04944245beec: Pull complete [2024-10-14T07:13:44.636Z] 699f458cf7ca: Pull complete [2024-10-14T07:13:44.636Z] 765212b225bb: Pull complete [2024-10-14T07:13:46.079Z] f23df028b6ca: Pull complete [2024-10-14T07:13:46.079Z] d65c8cfc05b1: Pull complete [2024-10-14T07:14:04.371Z] 2437ff75d9bd: Pull complete [2024-10-14T07:14:04.371Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T07:14:04.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:14:04.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:14:04.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-22683 does not seem to be running inside a container [2024-10-14T07:14:04.882Z] $ 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-10-14T07:14:08.259Z] $ docker top b4128e6bea3eac160f4839788e37da888bbaa6654ac5a4535915bd78ba6807ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:09.258Z] ---> job-cost.sh [2024-10-14T07:14:09.258Z] lf-activate-venv: SKIPPING [2024-10-14T07:14:09.258Z] INFO: No Stack... [2024-10-14T07:14:09.845Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T07:14:10.432Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:14:11.396Z] + + cutcat -d, /w/workspace/device-onvif-camera/1/archives/cost.csv -f6 [2024-10-14T07:14:11.396Z] [Pipeline] lock [2024-10-14T07:14:11.473Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [2024-10-14T07:14:11.480Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] did not exist. Created. [2024-10-14T07:14:11.487Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:14:12.288Z] /w/workspace/device-onvif-camera/1@tmp/durable-d89771a7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T07:14:13.008Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T07:14:13.049Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T07:14:13.123Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:14:13.145Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:14:13.244Z] $ docker stop --time=1 b4128e6bea3eac160f4839788e37da888bbaa6654ac5a4535915bd78ba6807ed [2024-10-14T07:14:14.921Z] $ docker rm -f --volumes b4128e6bea3eac160f4839788e37da888bbaa6654ac5a4535915bd78ba6807ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-14T07:14:16.334Z] provisioning config files... [2024-10-14T07:14:16.345Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-465@tmp/config398620423635501203tmp [Pipeline] { [Pipeline] sh [2024-10-14T07:14:16.699Z] + set +x [2024-10-14T07:14:16.699Z] + curl -s https://codecov.io/bash [2024-10-14T07:14:16.699Z] + bash -s -- [2024-10-14T07:14:16.699Z] [2024-10-14T07:14:16.699Z] _____ _ [2024-10-14T07:14:16.699Z] / ____| | | [2024-10-14T07:14:16.699Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T07:14:16.699Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T07:14:16.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T07:14:16.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T07:14:16.700Z] Bash-1.0.6 [2024-10-14T07:14:16.700Z] [2024-10-14T07:14:16.700Z] [2024-10-14T07:14:16.700Z] ==> git version 2.25.1 found [2024-10-14T07:14:16.700Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-14T07:14:16.700Z] Release-Date: 2020-01-08 [2024-10-14T07:14:16.700Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-14T07:14:16.700Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T07:14:16.700Z] ==> Jenkins CI detected. [2024-10-14T07:14:16.700Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-465 [2024-10-14T07:14:16.700Z] project root: . [2024-10-14T07:14:16.700Z] --> token set from env [2024-10-14T07:14:16.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T07:14:16.700Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T07:14:16.700Z] ==> Python coveragepy not found [2024-10-14T07:14:16.700Z] ==> Searching for coverage reports in: [2024-10-14T07:14:16.700Z] + . [2024-10-14T07:14:16.700Z] -> Found 1 reports [2024-10-14T07:14:16.700Z] ==> Detecting git/mercurial file structure [2024-10-14T07:14:16.700Z] ==> Reading reports [2024-10-14T07:14:16.700Z] + ./coverage.out bytes=92292 [2024-10-14T07:14:16.958Z] ==> Appending adjustments [2024-10-14T07:14:16.958Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T07:14:16.958Z] + Found adjustments [2024-10-14T07:14:16.958Z] ==> Gzipping contents [2024-10-14T07:14:16.958Z] 12K /tmp/codecov.Ocb0V6.gz [2024-10-14T07:14:16.958Z] ==> Uploading reports [2024-10-14T07:14:16.958Z] url: https://codecov.io [2024-10-14T07:14:16.958Z] query: branch=PR-465&commit=a83730c2ca7660bd580c8c11ae1217f2c0590c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=465&job=&cmd_args= [2024-10-14T07:14:16.958Z] -> Pinging Codecov [2024-10-14T07:14:16.958Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-465&commit=a83730c2ca7660bd580c8c11ae1217f2c0590c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=465&job=&cmd_args= [2024-10-14T07:14:17.219Z] -> Uploading to [2024-10-14T07:14:17.219Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/a83730c2ca7660bd580c8c11ae1217f2c0590c44/d3f107e3-a068-4410-aa51-dc3916001aa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T071417Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6f471f7778c210af1c71b3bd5d3a296a212a44ae5b0556b0ea70f8b9bcdb39ad [2024-10-14T07:14:17.219Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:14:17.219Z] Dload Upload Total Spent Left Speed [2024-10-14T07:14:17.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 56226 --:--:-- --:--:-- --:--:-- 55950 100 11414 0 0 100 11414 0 50504 --:--:-- --:--:-- --:--:-- 50281 [2024-10-14T07:14:17.481Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a83730c2ca7660bd580c8c11ae1217f2c0590c44 [Pipeline] } [2024-10-14T07:14:17.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-14T07:14:19.751Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-465/archives ] [2024-10-14T07:14:19.751Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-465/archives [2024-10-14T07:14:19.751Z] total 16 [2024-10-14T07:14:19.751Z] drwxr-xr-x 3 root root 4096 Oct 14 06:56 . [2024-10-14T07:14:19.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 06:56 .. [2024-10-14T07:14:19.751Z] drwxr-xr-x 2 root root 4096 Oct 14 06:56 cost [2024-10-14T07:14:19.751Z] -rw-r--r-- 1 root root 91 Oct 14 06:56 cost.csv [2024-10-14T07:14:19.751Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-465/archives [2024-10-14T07:14:19.751Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-465/archives [2024-10-14T07:14:19.751Z] total 16 [2024-10-14T07:14:19.751Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 06:56 . [2024-10-14T07:14:19.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 06:56 .. [2024-10-14T07:14:19.751Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 06:56 cost [2024-10-14T07:14:19.751Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 14 06:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:20.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:20.894Z] ---> package-listing.sh [2024-10-14T07:14:20.894Z] ++ facter osfamily [2024-10-14T07:14:20.894Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T07:14:21.156Z] + OS_FAMILY=debian [2024-10-14T07:14:21.157Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-465 [2024-10-14T07:14:21.157Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T07:14:21.157Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T07:14:21.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T07:14:21.157Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T07:14:21.157Z] + '[' /w/workspace/undry_device-onvif-camera_PR-465 ']' [2024-10-14T07:14:21.157Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T07:14:21.157Z] + case "${OS_FAMILY}" in [2024-10-14T07:14:21.157Z] + dpkg -l [2024-10-14T07:14:21.157Z] + grep '^ii' [2024-10-14T07:14:21.157Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T07:14:21.157Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T07:14:21.157Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T07:14:21.157Z] + '[' /w/workspace/undry_device-onvif-camera_PR-465 ']' [2024-10-14T07:14:21.157Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-465/archives/ [2024-10-14T07:14:21.157Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-465/archives/ [Pipeline] echo [2024-10-14T07:14:21.197Z] 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-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T07:14:21.510Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:14:22.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:14:22.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:14:22.337Z] prd-ubuntu20.04-docker-8c-8g-22682 does not seem to be running inside a container [2024-10-14T07:14:22.369Z] $ 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-465/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-465 -v /w/workspace/undry_device-onvif-camera_PR-465:/w/workspace/undry_device-onvif-camera_PR-465:rw,z -v /w/workspace/undry_device-onvif-camera_PR-465@tmp:/w/workspace/undry_device-onvif-camera_PR-465@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:latest cat [2024-10-14T07:14:22.575Z] $ docker top 6d470b0a50f5253044a623d9049a99616f7878875de56da9e9eae1d3619a1009 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:14:23.015Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T07:14:23.345Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T07:14:23.668Z] + ls /var/log/sa-host [2024-10-14T07:14:23.668Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:14:23.847Z] provisioning config files... [2024-10-14T07:14:23.857Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-465@tmp/config8665229535654343562tmp [Pipeline] { [Pipeline] echo [2024-10-14T07:14:23.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:24.246Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T07:14:24.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:24.727Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T07:14:24.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:25.107Z] ---> sudo-logs.sh [2024-10-14T07:14:25.107Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T07:14:25.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:25.527Z] ---> job-cost.sh [2024-10-14T07:14:25.527Z] lf-activate-venv: SKIPPING [2024-10-14T07:14:25.527Z] DEBUG: total: 0.2199999988079071 [2024-10-14T07:14:25.527Z] INFO: Retrieving Stack Cost... [2024-10-14T07:14:25.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:14:26.047Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T07:14:26.098Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:14:26.433Z] ---> logs-deploy.sh [2024-10-14T07:14:26.433Z] lf-activate-venv: SKIPPING [2024-10-14T07:14:26.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-465/1 [2024-10-14T07:14:26.433Z] INFO: archiving workspace using pattern(s): [2024-10-14T07:14:27.375Z] Archives upload complete. [2024-10-14T07:14:27.375Z] INFO: archiving logs to Nexus