Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95be5631d7855413541c364ff3c9cb1dddd23cfa+9825d353c0ae3edd45665d4480ee2bc38ab097aa (d6d07743b7d5274bd4f721e6197905f55e7c669e) 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-ssh9666159111796018340.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16235179166800481598.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18299392059229832719.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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7936378881024951104.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15621976783178358522.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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2696416385782195910.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6451’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6452 in /w/workspace/undry_device-onvif-camera_PR-385 [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-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9825d353c0ae3edd45665d4480ee2bc38ab097aa into PR head commit 95be5631d7855413541c364ff3c9cb1dddd23cfa Merge succeeded, producing 95be5631d7855413541c364ff3c9cb1dddd23cfa Checking out Revision 95be5631d7855413541c364ff3c9cb1dddd23cfa (PR-385) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95be5631d7855413541c364ff3c9cb1dddd23cfa # 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 9825d353c0ae3edd45665d4480ee2bc38ab097aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95be5631d7855413541c364ff3c9cb1dddd23cfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T02:36:37.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T02:36:37.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T02:36:37.432Z] ========================================================= [2023-09-19T02:36:37.432Z] EdgeX Global Pipelines Version Info [2023-09-19T02:36:37.432Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:36:38.193Z] ------------------- [2023-09-19T02:36:38.193Z] stable info: [2023-09-19T02:36:38.193Z] ------------------- [2023-09-19T02:36:38.193Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T02:36:38.193Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T02:36:38.193Z] Message: update stable to v1.0.254 [2023-09-19T02:36:38.764Z] ------------------- [2023-09-19T02:36:38.764Z] experimental info: [2023-09-19T02:36:38.764Z] ------------------- [2023-09-19T02:36:38.764Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T02:36:38.764Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T02:36:38.764Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T02:36:39.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-09-19T02:36:39.076Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-09-19T02:36:39.116Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T02:36:39.165Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T02:36:39.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T02:36:39.252Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T02:36:39.294Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T02:36:39.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T02:36:39.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T02:36:39.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T02:36:39.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T02:36:39.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-09-19T02:36:39.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T02:36:39.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T02:36:39.626Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T02:36:39.663Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T02:36:39.702Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T02:36:39.739Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T02:36:39.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T02:36:39.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T02:36:39.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T02:36:39.902Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-09-19T02:36:39.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T02:36:39.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T02:36:40.021Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T02:36:40.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T02:36:40.104Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T02:36:40.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2023-09-19T02:36:40.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2023-09-19T02:36:40.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2023-09-19T02:36:40.287Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95be5631d7855413541c364ff3c9cb1dddd23cfa [Pipeline] echo [2023-09-19T02:36:40.335Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95be563 [Pipeline] echo [2023-09-19T02:36:40.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:36:40.503Z] provisioning config files... [2023-09-19T02:36:40.580Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-385@tmp/config4260176909644402894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:36:40.926Z] ---> docker-login.sh [2023-09-19T02:36:40.926Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:36:41.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:41.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:41.765Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:41.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:41.765Z] [2023-09-19T02:36:41.765Z] Login Succeeded [2023-09-19T02:36:41.765Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:36:41.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:41.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:41.765Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:41.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:41.765Z] [2023-09-19T02:36:41.765Z] Login Succeeded [2023-09-19T02:36:41.765Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:36:41.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:42.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:42.027Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:42.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:42.027Z] [2023-09-19T02:36:42.027Z] Login Succeeded [2023-09-19T02:36:42.027Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:36:42.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:42.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:42.027Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:42.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:42.027Z] [2023-09-19T02:36:42.027Z] Login Succeeded [2023-09-19T02:36:42.027Z] docker.io [2023-09-19T02:36:42.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:42.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:42.288Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:42.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:42.288Z] [2023-09-19T02:36:42.288Z] Login Succeeded [2023-09-19T02:36:42.288Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:36:42.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T02:36:42.938Z] + git rev-list -1 --merges 95be5631d7855413541c364ff3c9cb1dddd23cfa~1..95be5631d7855413541c364ff3c9cb1dddd23cfa [Pipeline] echo [2023-09-19T02:36:43.006Z] -----------> git rev-list -1 --merges 95be5631d7855413541c364ff3c9cb1dddd23cfa~1..95be5631d7855413541c364ff3c9cb1dddd23cfa 95be5631d7855413541c364ff3c9cb1dddd23cfa [false] [Pipeline] sh [2023-09-19T02:36:43.320Z] + git log --format=format:%s -1 95be5631d7855413541c364ff3c9cb1dddd23cfa [Pipeline] echo [2023-09-19T02:36:43.356Z] ========================================================= [2023-09-19T02:36:43.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T02:36:43.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:36:43.802Z] + git log --format=format:%s -1 95be5631d7855413541c364ff3c9cb1dddd23cfa [Pipeline] echo [2023-09-19T02:36:43.831Z] [semverPrep] GIT_COMMIT: 95be5631d7855413541c364ff3c9cb1dddd23cfa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-19T02:36:43.869Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T02:36:44.259Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T02:36:44.259Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T02:36:44.259Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T02:36:44.259Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T02:36:44.259Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T02:36:44.259Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T02:36:44.259Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:44.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:36:44.686Z] [2023-09-19T02:36:44.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:45.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:36:45.051Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T02:36:45.051Z] b85a868b505f: Pulling fs layer [2023-09-19T02:36:45.051Z] e2be974225ed: Pulling fs layer [2023-09-19T02:36:45.051Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T02:36:45.051Z] 988bab9f4d93: Pulling fs layer [2023-09-19T02:36:45.051Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T02:36:45.051Z] eaf3925da568: Pulling fs layer [2023-09-19T02:36:45.051Z] bab4dde63d76: Pulling fs layer [2023-09-19T02:36:45.051Z] bde34c3a00c8: Pulling fs layer [2023-09-19T02:36:45.051Z] b352a97aabf1: Pulling fs layer [2023-09-19T02:36:45.051Z] 4872d77fe225: Pulling fs layer [2023-09-19T02:36:45.051Z] 5851b861e8e6: Pulling fs layer [2023-09-19T02:36:45.051Z] 4872d77fe225: Waiting [2023-09-19T02:36:45.051Z] b352a97aabf1: Waiting [2023-09-19T02:36:45.051Z] 5851b861e8e6: Waiting [2023-09-19T02:36:45.051Z] bab4dde63d76: Waiting [2023-09-19T02:36:45.051Z] 988bab9f4d93: Waiting [2023-09-19T02:36:45.051Z] 1469e6f7b9e6: Waiting [2023-09-19T02:36:45.051Z] eaf3925da568: Waiting [2023-09-19T02:36:45.051Z] bde34c3a00c8: Waiting [2023-09-19T02:36:45.051Z] e2be974225ed: Download complete [2023-09-19T02:36:45.051Z] 988bab9f4d93: Verifying Checksum [2023-09-19T02:36:45.051Z] 988bab9f4d93: Download complete [2023-09-19T02:36:45.051Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T02:36:45.051Z] 1469e6f7b9e6: Download complete [2023-09-19T02:36:45.051Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T02:36:45.051Z] 339a4e72a1f5: Download complete [2023-09-19T02:36:45.309Z] eaf3925da568: Download complete [2023-09-19T02:36:45.309Z] bde34c3a00c8: Verifying Checksum [2023-09-19T02:36:45.309Z] bde34c3a00c8: Download complete [2023-09-19T02:36:45.309Z] b352a97aabf1: Download complete [2023-09-19T02:36:45.309Z] 4872d77fe225: Download complete [2023-09-19T02:36:45.309Z] 5851b861e8e6: Verifying Checksum [2023-09-19T02:36:45.309Z] 5851b861e8e6: Download complete [2023-09-19T02:36:45.309Z] b85a868b505f: Download complete [2023-09-19T02:36:45.567Z] bab4dde63d76: Verifying Checksum [2023-09-19T02:36:45.568Z] bab4dde63d76: Download complete [2023-09-19T02:36:46.502Z] b85a868b505f: Pull complete [2023-09-19T02:36:46.761Z] e2be974225ed: Pull complete [2023-09-19T02:36:47.332Z] 339a4e72a1f5: Pull complete [2023-09-19T02:36:47.332Z] 988bab9f4d93: Pull complete [2023-09-19T02:36:47.592Z] 1469e6f7b9e6: Pull complete [2023-09-19T02:36:47.592Z] eaf3925da568: Pull complete [2023-09-19T02:36:49.496Z] bab4dde63d76: Pull complete [2023-09-19T02:36:49.496Z] bde34c3a00c8: Pull complete [2023-09-19T02:36:49.496Z] b352a97aabf1: Pull complete [2023-09-19T02:36:49.496Z] 4872d77fe225: Pull complete [2023-09-19T02:36:49.496Z] 5851b861e8e6: Pull complete [2023-09-19T02:36:49.496Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T02:36:49.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:36:49.496Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:36:49.733Z] prd-ubuntu20.04-docker-8c-8g-6452 does not seem to be running inside a container [2023-09-19T02:36:49.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-385 -v /w/workspace/undry_device-onvif-camera_PR-385:/w/workspace/undry_device-onvif-camera_PR-385:rw,z -v /w/workspace/undry_device-onvif-camera_PR-385@tmp:/w/workspace/undry_device-onvif-camera_PR-385@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 [2023-09-19T02:36:53.470Z] $ docker top 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 -eo pid,comm [2023-09-19T02:36:53.534Z] 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). [2023-09-19T02:36:53.534Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T02:36:53.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:36:53.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:36:53.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:36:53.777Z] $ docker exec 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 ssh-agent [2023-09-19T02:36:53.890Z] SSH_AUTH_SOCK=/tmp/ssh-cSzbVKzluI7H/agent.32 [2023-09-19T02:36:53.890Z] SSH_AGENT_PID=38 [2023-09-19T02:36:53.897Z] Running ssh-add (command line suppressed) [2023-09-19T02:36:54.005Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-385@tmp/private_key_15671224870762951996.key (/w/workspace/undry_device-onvif-camera_PR-385@tmp/private_key_15671224870762951996.key) [2023-09-19T02:36:54.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:36:54.354Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T02:36:54.377Z] $ docker exec --env ******** --env ******** 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 ssh-agent -k [2023-09-19T02:36:54.477Z] unset SSH_AUTH_SOCK; [2023-09-19T02:36:54.477Z] unset SSH_AGENT_PID; [2023-09-19T02:36:54.478Z] echo Agent pid 38 killed; [2023-09-19T02:36:54.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T02:36:54.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:36:54.575Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:36:54.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:36:54.697Z] $ docker exec 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 ssh-agent [2023-09-19T02:36:54.814Z] SSH_AUTH_SOCK=/tmp/ssh-vMrOOqD0PuZq/agent.71 [2023-09-19T02:36:54.814Z] SSH_AGENT_PID=77 [2023-09-19T02:36:54.819Z] Running ssh-add (command line suppressed) [2023-09-19T02:36:54.938Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-385@tmp/private_key_6269011204698066071.key (/w/workspace/undry_device-onvif-camera_PR-385@tmp/private_key_6269011204698066071.key) [2023-09-19T02:36:54.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:36:55.281Z] + git semver init [2023-09-19T02:36:55.541Z] 2023-09-19 02:36:55,458 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T02:36:55.541Z] 2023-09-19 02:36:55,459 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-385/.semver [2023-09-19T02:36:55.541Z] 2023-09-19 02:36:55,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-385/.semver [2023-09-19T02:36:55.541Z] 2023-09-19 02:36:55,460 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-385/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-385, universal_newlines=False, shell=None, istream=None) [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,433 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-385/.git/info/exclude [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,433 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-385/.semver/PR-385 with force:False [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,433 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-385/.semver/PR-385 [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,436 [execute] INFO git cat-file --batch-check [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,444 [execute] INFO git cat-file --batch [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T02:36:56.479Z] 2023-09-19 02:36:56,449 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-385/.semver/PR-385 [2023-09-19T02:36:56.479Z] 0.0.0 [Pipeline] } [2023-09-19T02:36:56.506Z] $ docker exec --env ******** --env ******** 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 ssh-agent -k [2023-09-19T02:36:56.612Z] unset SSH_AUTH_SOCK; [2023-09-19T02:36:56.613Z] unset SSH_AGENT_PID; [2023-09-19T02:36:56.613Z] echo Agent pid 77 killed; [2023-09-19T02:36:56.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T02:36:57.067Z] + git semver [Pipeline] } [2023-09-19T02:36:57.351Z] $ docker stop --time=1 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 [2023-09-19T02:36:58.662Z] $ docker rm -f --volumes 6014f0f1b6dd8fe19e56958a893283b7a448bbc8f40bd5deab324e51be7bd607 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:36:59.057Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T02:36:59.330Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T02:36:59.348Z] [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 [2023-09-19T02:36:59.966Z] provisioning config files... [2023-09-19T02:36:59.975Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-385@tmp/config6445177465532677723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:37:00.327Z] ---> docker-login.sh [2023-09-19T02:37:00.327Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:37:00.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:37:00.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:37:00.327Z] Configure a credential helper to remove this warning. See [2023-09-19T02:37:00.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:37:00.327Z] [2023-09-19T02:37:00.327Z] Login Succeeded [2023-09-19T02:37:00.327Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:37:00.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:37:00.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:37:00.327Z] Configure a credential helper to remove this warning. See [2023-09-19T02:37:00.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:37:00.327Z] [2023-09-19T02:37:00.327Z] Login Succeeded [2023-09-19T02:37:00.327Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:37:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:37:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:37:00.586Z] Configure a credential helper to remove this warning. See [2023-09-19T02:37:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:37:00.586Z] [2023-09-19T02:37:00.586Z] Login Succeeded [2023-09-19T02:37:00.586Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:37:00.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:37:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:37:00.586Z] Configure a credential helper to remove this warning. See [2023-09-19T02:37:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:37:00.586Z] [2023-09-19T02:37:00.586Z] Login Succeeded [2023-09-19T02:37:00.586Z] docker.io [2023-09-19T02:37:00.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:37:00.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:37:00.845Z] Configure a credential helper to remove this warning. See [2023-09-19T02:37:00.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:37:00.845Z] [2023-09-19T02:37:00.845Z] Login Succeeded [2023-09-19T02:37:01.109Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:37:01.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T02:37:01.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:37:01.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:37:01.415Z] ========================================================= [2023-09-19T02:37:01.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T02:37:01.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:37:01.887Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T02:37:01.887Z] Sending build context to Docker daemon 21.71MB [2023-09-19T02:37:01.887Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:37:01.887Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-19T02:37:02.146Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T02:37:02.146Z] 7264a8db6415: Pulling fs layer [2023-09-19T02:37:02.146Z] c4d48a809fc2: Pulling fs layer [2023-09-19T02:37:02.146Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T02:37:02.146Z] ad3a456e5733: Pulling fs layer [2023-09-19T02:37:02.146Z] 9e4f439ed901: Pulling fs layer [2023-09-19T02:37:02.146Z] feaf6a47b606: Pulling fs layer [2023-09-19T02:37:02.146Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T02:37:02.146Z] 8ac70367396e: Pulling fs layer [2023-09-19T02:37:02.146Z] 6db16350a2e2: Pulling fs layer [2023-09-19T02:37:02.146Z] 9250d5d63582: Pulling fs layer [2023-09-19T02:37:02.146Z] 5e8b037d7d82: Waiting [2023-09-19T02:37:02.146Z] 8ac70367396e: Waiting [2023-09-19T02:37:02.146Z] 6db16350a2e2: Waiting [2023-09-19T02:37:02.146Z] 9e4f439ed901: Waiting [2023-09-19T02:37:02.146Z] feaf6a47b606: Waiting [2023-09-19T02:37:02.146Z] ad3a456e5733: Waiting [2023-09-19T02:37:02.146Z] c4d48a809fc2: Download complete [2023-09-19T02:37:02.146Z] ad3a456e5733: Verifying Checksum [2023-09-19T02:37:02.146Z] ad3a456e5733: Download complete [2023-09-19T02:37:02.146Z] 9e4f439ed901: Verifying Checksum [2023-09-19T02:37:02.146Z] 9e4f439ed901: Download complete [2023-09-19T02:37:02.146Z] 7264a8db6415: Verifying Checksum [2023-09-19T02:37:02.146Z] 7264a8db6415: Download complete [2023-09-19T02:37:02.146Z] feaf6a47b606: Verifying Checksum [2023-09-19T02:37:02.146Z] feaf6a47b606: Download complete [2023-09-19T02:37:02.406Z] 7264a8db6415: Pull complete [2023-09-19T02:37:02.406Z] c4d48a809fc2: Pull complete [2023-09-19T02:37:02.406Z] 8ac70367396e: Verifying Checksum [2023-09-19T02:37:02.406Z] 8ac70367396e: Download complete [2023-09-19T02:37:02.665Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T02:37:02.665Z] 4f1c88b9dad5: Download complete [2023-09-19T02:37:02.924Z] 6db16350a2e2: Verifying Checksum [2023-09-19T02:37:02.924Z] 6db16350a2e2: Download complete [2023-09-19T02:37:02.924Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T02:37:02.924Z] 5e8b037d7d82: Download complete [2023-09-19T02:37:02.924Z] 9250d5d63582: Verifying Checksum [2023-09-19T02:37:02.924Z] 9250d5d63582: Download complete [2023-09-19T02:37:06.210Z] 4f1c88b9dad5: Pull complete [2023-09-19T02:37:06.210Z] ad3a456e5733: Pull complete [2023-09-19T02:37:06.210Z] 9e4f439ed901: Pull complete [2023-09-19T02:37:06.210Z] feaf6a47b606: Pull complete [2023-09-19T02:37:08.769Z] 5e8b037d7d82: Pull complete [2023-09-19T02:37:09.336Z] 8ac70367396e: Pull complete [2023-09-19T02:37:09.901Z] 6db16350a2e2: Pull complete [2023-09-19T02:37:10.468Z] 9250d5d63582: Pull complete [2023-09-19T02:37:10.468Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T02:37:10.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T02:37:10.468Z] ---> fa269f55d9b9 [2023-09-19T02:37:10.468Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:37:14.762Z] Still waiting to schedule task [2023-09-19T02:37:14.762Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T02:37:14.762Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T02:37:14.762Z] ‘prd-ubuntu20.04-docker-8c-8g-6455’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T02:37:14.762Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6454’ is offline [2023-09-19T02:37:17.047Z] ---> Running in bdebe6bddc81 [2023-09-19T02:37:17.047Z] Removing intermediate container bdebe6bddc81 [2023-09-19T02:37:17.047Z] ---> 03b8ece66d6c [2023-09-19T02:37:17.047Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:37:17.047Z] ---> Running in 55f80c61e52a [2023-09-19T02:37:17.047Z] Removing intermediate container 55f80c61e52a [2023-09-19T02:37:17.047Z] ---> 8fa4e4bf5e85 [2023-09-19T02:37:17.047Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-19T02:37:17.047Z] ---> Running in b7573c8563d8 [2023-09-19T02:37:17.047Z] Removing intermediate container b7573c8563d8 [2023-09-19T02:37:17.047Z] ---> 398bcf93315c [2023-09-19T02:37:17.047Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:37:17.047Z] ---> Running in 54615f44aba9 [2023-09-19T02:37:17.047Z] Removing intermediate container 54615f44aba9 [2023-09-19T02:37:17.047Z] ---> f3dc329443e5 [2023-09-19T02:37:17.047Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-19T02:37:17.047Z] ---> Running in 58bcaf7543f3 [2023-09-19T02:37:17.047Z] Removing intermediate container 58bcaf7543f3 [2023-09-19T02:37:17.047Z] ---> 4dea2c640ef3 [2023-09-19T02:37:17.047Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:37:17.047Z] ---> Running in fa534dfcedb1 [2023-09-19T02:37:17.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:37:17.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:37:17.582Z] OK: 265 MiB in 56 packages [2023-09-19T02:37:17.840Z] Removing intermediate container fa534dfcedb1 [2023-09-19T02:37:17.840Z] ---> 184f081642ee [2023-09-19T02:37:17.840Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-19T02:37:17.840Z] ---> Running in b061cdb30b5f [2023-09-19T02:37:18.100Z] Removing intermediate container b061cdb30b5f [2023-09-19T02:37:18.100Z] ---> 40a9200956a4 [2023-09-19T02:37:18.100Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-19T02:37:18.100Z] ---> a53911fd9ec8 [2023-09-19T02:37:18.100Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:37:18.100Z] ---> Running in 893e2ea9b746 [2023-09-19T02:37:57.066Z] Removing intermediate container 893e2ea9b746 [2023-09-19T02:37:57.067Z] ---> ee146c8dfea9 [2023-09-19T02:37:57.067Z] Step 12/13 : COPY . . [2023-09-19T02:37:57.067Z] ---> 59e4d65e9315 [2023-09-19T02:37:57.067Z] Step 13/13 : RUN ${MAKE} [2023-09-19T02:37:57.067Z] ---> Running in 998c009e92b2 [2023-09-19T02:37:57.067Z] noop [2023-09-19T02:37:57.067Z] Removing intermediate container 998c009e92b2 [2023-09-19T02:37:57.067Z] ---> 18c956c8cd35 [2023-09-19T02:37:57.067Z] Successfully built 18c956c8cd35 [2023-09-19T02:37:57.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:37:57.531Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T02:37:57.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:37:57.697Z] prd-ubuntu20.04-docker-8c-8g-6452 does not seem to be running inside a container [2023-09-19T02:37:57.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-385 -v /w/workspace/undry_device-onvif-camera_PR-385:/w/workspace/undry_device-onvif-camera_PR-385:rw,z -v /w/workspace/undry_device-onvif-camera_PR-385@tmp:/w/workspace/undry_device-onvif-camera_PR-385@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 [2023-09-19T02:37:58.085Z] $ docker top b26942e135aa324e46cff946b5a3eeb853778720dbddb5e07a4f2f08141dcf0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:37:58.473Z] + go version [2023-09-19T02:37:58.474Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T02:37:58.512Z] $ docker stop --time=1 b26942e135aa324e46cff946b5a3eeb853778720dbddb5e07a4f2f08141dcf0f [2023-09-19T02:37:59.774Z] $ docker rm -f --volumes b26942e135aa324e46cff946b5a3eeb853778720dbddb5e07a4f2f08141dcf0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:38:00.500Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T02:38:00.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:38:00.664Z] prd-ubuntu20.04-docker-8c-8g-6452 does not seem to be running inside a container [2023-09-19T02:38:00.705Z] $ 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-385 -v /w/workspace/undry_device-onvif-camera_PR-385:/w/workspace/undry_device-onvif-camera_PR-385:rw,z -v /w/workspace/undry_device-onvif-camera_PR-385@tmp:/w/workspace/undry_device-onvif-camera_PR-385@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 [2023-09-19T02:38:01.052Z] $ docker top d9eb0db4842947b183263b64cab82c71eeab98acd067a142976fb510755c0c20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:38:01.488Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-385 [Pipeline] fileExists [Pipeline] sh [2023-09-19T02:38:01.877Z] + make test [2023-09-19T02:38:01.877Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T02:38:03.251Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-19T02:38:13.227Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-19T02:38:14.161Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-19T02:38:16.062Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.5% of statements [2023-09-19T02:38:16.062Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.143s coverage: 86.5% of statements [2023-09-19T02:38:22.612Z] go vet ./... [2023-09-19T02:38:25.890Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T02:38:25.890Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T02:38:25.890Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T02:38:26.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T02:38:26.221Z] $ docker stop --time=1 d9eb0db4842947b183263b64cab82c71eeab98acd067a142976fb510755c0c20 [2023-09-19T02:38:29.914Z] $ docker rm -f --volumes d9eb0db4842947b183263b64cab82c71eeab98acd067a142976fb510755c0c20 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:38:30.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T02:38:30.511Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T02:38:31.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T02:38:31.449Z] + ls -al . [2023-09-19T02:38:31.449Z] total 244 [2023-09-19T02:38:31.449Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:38 . [2023-09-19T02:38:31.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 .. [2023-09-19T02:38:31.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:38 .git [2023-09-19T02:38:31.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:36 .github [2023-09-19T02:38:31.449Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 19 02:36 .gitignore [2023-09-19T02:38:31.449Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 02:36 .golangci.yml [2023-09-19T02:38:31.449Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:36 .semver [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 19 02:36 Attribution.txt [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 19 02:36 CHANGELOG.md [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 19 02:36 Dockerfile [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:36 GOVERNANCE.md [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 19 02:36 Jenkinsfile [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 02:36 LICENSE [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 19 02:36 Makefile [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 02:36 OWNERS.md [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 19 02:36 README.md [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 02:36 VERSION [2023-09-19T02:38:31.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:36 bin [2023-09-19T02:38:31.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:36 cmd [2023-09-19T02:38:31.450Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 19 02:38 coverage.out [2023-09-19T02:38:31.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 doc [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 19 02:36 go.mod [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 19 02:36 go.sum [2023-09-19T02:38:31.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 internal [2023-09-19T02:38:31.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 snap [2023-09-19T02:38:31.450Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 02:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:38:31.852Z] + 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=95be5631d7855413541c364ff3c9cb1dddd23cfa --label arch=amd64 --label version=0.0.0 . [2023-09-19T02:38:31.852Z] Sending build context to Docker daemon 21.79MB [2023-09-19T02:38:31.852Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:38:31.852Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-19T02:38:31.852Z] ---> 18c956c8cd35 [2023-09-19T02:38:31.852Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:38:32.422Z] ---> Running in 924edd351085 [2023-09-19T02:38:32.422Z] Removing intermediate container 924edd351085 [2023-09-19T02:38:32.422Z] ---> b374f6b6a0ca [2023-09-19T02:38:32.422Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:38:32.422Z] ---> Running in 5533828a6a1e [2023-09-19T02:38:32.422Z] Removing intermediate container 5533828a6a1e [2023-09-19T02:38:32.422Z] ---> 357f582a279e [2023-09-19T02:38:32.422Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-19T02:38:32.422Z] ---> Running in 67f5889ea9e0 [2023-09-19T02:38:32.422Z] Removing intermediate container 67f5889ea9e0 [2023-09-19T02:38:32.422Z] ---> 0aa996cd6e60 [2023-09-19T02:38:32.422Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:38:32.422Z] ---> Running in e56b06ce060a [2023-09-19T02:38:32.681Z] Removing intermediate container e56b06ce060a [2023-09-19T02:38:32.681Z] ---> c2afdd518a44 [2023-09-19T02:38:32.681Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-19T02:38:32.681Z] ---> Running in 82024b1749ab [2023-09-19T02:38:32.681Z] Removing intermediate container 82024b1749ab [2023-09-19T02:38:32.681Z] ---> c84ce3c5762a [2023-09-19T02:38:32.681Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:38:32.681Z] ---> Running in fe11eeb189fe [2023-09-19T02:38:32.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:38:33.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:38:33.460Z] OK: 265 MiB in 56 packages [2023-09-19T02:38:33.721Z] Removing intermediate container fe11eeb189fe [2023-09-19T02:38:33.721Z] ---> 7f8bbdfe5345 [2023-09-19T02:38:33.721Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-19T02:38:33.721Z] ---> Running in 69273cfce77f [2023-09-19T02:38:33.721Z] Removing intermediate container 69273cfce77f [2023-09-19T02:38:33.721Z] ---> 9dd1c72dd391 [2023-09-19T02:38:33.721Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-19T02:38:33.980Z] ---> e0c985341b7c [2023-09-19T02:38:33.980Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:38:33.980Z] ---> Running in 7bbf64e9dfb4 [2023-09-19T02:38:34.550Z] Removing intermediate container 7bbf64e9dfb4 [2023-09-19T02:38:34.550Z] ---> 8c9208993737 [2023-09-19T02:38:34.550Z] Step 12/26 : COPY . . [2023-09-19T02:38:35.544Z] ---> daeef7e070f5 [2023-09-19T02:38:35.544Z] Step 13/26 : RUN ${MAKE} [2023-09-19T02:38:35.544Z] ---> Running in 9ae7fbf65c85 [2023-09-19T02:38:35.802Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-19T02:38:57.724Z] Removing intermediate container 9ae7fbf65c85 [2023-09-19T02:38:57.724Z] ---> 5178189fac95 [2023-09-19T02:38:57.724Z] Step 14/26 : FROM alpine:3.18 [2023-09-19T02:38:57.724Z] 3.18: Pulling from library/alpine [2023-09-19T02:38:57.724Z] 7264a8db6415: Already exists [2023-09-19T02:38:57.724Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T02:38:57.724Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T02:38:57.724Z] ---> 7e01a0d0a1dc [2023-09-19T02:38:57.724Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-19T02:38:57.724Z] ---> Running in 543ee1a169bd [2023-09-19T02:38:57.724Z] Removing intermediate container 543ee1a169bd [2023-09-19T02:38:57.724Z] ---> 082476e74442 [2023-09-19T02:38:57.724Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-19T02:38:57.724Z] ---> Running in c6b659d6009c [2023-09-19T02:38:57.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:38:57.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:38:57.983Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T02:38:57.983Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:38:57.983Z] OK: 7 MiB in 16 packages [2023-09-19T02:38:58.242Z] Removing intermediate container c6b659d6009c [2023-09-19T02:38:58.242Z] ---> dd223dbdddaa [2023-09-19T02:38:58.242Z] Step 17/26 : WORKDIR / [2023-09-19T02:38:58.242Z] ---> Running in 77e95da781f5 [2023-09-19T02:38:58.242Z] Removing intermediate container 77e95da781f5 [2023-09-19T02:38:58.242Z] ---> f5f048c18e7b [2023-09-19T02:38:58.242Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-19T02:38:59.178Z] ---> 0ba7b4c196a5 [2023-09-19T02:38:59.178Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-19T02:38:59.435Z] ---> 2ba74ac86199 [2023-09-19T02:38:59.435Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-19T02:38:59.435Z] ---> 0287277997fd [2023-09-19T02:38:59.435Z] Step 21/26 : EXPOSE 59984 [2023-09-19T02:38:59.693Z] ---> Running in ddfffe78c94f [2023-09-19T02:38:59.693Z] Removing intermediate container ddfffe78c94f [2023-09-19T02:38:59.693Z] ---> 3b3eb0bf6fd1 [2023-09-19T02:38:59.693Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-19T02:38:59.693Z] ---> Running in a23ad2dc304b [2023-09-19T02:38:59.693Z] Removing intermediate container a23ad2dc304b [2023-09-19T02:38:59.693Z] ---> 883eb04b8c4f [2023-09-19T02:38:59.693Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T02:38:59.693Z] ---> Running in 9616276fef92 [2023-09-19T02:38:59.952Z] Removing intermediate container 9616276fef92 [2023-09-19T02:38:59.952Z] ---> 54616837936c [2023-09-19T02:38:59.952Z] Step 24/26 : LABEL arch=amd64 [2023-09-19T02:38:59.953Z] ---> Running in c8a78bbd22cf [2023-09-19T02:38:59.953Z] Removing intermediate container c8a78bbd22cf [2023-09-19T02:38:59.953Z] ---> 374f2f78654d [2023-09-19T02:38:59.953Z] Step 25/26 : LABEL git_sha=95be5631d7855413541c364ff3c9cb1dddd23cfa [2023-09-19T02:38:59.953Z] ---> Running in 5a33384da87d [2023-09-19T02:38:59.953Z] Removing intermediate container 5a33384da87d [2023-09-19T02:38:59.953Z] ---> 3899e190f3ab [2023-09-19T02:38:59.953Z] Step 26/26 : LABEL version=0.0.0 [2023-09-19T02:38:59.953Z] ---> Running in f65fafc2f855 [2023-09-19T02:39:00.212Z] Removing intermediate container f65fafc2f855 [2023-09-19T02:39:00.212Z] ---> 8c581350aef7 [2023-09-19T02:39:00.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T02:39:00.212Z] Successfully built 8c581350aef7 [2023-09-19T02:39:00.212Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:39:01.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:39:01.083Z] [2023-09-19T02:39:01.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:39:01.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:39:01.459Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T02:39:01.459Z] 5eb5b503b376: Pulling fs layer [2023-09-19T02:39:01.459Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T02:39:01.459Z] ec43610c2a17: Pulling fs layer [2023-09-19T02:39:01.459Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T02:39:01.459Z] 33b1e0a273af: Pulling fs layer [2023-09-19T02:39:01.459Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T02:39:01.459Z] 2f39f015ded8: Pulling fs layer [2023-09-19T02:39:01.459Z] 3a2ae6a8a46f: Waiting [2023-09-19T02:39:01.459Z] 33b1e0a273af: Waiting [2023-09-19T02:39:01.459Z] 5d3b04190fa2: Waiting [2023-09-19T02:39:01.459Z] 2f39f015ded8: Waiting [2023-09-19T02:39:01.459Z] 5c69ac0246d0: Download complete [2023-09-19T02:39:01.459Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T02:39:01.459Z] 3a2ae6a8a46f: Download complete [2023-09-19T02:39:01.459Z] 33b1e0a273af: Verifying Checksum [2023-09-19T02:39:01.459Z] 33b1e0a273af: Download complete [2023-09-19T02:39:01.459Z] ec43610c2a17: Verifying Checksum [2023-09-19T02:39:01.459Z] ec43610c2a17: Download complete [2023-09-19T02:39:01.459Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T02:39:01.459Z] 5d3b04190fa2: Download complete [2023-09-19T02:39:01.718Z] 5eb5b503b376: Verifying Checksum [2023-09-19T02:39:01.718Z] 5eb5b503b376: Download complete [2023-09-19T02:39:02.285Z] 2f39f015ded8: Download complete [2023-09-19T02:39:02.850Z] 5eb5b503b376: Pull complete [2023-09-19T02:39:03.110Z] 5c69ac0246d0: Pull complete [2023-09-19T02:39:03.677Z] ec43610c2a17: Pull complete [2023-09-19T02:39:03.677Z] 3a2ae6a8a46f: Pull complete [2023-09-19T02:39:03.936Z] 33b1e0a273af: Pull complete [2023-09-19T02:39:03.936Z] 5d3b04190fa2: Pull complete [2023-09-19T02:39:08.115Z] 2f39f015ded8: Pull complete [2023-09-19T02:39:08.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T02:39:08.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:39:08.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:39:08.334Z] prd-ubuntu20.04-docker-8c-8g-6452 does not seem to be running inside a container [2023-09-19T02:39:08.372Z] $ 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-385 -v /w/workspace/undry_device-onvif-camera_PR-385:/w/workspace/undry_device-onvif-camera_PR-385:rw,z -v /w/workspace/undry_device-onvif-camera_PR-385@tmp:/w/workspace/undry_device-onvif-camera_PR-385@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 [2023-09-19T02:39:13.708Z] $ docker top 663187094e1f986586e5c99b36cc5fe80b6a6a4a5115b4dc92a26b070ff09377 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:39:14.128Z] ---> job-cost.sh [2023-09-19T02:39:14.128Z] lf-activate-venv: SKIPPING [2023-09-19T02:39:14.128Z] INFO: No Stack... [2023-09-19T02:39:14.386Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T02:39:14.954Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T02:39:15.263Z] + cat /w/workspace/undry_device-onvif-camera_PR-385/archives/cost.csv [2023-09-19T02:39:15.263Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T02:39:15.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [2023-09-19T02:39:15.337Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] did not exist. Created. [2023-09-19T02:39:15.337Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T02:39:15.725Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T02:39:15.788Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T02:39:15.815Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T02:39:15.904Z] $ docker stop --time=1 663187094e1f986586e5c99b36cc5fe80b6a6a4a5115b4dc92a26b070ff09377 [2023-09-19T02:39:17.063Z] $ docker rm -f --volumes 663187094e1f986586e5c99b36cc5fe80b6a6a4a5115b4dc92a26b070ff09377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T02:40:27.515Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6456 in /w/workspace/undry_device-onvif-camera_PR-385 [Pipeline] { [Pipeline] ws [2023-09-19T02:40:27.579Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-09-19T02:40:27.657Z] The recommended git tool is: git [2023-09-19T02:40:33.760Z] using credential edgex-jenkins-ssh [2023-09-19T02:40:33.779Z] Cloning the remote Git repository [2023-09-19T02:40:33.837Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-19T02:40:33.943Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-09-19T02:40:34.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-19T02:40:34.123Z] > git --version # timeout=10 [2023-09-19T02:40:34.144Z] > git --version # 'git version 2.25.1' [2023-09-19T02:40:34.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T02:40:34.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T02:40:35.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-19T02:40:35.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T02:40:37.381Z] Merging remotes/origin/main commit 9825d353c0ae3edd45665d4480ee2bc38ab097aa into PR head commit 95be5631d7855413541c364ff3c9cb1dddd23cfa [2023-09-19T02:40:37.808Z] Merge succeeded, producing 95be5631d7855413541c364ff3c9cb1dddd23cfa [2023-09-19T02:40:37.809Z] Checking out Revision 95be5631d7855413541c364ff3c9cb1dddd23cfa (PR-385) [2023-09-19T02:40:36.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-19T02:40:36.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-19T02:40:36.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T02:40:36.882Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T02:40:37.407Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T02:40:37.501Z] > git checkout -f 95be5631d7855413541c364ff3c9cb1dddd23cfa # timeout=10 [2023-09-19T02:40:37.698Z] > git remote # timeout=10 [2023-09-19T02:40:37.721Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T02:40:37.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T02:40:37.758Z] > git merge 9825d353c0ae3edd45665d4480ee2bc38ab097aa # timeout=10 [2023-09-19T02:40:37.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T02:40:37.820Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T02:40:37.836Z] > git checkout -f 95be5631d7855413541c364ff3c9cb1dddd23cfa # timeout=10 [2023-09-19T02:40:38.574Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-19T02:40:38.637Z] > git --version # timeout=10 [2023-09-19T02:40:38.649Z] > git --version # 'git version 2.25.1' [2023-09-19T02:40:38.666Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:40:39.875Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T02:40:39.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T02:40:39.875Z] Dload Upload Total Spent Left Speed [2023-09-19T02:40:39.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-09-19T02:40:40.535Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T02:40:40.895Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T02:40:40.896Z] + sudo tee /etc/docker/daemon.new [2023-09-19T02:40:40.896Z] { [2023-09-19T02:40:40.896Z] "registry-mirrors": [ [2023-09-19T02:40:40.896Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T02:40:40.896Z] ], [2023-09-19T02:40:40.896Z] "bip": "10.250.0.254/24", [2023-09-19T02:40:40.896Z] "hosts": [ [2023-09-19T02:40:40.896Z] "tcp://0.0.0.0:5555", [2023-09-19T02:40:40.896Z] "unix:///var/run/docker.sock" [2023-09-19T02:40:40.896Z] ], [2023-09-19T02:40:40.896Z] "mtu": 1458, [2023-09-19T02:40:40.896Z] "selinux-enabled": true, [2023-09-19T02:40:40.896Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T02:40:40.896Z] } [Pipeline] sh [2023-09-19T02:40:41.251Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T02:40:41.617Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:41:00.037Z] provisioning config files... [2023-09-19T02:41:00.064Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config17715977159710669968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:41:00.463Z] ---> docker-login.sh [2023-09-19T02:41:00.463Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:41:00.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:41:01.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:41:01.000Z] Configure a credential helper to remove this warning. See [2023-09-19T02:41:01.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:41:01.000Z] [2023-09-19T02:41:01.000Z] Login Succeeded [2023-09-19T02:41:01.000Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:41:01.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:41:01.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:41:01.535Z] Configure a credential helper to remove this warning. See [2023-09-19T02:41:01.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:41:01.535Z] [2023-09-19T02:41:01.535Z] Login Succeeded [2023-09-19T02:41:01.535Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:41:01.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:41:01.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:41:01.808Z] Configure a credential helper to remove this warning. See [2023-09-19T02:41:01.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:41:01.808Z] [2023-09-19T02:41:01.808Z] Login Succeeded [2023-09-19T02:41:01.808Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:41:02.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:41:02.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:41:02.081Z] Configure a credential helper to remove this warning. See [2023-09-19T02:41:02.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:41:02.081Z] [2023-09-19T02:41:02.081Z] Login Succeeded [2023-09-19T02:41:02.081Z] docker.io [2023-09-19T02:41:02.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:41:02.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:41:02.617Z] Configure a credential helper to remove this warning. See [2023-09-19T02:41:02.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:41:02.617Z] [2023-09-19T02:41:02.617Z] Login Succeeded [2023-09-19T02:41:02.617Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:41:02.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T02:41:03.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:41:03.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:41:03.230Z] ========================================================= [2023-09-19T02:41:03.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T02:41:03.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:41:03.741Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T02:41:04.009Z] Sending build context to Docker daemon 14.21MB [2023-09-19T02:41:04.009Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:41:04.009Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-19T02:41:04.276Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T02:41:04.276Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T02:41:04.276Z] 5d54e960e981: Pulling fs layer [2023-09-19T02:41:04.276Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T02:41:04.276Z] f0e02332f6b5: Pulling fs layer [2023-09-19T02:41:04.276Z] 66412af1f25a: Pulling fs layer [2023-09-19T02:41:04.276Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T02:41:04.276Z] 9a37bb91b891: Pulling fs layer [2023-09-19T02:41:04.276Z] a29adfc67d43: Pulling fs layer [2023-09-19T02:41:04.276Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T02:41:04.276Z] f0e02332f6b5: Waiting [2023-09-19T02:41:04.276Z] 66412af1f25a: Waiting [2023-09-19T02:41:04.276Z] a29adfc67d43: Waiting [2023-09-19T02:41:04.276Z] 1baf3a5c0e64: Waiting [2023-09-19T02:41:04.276Z] 9a37bb91b891: Waiting [2023-09-19T02:41:04.276Z] d5de9f91c1a4: Waiting [2023-09-19T02:41:04.276Z] 5d54e960e981: Download complete [2023-09-19T02:41:04.276Z] f0e02332f6b5: Verifying Checksum [2023-09-19T02:41:04.276Z] f0e02332f6b5: Download complete [2023-09-19T02:41:04.276Z] 66412af1f25a: Verifying Checksum [2023-09-19T02:41:04.276Z] 66412af1f25a: Download complete [2023-09-19T02:41:04.545Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T02:41:04.545Z] 9fda8d8052c6: Download complete [2023-09-19T02:41:04.825Z] 9a37bb91b891: Verifying Checksum [2023-09-19T02:41:04.825Z] 9a37bb91b891: Download complete [2023-09-19T02:41:05.426Z] 9fda8d8052c6: Pull complete [2023-09-19T02:41:05.426Z] a29adfc67d43: Verifying Checksum [2023-09-19T02:41:05.426Z] a29adfc67d43: Download complete [2023-09-19T02:41:06.015Z] 5d54e960e981: Pull complete [2023-09-19T02:41:06.284Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T02:41:06.284Z] d5de9f91c1a4: Download complete [2023-09-19T02:41:06.284Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T02:41:06.285Z] c4a7e357bf2a: Download complete [2023-09-19T02:41:07.251Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T02:41:07.251Z] 1baf3a5c0e64: Download complete [2023-09-19T02:41:17.331Z] c4a7e357bf2a: Pull complete [2023-09-19T02:41:17.331Z] f0e02332f6b5: Pull complete [2023-09-19T02:41:17.331Z] 66412af1f25a: Pull complete [2023-09-19T02:41:22.679Z] 1baf3a5c0e64: Pull complete [2023-09-19T02:41:26.938Z] 9a37bb91b891: Pull complete [2023-09-19T02:41:27.897Z] a29adfc67d43: Pull complete [2023-09-19T02:41:29.309Z] d5de9f91c1a4: Pull complete [2023-09-19T02:41:29.309Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T02:41:29.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T02:41:29.309Z] ---> 746ca1b523b5 [2023-09-19T02:41:29.309Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:41:31.255Z] ---> Running in f580a893f301 [2023-09-19T02:41:31.522Z] Removing intermediate container f580a893f301 [2023-09-19T02:41:31.522Z] ---> 351d2226559e [2023-09-19T02:41:31.522Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:41:31.793Z] ---> Running in 10e864de1128 [2023-09-19T02:41:32.060Z] Removing intermediate container 10e864de1128 [2023-09-19T02:41:32.060Z] ---> b68d53e4f12b [2023-09-19T02:41:32.060Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-19T02:41:32.060Z] ---> Running in 600ed66ddc31 [2023-09-19T02:41:32.327Z] Removing intermediate container 600ed66ddc31 [2023-09-19T02:41:32.328Z] ---> 2cc819db06bd [2023-09-19T02:41:32.328Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:41:32.328Z] ---> Running in 36955f2207fc [2023-09-19T02:41:32.915Z] Removing intermediate container 36955f2207fc [2023-09-19T02:41:32.915Z] ---> f5622c4a3dd6 [2023-09-19T02:41:32.915Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-19T02:41:32.915Z] ---> Running in 6cdd95ddaf41 [2023-09-19T02:41:33.188Z] Removing intermediate container 6cdd95ddaf41 [2023-09-19T02:41:33.188Z] ---> 7b9cc064f4fc [2023-09-19T02:41:33.188Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:41:33.188Z] ---> Running in a1730fa54148 [2023-09-19T02:41:34.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:41:34.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:41:36.298Z] OK: 267 MiB in 56 packages [2023-09-19T02:41:37.283Z] Removing intermediate container a1730fa54148 [2023-09-19T02:41:37.283Z] ---> e63d4b8d8015 [2023-09-19T02:41:37.283Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-19T02:41:37.284Z] ---> Running in cdb191c95c6d [2023-09-19T02:41:37.559Z] Removing intermediate container cdb191c95c6d [2023-09-19T02:41:37.559Z] ---> c8219670d713 [2023-09-19T02:41:37.559Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-19T02:41:38.146Z] ---> 0897737261db [2023-09-19T02:41:38.146Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:41:38.146Z] ---> Running in f0700e74a61a [2023-09-19T02:42:46.045Z] Removing intermediate container f0700e74a61a [2023-09-19T02:42:46.045Z] ---> 06944a613165 [2023-09-19T02:42:46.045Z] Step 12/13 : COPY . . [2023-09-19T02:42:50.303Z] ---> 9c087bd9828e [2023-09-19T02:42:50.303Z] Step 13/13 : RUN ${MAKE} [2023-09-19T02:42:50.303Z] ---> Running in 7dcff050b539 [2023-09-19T02:42:50.891Z] noop [2023-09-19T02:42:51.861Z] Removing intermediate container 7dcff050b539 [2023-09-19T02:42:51.861Z] ---> baf1cab4dfe6 [2023-09-19T02:42:51.861Z] Successfully built baf1cab4dfe6 [2023-09-19T02:42:51.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:42:52.358Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T02:42:52.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:42:52.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-6456 does not seem to be running inside a container [2023-09-19T02:42:52.763Z] $ 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 [2023-09-19T02:42:54.090Z] $ docker top f356f3a744695c461a4a85a187f948bafb9b72d4ead5c79067ca642406bb8411 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:42:54.986Z] + go version [2023-09-19T02:42:54.986Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T02:42:55.021Z] $ docker stop --time=1 f356f3a744695c461a4a85a187f948bafb9b72d4ead5c79067ca642406bb8411 [2023-09-19T02:42:56.697Z] $ docker rm -f --volumes f356f3a744695c461a4a85a187f948bafb9b72d4ead5c79067ca642406bb8411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:42:57.630Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T02:42:57.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:42:57.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-6456 does not seem to be running inside a container [2023-09-19T02:42:57.984Z] $ 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 [2023-09-19T02:42:59.253Z] $ docker top 01499e433666de24faaa726e2050e254aee85e4742c1183c9b7f84e7e2744421 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:43:00.151Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T02:43:00.857Z] + make test [2023-09-19T02:43:00.857Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T02:43:05.119Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-19T02:45:11.842Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-19T02:45:11.842Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-19T02:45:11.842Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.252s coverage: 31.5% of statements [2023-09-19T02:45:30.100Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.926s coverage: 86.5% of statements [2023-09-19T02:45:30.100Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T02:45:30.100Z] go vet ./... [2023-09-19T02:46:08.988Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T02:46:08.988Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T02:46:08.988Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T02:46:09.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T02:46:09.056Z] $ docker stop --time=1 01499e433666de24faaa726e2050e254aee85e4742c1183c9b7f84e7e2744421 [2023-09-19T02:46:14.747Z] $ docker rm -f --volumes 01499e433666de24faaa726e2050e254aee85e4742c1183c9b7f84e7e2744421 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:46:16.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T02:46:16.132Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T02:46:16.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:46:17.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T02:46:17.745Z] + ls -al . [2023-09-19T02:46:17.745Z] total 240 [2023-09-19T02:46:17.745Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:43 . [2023-09-19T02:46:17.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:40 .. [2023-09-19T02:46:17.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:40 .git [2023-09-19T02:46:17.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:40 .github [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 19 02:40 .gitignore [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 02:40 .golangci.yml [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 19 02:40 Attribution.txt [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 19 02:40 CHANGELOG.md [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 19 02:40 Dockerfile [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:40 GOVERNANCE.md [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 19 02:40 Jenkinsfile [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 02:40 LICENSE [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 19 02:40 Makefile [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 02:40 OWNERS.md [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 19 02:40 README.md [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 02:36 VERSION [2023-09-19T02:46:17.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:40 bin [2023-09-19T02:46:17.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:40 cmd [2023-09-19T02:46:17.745Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 19 02:45 coverage.out [2023-09-19T02:46:17.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:40 doc [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 19 02:40 go.mod [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 19 02:40 go.sum [2023-09-19T02:46:17.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:40 internal [2023-09-19T02:46:17.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:40 snap [2023-09-19T02:46:17.745Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 02:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:18.173Z] + 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=95be5631d7855413541c364ff3c9cb1dddd23cfa --label arch=arm64 --label version=0.0.0 . [2023-09-19T02:46:18.761Z] Sending build context to Docker daemon 14.29MB [2023-09-19T02:46:18.761Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:46:18.761Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-19T02:46:18.761Z] ---> baf1cab4dfe6 [2023-09-19T02:46:18.762Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:46:18.762Z] ---> Running in 9a80c241f13d [2023-09-19T02:46:19.033Z] Removing intermediate container 9a80c241f13d [2023-09-19T02:46:19.033Z] ---> ce43f1f0eac0 [2023-09-19T02:46:19.033Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:46:19.303Z] ---> Running in 258db4f42cbf [2023-09-19T02:46:19.571Z] Removing intermediate container 258db4f42cbf [2023-09-19T02:46:19.571Z] ---> 50cbb68ec7ce [2023-09-19T02:46:19.571Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-19T02:46:19.571Z] ---> Running in 2b57cb7f4e98 [2023-09-19T02:46:19.841Z] Removing intermediate container 2b57cb7f4e98 [2023-09-19T02:46:19.841Z] ---> 430bdf981faf [2023-09-19T02:46:19.841Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:46:19.841Z] ---> Running in d42f3f408269 [2023-09-19T02:46:20.112Z] Removing intermediate container d42f3f408269 [2023-09-19T02:46:20.112Z] ---> 5db83ea64fa9 [2023-09-19T02:46:20.112Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-19T02:46:20.386Z] ---> Running in 98162ac02648 [2023-09-19T02:46:20.667Z] Removing intermediate container 98162ac02648 [2023-09-19T02:46:20.667Z] ---> 9cc3938144e0 [2023-09-19T02:46:20.667Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:46:20.667Z] ---> Running in 8e134d8a763e [2023-09-19T02:46:21.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:46:22.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:46:23.179Z] OK: 267 MiB in 56 packages [2023-09-19T02:46:24.140Z] Removing intermediate container 8e134d8a763e [2023-09-19T02:46:24.140Z] ---> e42b934b6db3 [2023-09-19T02:46:24.140Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-19T02:46:24.140Z] ---> Running in 90fecf196f34 [2023-09-19T02:46:24.409Z] Removing intermediate container 90fecf196f34 [2023-09-19T02:46:24.409Z] ---> e0fc7b193d7d [2023-09-19T02:46:24.409Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-19T02:46:27.755Z] ---> a295ab419d00 [2023-09-19T02:46:27.756Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:46:27.756Z] ---> Running in 6a4246b5fa46 [2023-09-19T02:46:29.699Z] Removing intermediate container 6a4246b5fa46 [2023-09-19T02:46:29.699Z] ---> 8462410a885d [2023-09-19T02:46:29.699Z] Step 12/26 : COPY . . [2023-09-19T02:46:31.119Z] ---> d7473eb4d8ce [2023-09-19T02:46:31.119Z] Step 13/26 : RUN ${MAKE} [2023-09-19T02:46:31.119Z] ---> Running in bd0ef7c43476 [2023-09-19T02:46:32.085Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-19T02:48:24.001Z] Removing intermediate container bd0ef7c43476 [2023-09-19T02:48:24.001Z] ---> f8731634d65f [2023-09-19T02:48:24.001Z] Step 14/26 : FROM alpine:3.18 [2023-09-19T02:48:24.615Z] 3.18: Pulling from library/alpine [2023-09-19T02:48:24.615Z] 9fda8d8052c6: Already exists [2023-09-19T02:48:24.615Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T02:48:24.615Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T02:48:24.615Z] ---> f6648c04cd6c [2023-09-19T02:48:24.615Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-19T02:48:24.893Z] ---> Running in 81303c8670e3 [2023-09-19T02:48:25.170Z] Removing intermediate container 81303c8670e3 [2023-09-19T02:48:25.170Z] ---> 29ba78694b3f [2023-09-19T02:48:25.170Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-19T02:48:25.170Z] ---> Running in 98c8c848e9e2 [2023-09-19T02:48:26.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:48:26.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:48:27.679Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T02:48:27.679Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:48:27.679Z] OK: 8 MiB in 16 packages [2023-09-19T02:48:29.087Z] Removing intermediate container 98c8c848e9e2 [2023-09-19T02:48:29.087Z] ---> c31752a61681 [2023-09-19T02:48:29.087Z] Step 17/26 : WORKDIR / [2023-09-19T02:48:29.087Z] ---> Running in 60f29d267837 [2023-09-19T02:48:29.353Z] Removing intermediate container 60f29d267837 [2023-09-19T02:48:29.353Z] ---> d2cb09d88095 [2023-09-19T02:48:29.353Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-19T02:48:30.761Z] ---> f35416999656 [2023-09-19T02:48:30.761Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-19T02:48:31.035Z] ---> 7df6684d733f [2023-09-19T02:48:31.036Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-19T02:48:31.620Z] ---> a95a1a01eaf0 [2023-09-19T02:48:31.620Z] Step 21/26 : EXPOSE 59984 [2023-09-19T02:48:31.620Z] ---> Running in 3c52f8d180f6 [2023-09-19T02:48:31.898Z] Removing intermediate container 3c52f8d180f6 [2023-09-19T02:48:31.899Z] ---> f085d6f851b3 [2023-09-19T02:48:31.899Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-19T02:48:32.165Z] ---> Running in 787e7a4c54f0 [2023-09-19T02:48:32.432Z] Removing intermediate container 787e7a4c54f0 [2023-09-19T02:48:32.432Z] ---> 5e550546e9b9 [2023-09-19T02:48:32.432Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T02:48:32.432Z] ---> Running in 94d2a77cae7a [2023-09-19T02:48:32.698Z] Removing intermediate container 94d2a77cae7a [2023-09-19T02:48:32.698Z] ---> 1ef163f9721b [2023-09-19T02:48:32.698Z] Step 24/26 : LABEL arch=arm64 [2023-09-19T02:48:32.699Z] ---> Running in 635d7118a46e [2023-09-19T02:48:32.966Z] Removing intermediate container 635d7118a46e [2023-09-19T02:48:32.966Z] ---> 25c8370d0cdf [2023-09-19T02:48:32.966Z] Step 25/26 : LABEL git_sha=95be5631d7855413541c364ff3c9cb1dddd23cfa [2023-09-19T02:48:33.236Z] ---> Running in 6ee5fcb34b2d [2023-09-19T02:48:33.503Z] Removing intermediate container 6ee5fcb34b2d [2023-09-19T02:48:33.503Z] ---> fec25ea949c0 [2023-09-19T02:48:33.503Z] Step 26/26 : LABEL version=0.0.0 [2023-09-19T02:48:33.503Z] ---> Running in 99492f2625a1 [2023-09-19T02:48:33.771Z] Removing intermediate container 99492f2625a1 [2023-09-19T02:48:33.771Z] ---> 7794ca6be679 [2023-09-19T02:48:33.771Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T02:48:33.771Z] Successfully built 7794ca6be679 [2023-09-19T02:48:33.771Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:48:34.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:48:34.604Z] [2023-09-19T02:48:34.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:48:35.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:48:35.011Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T02:48:35.011Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T02:48:35.011Z] 04944245beec: Pulling fs layer [2023-09-19T02:48:35.011Z] 699f458cf7ca: Pulling fs layer [2023-09-19T02:48:35.011Z] 765212b225bb: Pulling fs layer [2023-09-19T02:48:35.011Z] f23df028b6ca: Pulling fs layer [2023-09-19T02:48:35.011Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T02:48:35.011Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T02:48:35.011Z] f23df028b6ca: Waiting [2023-09-19T02:48:35.011Z] d65c8cfc05b1: Waiting [2023-09-19T02:48:35.011Z] 2437ff75d9bd: Waiting [2023-09-19T02:48:35.011Z] 765212b225bb: Waiting [2023-09-19T02:48:35.282Z] 04944245beec: Download complete [2023-09-19T02:48:35.282Z] 765212b225bb: Verifying Checksum [2023-09-19T02:48:35.282Z] 765212b225bb: Download complete [2023-09-19T02:48:35.282Z] f23df028b6ca: Verifying Checksum [2023-09-19T02:48:35.282Z] f23df028b6ca: Download complete [2023-09-19T02:48:35.282Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T02:48:35.282Z] d65c8cfc05b1: Download complete [2023-09-19T02:48:35.549Z] 699f458cf7ca: Verifying Checksum [2023-09-19T02:48:35.549Z] 699f458cf7ca: Download complete [2023-09-19T02:48:35.815Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T02:48:35.815Z] 8998bd30e6a1: Download complete [2023-09-19T02:48:37.752Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T02:48:37.752Z] 2437ff75d9bd: Download complete [2023-09-19T02:48:42.001Z] 8998bd30e6a1: Pull complete [2023-09-19T02:48:42.268Z] 04944245beec: Pull complete [2023-09-19T02:48:43.797Z] 699f458cf7ca: Pull complete [2023-09-19T02:48:43.797Z] 765212b225bb: Pull complete [2023-09-19T02:48:44.757Z] f23df028b6ca: Pull complete [2023-09-19T02:48:44.757Z] d65c8cfc05b1: Pull complete [2023-09-19T02:48:59.758Z] 2437ff75d9bd: Pull complete [2023-09-19T02:48:59.759Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T02:48:59.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:48:59.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:49:00.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-6456 does not seem to be running inside a container [2023-09-19T02:49:00.153Z] $ 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 [2023-09-19T02:49:02.911Z] $ docker top f4d62ec1abc223d4d73f685e24004b8e9c5f5634e899aba5b0ed39a816c23ad8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:03.811Z] ---> job-cost.sh [2023-09-19T02:49:03.811Z] lf-activate-venv: SKIPPING [2023-09-19T02:49:03.811Z] INFO: No Stack... [2023-09-19T02:49:04.078Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T02:49:05.035Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T02:49:05.378Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-09-19T02:49:05.643Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T02:49:05.723Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [2023-09-19T02:49:05.728Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] did not exist. Created. [2023-09-19T02:49:05.728Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T02:49:06.457Z] /w/workspace/device-onvif-camera/1@tmp/durable-f8980534/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T02:49:07.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T02:49:07.157Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T02:49:07.217Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T02:49:07.237Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T02:49:07.317Z] $ docker stop --time=1 f4d62ec1abc223d4d73f685e24004b8e9c5f5634e899aba5b0ed39a816c23ad8 [2023-09-19T02:49:09.272Z] $ docker rm -f --volumes f4d62ec1abc223d4d73f685e24004b8e9c5f5634e899aba5b0ed39a816c23ad8 [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 [2023-09-19T02:49:10.283Z] provisioning config files... [2023-09-19T02:49:10.291Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-385@tmp/config18205873912520874012tmp [Pipeline] { [Pipeline] sh [2023-09-19T02:49:10.621Z] + set +x [2023-09-19T02:49:10.621Z] + bash -s -- [2023-09-19T02:49:10.621Z] + curl -s https://codecov.io/bash [2023-09-19T02:49:10.621Z] [2023-09-19T02:49:10.621Z] _____ _ [2023-09-19T02:49:10.621Z] / ____| | | [2023-09-19T02:49:10.621Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T02:49:10.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T02:49:10.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T02:49:10.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T02:49:10.621Z] Bash-1.0.6 [2023-09-19T02:49:10.621Z] [2023-09-19T02:49:10.621Z] [2023-09-19T02:49:10.621Z] ==> git version 2.25.1 found [2023-09-19T02:49:10.621Z] ==> 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 [2023-09-19T02:49:10.621Z] Release-Date: 2020-01-08 [2023-09-19T02:49:10.621Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T02:49:10.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T02:49:10.621Z] ==> Jenkins CI detected. [2023-09-19T02:49:10.621Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-385 [2023-09-19T02:49:10.621Z] project root: . [2023-09-19T02:49:10.621Z] --> token set from env [2023-09-19T02:49:10.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T02:49:10.621Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T02:49:10.621Z] ==> Python coveragepy not found [2023-09-19T02:49:10.621Z] ==> Searching for coverage reports in: [2023-09-19T02:49:10.621Z] + . [2023-09-19T02:49:10.621Z] -> Found 1 reports [2023-09-19T02:49:10.621Z] ==> Detecting git/mercurial file structure [2023-09-19T02:49:10.621Z] ==> Reading reports [2023-09-19T02:49:10.621Z] + ./coverage.out bytes=78456 [2023-09-19T02:49:10.621Z] ==> Appending adjustments [2023-09-19T02:49:10.621Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T02:49:10.882Z] + Found adjustments [2023-09-19T02:49:10.882Z] ==> Gzipping contents [2023-09-19T02:49:10.882Z] 12K /tmp/codecov.cljn7J.gz [2023-09-19T02:49:10.882Z] ==> Uploading reports [2023-09-19T02:49:10.882Z] url: https://codecov.io [2023-09-19T02:49:10.882Z] query: branch=PR-385&commit=95be5631d7855413541c364ff3c9cb1dddd23cfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=385&job=&cmd_args= [2023-09-19T02:49:10.882Z] -> Pinging Codecov [2023-09-19T02:49:10.882Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-385&commit=95be5631d7855413541c364ff3c9cb1dddd23cfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=385&job=&cmd_args= [2023-09-19T02:49:11.142Z] -> Uploading to [2023-09-19T02:49:11.142Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/F29A59C45E3A92E06B3E522C9905F8EF/95be5631d7855413541c364ff3c9cb1dddd23cfa/501755d5-9c2e-41fa-ba8e-073083d9a2ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T024910Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10cb9dc87bff744c3e0750516187a038c91f9fa842381f74c98a678595ba36d6 [2023-09-19T02:49:11.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T02:49:11.142Z] Dload Upload Total Spent Left Speed [2023-09-19T02:49:11.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 51266 --:--:-- --:--:-- --:--:-- 51517 [2023-09-19T02:49:11.409Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/95be5631d7855413541c364ff3c9cb1dddd23cfa [Pipeline] } [2023-09-19T02:49:11.437Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-19T02:49:13.227Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-385/archives ] [2023-09-19T02:49:13.227Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-385/archives [2023-09-19T02:49:13.227Z] total 16 [2023-09-19T02:49:13.227Z] drwxr-xr-x 3 root root 4096 Sep 19 02:39 . [2023-09-19T02:49:13.227Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:39 .. [2023-09-19T02:49:13.227Z] drwxr-xr-x 2 root root 4096 Sep 19 02:39 cost [2023-09-19T02:49:13.227Z] -rw-r--r-- 1 root root 91 Sep 19 02:39 cost.csv [2023-09-19T02:49:13.227Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-385/archives [2023-09-19T02:49:13.227Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-385/archives [2023-09-19T02:49:13.227Z] total 16 [2023-09-19T02:49:13.227Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:39 . [2023-09-19T02:49:13.227Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:39 .. [2023-09-19T02:49:13.227Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:39 cost [2023-09-19T02:49:13.227Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 19 02:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:13.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:14.455Z] ---> package-listing.sh [2023-09-19T02:49:14.455Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T02:49:14.455Z] ++ facter osfamily [2023-09-19T02:49:14.716Z] + OS_FAMILY=debian [2023-09-19T02:49:14.716Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-385 [2023-09-19T02:49:14.716Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T02:49:14.716Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T02:49:14.716Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T02:49:14.716Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T02:49:14.716Z] + '[' /w/workspace/undry_device-onvif-camera_PR-385 ']' [2023-09-19T02:49:14.716Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T02:49:14.716Z] + case "${OS_FAMILY}" in [2023-09-19T02:49:14.716Z] + dpkg -l [2023-09-19T02:49:14.716Z] + grep '^ii' [2023-09-19T02:49:14.716Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T02:49:14.716Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T02:49:14.716Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T02:49:14.716Z] + '[' /w/workspace/undry_device-onvif-camera_PR-385 ']' [2023-09-19T02:49:14.716Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-385/archives/ [2023-09-19T02:49:14.716Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-385/archives/ [Pipeline] echo [2023-09-19T02:49:14.752Z] 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T02:49:15.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:49:15.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:49:15.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:49:15.846Z] prd-ubuntu20.04-docker-8c-8g-6452 does not seem to be running inside a container [2023-09-19T02:49:15.887Z] $ 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-385/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-385 -v /w/workspace/undry_device-onvif-camera_PR-385:/w/workspace/undry_device-onvif-camera_PR-385:rw,z -v /w/workspace/undry_device-onvif-camera_PR-385@tmp:/w/workspace/undry_device-onvif-camera_PR-385@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 [2023-09-19T02:49:16.131Z] $ docker top 7abcdb9f41f103cf95d6090df9f6778a905e9e1178643810aca637478ff8760a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:49:16.526Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T02:49:16.837Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T02:49:17.149Z] + ls /var/log/sa-host [2023-09-19T02:49:17.149Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:49:17.286Z] provisioning config files... [2023-09-19T02:49:17.296Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-385@tmp/config5606257281299555294tmp [Pipeline] { [Pipeline] echo [2023-09-19T02:49:17.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:17.668Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T02:49:17.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:18.102Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T02:49:18.136Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:18.460Z] ---> sudo-logs.sh [2023-09-19T02:49:18.461Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T02:49:18.552Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:18.862Z] ---> job-cost.sh [2023-09-19T02:49:18.862Z] lf-activate-venv: SKIPPING [2023-09-19T02:49:18.862Z] DEBUG: total: 0.2199999988079071 [2023-09-19T02:49:18.862Z] INFO: Retrieving Stack Cost... [2023-09-19T02:49:19.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T02:49:19.691Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T02:49:19.727Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:49:20.038Z] ---> logs-deploy.sh [2023-09-19T02:49:20.038Z] lf-activate-venv: SKIPPING [2023-09-19T02:49:20.038Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-385/1 [2023-09-19T02:49:20.038Z] INFO: archiving workspace using pattern(s): [2023-09-19T02:49:20.977Z] Archives upload complete. [2023-09-19T02:49:20.977Z] INFO: archiving logs to Nexus