Pull request #470 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e5a431e3e324c4493d36aa2907e081a5213dd7d+5a55ed7656ccfe987556a747055649824b1de131 (7baea781ff5af551fe7c466bfd9fda7f9f920b62) 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-ssh8747923867516044550.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-ssh16551959392464791617.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4583809894336157546.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4814177635320207449.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-ssh16498635738804834166.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5596021294867531048.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24268 in /w/workspace/undry_device-onvif-camera_PR-470 [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-470 # 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/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a55ed7656ccfe987556a747055649824b1de131 into PR head commit 9e5a431e3e324c4493d36aa2907e081a5213dd7d Merge succeeded, producing 9e5a431e3e324c4493d36aa2907e081a5213dd7d Checking out Revision 9e5a431e3e324c4493d36aa2907e081a5213dd7d (PR-470) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 9e5a431e3e324c4493d36aa2907e081a5213dd7d # 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 5a55ed7656ccfe987556a747055649824b1de131 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e5a431e3e324c4493d36aa2907e081a5213dd7d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-01T03:56:49.981Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-01T03:56:50.198Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-01T03:56:50.306Z] ========================================================= [2024-11-01T03:56:50.306Z] EdgeX Global Pipelines Version Info [2024-11-01T03:56:50.306Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-01T03:56:51.096Z] ------------------- [2024-11-01T03:56:51.097Z] stable info: [2024-11-01T03:56:51.097Z] ------------------- [2024-11-01T03:56:51.097Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-01T03:56:51.097Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T03:56:51.097Z] Message: update stable to v1.0.265 [2024-11-01T03:56:51.669Z] ------------------- [2024-11-01T03:56:51.669Z] experimental info: [2024-11-01T03:56:51.669Z] ------------------- [2024-11-01T03:56:51.669Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-01T03:56:51.669Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-01T03:56:51.669Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-01T03:56:51.895Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-11-01T03:56:51.972Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-11-01T03:56:52.031Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-01T03:56:52.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-01T03:56:52.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-01T03:56:52.202Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-01T03:56:52.260Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-01T03:56:52.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-01T03:56:52.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-01T03:56:52.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-01T03:56:52.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-01T03:56:52.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-11-01T03:56:52.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-01T03:56:52.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-01T03:56:52.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T03:56:52.813Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T03:56:52.873Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T03:56:52.933Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T03:56:53.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-01T03:56:53.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-01T03:56:53.127Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-01T03:56:53.185Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-11-01T03:56:53.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-01T03:56:53.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-01T03:56:53.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-01T03:56:53.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-01T03:56:53.509Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-01T03:56:53.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2024-11-01T03:56:53.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2024-11-01T03:56:53.687Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2024-11-01T03:56:53.745Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e5a431e3e324c4493d36aa2907e081a5213dd7d [Pipeline] echo [2024-11-01T03:56:53.810Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e5a431 [Pipeline] echo [2024-11-01T03:56:53.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T03:56:54.039Z] provisioning config files... [2024-11-01T03:56:54.056Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-470@tmp/config11350771186004537797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T03:56:54.455Z] ---> ****-login.sh [2024-11-01T03:56:54.455Z] nexus3.edgexfoundry.org:10001 [2024-11-01T03:56:54.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:56:54.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:56:54.715Z] Configure a credential helper to remove this warning. See [2024-11-01T03:56:54.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:56:54.715Z] [2024-11-01T03:56:54.715Z] Login Succeeded [2024-11-01T03:56:54.715Z] nexus3.edgexfoundry.org:10002 [2024-11-01T03:56:54.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:56:54.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:56:54.977Z] Configure a credential helper to remove this warning. See [2024-11-01T03:56:54.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:56:54.977Z] [2024-11-01T03:56:54.977Z] Login Succeeded [2024-11-01T03:56:54.977Z] nexus3.edgexfoundry.org:10003 [2024-11-01T03:56:54.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:56:54.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:56:54.977Z] Configure a credential helper to remove this warning. See [2024-11-01T03:56:54.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:56:54.977Z] [2024-11-01T03:56:54.977Z] Login Succeeded [2024-11-01T03:56:54.977Z] nexus3.edgexfoundry.org:10004 [2024-11-01T03:56:54.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:56:55.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:56:55.241Z] Configure a credential helper to remove this warning. See [2024-11-01T03:56:55.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:56:55.241Z] [2024-11-01T03:56:55.241Z] Login Succeeded [2024-11-01T03:56:55.241Z] ****.io [2024-11-01T03:56:55.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:56:55.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:56:55.501Z] Configure a credential helper to remove this warning. See [2024-11-01T03:56:55.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:56:55.501Z] [2024-11-01T03:56:55.501Z] Login Succeeded [2024-11-01T03:56:55.501Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T03:56:55.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-01T03:56:56.238Z] + git rev-list -1 --merges 9e5a431e3e324c4493d36aa2907e081a5213dd7d~1..9e5a431e3e324c4493d36aa2907e081a5213dd7d [Pipeline] echo [2024-11-01T03:56:56.293Z] -----------> git rev-list -1 --merges 9e5a431e3e324c4493d36aa2907e081a5213dd7d~1..9e5a431e3e324c4493d36aa2907e081a5213dd7d 9e5a431e3e324c4493d36aa2907e081a5213dd7d [false] [Pipeline] sh [2024-11-01T03:56:56.618Z] + git log --format=format:%s -1 9e5a431e3e324c4493d36aa2907e081a5213dd7d [Pipeline] echo [2024-11-01T03:56:56.663Z] ========================================================= [2024-11-01T03:56:56.663Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-01T03:56:56.663Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T03:56:57.125Z] + git log --format=format:%s -1 9e5a431e3e324c4493d36aa2907e081a5213dd7d [Pipeline] echo [2024-11-01T03:56:57.163Z] [semverPrep] GIT_COMMIT: 9e5a431e3e324c4493d36aa2907e081a5213dd7d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-01T03:56:57.203Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-01T03:56:57.634Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-01T03:56:57.634Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-01T03:56:57.634Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-01T03:56:57.634Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-01T03:56:57.634Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2024-11-01T03:56:57.634Z] /etc/ssh/ssh_known_hosts [2024-11-01T03:56:57.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:56:58.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T03:56:58.163Z] [2024-11-01T03:56:58.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:56:58.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T03:56:58.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-01T03:56:58.564Z] b85a868b505f: Pulling fs layer [2024-11-01T03:56:58.564Z] e2be974225ed: Pulling fs layer [2024-11-01T03:56:58.564Z] 339a4e72a1f5: Pulling fs layer [2024-11-01T03:56:58.564Z] 988bab9f4d93: Pulling fs layer [2024-11-01T03:56:58.564Z] 1469e6f7b9e6: Pulling fs layer [2024-11-01T03:56:58.564Z] eaf3925da568: Pulling fs layer [2024-11-01T03:56:58.564Z] bab4dde63d76: Pulling fs layer [2024-11-01T03:56:58.564Z] bde34c3a00c8: Pulling fs layer [2024-11-01T03:56:58.564Z] b352a97aabf1: Pulling fs layer [2024-11-01T03:56:58.564Z] 4872d77fe225: Pulling fs layer [2024-11-01T03:56:58.564Z] 5851b861e8e6: Pulling fs layer [2024-11-01T03:56:58.564Z] bab4dde63d76: Waiting [2024-11-01T03:56:58.564Z] 988bab9f4d93: Waiting [2024-11-01T03:56:58.564Z] 1469e6f7b9e6: Waiting [2024-11-01T03:56:58.564Z] 5851b861e8e6: Waiting [2024-11-01T03:56:58.564Z] 4872d77fe225: Waiting [2024-11-01T03:56:58.564Z] eaf3925da568: Waiting [2024-11-01T03:56:58.564Z] b352a97aabf1: Waiting [2024-11-01T03:56:58.564Z] e2be974225ed: Verifying Checksum [2024-11-01T03:56:58.564Z] e2be974225ed: Download complete [2024-11-01T03:56:58.564Z] 988bab9f4d93: Download complete [2024-11-01T03:56:58.825Z] 1469e6f7b9e6: Verifying Checksum [2024-11-01T03:56:58.825Z] 1469e6f7b9e6: Download complete [2024-11-01T03:56:58.825Z] 339a4e72a1f5: Verifying Checksum [2024-11-01T03:56:58.825Z] 339a4e72a1f5: Download complete [2024-11-01T03:56:58.825Z] eaf3925da568: Download complete [2024-11-01T03:56:58.825Z] bde34c3a00c8: Verifying Checksum [2024-11-01T03:56:58.825Z] bde34c3a00c8: Download complete [2024-11-01T03:56:58.825Z] b352a97aabf1: Download complete [2024-11-01T03:56:58.825Z] 4872d77fe225: Download complete [2024-11-01T03:56:58.825Z] 5851b861e8e6: Verifying Checksum [2024-11-01T03:56:58.825Z] 5851b861e8e6: Download complete [2024-11-01T03:56:58.825Z] b85a868b505f: Download complete [2024-11-01T03:56:59.083Z] bab4dde63d76: Verifying Checksum [2024-11-01T03:56:59.083Z] bab4dde63d76: Download complete [2024-11-01T03:57:00.462Z] b85a868b505f: Pull complete [2024-11-01T03:57:00.462Z] e2be974225ed: Pull complete [2024-11-01T03:57:01.032Z] 339a4e72a1f5: Pull complete [2024-11-01T03:57:01.033Z] 988bab9f4d93: Pull complete [2024-11-01T03:57:01.291Z] 1469e6f7b9e6: Pull complete [2024-11-01T03:57:01.291Z] eaf3925da568: Pull complete [2024-11-01T03:57:03.192Z] bab4dde63d76: Pull complete [2024-11-01T03:57:03.192Z] bde34c3a00c8: Pull complete [2024-11-01T03:57:03.450Z] b352a97aabf1: Pull complete [2024-11-01T03:57:03.450Z] 4872d77fe225: Pull complete [2024-11-01T03:57:03.450Z] 5851b861e8e6: Pull complete [2024-11-01T03:57:03.450Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-01T03:57:03.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T03:57:03.450Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T03:57:03.749Z] prd-ubuntu20.04-docker-8c-8g-24268 does not seem to be running inside a container [2024-11-01T03:57:03.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-470 -v /w/workspace/undry_device-onvif-camera_PR-470:/w/workspace/undry_device-onvif-camera_PR-470:rw,z -v /w/workspace/undry_device-onvif-camera_PR-470@tmp:/w/workspace/undry_device-onvif-camera_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-01T03:57:06.118Z] $ docker top 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 -eo pid,comm [2024-11-01T03:57:06.175Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-01T03:57:06.175Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-01T03:57:06.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T03:57:06.347Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T03:57:06.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T03:57:06.482Z] $ docker exec 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 ssh-agent [2024-11-01T03:57:06.605Z] SSH_AUTH_SOCK=/tmp/ssh-HAdWBWWLXtQa/agent.32 [2024-11-01T03:57:06.605Z] SSH_AGENT_PID=38 [2024-11-01T03:57:06.613Z] Running ssh-add (command line suppressed) [2024-11-01T03:57:06.719Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-470@tmp/private_key_8944556262698239528.key (/w/workspace/undry_device-onvif-camera_PR-470@tmp/private_key_8944556262698239528.key) [2024-11-01T03:57:06.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T03:57:07.083Z] + git tag --points-at HEAD [Pipeline] } [2024-11-01T03:57:07.113Z] $ docker exec --env ******** --env ******** 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 ssh-agent -k [2024-11-01T03:57:07.228Z] unset SSH_AUTH_SOCK; [2024-11-01T03:57:07.228Z] unset SSH_AGENT_PID; [2024-11-01T03:57:07.229Z] echo Agent pid 38 killed; [2024-11-01T03:57:07.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-01T03:57:07.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T03:57:07.350Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T03:57:07.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T03:57:07.459Z] $ docker exec 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 ssh-agent [2024-11-01T03:57:07.566Z] SSH_AUTH_SOCK=/tmp/ssh-UDff1vBWJVH4/agent.71 [2024-11-01T03:57:07.566Z] SSH_AGENT_PID=77 [2024-11-01T03:57:07.570Z] Running ssh-add (command line suppressed) [2024-11-01T03:57:07.664Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-470@tmp/private_key_13328439615010441534.key (/w/workspace/undry_device-onvif-camera_PR-470@tmp/private_key_13328439615010441534.key) [2024-11-01T03:57:07.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T03:57:08.043Z] + git semver init [2024-11-01T03:57:08.304Z] 2024-11-01 03:57:08,227 [run_init] DEBUG init version:0.0.0 force:False [2024-11-01T03:57:08.305Z] 2024-11-01 03:57:08,228 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-470/.semver [2024-11-01T03:57:08.305Z] 2024-11-01 03:57:08,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-470/.semver [2024-11-01T03:57:08.305Z] 2024-11-01 03:57:08,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-470/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-470, universal_newlines=False, shell=None, istream=None) [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,582 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-470/.git/info/exclude [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-470/.semver/PR-470 with force:False [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,582 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-470/.semver/PR-470 [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,587 [execute] INFO git cat-file --batch-check [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,593 [execute] INFO git cat-file --batch [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T03:57:09.736Z] 2024-11-01 03:57:09,598 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-470/.semver/PR-470 [2024-11-01T03:57:09.736Z] 0.0.0 [Pipeline] } [2024-11-01T03:57:09.768Z] $ docker exec --env ******** --env ******** 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 ssh-agent -k [2024-11-01T03:57:09.877Z] unset SSH_AUTH_SOCK; [2024-11-01T03:57:09.878Z] unset SSH_AGENT_PID; [2024-11-01T03:57:09.878Z] echo Agent pid 77 killed; [2024-11-01T03:57:09.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-01T03:57:10.354Z] + git semver [Pipeline] } [2024-11-01T03:57:10.646Z] $ docker stop --time=1 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 [2024-11-01T03:57:11.979Z] $ docker rm -f --volumes 89e3d52ff7b6c45031f745f4c59a0b7ba0123991a18550596d9a644a72959236 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T03:57:12.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-01T03:57:12.699Z] Stashed 1 file(s) [Pipeline] echo [2024-11-01T03:57:12.722Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T03:57:13.484Z] provisioning config files... [2024-11-01T03:57:13.495Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-470@tmp/config2149239457001289455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T03:57:14.035Z] ---> ****-login.sh [2024-11-01T03:57:14.035Z] nexus3.edgexfoundry.org:10001 [2024-11-01T03:57:14.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:57:14.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:57:14.036Z] Configure a credential helper to remove this warning. See [2024-11-01T03:57:14.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:57:14.036Z] [2024-11-01T03:57:14.036Z] Login Succeeded [2024-11-01T03:57:14.036Z] nexus3.edgexfoundry.org:10002 [2024-11-01T03:57:14.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:57:14.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:57:14.036Z] Configure a credential helper to remove this warning. See [2024-11-01T03:57:14.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:57:14.036Z] [2024-11-01T03:57:14.036Z] Login Succeeded [2024-11-01T03:57:14.036Z] nexus3.edgexfoundry.org:10003 [2024-11-01T03:57:14.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:57:14.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:57:14.296Z] Configure a credential helper to remove this warning. See [2024-11-01T03:57:14.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:57:14.296Z] [2024-11-01T03:57:14.296Z] Login Succeeded [2024-11-01T03:57:14.296Z] nexus3.edgexfoundry.org:10004 [2024-11-01T03:57:14.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:57:14.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:57:14.297Z] Configure a credential helper to remove this warning. See [2024-11-01T03:57:14.297Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:57:14.297Z] [2024-11-01T03:57:14.297Z] Login Succeeded [2024-11-01T03:57:14.297Z] ****.io [2024-11-01T03:57:14.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:57:14.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:57:14.557Z] Configure a credential helper to remove this warning. See [2024-11-01T03:57:14.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:57:14.557Z] [2024-11-01T03:57:14.557Z] Login Succeeded [2024-11-01T03:57:14.557Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T03:57:14.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T03:57:14.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T03:57:14.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T03:57:14.921Z] ========================================================= [2024-11-01T03:57:14.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-01T03:57:14.921Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:57:15.515Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-01T03:57:15.515Z] Sending build context to Docker daemon 36.83MB [2024-11-01T03:57:15.515Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T03:57:15.515Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-01T03:57:15.779Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-01T03:57:15.779Z] 43c4264eed91: Pulling fs layer [2024-11-01T03:57:15.779Z] 4cc291be95ef: Pulling fs layer [2024-11-01T03:57:15.779Z] 2ac1f1163629: Pulling fs layer [2024-11-01T03:57:15.779Z] 5c3c966382ef: Pulling fs layer [2024-11-01T03:57:15.779Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T03:57:15.779Z] 5d5c8e513c77: Pulling fs layer [2024-11-01T03:57:15.779Z] 9f66e0745190: Pulling fs layer [2024-11-01T03:57:15.779Z] f49a43e4bbc0: Pulling fs layer [2024-11-01T03:57:15.779Z] 561ebcabdf7f: Pulling fs layer [2024-11-01T03:57:15.779Z] 4f4fb700ef54: Waiting [2024-11-01T03:57:15.779Z] 5d5c8e513c77: Waiting [2024-11-01T03:57:15.779Z] 9f66e0745190: Waiting [2024-11-01T03:57:15.779Z] f49a43e4bbc0: Waiting [2024-11-01T03:57:15.779Z] 561ebcabdf7f: Waiting [2024-11-01T03:57:15.779Z] 5c3c966382ef: Waiting [2024-11-01T03:57:15.779Z] 4cc291be95ef: Verifying Checksum [2024-11-01T03:57:15.779Z] 4cc291be95ef: Download complete [2024-11-01T03:57:15.779Z] 5c3c966382ef: Download complete [2024-11-01T03:57:15.779Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T03:57:15.779Z] 4f4fb700ef54: Download complete [2024-11-01T03:57:15.779Z] 5d5c8e513c77: Verifying Checksum [2024-11-01T03:57:15.779Z] 5d5c8e513c77: Download complete [2024-11-01T03:57:15.779Z] 43c4264eed91: Download complete [2024-11-01T03:57:15.779Z] 9f66e0745190: Verifying Checksum [2024-11-01T03:57:15.779Z] 9f66e0745190: Download complete [2024-11-01T03:57:16.039Z] 43c4264eed91: Pull complete [2024-11-01T03:57:16.298Z] 4cc291be95ef: Pull complete [2024-11-01T03:57:16.298Z] 561ebcabdf7f: Verifying Checksum [2024-11-01T03:57:16.298Z] 561ebcabdf7f: Download complete [2024-11-01T03:57:16.298Z] 2ac1f1163629: Verifying Checksum [2024-11-01T03:57:16.298Z] 2ac1f1163629: Download complete [2024-11-01T03:57:16.555Z] f49a43e4bbc0: Verifying Checksum [2024-11-01T03:57:20.744Z] 2ac1f1163629: Pull complete [2024-11-01T03:57:20.744Z] 5c3c966382ef: Pull complete [2024-11-01T03:57:20.744Z] 4f4fb700ef54: Pull complete [2024-11-01T03:57:20.744Z] 5d5c8e513c77: Pull complete [2024-11-01T03:57:20.744Z] 9f66e0745190: Pull complete [2024-11-01T03:57:22.645Z] f49a43e4bbc0: Pull complete [2024-11-01T03:57:23.593Z] 561ebcabdf7f: Pull complete [2024-11-01T03:57:23.593Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-01T03:57:23.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-01T03:57:23.593Z] ---> 3a752c3f9dda [2024-11-01T03:57:23.593Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-01T03:57:27.797Z] ---> Running in 7b696bea9433 [2024-11-01T03:57:27.797Z] Removing intermediate container 7b696bea9433 [2024-11-01T03:57:27.797Z] ---> a82b17724b45 [2024-11-01T03:57:27.797Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T03:57:27.797Z] ---> Running in 34ab10033c23 [2024-11-01T03:57:27.797Z] Removing intermediate container 34ab10033c23 [2024-11-01T03:57:27.797Z] ---> 9ff777644849 [2024-11-01T03:57:27.797Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-01T03:57:27.797Z] ---> Running in 38fd11347198 [2024-11-01T03:57:27.797Z] Removing intermediate container 38fd11347198 [2024-11-01T03:57:27.797Z] ---> a1189bc0efe6 [2024-11-01T03:57:27.797Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T03:57:27.797Z] ---> Running in 6b7c956699aa [2024-11-01T03:57:27.797Z] Removing intermediate container 6b7c956699aa [2024-11-01T03:57:27.797Z] ---> 9c6d61512dff [2024-11-01T03:57:27.797Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-01T03:57:27.797Z] ---> Running in 7639916bd95a [2024-11-01T03:57:27.798Z] Removing intermediate container 7639916bd95a [2024-11-01T03:57:27.798Z] ---> 833ea2a8d898 [2024-11-01T03:57:27.798Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T03:57:27.798Z] ---> Running in c87908affb33 [2024-11-01T03:57:28.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T03:57:28.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T03:57:28.262Z] Still waiting to schedule task [2024-11-01T03:57:28.262Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-01T03:57:28.635Z] OK: 246 MiB in 54 packages [2024-11-01T03:57:28.895Z] Removing intermediate container c87908affb33 [2024-11-01T03:57:28.895Z] ---> 258bd217d00d [2024-11-01T03:57:28.895Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-01T03:57:28.895Z] ---> Running in 51453eb1f89d [2024-11-01T03:57:28.895Z] Removing intermediate container 51453eb1f89d [2024-11-01T03:57:28.895Z] ---> 74e69803ca78 [2024-11-01T03:57:28.895Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-01T03:57:29.154Z] ---> 39080c852bec [2024-11-01T03:57:29.154Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T03:57:29.154Z] ---> Running in 805db4425ca9 [2024-11-01T03:58:36.909Z] Removing intermediate container 805db4425ca9 [2024-11-01T03:58:36.909Z] ---> 5872659c2ac7 [2024-11-01T03:58:36.909Z] Step 12/13 : COPY . . [2024-11-01T03:58:36.909Z] ---> b5341b28c5a8 [2024-11-01T03:58:36.909Z] Step 13/13 : RUN ${MAKE} [2024-11-01T03:58:36.909Z] ---> Running in 9511f57f7223 [2024-11-01T03:58:36.909Z] noop [2024-11-01T03:58:36.909Z] Removing intermediate container 9511f57f7223 [2024-11-01T03:58:36.909Z] ---> 49761777fb1a [2024-11-01T03:58:36.909Z] Successfully built 49761777fb1a [2024-11-01T03:58:36.909Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:58:37.405Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T03:58:37.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T03:58:37.573Z] prd-ubuntu20.04-docker-8c-8g-24268 does not seem to be running inside a container [2024-11-01T03:58:37.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-470 -v /w/workspace/undry_device-onvif-camera_PR-470:/w/workspace/undry_device-onvif-camera_PR-470:rw,z -v /w/workspace/undry_device-onvif-camera_PR-470@tmp:/w/workspace/undry_device-onvif-camera_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-01T03:58:37.913Z] $ docker top e2d06faa71509ff5369d1ab031e4844d07695b119670d56a4ed7aca8b4c0225a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T03:58:38.331Z] + go version [2024-11-01T03:58:38.331Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-01T03:58:38.363Z] $ docker stop --time=1 e2d06faa71509ff5369d1ab031e4844d07695b119670d56a4ed7aca8b4c0225a [2024-11-01T03:58:39.627Z] $ docker rm -f --volumes e2d06faa71509ff5369d1ab031e4844d07695b119670d56a4ed7aca8b4c0225a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:58:40.431Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T03:58:40.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T03:58:40.604Z] prd-ubuntu20.04-docker-8c-8g-24268 does not seem to be running inside a container [2024-11-01T03:58:40.630Z] $ 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-470 -v /w/workspace/undry_device-onvif-camera_PR-470:/w/workspace/undry_device-onvif-camera_PR-470:rw,z -v /w/workspace/undry_device-onvif-camera_PR-470@tmp:/w/workspace/undry_device-onvif-camera_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-01T03:58:40.951Z] $ docker top 2949afce3fed6a7412022242d7c1546334e1595c4398d050aaae902c35d217a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T03:58:41.369Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-470 [Pipeline] fileExists [Pipeline] sh [2024-11-01T03:58:41.748Z] + make test [2024-11-01T03:58:41.749Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T03:58:43.656Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-01T03:58:54.410Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24269 in /w/workspace/undry_device-onvif-camera_PR-470 [Pipeline] { [Pipeline] ws [2024-11-01T03:58:54.483Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-11-01T03:58:57.569Z] The recommended git tool is: git [2024-11-01T03:59:01.859Z] using credential edgex-jenkins-ssh [2024-11-01T03:59:01.880Z] Cloning the remote Git repository [2024-11-01T03:59:01.909Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-01T03:59:01.995Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-11-01T03:59:02.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-01T03:59:02.140Z] > git --version # timeout=10 [2024-11-01T03:59:02.164Z] > git --version # 'git version 2.25.1' [2024-11-01T03:59:02.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T03:59:02.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T03:59:04.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-01T03:59:04.747Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T03:59:05.590Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-01T03:59:05.590Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-01T03:59:05.590Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.4% of statements [2024-11-01T03:59:05.590Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.539s coverage: 86.5% of statements [2024-11-01T03:59:06.150Z] Merging remotes/origin/main commit 5a55ed7656ccfe987556a747055649824b1de131 into PR head commit 9e5a431e3e324c4493d36aa2907e081a5213dd7d [2024-11-01T03:59:05.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-11-01T03:59:05.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-11-01T03:59:05.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T03:59:05.652Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-01T03:59:06.164Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T03:59:06.228Z] > git checkout -f 9e5a431e3e324c4493d36aa2907e081a5213dd7d # timeout=10 [2024-11-01T03:59:06.615Z] Merge succeeded, producing 9e5a431e3e324c4493d36aa2907e081a5213dd7d [2024-11-01T03:59:06.616Z] Checking out Revision 9e5a431e3e324c4493d36aa2907e081a5213dd7d (PR-470) [2024-11-01T03:59:07.307Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-01T03:59:07.341Z] > git --version # timeout=10 [2024-11-01T03:59:07.352Z] > git --version # 'git version 2.25.1' [2024-11-01T03:59:07.366Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T03:59:06.408Z] > git remote # timeout=10 [2024-11-01T03:59:06.425Z] > git config --get remote.origin.url # timeout=10 [2024-11-01T03:59:06.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T03:59:06.540Z] > git merge 5a55ed7656ccfe987556a747055649824b1de131 # timeout=10 [2024-11-01T03:59:06.583Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-01T03:59:06.616Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T03:59:06.634Z] > git checkout -f 9e5a431e3e324c4493d36aa2907e081a5213dd7d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T03:59:12.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-01T03:59:12.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T03:59:12.331Z] Dload Upload Total Spent Left Speed [2024-11-01T03:59:12.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90978 0 --:--:-- --:--:-- --:--:-- 90978 [Pipeline] sh [2024-11-01T03:59:12.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-01T03:59:13.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-01T03:59:13.044Z] + sudo tee /etc/docker/daemon.new [2024-11-01T03:59:13.044Z] { [2024-11-01T03:59:13.044Z] "registry-mirrors": [ [2024-11-01T03:59:13.044Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-01T03:59:13.044Z] ], [2024-11-01T03:59:13.044Z] "bip": "10.250.0.254/24", [2024-11-01T03:59:13.044Z] "hosts": [ [2024-11-01T03:59:13.044Z] "tcp://0.0.0.0:5555", [2024-11-01T03:59:13.044Z] "unix:///var/run/docker.sock" [2024-11-01T03:59:13.044Z] ], [2024-11-01T03:59:13.044Z] "mtu": 1458, [2024-11-01T03:59:13.044Z] "selinux-enabled": true, [2024-11-01T03:59:13.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-01T03:59:13.044Z] } [Pipeline] sh [2024-11-01T03:59:13.397Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-01T03:59:13.750Z] + sudo service docker restart [2024-11-01T03:59:17.812Z] go vet ./... [2024-11-01T03:59:24.383Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T03:59:24.383Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T03:59:24.383Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T03:59:24.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T03:59:24.473Z] $ docker stop --time=1 2949afce3fed6a7412022242d7c1546334e1595c4398d050aaae902c35d217a2 [2024-11-01T03:59:26.970Z] $ docker rm -f --volumes 2949afce3fed6a7412022242d7c1546334e1595c4398d050aaae902c35d217a2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T03:59:27.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T03:59:27.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-01T03:59:28.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T03:59:28.870Z] + ls -al . [2024-11-01T03:59:28.870Z] total 316 [2024-11-01T03:59:28.870Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 03:58 . [2024-11-01T03:59:28.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:56 .. [2024-11-01T03:59:28.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 03:59 .git [2024-11-01T03:59:28.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 03:56 .github [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 1 03:56 .gitignore [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 03:56 .golangci.yml [2024-11-01T03:59:28.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 03:57 .semver [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 1 03:56 Attribution.txt [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 1 03:56 CHANGELOG.md [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 1 03:56 Dockerfile [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 03:56 GOVERNANCE.md [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 1 03:56 Jenkinsfile [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 03:56 LICENSE [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 1 03:56 Makefile [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 1 03:56 OWNERS.md [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 1 03:56 README.md [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 03:57 VERSION [2024-11-01T03:59:28.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 03:56 bin [2024-11-01T03:59:28.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 03:56 cmd [2024-11-01T03:59:28.870Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 1 03:59 coverage.out [2024-11-01T03:59:28.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:56 doc [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 1 03:56 go.mod [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 1 03:56 go.sum [2024-11-01T03:59:28.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:56 internal [2024-11-01T03:59:28.870Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 1 03:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:59:29.323Z] + 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=9e5a431e3e324c4493d36aa2907e081a5213dd7d --label arch=amd64 --label version=0.0.0 . [2024-11-01T03:59:29.323Z] Sending build context to Docker daemon 36.92MB [2024-11-01T03:59:29.323Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T03:59:29.323Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-01T03:59:29.323Z] ---> 49761777fb1a [2024-11-01T03:59:29.323Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-01T03:59:29.894Z] ---> Running in 4f1648deb286 [2024-11-01T03:59:29.894Z] Removing intermediate container 4f1648deb286 [2024-11-01T03:59:29.894Z] ---> 5b0d64b65d9f [2024-11-01T03:59:29.894Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T03:59:29.894Z] ---> Running in d5dad4ff6d2a [2024-11-01T03:59:29.894Z] Removing intermediate container d5dad4ff6d2a [2024-11-01T03:59:29.894Z] ---> 4b82089bfd8f [2024-11-01T03:59:29.894Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-01T03:59:29.894Z] ---> Running in 29c33eada726 [2024-11-01T03:59:30.154Z] Removing intermediate container 29c33eada726 [2024-11-01T03:59:30.154Z] ---> 01f1a1dd7af8 [2024-11-01T03:59:30.154Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T03:59:30.154Z] ---> Running in c5b265921588 [2024-11-01T03:59:30.154Z] Removing intermediate container c5b265921588 [2024-11-01T03:59:30.154Z] ---> 65c15a6c55a6 [2024-11-01T03:59:30.154Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-01T03:59:30.154Z] ---> Running in 006cb52d4d8c [2024-11-01T03:59:30.154Z] Removing intermediate container 006cb52d4d8c [2024-11-01T03:59:30.154Z] ---> 97f114585463 [2024-11-01T03:59:30.154Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T03:59:30.154Z] ---> Running in a4355b6e33a8 [2024-11-01T03:59:30.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T03:59:30.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T03:59:30.930Z] OK: 246 MiB in 54 packages [2024-11-01T03:59:31.189Z] Removing intermediate container a4355b6e33a8 [2024-11-01T03:59:31.189Z] ---> 1edfc049e4d2 [2024-11-01T03:59:31.189Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-01T03:59:31.189Z] ---> Running in e51c67f50577 [2024-11-01T03:59:31.189Z] Removing intermediate container e51c67f50577 [2024-11-01T03:59:31.189Z] ---> 7fd26cc9bb2c [2024-11-01T03:59:31.189Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-01T03:59:31.448Z] ---> 47a16af41bae [2024-11-01T03:59:31.448Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T03:59:31.448Z] ---> Running in 3ab13b6c7bbe [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T03:59:32.110Z] provisioning config files... [2024-11-01T03:59:32.136Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13035481565900060252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T03:59:32.383Z] Removing intermediate container 3ab13b6c7bbe [2024-11-01T03:59:32.383Z] ---> 1ccc61b84960 [2024-11-01T03:59:32.383Z] Step 12/27 : COPY . . [2024-11-01T03:59:32.639Z] ---> ****-login.sh [2024-11-01T03:59:32.640Z] nexus3.edgexfoundry.org:10001 [2024-11-01T03:59:32.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:59:33.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:59:33.180Z] Configure a credential helper to remove this warning. See [2024-11-01T03:59:33.180Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:59:33.180Z] [2024-11-01T03:59:33.180Z] Login Succeeded [2024-11-01T03:59:33.180Z] nexus3.edgexfoundry.org:10002 [2024-11-01T03:59:33.331Z] ---> 0bd26cd400dc [2024-11-01T03:59:33.331Z] Step 13/27 : RUN ${MAKE} [2024-11-01T03:59:33.331Z] ---> Running in 96c1a70e8855 [2024-11-01T03:59:33.331Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-01T03:59:33.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:59:33.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:59:33.449Z] Configure a credential helper to remove this warning. See [2024-11-01T03:59:33.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:59:33.449Z] [2024-11-01T03:59:33.449Z] Login Succeeded [2024-11-01T03:59:33.449Z] nexus3.edgexfoundry.org:10003 [2024-11-01T03:59:33.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:59:33.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:59:33.718Z] Configure a credential helper to remove this warning. See [2024-11-01T03:59:33.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:59:33.718Z] [2024-11-01T03:59:33.718Z] Login Succeeded [2024-11-01T03:59:33.718Z] nexus3.edgexfoundry.org:10004 [2024-11-01T03:59:33.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:59:34.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:59:34.264Z] Configure a credential helper to remove this warning. See [2024-11-01T03:59:34.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:59:34.264Z] [2024-11-01T03:59:34.264Z] Login Succeeded [2024-11-01T03:59:34.264Z] ****.io [2024-11-01T03:59:34.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T03:59:34.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T03:59:34.530Z] Configure a credential helper to remove this warning. See [2024-11-01T03:59:34.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T03:59:34.531Z] [2024-11-01T03:59:34.531Z] Login Succeeded [2024-11-01T03:59:34.531Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T03:59:34.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T03:59:35.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T03:59:35.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T03:59:35.132Z] ========================================================= [2024-11-01T03:59:35.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-01T03:59:35.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T03:59:35.694Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-01T03:59:36.279Z] Sending build context to Docker daemon 21.82MB [2024-11-01T03:59:36.279Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T03:59:36.279Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-01T03:59:36.547Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-01T03:59:36.547Z] cf04c63912e1: Pulling fs layer [2024-11-01T03:59:36.547Z] 55b35a11ae5e: Pulling fs layer [2024-11-01T03:59:36.547Z] a37a00ec5f00: Pulling fs layer [2024-11-01T03:59:36.547Z] 50b3750afda1: Pulling fs layer [2024-11-01T03:59:36.547Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T03:59:36.547Z] 80978eb59214: Pulling fs layer [2024-11-01T03:59:36.547Z] c9f46d7d2bd2: Pulling fs layer [2024-11-01T03:59:36.547Z] c5a475d317c9: Pulling fs layer [2024-11-01T03:59:36.547Z] 50b3750afda1: Waiting [2024-11-01T03:59:36.547Z] 80978eb59214: Waiting [2024-11-01T03:59:36.547Z] 4f4fb700ef54: Waiting [2024-11-01T03:59:36.547Z] c9f46d7d2bd2: Waiting [2024-11-01T03:59:36.547Z] c5a475d317c9: Waiting [2024-11-01T03:59:36.547Z] 55b35a11ae5e: Verifying Checksum [2024-11-01T03:59:36.547Z] 50b3750afda1: Verifying Checksum [2024-11-01T03:59:36.547Z] 50b3750afda1: Download complete [2024-11-01T03:59:36.547Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T03:59:36.547Z] 4f4fb700ef54: Download complete [2024-11-01T03:59:36.547Z] 80978eb59214: Verifying Checksum [2024-11-01T03:59:36.547Z] 80978eb59214: Download complete [2024-11-01T03:59:36.547Z] cf04c63912e1: Verifying Checksum [2024-11-01T03:59:36.547Z] cf04c63912e1: Download complete [2024-11-01T03:59:37.132Z] c5a475d317c9: Verifying Checksum [2024-11-01T03:59:37.132Z] c5a475d317c9: Download complete [2024-11-01T03:59:37.398Z] cf04c63912e1: Pull complete [2024-11-01T03:59:37.986Z] 55b35a11ae5e: Pull complete [2024-11-01T03:59:38.255Z] a37a00ec5f00: Verifying Checksum [2024-11-01T03:59:38.255Z] a37a00ec5f00: Download complete [2024-11-01T03:59:39.215Z] c9f46d7d2bd2: Verifying Checksum [2024-11-01T03:59:39.215Z] c9f46d7d2bd2: Download complete [2024-11-01T03:59:51.529Z] a37a00ec5f00: Pull complete [2024-11-01T03:59:51.529Z] 50b3750afda1: Pull complete [2024-11-01T03:59:51.529Z] 4f4fb700ef54: Pull complete [2024-11-01T03:59:51.529Z] 80978eb59214: Pull complete [2024-11-01T03:59:58.169Z] c9f46d7d2bd2: Pull complete [2024-11-01T03:59:59.580Z] c5a475d317c9: Pull complete [2024-11-01T03:59:59.580Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-01T03:59:59.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-01T03:59:59.580Z] ---> be29e6b0f0d4 [2024-11-01T03:59:59.580Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-01T04:00:01.520Z] ---> Running in bd31e9d0b4f0 [2024-11-01T04:00:01.520Z] Removing intermediate container bd31e9d0b4f0 [2024-11-01T04:00:01.520Z] ---> a3f284b0dee6 [2024-11-01T04:00:01.520Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T04:00:01.520Z] ---> Running in 1a8060dc56b2 [2024-11-01T04:00:01.786Z] Removing intermediate container 1a8060dc56b2 [2024-11-01T04:00:01.786Z] ---> b0be4eb17de3 [2024-11-01T04:00:01.786Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-11-01T04:00:01.786Z] ---> Running in b32f2cf234f8 [2024-11-01T04:00:02.051Z] Removing intermediate container b32f2cf234f8 [2024-11-01T04:00:02.051Z] ---> 0e709f4fa9be [2024-11-01T04:00:02.051Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T04:00:02.315Z] ---> Running in 3e4a2046ddfe [2024-11-01T04:00:02.581Z] Removing intermediate container 3e4a2046ddfe [2024-11-01T04:00:02.581Z] ---> 028180263ee4 [2024-11-01T04:00:02.581Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-11-01T04:00:02.581Z] ---> Running in 16df39d5cbab [2024-11-01T04:00:02.851Z] Removing intermediate container 16df39d5cbab [2024-11-01T04:00:02.851Z] ---> becc34b32eb4 [2024-11-01T04:00:02.851Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T04:00:02.851Z] ---> Running in 542e1293ab5a [2024-11-01T04:00:03.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T04:00:04.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T04:00:05.345Z] OK: 238 MiB in 54 packages [2024-11-01T04:00:06.303Z] Removing intermediate container 542e1293ab5a [2024-11-01T04:00:06.303Z] ---> 83d5d504d5cb [2024-11-01T04:00:06.303Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-11-01T04:00:06.303Z] ---> Running in 360ec437889a [2024-11-01T04:00:06.577Z] Removing intermediate container 360ec437889a [2024-11-01T04:00:06.577Z] ---> c6d66a052770 [2024-11-01T04:00:06.577Z] Step 10/13 : COPY go.mod vendor* ./ [2024-11-01T04:00:07.157Z] ---> 76aadf62a8e5 [2024-11-01T04:00:07.157Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T04:00:07.157Z] ---> Running in b6712749605f [2024-11-01T04:00:12.179Z] Removing intermediate container 96c1a70e8855 [2024-11-01T04:00:12.179Z] ---> db0f7525a649 [2024-11-01T04:00:12.179Z] Step 14/27 : FROM alpine:3.20 [2024-11-01T04:00:12.179Z] 3.20: Pulling from library/alpine [2024-11-01T04:00:12.179Z] 43c4264eed91: Already exists [2024-11-01T04:00:12.179Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T04:00:12.179Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T04:00:12.179Z] ---> 91ef0af61f39 [2024-11-01T04:00:12.179Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-01T04:00:12.179Z] ---> Running in 6a95f0157092 [2024-11-01T04:00:12.179Z] Removing intermediate container 6a95f0157092 [2024-11-01T04:00:12.179Z] ---> 9550814c7202 [2024-11-01T04:00:12.179Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-01T04:00:12.179Z] ---> Running in 868135dc61e8 [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T04:00:12.179Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T04:00:12.179Z] OK: 8 MiB in 15 packages [2024-11-01T04:00:12.179Z] Removing intermediate container 868135dc61e8 [2024-11-01T04:00:12.179Z] ---> e5e4e4827fab [2024-11-01T04:00:12.179Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-01T04:00:12.179Z] ---> Running in c7e94f1c01b1 [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] Upgrading critical system libraries and apk-tools: [2024-11-01T04:00:12.179Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T04:00:12.179Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T04:00:12.179Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T04:00:12.179Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T04:00:12.179Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T04:00:12.179Z] OK: 8 MiB in 15 packages [2024-11-01T04:00:12.179Z] Removing intermediate container c7e94f1c01b1 [2024-11-01T04:00:12.179Z] ---> 3ea473530af1 [2024-11-01T04:00:12.179Z] Step 18/27 : WORKDIR / [2024-11-01T04:00:12.179Z] ---> Running in f8e7d0070145 [2024-11-01T04:00:12.179Z] Removing intermediate container f8e7d0070145 [2024-11-01T04:00:12.179Z] ---> 84620d8cbcb8 [2024-11-01T04:00:12.179Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-01T04:00:13.555Z] ---> c866c57ac018 [2024-11-01T04:00:13.555Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-01T04:00:13.555Z] ---> 057779338cd5 [2024-11-01T04:00:13.555Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-01T04:00:13.813Z] ---> e7d75e5597a7 [2024-11-01T04:00:13.813Z] Step 22/27 : EXPOSE 59984 [2024-11-01T04:00:13.813Z] ---> Running in d21531acfcf8 [2024-11-01T04:00:13.813Z] Removing intermediate container d21531acfcf8 [2024-11-01T04:00:13.813Z] ---> 0cf7f4328ce3 [2024-11-01T04:00:13.813Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-01T04:00:13.813Z] ---> Running in 62b3f9ccc09a [2024-11-01T04:00:13.813Z] Removing intermediate container 62b3f9ccc09a [2024-11-01T04:00:13.813Z] ---> 0464f0472257 [2024-11-01T04:00:13.813Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T04:00:13.813Z] ---> Running in 59080fd69e5f [2024-11-01T04:00:14.078Z] Removing intermediate container 59080fd69e5f [2024-11-01T04:00:14.078Z] ---> 6e69aab56d47 [2024-11-01T04:00:14.078Z] Step 25/27 : LABEL arch=amd64 [2024-11-01T04:00:14.078Z] ---> Running in 33fdb0f443e5 [2024-11-01T04:00:14.078Z] Removing intermediate container 33fdb0f443e5 [2024-11-01T04:00:14.078Z] ---> 1066dab16d4d [2024-11-01T04:00:14.078Z] Step 26/27 : LABEL git_sha=9e5a431e3e324c4493d36aa2907e081a5213dd7d [2024-11-01T04:00:14.078Z] ---> Running in 5d0671736ace [2024-11-01T04:00:14.078Z] Removing intermediate container 5d0671736ace [2024-11-01T04:00:14.078Z] ---> 1888c72f67de [2024-11-01T04:00:14.078Z] Step 27/27 : LABEL version=0.0.0 [2024-11-01T04:00:14.078Z] ---> Running in 7a286548e931 [2024-11-01T04:00:14.342Z] Removing intermediate container 7a286548e931 [2024-11-01T04:00:14.342Z] ---> fd878ed7ca36 [2024-11-01T04:00:14.342Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T04:00:14.342Z] Successfully built fd878ed7ca36 [2024-11-01T04:00:14.342Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:00:15.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T04:00:15.374Z] [2024-11-01T04:00:15.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:00:15.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T04:00:15.934Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-01T04:00:15.934Z] 5eb5b503b376: Pulling fs layer [2024-11-01T04:00:15.934Z] 5c69ac0246d0: Pulling fs layer [2024-11-01T04:00:15.934Z] ec43610c2a17: Pulling fs layer [2024-11-01T04:00:15.934Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-01T04:00:15.934Z] 33b1e0a273af: Pulling fs layer [2024-11-01T04:00:15.934Z] 5d3b04190fa2: Pulling fs layer [2024-11-01T04:00:15.934Z] 2f39f015ded8: Pulling fs layer [2024-11-01T04:00:15.934Z] 33b1e0a273af: Waiting [2024-11-01T04:00:15.934Z] 3a2ae6a8a46f: Waiting [2024-11-01T04:00:15.934Z] 5d3b04190fa2: Waiting [2024-11-01T04:00:15.934Z] 2f39f015ded8: Waiting [2024-11-01T04:00:15.934Z] 5c69ac0246d0: Download complete [2024-11-01T04:00:15.934Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-01T04:00:15.934Z] 3a2ae6a8a46f: Download complete [2024-11-01T04:00:16.193Z] 33b1e0a273af: Verifying Checksum [2024-11-01T04:00:16.193Z] 33b1e0a273af: Download complete [2024-11-01T04:00:16.193Z] ec43610c2a17: Verifying Checksum [2024-11-01T04:00:16.193Z] ec43610c2a17: Download complete [2024-11-01T04:00:16.193Z] 5d3b04190fa2: Verifying Checksum [2024-11-01T04:00:16.193Z] 5d3b04190fa2: Download complete [2024-11-01T04:00:16.193Z] 5eb5b503b376: Verifying Checksum [2024-11-01T04:00:16.193Z] 5eb5b503b376: Download complete [2024-11-01T04:00:16.761Z] 2f39f015ded8: Verifying Checksum [2024-11-01T04:00:16.761Z] 2f39f015ded8: Download complete [2024-11-01T04:00:17.696Z] 5eb5b503b376: Pull complete [2024-11-01T04:00:17.696Z] 5c69ac0246d0: Pull complete [2024-11-01T04:00:17.954Z] ec43610c2a17: Pull complete [2024-11-01T04:00:18.210Z] 3a2ae6a8a46f: Pull complete [2024-11-01T04:00:18.210Z] 33b1e0a273af: Pull complete [2024-11-01T04:00:18.468Z] 5d3b04190fa2: Pull complete [2024-11-01T04:00:22.661Z] 2f39f015ded8: Pull complete [2024-11-01T04:00:22.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-01T04:00:22.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T04:00:22.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T04:00:22.956Z] prd-ubuntu20.04-docker-8c-8g-24268 does not seem to be running inside a container [2024-11-01T04:00:22.987Z] $ 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-470 -v /w/workspace/undry_device-onvif-camera_PR-470:/w/workspace/undry_device-onvif-camera_PR-470:rw,z -v /w/workspace/undry_device-onvif-camera_PR-470@tmp:/w/workspace/undry_device-onvif-camera_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-01T04:00:26.834Z] $ docker top a9ac14a6a9a4d316792d8c2b32298fea7eb1bbe0f79ee4d78b19b1bf3505b33a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:00:27.336Z] ---> job-cost.sh [2024-11-01T04:00:27.336Z] lf-activate-venv: SKIPPING [2024-11-01T04:00:27.336Z] INFO: No Stack... [2024-11-01T04:00:27.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T04:00:27.856Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T04:00:28.184Z] + cat /w/workspace/undry_device-onvif-camera_PR-470/archives/cost.csv [2024-11-01T04:00:28.184Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T04:00:28.239Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [2024-11-01T04:00:28.246Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] did not exist. Created. [2024-11-01T04:00:28.253Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T04:00:28.691Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-01T04:00:28.751Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T04:00:28.787Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T04:00:28.868Z] $ docker stop --time=1 a9ac14a6a9a4d316792d8c2b32298fea7eb1bbe0f79ee4d78b19b1bf3505b33a [2024-11-01T04:00:30.006Z] $ docker rm -f --volumes a9ac14a6a9a4d316792d8c2b32298fea7eb1bbe0f79ee4d78b19b1bf3505b33a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-01T04:02:00.131Z] Removing intermediate container b6712749605f [2024-11-01T04:02:00.131Z] ---> 747f3b787cc6 [2024-11-01T04:02:00.131Z] Step 12/13 : COPY . . [2024-11-01T04:02:00.131Z] ---> 768a959a64dd [2024-11-01T04:02:00.131Z] Step 13/13 : RUN ${MAKE} [2024-11-01T04:02:00.131Z] ---> Running in 8f33716d85f7 [2024-11-01T04:02:00.131Z] noop [2024-11-01T04:02:00.131Z] Removing intermediate container 8f33716d85f7 [2024-11-01T04:02:00.131Z] ---> 1bb0969d185a [2024-11-01T04:02:00.131Z] Successfully built 1bb0969d185a [2024-11-01T04:02:00.131Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:02:00.636Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T04:02:00.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T04:02:00.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container [2024-11-01T04:02:00.998Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-01T04:02:02.198Z] $ docker top bed2ec7b6bda3ec1077c6b10b70b86d6b1b8bf495657ad325fa6916ece5ccd62 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T04:02:03.087Z] + go version [2024-11-01T04:02:03.087Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-01T04:02:03.131Z] $ docker stop --time=1 bed2ec7b6bda3ec1077c6b10b70b86d6b1b8bf495657ad325fa6916ece5ccd62 [2024-11-01T04:02:04.726Z] $ docker rm -f --volumes bed2ec7b6bda3ec1077c6b10b70b86d6b1b8bf495657ad325fa6916ece5ccd62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:02:05.662Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T04:02:05.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T04:02:05.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container [2024-11-01T04:02:05.992Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-01T04:02:07.186Z] $ docker top ef27f9355cb500648e7b5529615a6deae3eebda16f491c8f77853c45ade73275 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T04:02:08.083Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-11-01T04:02:08.835Z] + make test [2024-11-01T04:02:08.835Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T04:02:14.189Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-11-01T04:05:35.994Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-11-01T04:05:41.338Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-11-01T04:05:42.741Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.174s coverage: 31.4% of statements [2024-11-01T04:05:58.446Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.325s coverage: 86.5% of statements [2024-11-01T04:05:58.446Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-01T04:05:58.446Z] go vet ./... [2024-11-01T04:06:45.263Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T04:06:45.263Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T04:06:45.263Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T04:06:45.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T04:06:45.366Z] $ docker stop --time=1 ef27f9355cb500648e7b5529615a6deae3eebda16f491c8f77853c45ade73275 [2024-11-01T04:06:47.221Z] $ docker rm -f --volumes ef27f9355cb500648e7b5529615a6deae3eebda16f491c8f77853c45ade73275 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T04:06:48.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T04:06:48.832Z] Warning: overwriting stash ‘coverage-report’ [2024-11-01T04:06:49.595Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T04:06:50.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T04:06:50.580Z] + ls -al . [2024-11-01T04:06:50.580Z] total 312 [2024-11-01T04:06:50.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 04:02 . [2024-11-01T04:06:50.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:59 .. [2024-11-01T04:06:50.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 03:59 .git [2024-11-01T04:06:50.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 03:59 .github [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 1 03:59 .gitignore [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 03:59 .golangci.yml [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 19973 Nov 1 03:59 Attribution.txt [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 1 03:59 CHANGELOG.md [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 1715 Nov 1 03:59 Dockerfile [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 03:59 GOVERNANCE.md [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 1 03:59 Jenkinsfile [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 03:59 LICENSE [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 3420 Nov 1 03:59 Makefile [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 1 03:59 OWNERS.md [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 1 03:59 README.md [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 03:57 VERSION [2024-11-01T04:06:50.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 03:59 bin [2024-11-01T04:06:50.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 03:59 cmd [2024-11-01T04:06:50.580Z] -rw-r--r-- 1 jenkins jenkins 92292 Nov 1 04:05 coverage.out [2024-11-01T04:06:50.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:59 doc [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 6636 Nov 1 03:59 go.mod [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 88824 Nov 1 03:59 go.sum [2024-11-01T04:06:50.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 03:59 internal [2024-11-01T04:06:50.580Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 1 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:06:51.030Z] + 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=9e5a431e3e324c4493d36aa2907e081a5213dd7d --label arch=arm64 --label version=0.0.0 . [2024-11-01T04:06:51.617Z] Sending build context to Docker daemon 21.91MB [2024-11-01T04:06:51.617Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T04:06:51.617Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-01T04:06:51.617Z] ---> 1bb0969d185a [2024-11-01T04:06:51.617Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-11-01T04:06:51.885Z] ---> Running in 5cf40e6741c4 [2024-11-01T04:06:52.155Z] Removing intermediate container 5cf40e6741c4 [2024-11-01T04:06:52.155Z] ---> 939d5fb1cef2 [2024-11-01T04:06:52.155Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T04:06:52.155Z] ---> Running in 364de616f09f [2024-11-01T04:06:52.423Z] Removing intermediate container 364de616f09f [2024-11-01T04:06:52.423Z] ---> 9cd6ffd2a341 [2024-11-01T04:06:52.423Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-01T04:06:52.694Z] ---> Running in 6459269fef77 [2024-11-01T04:06:52.962Z] Removing intermediate container 6459269fef77 [2024-11-01T04:06:52.962Z] ---> 7ec83f208545 [2024-11-01T04:06:52.962Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T04:06:52.962Z] ---> Running in dd1e322eb92a [2024-11-01T04:06:53.234Z] Removing intermediate container dd1e322eb92a [2024-11-01T04:06:53.234Z] ---> 2bf510dc31de [2024-11-01T04:06:53.234Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-11-01T04:06:53.234Z] ---> Running in 123be5ed6030 [2024-11-01T04:06:53.503Z] Removing intermediate container 123be5ed6030 [2024-11-01T04:06:53.503Z] ---> 7e41a481ba6f [2024-11-01T04:06:53.503Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T04:06:53.774Z] ---> Running in 3d418f165583 [2024-11-01T04:06:54.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T04:06:55.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T04:06:56.419Z] OK: 238 MiB in 54 packages [2024-11-01T04:06:57.383Z] Removing intermediate container 3d418f165583 [2024-11-01T04:06:57.383Z] ---> 00bcee2f55a6 [2024-11-01T04:06:57.383Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-11-01T04:06:57.383Z] ---> Running in 05594935d48a [2024-11-01T04:06:57.649Z] Removing intermediate container 05594935d48a [2024-11-01T04:06:57.649Z] ---> 46e357516687 [2024-11-01T04:06:57.649Z] Step 10/27 : COPY go.mod vendor* ./ [2024-11-01T04:06:57.917Z] ---> e90e1e19b4e8 [2024-11-01T04:06:57.917Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T04:06:58.186Z] ---> Running in d8c87c8d0763 [2024-11-01T04:07:00.770Z] Removing intermediate container d8c87c8d0763 [2024-11-01T04:07:00.770Z] ---> 50408a93f170 [2024-11-01T04:07:00.770Z] Step 12/27 : COPY . . [2024-11-01T04:07:02.176Z] ---> 6b2a91f636b4 [2024-11-01T04:07:02.176Z] Step 13/27 : RUN ${MAKE} [2024-11-01T04:07:02.176Z] ---> Running in 6e49ed839316 [2024-11-01T04:07:03.139Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-11-01T04:10:24.873Z] Removing intermediate container 6e49ed839316 [2024-11-01T04:10:24.873Z] ---> 5c37e4b02ab4 [2024-11-01T04:10:24.873Z] Step 14/27 : FROM alpine:3.20 [2024-11-01T04:10:24.873Z] 3.20: Pulling from library/alpine [2024-11-01T04:10:24.873Z] cf04c63912e1: Already exists [2024-11-01T04:10:24.873Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T04:10:24.873Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T04:10:24.873Z] ---> c157a85ed455 [2024-11-01T04:10:24.873Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-01T04:10:24.873Z] ---> Running in 53f83caa9d33 [2024-11-01T04:10:24.873Z] Removing intermediate container 53f83caa9d33 [2024-11-01T04:10:24.873Z] ---> 6839c80b30ea [2024-11-01T04:10:24.873Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-11-01T04:10:24.873Z] ---> Running in ae7dba5c8dc8 [2024-11-01T04:10:24.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:24.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:24.873Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T04:10:24.873Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T04:10:24.873Z] OK: 9 MiB in 15 packages [2024-11-01T04:10:25.148Z] Removing intermediate container ae7dba5c8dc8 [2024-11-01T04:10:25.148Z] ---> e8213bddb62a [2024-11-01T04:10:25.148Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-01T04:10:25.421Z] ---> Running in 4893c7a28430 [2024-11-01T04:10:26.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:26.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:27.777Z] Upgrading critical system libraries and apk-tools: [2024-11-01T04:10:27.777Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T04:10:27.777Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T04:10:27.777Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T04:10:27.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:28.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T04:10:29.439Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T04:10:29.439Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T04:10:29.439Z] OK: 9 MiB in 15 packages [2024-11-01T04:10:30.396Z] Removing intermediate container 4893c7a28430 [2024-11-01T04:10:30.396Z] ---> f7835eda6690 [2024-11-01T04:10:30.396Z] Step 18/27 : WORKDIR / [2024-11-01T04:10:30.396Z] ---> Running in 75514562981a [2024-11-01T04:10:30.661Z] Removing intermediate container 75514562981a [2024-11-01T04:10:30.661Z] ---> 24e5829b165c [2024-11-01T04:10:30.661Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-11-01T04:10:33.243Z] ---> c60f4efb4a96 [2024-11-01T04:10:33.243Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-11-01T04:10:33.243Z] ---> b42337b3b4ca [2024-11-01T04:10:33.243Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-11-01T04:10:33.508Z] ---> a585e51acc6b [2024-11-01T04:10:33.508Z] Step 22/27 : EXPOSE 59984 [2024-11-01T04:10:33.773Z] ---> Running in 29e80a92e91e [2024-11-01T04:10:34.038Z] Removing intermediate container 29e80a92e91e [2024-11-01T04:10:34.038Z] ---> 98e5cbbb9ab7 [2024-11-01T04:10:34.038Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-11-01T04:10:34.038Z] ---> Running in 58b856b45e9b [2024-11-01T04:10:34.304Z] Removing intermediate container 58b856b45e9b [2024-11-01T04:10:34.304Z] ---> e3c5f27c0d60 [2024-11-01T04:10:34.304Z] Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T04:10:34.304Z] ---> Running in fdec55f2d9a4 [2024-11-01T04:10:34.572Z] Removing intermediate container fdec55f2d9a4 [2024-11-01T04:10:34.572Z] ---> 99b81f27d4cf [2024-11-01T04:10:34.572Z] Step 25/27 : LABEL arch=arm64 [2024-11-01T04:10:34.838Z] ---> Running in bb96ffc62456 [2024-11-01T04:10:34.838Z] Removing intermediate container bb96ffc62456 [2024-11-01T04:10:34.838Z] ---> 44321c31aeb7 [2024-11-01T04:10:34.838Z] Step 26/27 : LABEL git_sha=9e5a431e3e324c4493d36aa2907e081a5213dd7d [2024-11-01T04:10:35.105Z] ---> Running in 222dc37cfd1a [2024-11-01T04:10:35.370Z] Removing intermediate container 222dc37cfd1a [2024-11-01T04:10:35.370Z] ---> 145c140ad0f2 [2024-11-01T04:10:35.370Z] Step 27/27 : LABEL version=0.0.0 [2024-11-01T04:10:35.370Z] ---> Running in 7914d2b4be86 [2024-11-01T04:10:35.636Z] Removing intermediate container 7914d2b4be86 [2024-11-01T04:10:35.636Z] ---> 03d18b347223 [2024-11-01T04:10:35.636Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T04:10:35.636Z] Successfully built 03d18b347223 [2024-11-01T04:10:35.636Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:10:36.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T04:10:36.641Z] [2024-11-01T04:10:36.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:10:37.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T04:10:37.070Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-01T04:10:37.070Z] 8998bd30e6a1: Pulling fs layer [2024-11-01T04:10:37.070Z] 04944245beec: Pulling fs layer [2024-11-01T04:10:37.070Z] 699f458cf7ca: Pulling fs layer [2024-11-01T04:10:37.070Z] 765212b225bb: Pulling fs layer [2024-11-01T04:10:37.070Z] f23df028b6ca: Pulling fs layer [2024-11-01T04:10:37.070Z] d65c8cfc05b1: Pulling fs layer [2024-11-01T04:10:37.070Z] 2437ff75d9bd: Pulling fs layer [2024-11-01T04:10:37.070Z] 765212b225bb: Waiting [2024-11-01T04:10:37.070Z] f23df028b6ca: Waiting [2024-11-01T04:10:37.070Z] d65c8cfc05b1: Waiting [2024-11-01T04:10:37.070Z] 2437ff75d9bd: Waiting [2024-11-01T04:10:37.337Z] 04944245beec: Verifying Checksum [2024-11-01T04:10:37.337Z] 04944245beec: Download complete [2024-11-01T04:10:37.337Z] 765212b225bb: Download complete [2024-11-01T04:10:37.337Z] f23df028b6ca: Verifying Checksum [2024-11-01T04:10:37.337Z] f23df028b6ca: Download complete [2024-11-01T04:10:37.337Z] d65c8cfc05b1: Verifying Checksum [2024-11-01T04:10:37.337Z] d65c8cfc05b1: Download complete [2024-11-01T04:10:37.602Z] 699f458cf7ca: Verifying Checksum [2024-11-01T04:10:37.602Z] 699f458cf7ca: Download complete [2024-11-01T04:10:37.868Z] 8998bd30e6a1: Verifying Checksum [2024-11-01T04:10:37.868Z] 8998bd30e6a1: Download complete [2024-11-01T04:10:40.439Z] 2437ff75d9bd: Verifying Checksum [2024-11-01T04:10:40.439Z] 2437ff75d9bd: Download complete [2024-11-01T04:10:41.842Z] 8998bd30e6a1: Pull complete [2024-11-01T04:10:42.422Z] 04944245beec: Pull complete [2024-11-01T04:10:43.823Z] 699f458cf7ca: Pull complete [2024-11-01T04:10:44.090Z] 765212b225bb: Pull complete [2024-11-01T04:10:44.682Z] f23df028b6ca: Pull complete [2024-11-01T04:10:44.949Z] d65c8cfc05b1: Pull complete [2024-11-01T04:10:59.924Z] 2437ff75d9bd: Pull complete [2024-11-01T04:10:59.924Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-01T04:10:59.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T04:10:59.924Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T04:11:00.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-24269 does not seem to be running inside a container [2024-11-01T04:11:00.351Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-01T04:11:02.992Z] $ docker top faa877d02f83035437a95a5550947476e3011e363ab7d7bbcabee41850dab8c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:03.878Z] ---> job-cost.sh [2024-11-01T04:11:03.878Z] lf-activate-venv: SKIPPING [2024-11-01T04:11:03.878Z] INFO: No Stack... [2024-11-01T04:11:04.458Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-01T04:11:05.036Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T04:11:05.382Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-11-01T04:11:05.382Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T04:11:05.736Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [2024-11-01T04:11:05.742Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] did not exist. Created. [2024-11-01T04:11:05.748Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T04:11:06.495Z] /w/workspace/device-onvif-camera/1@tmp/durable-11f22b4a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-01T04:11:07.160Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-01T04:11:07.210Z] Warning: overwriting stash ‘stack-cost’ [2024-11-01T04:11:07.276Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T04:11:07.298Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T04:11:07.396Z] $ docker stop --time=1 faa877d02f83035437a95a5550947476e3011e363ab7d7bbcabee41850dab8c7 [2024-11-01T04:11:08.881Z] $ docker rm -f --volumes faa877d02f83035437a95a5550947476e3011e363ab7d7bbcabee41850dab8c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-01T04:11:10.046Z] provisioning config files... [2024-11-01T04:11:10.054Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-470@tmp/config3971550886792585868tmp [Pipeline] { [Pipeline] sh [2024-11-01T04:11:10.416Z] + set +x [2024-11-01T04:11:10.416Z] + curl -s https://codecov.io/bash [2024-11-01T04:11:10.416Z] + bash -s -- [2024-11-01T04:11:10.416Z] [2024-11-01T04:11:10.416Z] _____ _ [2024-11-01T04:11:10.416Z] / ____| | | [2024-11-01T04:11:10.416Z] | | ___ __| | ___ ___ _____ __ [2024-11-01T04:11:10.416Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-01T04:11:10.416Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-01T04:11:10.416Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-01T04:11:10.416Z] Bash-1.0.6 [2024-11-01T04:11:10.416Z] [2024-11-01T04:11:10.416Z] [2024-11-01T04:11:10.416Z] ==> git version 2.25.1 found [2024-11-01T04:11:10.416Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-01T04:11:10.416Z] Release-Date: 2020-01-08 [2024-11-01T04:11:10.416Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-01T04:11:10.416Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-01T04:11:10.416Z] ==> Jenkins CI detected. [2024-11-01T04:11:10.416Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-470 [2024-11-01T04:11:10.416Z] project root: . [2024-11-01T04:11:10.416Z] --> token set from env [2024-11-01T04:11:10.416Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-01T04:11:10.416Z] ==> Running gcov in . (disable via -X gcov) [2024-11-01T04:11:10.416Z] ==> Python coveragepy not found [2024-11-01T04:11:10.416Z] ==> Searching for coverage reports in: [2024-11-01T04:11:10.416Z] + . [2024-11-01T04:11:10.416Z] -> Found 1 reports [2024-11-01T04:11:10.416Z] ==> Detecting git/mercurial file structure [2024-11-01T04:11:10.416Z] ==> Reading reports [2024-11-01T04:11:10.676Z] + ./coverage.out bytes=92292 [2024-11-01T04:11:10.676Z] ==> Appending adjustments [2024-11-01T04:11:10.676Z] https://docs.codecov.io/docs/fixing-reports [2024-11-01T04:11:10.676Z] + Found adjustments [2024-11-01T04:11:10.676Z] ==> Gzipping contents [2024-11-01T04:11:10.676Z] 12K /tmp/codecov.phcO1w.gz [2024-11-01T04:11:10.676Z] ==> Uploading reports [2024-11-01T04:11:10.676Z] url: https://codecov.io [2024-11-01T04:11:10.676Z] query: branch=PR-470&commit=9e5a431e3e324c4493d36aa2907e081a5213dd7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=470&job=&cmd_args= [2024-11-01T04:11:10.676Z] -> Pinging Codecov [2024-11-01T04:11:10.676Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-470&commit=9e5a431e3e324c4493d36aa2907e081a5213dd7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=470&job=&cmd_args= [2024-11-01T04:11:10.936Z] -> Uploading to [2024-11-01T04:11:10.936Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/9e5a431e3e324c4493d36aa2907e081a5213dd7d/a3569a63-6cf4-4101-9df4-a44350c9081f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T041110Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f92ec5e5eebacd1c56b954d3673c93d4312a1d556e41c11bf690fbcd7cb87467 [2024-11-01T04:11:10.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T04:11:10.936Z] Dload Upload Total Spent Left Speed [2024-11-01T04:11:11.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 48777 --:--:-- --:--:-- --:--:-- 48987 [2024-11-01T04:11:11.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9e5a431e3e324c4493d36aa2907e081a5213dd7d [Pipeline] } [2024-11-01T04:11:11.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-01T04:11:13.524Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-470/archives ] [2024-11-01T04:11:13.524Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-470/archives [2024-11-01T04:11:13.524Z] total 16 [2024-11-01T04:11:13.524Z] drwxr-xr-x 3 root root 4096 Nov 1 04:00 . [2024-11-01T04:11:13.524Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 04:00 .. [2024-11-01T04:11:13.524Z] drwxr-xr-x 2 root root 4096 Nov 1 04:00 cost [2024-11-01T04:11:13.524Z] -rw-r--r-- 1 root root 91 Nov 1 04:00 cost.csv [2024-11-01T04:11:13.524Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-470/archives [2024-11-01T04:11:13.524Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-470/archives [2024-11-01T04:11:13.524Z] total 16 [2024-11-01T04:11:13.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 04:00 . [2024-11-01T04:11:13.524Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 04:00 .. [2024-11-01T04:11:13.524Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 04:00 cost [2024-11-01T04:11:13.524Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 1 04:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:13.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:14.767Z] ---> package-listing.sh [2024-11-01T04:11:14.767Z] ++ facter osfamily [2024-11-01T04:11:14.767Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-01T04:11:15.026Z] + OS_FAMILY=debian [2024-11-01T04:11:15.026Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-470 [2024-11-01T04:11:15.026Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-01T04:11:15.026Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-01T04:11:15.026Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-01T04:11:15.026Z] + PACKAGES=/tmp/packages_start.txt [2024-11-01T04:11:15.026Z] + '[' /w/workspace/undry_device-onvif-camera_PR-470 ']' [2024-11-01T04:11:15.026Z] + PACKAGES=/tmp/packages_end.txt [2024-11-01T04:11:15.026Z] + case "${OS_FAMILY}" in [2024-11-01T04:11:15.026Z] + grep '^ii' [2024-11-01T04:11:15.026Z] + dpkg -l [2024-11-01T04:11:15.026Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-01T04:11:15.026Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-01T04:11:15.026Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-01T04:11:15.026Z] + '[' /w/workspace/undry_device-onvif-camera_PR-470 ']' [2024-11-01T04:11:15.026Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-470/archives/ [2024-11-01T04:11:15.026Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-470/archives/ [Pipeline] echo [2024-11-01T04:11:15.072Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-01T04:11:15.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T04:11:16.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T04:11:16.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T04:11:16.181Z] prd-ubuntu20.04-docker-8c-8g-24268 does not seem to be running inside a container [2024-11-01T04:11:16.215Z] $ 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-470/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-470 -v /w/workspace/undry_device-onvif-camera_PR-470:/w/workspace/undry_device-onvif-camera_PR-470:rw,z -v /w/workspace/undry_device-onvif-camera_PR-470@tmp:/w/workspace/undry_device-onvif-camera_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-01T04:11:16.396Z] $ docker top 8199a211bbd1ede4f5a5da0afbd883a14832352b05125c78348ca11e3d8a8b9d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T04:11:16.809Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-01T04:11:17.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-01T04:11:17.542Z] + ls /var/log/sa-host [2024-11-01T04:11:17.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T04:11:17.794Z] provisioning config files... [2024-11-01T04:11:17.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-470@tmp/config16077224863099399061tmp [Pipeline] { [Pipeline] echo [2024-11-01T04:11:17.874Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:18.218Z] ---> create-netrc.sh [Pipeline] } [2024-11-01T04:11:18.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:18.699Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-01T04:11:18.747Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:19.078Z] ---> sudo-logs.sh [2024-11-01T04:11:19.078Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-01T04:11:19.192Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:19.525Z] ---> job-cost.sh [2024-11-01T04:11:19.525Z] lf-activate-venv: SKIPPING [2024-11-01T04:11:19.525Z] DEBUG: total: 0.2199999988079071 [2024-11-01T04:11:19.525Z] INFO: Retrieving Stack Cost... [2024-11-01T04:11:20.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T04:11:20.353Z] INFO: Archiving Costs [Pipeline] echo [2024-11-01T04:11:20.402Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T04:11:20.733Z] ---> logs-deploy.sh [2024-11-01T04:11:20.734Z] lf-activate-venv: SKIPPING [2024-11-01T04:11:20.734Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-470/1 [2024-11-01T04:11:20.734Z] INFO: archiving workspace using pattern(s): [2024-11-01T04:11:21.669Z] Archives upload complete. [2024-11-01T04:11:21.669Z] INFO: archiving logs to Nexus