Pull request #409 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from ae9a3bbec71a13ec815b24444948b3cc54e7f54c+52e219e200aa3f0791b8f147aa403b803b9db216 (15cba9cee505d0916ae18fee7d797122bb840bbb) 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-ssh3263393883424828271.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5738659167611592987.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-409/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-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3861254395577125954.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-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12186027272238210662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh1344392340808298202.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-409/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-409/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh949326153805505564.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-18109’ Running on prd-ubuntu20.04-docker-8c-8g-18112 in /w/workspace/undry_device-onvif-camera_PR-409 [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-409 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit ae9a3bbec71a13ec815b24444948b3cc54e7f54c Merge succeeded, producing ae9a3bbec71a13ec815b24444948b3cc54e7f54c Checking out Revision ae9a3bbec71a13ec815b24444948b3cc54e7f54c (PR-409) > git config core.sparsecheckout # timeout=10 > git checkout -f ae9a3bbec71a13ec815b24444948b3cc54e7f54c # 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 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae9a3bbec71a13ec815b24444948b3cc54e7f54c # timeout=10 Commit message: "docs: Update swagger version to 3.1.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T16:43:48.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T16:43:48.790Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T16:43:48.893Z] ========================================================= [2023-11-15T16:43:48.893Z] EdgeX Global Pipelines Version Info [2023-11-15T16:43:48.893Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:43:50.019Z] ------------------- [2023-11-15T16:43:50.019Z] stable info: [2023-11-15T16:43:50.019Z] ------------------- [2023-11-15T16:43:50.019Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T16:43:50.019Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T16:43:50.019Z] Message: update stable to v1.0.257 [2023-11-15T16:43:50.283Z] ------------------- [2023-11-15T16:43:50.283Z] experimental info: [2023-11-15T16:43:50.283Z] ------------------- [2023-11-15T16:43:50.283Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T16:43:50.283Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T16:43:50.283Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T16:43:50.570Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-15T16:43:50.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-15T16:43:50.661Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T16:43:50.701Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T16:43:50.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T16:43:50.779Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T16:43:50.822Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T16:43:50.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T16:43:50.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T16:43:50.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T16:43:50.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T16:43:51.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-15T16:43:51.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T16:43:51.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T16:43:51.156Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T16:43:51.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T16:43:51.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T16:43:51.283Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T16:43:51.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T16:43:51.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T16:43:51.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-15T16:43:51.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-15T16:43:51.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T16:43:51.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T16:43:51.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T16:43:51.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T16:43:51.785Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T16:43:51.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-409 [Pipeline] echo [2023-11-15T16:43:51.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-409 [Pipeline] echo [2023-11-15T16:43:51.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-409 [Pipeline] echo [2023-11-15T16:43:51.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae9a3bbec71a13ec815b24444948b3cc54e7f54c [Pipeline] echo [2023-11-15T16:43:51.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae9a3bb [Pipeline] echo [2023-11-15T16:43:52.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T16:43:52.159Z] provisioning config files... [2023-11-15T16:43:52.174Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config17262698106492321334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:43:52.520Z] ---> docker-login.sh [2023-11-15T16:43:52.520Z] nexus3.edgexfoundry.org:10001 [2023-11-15T16:43:53.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:43:54.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:43:54.165Z] Configure a credential helper to remove this warning. See [2023-11-15T16:43:54.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:43:54.165Z] [2023-11-15T16:43:54.165Z] Login Succeeded [2023-11-15T16:43:54.165Z] nexus3.edgexfoundry.org:10002 [2023-11-15T16:43:54.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:43:54.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:43:54.165Z] Configure a credential helper to remove this warning. See [2023-11-15T16:43:54.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:43:54.165Z] [2023-11-15T16:43:54.165Z] Login Succeeded [2023-11-15T16:43:54.165Z] nexus3.edgexfoundry.org:10003 [2023-11-15T16:43:54.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:43:54.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:43:54.165Z] Configure a credential helper to remove this warning. See [2023-11-15T16:43:54.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:43:54.165Z] [2023-11-15T16:43:54.165Z] Login Succeeded [2023-11-15T16:43:54.165Z] nexus3.edgexfoundry.org:10004 [2023-11-15T16:43:54.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:43:54.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:43:54.426Z] Configure a credential helper to remove this warning. See [2023-11-15T16:43:54.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:43:54.426Z] [2023-11-15T16:43:54.426Z] Login Succeeded [2023-11-15T16:43:54.426Z] docker.io [2023-11-15T16:43:54.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:43:54.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:43:54.686Z] Configure a credential helper to remove this warning. See [2023-11-15T16:43:54.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:43:54.686Z] [2023-11-15T16:43:54.686Z] Login Succeeded [2023-11-15T16:43:54.686Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T16:43:54.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T16:43:55.412Z] + git rev-list -1 --merges ae9a3bbec71a13ec815b24444948b3cc54e7f54c~1..ae9a3bbec71a13ec815b24444948b3cc54e7f54c [Pipeline] echo [2023-11-15T16:43:55.479Z] -----------> git rev-list -1 --merges ae9a3bbec71a13ec815b24444948b3cc54e7f54c~1..ae9a3bbec71a13ec815b24444948b3cc54e7f54c ae9a3bbec71a13ec815b24444948b3cc54e7f54c [false] [Pipeline] sh [2023-11-15T16:43:55.788Z] + git log --format=format:%s -1 ae9a3bbec71a13ec815b24444948b3cc54e7f54c [Pipeline] echo [2023-11-15T16:43:55.826Z] ========================================================= [2023-11-15T16:43:55.826Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T16:43:55.827Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T16:43:56.273Z] + git log --format=format:%s -1 ae9a3bbec71a13ec815b24444948b3cc54e7f54c [Pipeline] echo [2023-11-15T16:43:56.313Z] [semverPrep] GIT_COMMIT: ae9a3bbec71a13ec815b24444948b3cc54e7f54c, Commit Message: docs: Update swagger version to 3.1.0 [Pipeline] echo [2023-11-15T16:43:56.345Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T16:43:56.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T16:43:56.747Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T16:43:56.747Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T16:43:56.747Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T16:43:56.747Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T16:43:56.747Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T16:43:56.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:43:57.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:43:57.238Z] [2023-11-15T16:43:57.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:43:57.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:43:57.882Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T16:43:57.882Z] b85a868b505f: Pulling fs layer [2023-11-15T16:43:57.882Z] e2be974225ed: Pulling fs layer [2023-11-15T16:43:57.882Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T16:43:57.882Z] 988bab9f4d93: Pulling fs layer [2023-11-15T16:43:57.882Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T16:43:57.882Z] eaf3925da568: Pulling fs layer [2023-11-15T16:43:57.882Z] bab4dde63d76: Pulling fs layer [2023-11-15T16:43:57.882Z] bde34c3a00c8: Pulling fs layer [2023-11-15T16:43:57.882Z] b352a97aabf1: Pulling fs layer [2023-11-15T16:43:57.882Z] 4872d77fe225: Pulling fs layer [2023-11-15T16:43:57.882Z] 5851b861e8e6: Pulling fs layer [2023-11-15T16:43:57.882Z] 988bab9f4d93: Waiting [2023-11-15T16:43:57.882Z] 1469e6f7b9e6: Waiting [2023-11-15T16:43:57.882Z] eaf3925da568: Waiting [2023-11-15T16:43:57.882Z] bab4dde63d76: Waiting [2023-11-15T16:43:57.882Z] bde34c3a00c8: Waiting [2023-11-15T16:43:57.882Z] b352a97aabf1: Waiting [2023-11-15T16:43:57.882Z] 5851b861e8e6: Waiting [2023-11-15T16:43:57.882Z] e2be974225ed: Verifying Checksum [2023-11-15T16:43:57.882Z] e2be974225ed: Download complete [2023-11-15T16:43:57.882Z] 988bab9f4d93: Download complete [2023-11-15T16:43:58.142Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T16:43:58.142Z] 1469e6f7b9e6: Download complete [2023-11-15T16:43:58.142Z] eaf3925da568: Verifying Checksum [2023-11-15T16:43:58.142Z] eaf3925da568: Download complete [2023-11-15T16:43:58.142Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T16:43:58.142Z] 339a4e72a1f5: Download complete [2023-11-15T16:43:58.142Z] bde34c3a00c8: Download complete [2023-11-15T16:43:58.142Z] b352a97aabf1: Verifying Checksum [2023-11-15T16:43:58.142Z] b352a97aabf1: Download complete [2023-11-15T16:43:58.142Z] 4872d77fe225: Verifying Checksum [2023-11-15T16:43:58.142Z] 4872d77fe225: Download complete [2023-11-15T16:43:58.142Z] 5851b861e8e6: Verifying Checksum [2023-11-15T16:43:58.142Z] 5851b861e8e6: Download complete [2023-11-15T16:43:58.142Z] b85a868b505f: Verifying Checksum [2023-11-15T16:43:58.142Z] b85a868b505f: Download complete [2023-11-15T16:43:58.402Z] bab4dde63d76: Verifying Checksum [2023-11-15T16:43:58.402Z] bab4dde63d76: Download complete [2023-11-15T16:43:59.781Z] b85a868b505f: Pull complete [2023-11-15T16:43:59.781Z] e2be974225ed: Pull complete [2023-11-15T16:44:00.042Z] 339a4e72a1f5: Pull complete [2023-11-15T16:44:00.042Z] 988bab9f4d93: Pull complete [2023-11-15T16:44:00.610Z] 1469e6f7b9e6: Pull complete [2023-11-15T16:44:00.610Z] eaf3925da568: Pull complete [2023-11-15T16:44:01.992Z] bab4dde63d76: Pull complete [2023-11-15T16:44:01.992Z] bde34c3a00c8: Pull complete [2023-11-15T16:44:02.252Z] b352a97aabf1: Pull complete [2023-11-15T16:44:02.252Z] 4872d77fe225: Pull complete [2023-11-15T16:44:02.252Z] 5851b861e8e6: Pull complete [2023-11-15T16:44:02.252Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T16:44:02.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:44:02.252Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:44:02.488Z] prd-ubuntu20.04-docker-8c-8g-18112 does not seem to be running inside a container [2023-11-15T16:44:02.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@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-devops/py-git-semver:0.1.4 cat [2023-11-15T16:44:07.403Z] $ docker top c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c -eo pid,comm [2023-11-15T16:44:07.450Z] 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-11-15T16:44:07.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T16:44:07.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T16:44:07.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T16:44:07.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T16:44:07.724Z] $ docker exec c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c ssh-agent [2023-11-15T16:44:07.822Z] SSH_AUTH_SOCK=/tmp/ssh-lSBXIboNiajS/agent.32 [2023-11-15T16:44:07.822Z] SSH_AGENT_PID=38 [2023-11-15T16:44:07.828Z] Running ssh-add (command line suppressed) [2023-11-15T16:44:07.931Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_16124479060045725536.key (/w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_16124479060045725536.key) [2023-11-15T16:44:07.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T16:44:08.283Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T16:44:08.315Z] $ docker exec --env ******** --env ******** c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c ssh-agent -k [2023-11-15T16:44:08.419Z] unset SSH_AUTH_SOCK; [2023-11-15T16:44:08.419Z] unset SSH_AGENT_PID; [2023-11-15T16:44:08.419Z] echo Agent pid 38 killed; [2023-11-15T16:44:08.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T16:44:08.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T16:44:08.515Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T16:44:08.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T16:44:08.635Z] $ docker exec c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c ssh-agent [2023-11-15T16:44:08.732Z] SSH_AUTH_SOCK=/tmp/ssh-8u2fO0G7dXsM/agent.71 [2023-11-15T16:44:08.732Z] SSH_AGENT_PID=77 [2023-11-15T16:44:08.736Z] Running ssh-add (command line suppressed) [2023-11-15T16:44:08.845Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_82392490257614546.key (/w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_82392490257614546.key) [2023-11-15T16:44:08.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T16:44:09.182Z] + git semver init [2023-11-15T16:44:09.440Z] 2023-11-15 16:44:09,368 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T16:44:09.440Z] 2023-11-15 16:44:09,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-409/.semver [2023-11-15T16:44:09.440Z] 2023-11-15 16:44:09,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-409/.semver [2023-11-15T16:44:09.441Z] 2023-11-15 16:44:09,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-409/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-409, universal_newlines=False, shell=None, istream=None) [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,390 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-409/.git/info/exclude [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,390 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 with force:False [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,391 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,396 [execute] INFO git cat-file --batch-check [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-409/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,403 [execute] INFO git cat-file --batch [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-409/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T16:44:10.824Z] 2023-11-15 16:44:10,409 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 [2023-11-15T16:44:10.824Z] 0.0.0 [Pipeline] } [2023-11-15T16:44:10.855Z] $ docker exec --env ******** --env ******** c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c ssh-agent -k [2023-11-15T16:44:10.948Z] unset SSH_AUTH_SOCK; [2023-11-15T16:44:10.949Z] unset SSH_AGENT_PID; [2023-11-15T16:44:10.949Z] echo Agent pid 77 killed; [2023-11-15T16:44:10.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T16:44:11.403Z] + git semver [Pipeline] } [2023-11-15T16:44:11.692Z] $ docker stop --time=1 c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c [2023-11-15T16:44:13.313Z] $ docker rm -f --volumes c7a0f5976ac86c422fe582b5f078407c1d7d4b065450a3e206d64e6ea95dcc0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T16:44:13.718Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T16:44:13.994Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T16:44:14.014Z] [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-11-15T16:44:14.631Z] provisioning config files... [2023-11-15T16:44:14.639Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config15098147104581316179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:44:14.995Z] ---> docker-login.sh [2023-11-15T16:44:14.995Z] nexus3.edgexfoundry.org:10001 [2023-11-15T16:44:14.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:44:14.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:44:14.995Z] Configure a credential helper to remove this warning. See [2023-11-15T16:44:14.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:44:14.995Z] [2023-11-15T16:44:14.995Z] Login Succeeded [2023-11-15T16:44:14.995Z] nexus3.edgexfoundry.org:10002 [2023-11-15T16:44:14.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:44:14.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:44:14.995Z] Configure a credential helper to remove this warning. See [2023-11-15T16:44:14.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:44:14.995Z] [2023-11-15T16:44:14.995Z] Login Succeeded [2023-11-15T16:44:14.995Z] nexus3.edgexfoundry.org:10003 [2023-11-15T16:44:15.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:44:15.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:44:15.255Z] Configure a credential helper to remove this warning. See [2023-11-15T16:44:15.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:44:15.255Z] [2023-11-15T16:44:15.255Z] Login Succeeded [2023-11-15T16:44:15.255Z] nexus3.edgexfoundry.org:10004 [2023-11-15T16:44:15.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:44:15.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:44:15.255Z] Configure a credential helper to remove this warning. See [2023-11-15T16:44:15.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:44:15.255Z] [2023-11-15T16:44:15.255Z] Login Succeeded [2023-11-15T16:44:15.255Z] docker.io [2023-11-15T16:44:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:44:15.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:44:15.515Z] Configure a credential helper to remove this warning. See [2023-11-15T16:44:15.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:44:15.515Z] [2023-11-15T16:44:15.515Z] Login Succeeded [2023-11-15T16:44:15.515Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T16:44:15.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T16:44:15.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:44:15.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:44:15.834Z] ========================================================= [2023-11-15T16:44:15.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-15T16:44:15.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:44:16.310Z] + 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-11-15T16:44:16.310Z] Sending build context to Docker daemon 21.79MB [2023-11-15T16:44:16.311Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T16:44:16.311Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T16:44:16.311Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-15T16:44:16.311Z] 7264a8db6415: Pulling fs layer [2023-11-15T16:44:16.311Z] c4d48a809fc2: Pulling fs layer [2023-11-15T16:44:16.311Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T16:44:16.311Z] ad3a456e5733: Pulling fs layer [2023-11-15T16:44:16.311Z] 69c7f0334f64: Pulling fs layer [2023-11-15T16:44:16.311Z] 1f1c1a5573a3: Pulling fs layer [2023-11-15T16:44:16.311Z] ce7588e14bc9: Pulling fs layer [2023-11-15T16:44:16.311Z] b5e4710f87ac: Pulling fs layer [2023-11-15T16:44:16.311Z] ad3a456e5733: Waiting [2023-11-15T16:44:16.311Z] 69c7f0334f64: Waiting [2023-11-15T16:44:16.311Z] b5e4710f87ac: Waiting [2023-11-15T16:44:16.311Z] 1f1c1a5573a3: Waiting [2023-11-15T16:44:16.571Z] c4d48a809fc2: Verifying Checksum [2023-11-15T16:44:16.571Z] c4d48a809fc2: Download complete [2023-11-15T16:44:16.571Z] ad3a456e5733: Download complete [2023-11-15T16:44:16.571Z] 69c7f0334f64: Download complete [2023-11-15T16:44:16.571Z] 7264a8db6415: Verifying Checksum [2023-11-15T16:44:16.571Z] 7264a8db6415: Download complete [2023-11-15T16:44:16.571Z] 1f1c1a5573a3: Verifying Checksum [2023-11-15T16:44:16.571Z] 1f1c1a5573a3: Download complete [2023-11-15T16:44:16.571Z] 7264a8db6415: Pull complete [2023-11-15T16:44:16.571Z] b5e4710f87ac: Verifying Checksum [2023-11-15T16:44:16.571Z] b5e4710f87ac: Download complete [2023-11-15T16:44:16.831Z] c4d48a809fc2: Pull complete [2023-11-15T16:44:16.831Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T16:44:16.831Z] 4f1c88b9dad5: Download complete [2023-11-15T16:44:17.400Z] ce7588e14bc9: Verifying Checksum [2023-11-15T16:44:17.400Z] ce7588e14bc9: Download complete [2023-11-15T16:44:19.928Z] 4f1c88b9dad5: Pull complete [2023-11-15T16:44:19.928Z] ad3a456e5733: Pull complete [2023-11-15T16:44:19.928Z] 69c7f0334f64: Pull complete [2023-11-15T16:44:20.186Z] 1f1c1a5573a3: Pull complete [2023-11-15T16:44:22.713Z] ce7588e14bc9: Pull complete [2023-11-15T16:44:22.973Z] b5e4710f87ac: Pull complete [2023-11-15T16:44:23.235Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-15T16:44:23.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-15T16:44:23.236Z] ---> 88b5674ff536 [2023-11-15T16:44:23.236Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T16:44:29.440Z] Still waiting to schedule task [2023-11-15T16:44:29.441Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18110’ [2023-11-15T16:44:41.374Z] ---> Running in 43f1a6ed7c77 [2023-11-15T16:44:41.374Z] Removing intermediate container 43f1a6ed7c77 [2023-11-15T16:44:41.374Z] ---> 811234e6c04d [2023-11-15T16:44:41.374Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T16:44:41.374Z] ---> Running in a0eba7e041a3 [2023-11-15T16:44:41.374Z] Removing intermediate container a0eba7e041a3 [2023-11-15T16:44:41.374Z] ---> af75d7255f21 [2023-11-15T16:44:41.374Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T16:44:41.374Z] ---> Running in b0913d7e54fc [2023-11-15T16:44:41.374Z] Removing intermediate container b0913d7e54fc [2023-11-15T16:44:41.374Z] ---> c596361e347a [2023-11-15T16:44:41.374Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T16:44:41.374Z] ---> Running in d3161dd0549c [2023-11-15T16:44:41.374Z] Removing intermediate container d3161dd0549c [2023-11-15T16:44:41.374Z] ---> 8c6ad0878581 [2023-11-15T16:44:41.374Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T16:44:41.374Z] ---> Running in 9d48e8dd7227 [2023-11-15T16:44:41.374Z] Removing intermediate container 9d48e8dd7227 [2023-11-15T16:44:41.374Z] ---> 00ec28f2a1d4 [2023-11-15T16:44:41.374Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T16:44:41.374Z] ---> Running in 8f7a5f642e52 [2023-11-15T16:44:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T16:44:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T16:44:41.375Z] OK: 264 MiB in 52 packages [2023-11-15T16:44:41.634Z] Removing intermediate container 8f7a5f642e52 [2023-11-15T16:44:41.634Z] ---> 64b4f3f98934 [2023-11-15T16:44:41.634Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T16:44:41.634Z] ---> Running in 59561d33524b [2023-11-15T16:44:41.634Z] Removing intermediate container 59561d33524b [2023-11-15T16:44:41.634Z] ---> b81e6bcba8c8 [2023-11-15T16:44:41.634Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T16:44:41.893Z] ---> 8366a71649ab [2023-11-15T16:44:41.893Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T16:44:41.893Z] ---> Running in d1e14d70e02d [2023-11-15T16:45:29.125Z] Removing intermediate container d1e14d70e02d [2023-11-15T16:45:29.125Z] ---> afca616fb9c6 [2023-11-15T16:45:29.125Z] Step 12/13 : COPY . . [2023-11-15T16:45:29.125Z] ---> d95c85eb8fd7 [2023-11-15T16:45:29.125Z] Step 13/13 : RUN ${MAKE} [2023-11-15T16:45:29.125Z] ---> Running in 412b546ef49c [2023-11-15T16:45:29.125Z] noop [2023-11-15T16:45:29.125Z] Removing intermediate container 412b546ef49c [2023-11-15T16:45:29.125Z] ---> f1d0a56aeb83 [2023-11-15T16:45:29.125Z] Successfully built f1d0a56aeb83 [2023-11-15T16:45:29.125Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:45:29.579Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T16:45:29.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:45:29.729Z] prd-ubuntu20.04-docker-8c-8g-18112 does not seem to be running inside a container [2023-11-15T16:45:29.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T16:45:30.122Z] $ docker top 13eb330f8d00218aa10f433814b2f0d6e40d5f4ee6cf5c21ee1d55f6b102836f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:45:30.509Z] + go version [2023-11-15T16:45:30.509Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T16:45:30.544Z] $ docker stop --time=1 13eb330f8d00218aa10f433814b2f0d6e40d5f4ee6cf5c21ee1d55f6b102836f [2023-11-15T16:45:31.768Z] $ docker rm -f --volumes 13eb330f8d00218aa10f433814b2f0d6e40d5f4ee6cf5c21ee1d55f6b102836f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:45:32.496Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T16:45:32.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:45:32.647Z] prd-ubuntu20.04-docker-8c-8g-18112 does not seem to be running inside a container [2023-11-15T16:45:32.681Z] $ 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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T16:45:32.981Z] $ docker top 435626ab9be1149d7a0e08ead98120a4e7bc9bdfbfdfc11bb52c499f9c02da9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:45:33.385Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-409 [Pipeline] fileExists [Pipeline] sh [2023-11-15T16:45:33.752Z] + make test [2023-11-15T16:45:33.752Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T16:45:37.033Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T16:45:46.995Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T16:45:46.995Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T16:45:48.894Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.5% of statements [2023-11-15T16:45:48.894Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.049s coverage: 86.5% of statements [2023-11-15T16:45:55.442Z] go vet ./... [2023-11-15T16:45:58.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T16:45:58.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T16:45:58.724Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T16:45:58.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T16:45:58.803Z] $ docker stop --time=1 435626ab9be1149d7a0e08ead98120a4e7bc9bdfbfdfc11bb52c499f9c02da9f [2023-11-15T16:46:03.928Z] $ docker rm -f --volumes 435626ab9be1149d7a0e08ead98120a4e7bc9bdfbfdfc11bb52c499f9c02da9f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T16:46:04.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T16:46:04.560Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T16:46:05.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T16:46:05.639Z] + ls -al . [2023-11-15T16:46:05.639Z] total 240 [2023-11-15T16:46:05.639Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 16:45 . [2023-11-15T16:46:05.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:43 .. [2023-11-15T16:46:05.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 16:45 .git [2023-11-15T16:46:05.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:43 .github [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 16:43 .gitignore [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 16:43 .golangci.yml [2023-11-15T16:46:05.639Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 16:44 .semver [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 16:43 Attribution.txt [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 16:43 CHANGELOG.md [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 16:43 Dockerfile [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 16:43 GOVERNANCE.md [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 16:43 Jenkinsfile [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 16:43 LICENSE [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 16:43 Makefile [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 16:43 OWNERS.md [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 16:43 README.md [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 16:44 VERSION [2023-11-15T16:46:05.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 16:43 bin [2023-11-15T16:46:05.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:43 cmd [2023-11-15T16:46:05.639Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 16:45 coverage.out [2023-11-15T16:46:05.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:43 doc [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 16:43 go.mod [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 16:43 go.sum [2023-11-15T16:46:05.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:43 internal [2023-11-15T16:46:05.639Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:46:06.024Z] + 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=ae9a3bbec71a13ec815b24444948b3cc54e7f54c --label arch=amd64 --label version=0.0.0 . [2023-11-15T16:46:06.024Z] Sending build context to Docker daemon 21.87MB [2023-11-15T16:46:06.024Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T16:46:06.024Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T16:46:06.024Z] ---> f1d0a56aeb83 [2023-11-15T16:46:06.024Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T16:46:06.594Z] ---> Running in 3e2c03754579 [2023-11-15T16:46:06.594Z] Removing intermediate container 3e2c03754579 [2023-11-15T16:46:06.594Z] ---> de6df99cb4b7 [2023-11-15T16:46:06.594Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T16:46:06.594Z] ---> Running in facfada95bd4 [2023-11-15T16:46:06.594Z] Removing intermediate container facfada95bd4 [2023-11-15T16:46:06.594Z] ---> dd24032a1b41 [2023-11-15T16:46:06.594Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T16:46:06.594Z] ---> Running in eba12eca90f8 [2023-11-15T16:46:06.854Z] Removing intermediate container eba12eca90f8 [2023-11-15T16:46:06.854Z] ---> 496e5104a98e [2023-11-15T16:46:06.854Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T16:46:06.854Z] ---> Running in fad324ac30ff [2023-11-15T16:46:06.854Z] Removing intermediate container fad324ac30ff [2023-11-15T16:46:06.854Z] ---> 8dd81c3a1058 [2023-11-15T16:46:06.854Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T16:46:06.854Z] ---> Running in e64863a8466a [2023-11-15T16:46:06.854Z] Removing intermediate container e64863a8466a [2023-11-15T16:46:06.854Z] ---> 2616f0bdd19c [2023-11-15T16:46:06.854Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T16:46:06.854Z] ---> Running in c1d1562a8d5e [2023-11-15T16:46:07.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:07.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:07.637Z] OK: 264 MiB in 52 packages [2023-11-15T16:46:08.209Z] Removing intermediate container c1d1562a8d5e [2023-11-15T16:46:08.209Z] ---> 2a1391957008 [2023-11-15T16:46:08.209Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T16:46:08.209Z] ---> Running in eb5e2bfe6084 [2023-11-15T16:46:08.209Z] Removing intermediate container eb5e2bfe6084 [2023-11-15T16:46:08.209Z] ---> 2609324de50e [2023-11-15T16:46:08.209Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T16:46:08.470Z] ---> 869246904769 [2023-11-15T16:46:08.470Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T16:46:08.470Z] ---> Running in d6bfae8458c2 [2023-11-15T16:46:09.038Z] Removing intermediate container d6bfae8458c2 [2023-11-15T16:46:09.038Z] ---> 853fae26880e [2023-11-15T16:46:09.038Z] Step 12/27 : COPY . . [2023-11-15T16:46:09.984Z] ---> fc00a77360e6 [2023-11-15T16:46:09.984Z] Step 13/27 : RUN ${MAKE} [2023-11-15T16:46:09.984Z] ---> Running in c2ffb85800e1 [2023-11-15T16:46:10.242Z] 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" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-15T16:46:32.161Z] Removing intermediate container c2ffb85800e1 [2023-11-15T16:46:32.161Z] ---> c980a95b7da2 [2023-11-15T16:46:32.161Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T16:46:32.161Z] 3.18: Pulling from library/alpine [2023-11-15T16:46:32.161Z] 96526aa774ef: Pulling fs layer [2023-11-15T16:46:32.161Z] 96526aa774ef: Verifying Checksum [2023-11-15T16:46:32.161Z] 96526aa774ef: Download complete [2023-11-15T16:46:32.161Z] 96526aa774ef: Pull complete [2023-11-15T16:46:32.161Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T16:46:32.161Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T16:46:32.161Z] ---> 8ca4688f4f35 [2023-11-15T16:46:32.161Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T16:46:32.161Z] ---> Running in 5c2220df22df [2023-11-15T16:46:32.161Z] Removing intermediate container 5c2220df22df [2023-11-15T16:46:32.161Z] ---> 7f03920e5766 [2023-11-15T16:46:32.161Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T16:46:32.161Z] ---> Running in 13da2c3614f0 [2023-11-15T16:46:32.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:32.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:32.728Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T16:46:32.728Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T16:46:32.728Z] OK: 7 MiB in 16 packages [2023-11-15T16:46:32.990Z] Removing intermediate container 13da2c3614f0 [2023-11-15T16:46:32.990Z] ---> f228df6f834f [2023-11-15T16:46:32.990Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T16:46:33.250Z] ---> Running in 07f170796bc8 [2023-11-15T16:46:33.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:33.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T16:46:33.771Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T16:46:33.771Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:46:33.771Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T16:46:33.771Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:46:33.771Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T16:46:34.029Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T16:46:34.030Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:46:34.030Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T16:46:34.030Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T16:46:34.030Z] OK: 7 MiB in 16 packages [2023-11-15T16:46:34.963Z] Removing intermediate container 07f170796bc8 [2023-11-15T16:46:34.963Z] ---> 9ea137bcb043 [2023-11-15T16:46:34.963Z] Step 18/27 : WORKDIR / [2023-11-15T16:46:34.963Z] ---> Running in 9bacd04ad52e [2023-11-15T16:46:34.963Z] Removing intermediate container 9bacd04ad52e [2023-11-15T16:46:34.963Z] ---> d7b92a8cb85b [2023-11-15T16:46:34.963Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T16:46:35.950Z] ---> 104bf5835093 [2023-11-15T16:46:35.950Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T16:46:35.950Z] ---> 7bb3da55fbb9 [2023-11-15T16:46:35.950Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T16:46:36.208Z] ---> 47a8ac0cf161 [2023-11-15T16:46:36.208Z] Step 22/27 : EXPOSE 59984 [2023-11-15T16:46:36.208Z] ---> Running in e734be8be589 [2023-11-15T16:46:36.208Z] Removing intermediate container e734be8be589 [2023-11-15T16:46:36.208Z] ---> fd8f2b8920d7 [2023-11-15T16:46:36.208Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T16:46:36.208Z] ---> Running in 69ed75ef5a52 [2023-11-15T16:46:36.208Z] Removing intermediate container 69ed75ef5a52 [2023-11-15T16:46:36.208Z] ---> 09fe849936f5 [2023-11-15T16:46:36.208Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T16:46:36.208Z] ---> Running in ae0e8699cdf7 [2023-11-15T16:46:36.467Z] Removing intermediate container ae0e8699cdf7 [2023-11-15T16:46:36.467Z] ---> e78afff1b1bf [2023-11-15T16:46:36.467Z] Step 25/27 : LABEL arch=amd64 [2023-11-15T16:46:36.467Z] ---> Running in d1adb7ff0908 [2023-11-15T16:46:36.467Z] Removing intermediate container d1adb7ff0908 [2023-11-15T16:46:36.467Z] ---> 0e163d16e31d [2023-11-15T16:46:36.467Z] Step 26/27 : LABEL git_sha=ae9a3bbec71a13ec815b24444948b3cc54e7f54c [2023-11-15T16:46:36.467Z] ---> Running in b5daf2d9de96 [2023-11-15T16:46:36.467Z] Removing intermediate container b5daf2d9de96 [2023-11-15T16:46:36.467Z] ---> 2afb114cb9ee [2023-11-15T16:46:36.467Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T16:46:36.467Z] ---> Running in 8eabe83d90e7 [2023-11-15T16:46:36.726Z] Removing intermediate container 8eabe83d90e7 [2023-11-15T16:46:36.726Z] ---> 799386602228 [2023-11-15T16:46:36.726Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T16:46:36.726Z] Successfully built 799386602228 [2023-11-15T16:46:36.726Z] 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-11-15T16:46:37.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T16:46:37.589Z] [2023-11-15T16:46:37.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:46:37.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T16:46:37.971Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T16:46:37.971Z] 5eb5b503b376: Pulling fs layer [2023-11-15T16:46:37.971Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T16:46:37.971Z] ec43610c2a17: Pulling fs layer [2023-11-15T16:46:37.971Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T16:46:37.972Z] 33b1e0a273af: Pulling fs layer [2023-11-15T16:46:37.972Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T16:46:37.972Z] 2f39f015ded8: Pulling fs layer [2023-11-15T16:46:37.972Z] 33b1e0a273af: Waiting [2023-11-15T16:46:37.972Z] 3a2ae6a8a46f: Waiting [2023-11-15T16:46:37.972Z] 5d3b04190fa2: Waiting [2023-11-15T16:46:37.972Z] 2f39f015ded8: Waiting [2023-11-15T16:46:37.972Z] 5c69ac0246d0: Download complete [2023-11-15T16:46:37.972Z] 3a2ae6a8a46f: Download complete [2023-11-15T16:46:37.972Z] 33b1e0a273af: Verifying Checksum [2023-11-15T16:46:37.972Z] 33b1e0a273af: Download complete [2023-11-15T16:46:37.972Z] ec43610c2a17: Verifying Checksum [2023-11-15T16:46:37.972Z] ec43610c2a17: Download complete [2023-11-15T16:46:38.230Z] 5eb5b503b376: Verifying Checksum [2023-11-15T16:46:38.230Z] 5eb5b503b376: Download complete [2023-11-15T16:46:38.796Z] 2f39f015ded8: Download complete [2023-11-15T16:46:39.362Z] 5eb5b503b376: Pull complete [2023-11-15T16:46:39.362Z] 5c69ac0246d0: Pull complete [2023-11-15T16:46:39.929Z] ec43610c2a17: Pull complete [2023-11-15T16:46:39.929Z] 3a2ae6a8a46f: Pull complete [2023-11-15T16:46:39.929Z] 33b1e0a273af: Pull complete [2023-11-15T16:46:40.191Z] 5d3b04190fa2: Pull complete [2023-11-15T16:46:44.376Z] 2f39f015ded8: Pull complete [2023-11-15T16:46:44.376Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T16:46:44.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T16:46:44.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:46:44.619Z] prd-ubuntu20.04-docker-8c-8g-18112 does not seem to be running inside a container [2023-11-15T16:46:44.654Z] $ 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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T16:46:51.035Z] $ docker top 8d0d5852bcc4ad5b068139ac1c6e1d7aec736c8e89c5ca0aae15bdf8c7dd2e45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:46:51.487Z] ---> job-cost.sh [2023-11-15T16:46:51.487Z] lf-activate-venv: SKIPPING [2023-11-15T16:46:51.487Z] INFO: No Stack... [2023-11-15T16:46:51.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T16:46:52.314Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T16:46:52.642Z] + cat /w/workspace/undry_device-onvif-camera_PR-409/archives/cost.csv [2023-11-15T16:46:52.642Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T16:46:52.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [2023-11-15T16:46:52.688Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] did not exist. Created. [2023-11-15T16:46:52.688Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T16:46:53.085Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T16:46:53.147Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T16:46:53.176Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T16:46:53.251Z] $ docker stop --time=1 8d0d5852bcc4ad5b068139ac1c6e1d7aec736c8e89c5ca0aae15bdf8c7dd2e45 [2023-11-15T16:46:54.392Z] $ docker rm -f --volumes 8d0d5852bcc4ad5b068139ac1c6e1d7aec736c8e89c5ca0aae15bdf8c7dd2e45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T16:48:01.608Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18113 in /w/workspace/undry_device-onvif-camera_PR-409 [Pipeline] { [Pipeline] ws [2023-11-15T16:48:01.665Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-11-15T16:48:01.747Z] The recommended git tool is: git [2023-11-15T16:48:07.187Z] using credential edgex-jenkins-ssh [2023-11-15T16:48:07.202Z] Cloning the remote Git repository [2023-11-15T16:48:07.239Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T16:48:07.349Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-11-15T16:48:07.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T16:48:07.531Z] > git --version # timeout=10 [2023-11-15T16:48:07.559Z] > git --version # 'git version 2.25.1' [2023-11-15T16:48:07.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T16:48:07.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T16:48:09.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T16:48:09.272Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T16:48:10.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T16:48:10.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T16:48:10.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T16:48:10.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T16:48:10.955Z] Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit ae9a3bbec71a13ec815b24444948b3cc54e7f54c [2023-11-15T16:48:11.380Z] Merge succeeded, producing ae9a3bbec71a13ec815b24444948b3cc54e7f54c [2023-11-15T16:48:11.381Z] Checking out Revision ae9a3bbec71a13ec815b24444948b3cc54e7f54c (PR-409) [2023-11-15T16:48:10.968Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T16:48:11.066Z] > git checkout -f ae9a3bbec71a13ec815b24444948b3cc54e7f54c # timeout=10 [2023-11-15T16:48:11.263Z] > git remote # timeout=10 [2023-11-15T16:48:11.289Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T16:48:11.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T16:48:11.323Z] > git merge 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 [2023-11-15T16:48:11.353Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T16:48:11.386Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T16:48:11.403Z] > git checkout -f ae9a3bbec71a13ec815b24444948b3cc54e7f54c # timeout=10 [2023-11-15T16:48:15.141Z] Commit message: "docs: Update swagger version to 3.1.0" [2023-11-15T16:48:15.185Z] > git --version # timeout=10 [2023-11-15T16:48:15.203Z] > git --version # 'git version 2.25.1' [2023-11-15T16:48:15.214Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T16:48:16.493Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T16:48:16.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T16:48:16.493Z] Dload Upload Total Spent Left Speed [2023-11-15T16:48:16.493Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 73306 0 --:--:-- --:--:-- --:--:-- 73306 [Pipeline] sh [2023-11-15T16:48:17.192Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T16:48:17.532Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T16:48:17.532Z] + sudo tee /etc/docker/daemon.new [2023-11-15T16:48:17.532Z] { [2023-11-15T16:48:17.532Z] "registry-mirrors": [ [2023-11-15T16:48:17.532Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T16:48:17.532Z] ], [2023-11-15T16:48:17.532Z] "bip": "10.250.0.254/24", [2023-11-15T16:48:17.532Z] "hosts": [ [2023-11-15T16:48:17.532Z] "tcp://0.0.0.0:5555", [2023-11-15T16:48:17.532Z] "unix:///var/run/docker.sock" [2023-11-15T16:48:17.532Z] ], [2023-11-15T16:48:17.532Z] "mtu": 1458, [2023-11-15T16:48:17.532Z] "selinux-enabled": true, [2023-11-15T16:48:17.532Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T16:48:17.532Z] } [Pipeline] sh [2023-11-15T16:48:17.872Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T16:48:18.216Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T16:48:36.547Z] provisioning config files... [2023-11-15T16:48:36.581Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9334133868007559729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:48:37.085Z] ---> docker-login.sh [2023-11-15T16:48:37.085Z] nexus3.edgexfoundry.org:10001 [2023-11-15T16:48:37.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:48:41.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:48:41.619Z] Configure a credential helper to remove this warning. See [2023-11-15T16:48:41.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:48:41.619Z] [2023-11-15T16:48:41.619Z] Login Succeeded [2023-11-15T16:48:41.619Z] nexus3.edgexfoundry.org:10002 [2023-11-15T16:48:43.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:48:43.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:48:43.302Z] Configure a credential helper to remove this warning. See [2023-11-15T16:48:43.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:48:43.302Z] [2023-11-15T16:48:43.302Z] Login Succeeded [2023-11-15T16:48:43.302Z] nexus3.edgexfoundry.org:10003 [2023-11-15T16:48:43.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:48:43.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:48:43.575Z] Configure a credential helper to remove this warning. See [2023-11-15T16:48:43.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:48:43.575Z] [2023-11-15T16:48:43.575Z] Login Succeeded [2023-11-15T16:48:43.575Z] nexus3.edgexfoundry.org:10004 [2023-11-15T16:48:43.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:48:43.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:48:43.847Z] Configure a credential helper to remove this warning. See [2023-11-15T16:48:43.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:48:43.847Z] [2023-11-15T16:48:43.847Z] Login Succeeded [2023-11-15T16:48:43.847Z] docker.io [2023-11-15T16:48:44.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:48:44.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:48:44.384Z] Configure a credential helper to remove this warning. See [2023-11-15T16:48:44.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:48:44.384Z] [2023-11-15T16:48:44.384Z] Login Succeeded [2023-11-15T16:48:44.384Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T16:48:44.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T16:48:44.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:48:44.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:48:44.885Z] ========================================================= [2023-11-15T16:48:44.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-15T16:48:44.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:48:45.390Z] + 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-11-15T16:48:45.981Z] Sending build context to Docker daemon 14.3MB [2023-11-15T16:48:45.981Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T16:48:45.981Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T16:48:45.981Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T16:48:45.981Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T16:48:45.981Z] 5d54e960e981: Pulling fs layer [2023-11-15T16:48:45.981Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T16:48:45.981Z] f0e02332f6b5: Pulling fs layer [2023-11-15T16:48:45.981Z] 872ee5b61b7b: Pulling fs layer [2023-11-15T16:48:45.981Z] 0c6a40ed1a82: Pulling fs layer [2023-11-15T16:48:45.981Z] 94ae7d8d031c: Pulling fs layer [2023-11-15T16:48:45.981Z] 872ee5b61b7b: Waiting [2023-11-15T16:48:45.981Z] 0c6a40ed1a82: Waiting [2023-11-15T16:48:45.981Z] 94ae7d8d031c: Waiting [2023-11-15T16:48:45.981Z] f0e02332f6b5: Waiting [2023-11-15T16:48:45.981Z] 5d54e960e981: Verifying Checksum [2023-11-15T16:48:45.981Z] 5d54e960e981: Download complete [2023-11-15T16:48:46.252Z] f0e02332f6b5: Download complete [2023-11-15T16:48:46.252Z] 872ee5b61b7b: Verifying Checksum [2023-11-15T16:48:46.252Z] 872ee5b61b7b: Download complete [2023-11-15T16:48:46.252Z] 9fda8d8052c6: Download complete [2023-11-15T16:48:46.842Z] 94ae7d8d031c: Verifying Checksum [2023-11-15T16:48:46.842Z] 94ae7d8d031c: Download complete [2023-11-15T16:48:47.431Z] 9fda8d8052c6: Pull complete [2023-11-15T16:48:47.700Z] 5d54e960e981: Pull complete [2023-11-15T16:48:48.287Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T16:48:48.287Z] c4a7e357bf2a: Download complete [2023-11-15T16:48:49.247Z] 0c6a40ed1a82: Verifying Checksum [2023-11-15T16:48:49.247Z] 0c6a40ed1a82: Download complete [2023-11-15T16:49:01.741Z] c4a7e357bf2a: Pull complete [2023-11-15T16:49:01.741Z] f0e02332f6b5: Pull complete [2023-11-15T16:49:01.741Z] 872ee5b61b7b: Pull complete [2023-11-15T16:49:11.808Z] 0c6a40ed1a82: Pull complete [2023-11-15T16:49:12.075Z] 94ae7d8d031c: Pull complete [2023-11-15T16:49:12.075Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-15T16:49:12.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-15T16:49:12.075Z] ---> 86de565de09d [2023-11-15T16:49:12.075Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T16:49:14.025Z] ---> Running in 520d88eac73b [2023-11-15T16:49:14.292Z] Removing intermediate container 520d88eac73b [2023-11-15T16:49:14.292Z] ---> 993ffdbf2360 [2023-11-15T16:49:14.292Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T16:49:14.292Z] ---> Running in 69a74aa6e882 [2023-11-15T16:49:14.560Z] Removing intermediate container 69a74aa6e882 [2023-11-15T16:49:14.560Z] ---> e23b14d2be16 [2023-11-15T16:49:14.560Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T16:49:14.560Z] ---> Running in d92d98ff0331 [2023-11-15T16:49:14.833Z] Removing intermediate container d92d98ff0331 [2023-11-15T16:49:14.833Z] ---> bbbe52ab09a1 [2023-11-15T16:49:14.833Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T16:49:15.110Z] ---> Running in 51e7674b7865 [2023-11-15T16:49:15.376Z] Removing intermediate container 51e7674b7865 [2023-11-15T16:49:15.376Z] ---> 5b1f3c356ddf [2023-11-15T16:49:15.376Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T16:49:15.376Z] ---> Running in 623be7b7a31a [2023-11-15T16:49:15.642Z] Removing intermediate container 623be7b7a31a [2023-11-15T16:49:15.642Z] ---> f47a4dbea67e [2023-11-15T16:49:15.642Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T16:49:15.910Z] ---> Running in be4c19fd4318 [2023-11-15T16:49:16.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T16:49:17.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T16:49:18.420Z] OK: 266 MiB in 52 packages [2023-11-15T16:49:19.417Z] Removing intermediate container be4c19fd4318 [2023-11-15T16:49:19.417Z] ---> 53728c939d39 [2023-11-15T16:49:19.417Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T16:49:19.417Z] ---> Running in 50a39ab25f67 [2023-11-15T16:49:20.011Z] Removing intermediate container 50a39ab25f67 [2023-11-15T16:49:20.011Z] ---> 0c93723acb46 [2023-11-15T16:49:20.011Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T16:49:20.602Z] ---> 28a78f4485d4 [2023-11-15T16:49:20.602Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T16:49:20.602Z] ---> Running in 6096538102dc [2023-11-15T16:50:42.235Z] Removing intermediate container 6096538102dc [2023-11-15T16:50:42.235Z] ---> 69c5e346b8b4 [2023-11-15T16:50:42.235Z] Step 12/13 : COPY . . [2023-11-15T16:50:42.235Z] ---> 7fdf5b0c1da1 [2023-11-15T16:50:42.235Z] Step 13/13 : RUN ${MAKE} [2023-11-15T16:50:42.235Z] ---> Running in c0cf1af581ef [2023-11-15T16:50:42.235Z] noop [2023-11-15T16:50:42.235Z] Removing intermediate container c0cf1af581ef [2023-11-15T16:50:42.235Z] ---> 2c6fc05ef8c7 [2023-11-15T16:50:42.235Z] Successfully built 2c6fc05ef8c7 [2023-11-15T16:50:42.235Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:50:42.707Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T16:50:42.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:50:42.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-18113 does not seem to be running inside a container [2023-11-15T16:50:43.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T16:50:44.249Z] $ docker top 90097e424421a65acc2bc3fc4a467b734b2b4bed14a3a79c3a62a8bd0d253856 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:50:45.111Z] + go version [2023-11-15T16:50:45.111Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T16:50:45.157Z] $ docker stop --time=1 90097e424421a65acc2bc3fc4a467b734b2b4bed14a3a79c3a62a8bd0d253856 [2023-11-15T16:50:50.506Z] $ docker rm -f --volumes 90097e424421a65acc2bc3fc4a467b734b2b4bed14a3a79c3a62a8bd0d253856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:50:51.353Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T16:50:51.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:50:51.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-18113 does not seem to be running inside a container [2023-11-15T16:50:51.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T16:50:52.900Z] $ docker top 280f8b5265223a7f613a1455dc72a41835a2fe90995811084b0be0ec79811b7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:50:53.777Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-11-15T16:50:54.485Z] + make test [2023-11-15T16:50:54.486Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T16:50:58.741Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T16:52:35.385Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T16:52:35.385Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T16:52:37.328Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 31.5% of statements [2023-11-15T16:52:55.565Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.204s coverage: 86.5% of statements [2023-11-15T16:52:55.565Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T16:52:55.565Z] go vet ./... [2023-11-15T16:53:17.635Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T16:53:17.635Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T16:53:17.635Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T16:53:17.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T16:53:17.719Z] $ docker stop --time=1 280f8b5265223a7f613a1455dc72a41835a2fe90995811084b0be0ec79811b7d [2023-11-15T16:53:19.538Z] $ docker rm -f --volumes 280f8b5265223a7f613a1455dc72a41835a2fe90995811084b0be0ec79811b7d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T16:53:20.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T16:53:20.805Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T16:53:21.438Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T16:53:22.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T16:53:22.433Z] + ls -al . [2023-11-15T16:53:22.433Z] total 236 [2023-11-15T16:53:22.433Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 16:50 . [2023-11-15T16:53:22.433Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:48 .. [2023-11-15T16:53:22.433Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 16:48 .git [2023-11-15T16:53:22.433Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:48 .github [2023-11-15T16:53:22.433Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 16:48 .gitignore [2023-11-15T16:53:22.433Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 16:48 .golangci.yml [2023-11-15T16:53:22.433Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 16:48 Attribution.txt [2023-11-15T16:53:22.433Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 16:48 CHANGELOG.md [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 16:48 Dockerfile [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 16:48 GOVERNANCE.md [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 16:48 Jenkinsfile [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 16:48 LICENSE [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 16:48 Makefile [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 16:48 OWNERS.md [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 16:48 README.md [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 16:44 VERSION [2023-11-15T16:53:22.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 16:48 bin [2023-11-15T16:53:22.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:48 cmd [2023-11-15T16:53:22.434Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 16:52 coverage.out [2023-11-15T16:53:22.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:48 doc [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 16:48 go.mod [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 16:48 go.sum [2023-11-15T16:53:22.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:48 internal [2023-11-15T16:53:22.434Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:53:22.857Z] + 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=ae9a3bbec71a13ec815b24444948b3cc54e7f54c --label arch=arm64 --label version=0.0.0 . [2023-11-15T16:53:23.471Z] Sending build context to Docker daemon 14.38MB [2023-11-15T16:53:23.471Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T16:53:23.471Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T16:53:23.471Z] ---> 2c6fc05ef8c7 [2023-11-15T16:53:23.471Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T16:53:23.471Z] ---> Running in 5df271f48c34 [2023-11-15T16:53:24.065Z] Removing intermediate container 5df271f48c34 [2023-11-15T16:53:24.065Z] ---> 360efd902aa4 [2023-11-15T16:53:24.065Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T16:53:24.065Z] ---> Running in ba3179414a65 [2023-11-15T16:53:24.332Z] Removing intermediate container ba3179414a65 [2023-11-15T16:53:24.332Z] ---> 14e2716de2d0 [2023-11-15T16:53:24.332Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T16:53:24.332Z] ---> Running in c1173989b940 [2023-11-15T16:53:24.599Z] Removing intermediate container c1173989b940 [2023-11-15T16:53:24.599Z] ---> 6a984ce0649a [2023-11-15T16:53:24.599Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T16:53:24.867Z] ---> Running in 7a003f34e782 [2023-11-15T16:53:25.135Z] Removing intermediate container 7a003f34e782 [2023-11-15T16:53:25.135Z] ---> 46bb16c74a2d [2023-11-15T16:53:25.135Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T16:53:25.135Z] ---> Running in 1d206829f8a8 [2023-11-15T16:53:25.404Z] Removing intermediate container 1d206829f8a8 [2023-11-15T16:53:25.404Z] ---> 733377b6d60d [2023-11-15T16:53:25.404Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T16:53:25.676Z] ---> Running in 065afb0e3afa [2023-11-15T16:53:26.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T16:53:26.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T16:53:28.310Z] OK: 266 MiB in 52 packages [2023-11-15T16:53:28.907Z] Removing intermediate container 065afb0e3afa [2023-11-15T16:53:28.907Z] ---> 97cfbccb5fc6 [2023-11-15T16:53:28.907Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T16:53:28.907Z] ---> Running in 08ebd0eba29c [2023-11-15T16:53:29.175Z] Removing intermediate container 08ebd0eba29c [2023-11-15T16:53:29.175Z] ---> 25d8f7744ae2 [2023-11-15T16:53:29.175Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T16:53:29.760Z] ---> aae117b002e8 [2023-11-15T16:53:29.760Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T16:53:29.760Z] ---> Running in 5d1baa334549 [2023-11-15T16:53:32.339Z] Removing intermediate container 5d1baa334549 [2023-11-15T16:53:32.339Z] ---> 91178d27c2eb [2023-11-15T16:53:32.339Z] Step 12/27 : COPY . . [2023-11-15T16:53:33.765Z] ---> 9cf1fe24ff16 [2023-11-15T16:53:33.765Z] Step 13/27 : RUN ${MAKE} [2023-11-15T16:53:33.765Z] ---> Running in 6653e428ce28 [2023-11-15T16:53:34.346Z] 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" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-15T16:55:25.982Z] Removing intermediate container 6653e428ce28 [2023-11-15T16:55:25.983Z] ---> d9dd7e1033a1 [2023-11-15T16:55:25.983Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T16:55:25.983Z] 3.18: Pulling from library/alpine [2023-11-15T16:55:25.983Z] 579b34f0a95b: Pulling fs layer [2023-11-15T16:55:25.983Z] 579b34f0a95b: Download complete [2023-11-15T16:55:25.983Z] 579b34f0a95b: Pull complete [2023-11-15T16:55:25.983Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T16:55:25.983Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T16:55:25.983Z] ---> 3cc203321400 [2023-11-15T16:55:25.983Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T16:55:25.983Z] ---> Running in 5f02ab7e07e0 [2023-11-15T16:55:25.983Z] Removing intermediate container 5f02ab7e07e0 [2023-11-15T16:55:25.983Z] ---> 39e483b9927e [2023-11-15T16:55:25.983Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T16:55:25.983Z] ---> Running in 3f1e2292d407 [2023-11-15T16:55:26.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T16:55:26.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T16:55:27.784Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T16:55:27.784Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T16:55:27.784Z] OK: 8 MiB in 16 packages [2023-11-15T16:55:28.742Z] Removing intermediate container 3f1e2292d407 [2023-11-15T16:55:28.742Z] ---> f38d871cefa8 [2023-11-15T16:55:28.742Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T16:55:28.742Z] ---> Running in 89b5d8c67bb0 [2023-11-15T16:55:29.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T16:55:29.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T16:55:30.913Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T16:55:30.913Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:55:30.913Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T16:55:30.913Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:55:30.913Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T16:55:31.182Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T16:55:31.182Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T16:55:31.182Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T16:55:31.182Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T16:55:31.182Z] OK: 8 MiB in 16 packages [2023-11-15T16:55:33.119Z] Removing intermediate container 89b5d8c67bb0 [2023-11-15T16:55:33.119Z] ---> 434a45f329dc [2023-11-15T16:55:33.119Z] Step 18/27 : WORKDIR / [2023-11-15T16:55:33.119Z] ---> Running in 3d0f32968ed5 [2023-11-15T16:55:33.119Z] Removing intermediate container 3d0f32968ed5 [2023-11-15T16:55:33.119Z] ---> d119c25f71a6 [2023-11-15T16:55:33.119Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T16:55:34.523Z] ---> db4105952b55 [2023-11-15T16:55:34.523Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T16:55:38.776Z] ---> 486e37ae526e [2023-11-15T16:55:38.776Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T16:55:39.356Z] ---> 8c701537de94 [2023-11-15T16:55:39.356Z] Step 22/27 : EXPOSE 59984 [2023-11-15T16:55:39.356Z] ---> Running in 152c5dbf7f43 [2023-11-15T16:55:39.621Z] Removing intermediate container 152c5dbf7f43 [2023-11-15T16:55:39.621Z] ---> c68af6aba12d [2023-11-15T16:55:39.621Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T16:55:39.621Z] ---> Running in 4d9b2273de28 [2023-11-15T16:55:39.913Z] Removing intermediate container 4d9b2273de28 [2023-11-15T16:55:39.913Z] ---> eb8fb23b8902 [2023-11-15T16:55:39.913Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T16:55:40.179Z] ---> Running in f267f49b3098 [2023-11-15T16:55:40.446Z] Removing intermediate container f267f49b3098 [2023-11-15T16:55:40.446Z] ---> 4a21b193168a [2023-11-15T16:55:40.446Z] Step 25/27 : LABEL arch=arm64 [2023-11-15T16:55:40.446Z] ---> Running in ecda8f11a515 [2023-11-15T16:55:40.713Z] Removing intermediate container ecda8f11a515 [2023-11-15T16:55:40.713Z] ---> 99b286941704 [2023-11-15T16:55:40.713Z] Step 26/27 : LABEL git_sha=ae9a3bbec71a13ec815b24444948b3cc54e7f54c [2023-11-15T16:55:40.713Z] ---> Running in cb25045d6530 [2023-11-15T16:55:40.981Z] Removing intermediate container cb25045d6530 [2023-11-15T16:55:40.981Z] ---> 65ae5b2cb6b3 [2023-11-15T16:55:40.981Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T16:55:41.245Z] ---> Running in 6c9b38aa7fe3 [2023-11-15T16:55:41.509Z] Removing intermediate container 6c9b38aa7fe3 [2023-11-15T16:55:41.509Z] ---> 29695f271b8c [2023-11-15T16:55:41.509Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T16:55:41.509Z] Successfully built 29695f271b8c [2023-11-15T16:55:41.509Z] 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-11-15T16:55:42.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T16:55:42.314Z] [2023-11-15T16:55:42.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:55:42.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T16:55:42.995Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T16:55:42.995Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T16:55:42.995Z] 04944245beec: Pulling fs layer [2023-11-15T16:55:42.995Z] 699f458cf7ca: Pulling fs layer [2023-11-15T16:55:42.995Z] 765212b225bb: Pulling fs layer [2023-11-15T16:55:42.995Z] f23df028b6ca: Pulling fs layer [2023-11-15T16:55:42.995Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T16:55:42.995Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T16:55:42.995Z] 765212b225bb: Waiting [2023-11-15T16:55:42.995Z] d65c8cfc05b1: Waiting [2023-11-15T16:55:42.995Z] f23df028b6ca: Waiting [2023-11-15T16:55:42.995Z] 2437ff75d9bd: Waiting [2023-11-15T16:55:42.995Z] 04944245beec: Verifying Checksum [2023-11-15T16:55:42.995Z] 04944245beec: Download complete [2023-11-15T16:55:42.995Z] 765212b225bb: Verifying Checksum [2023-11-15T16:55:42.995Z] 765212b225bb: Download complete [2023-11-15T16:55:42.995Z] f23df028b6ca: Download complete [2023-11-15T16:55:42.995Z] d65c8cfc05b1: Download complete [2023-11-15T16:55:43.263Z] 699f458cf7ca: Verifying Checksum [2023-11-15T16:55:43.263Z] 699f458cf7ca: Download complete [2023-11-15T16:55:43.533Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T16:55:43.533Z] 8998bd30e6a1: Download complete [2023-11-15T16:55:46.120Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T16:55:46.120Z] 2437ff75d9bd: Download complete [2023-11-15T16:55:48.066Z] 8998bd30e6a1: Pull complete [2023-11-15T16:55:48.647Z] 04944245beec: Pull complete [2023-11-15T16:55:50.056Z] 699f458cf7ca: Pull complete [2023-11-15T16:55:50.323Z] 765212b225bb: Pull complete [2023-11-15T16:55:51.285Z] f23df028b6ca: Pull complete [2023-11-15T16:55:52.683Z] d65c8cfc05b1: Pull complete [2023-11-15T16:56:10.873Z] 2437ff75d9bd: Pull complete [2023-11-15T16:56:10.873Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T16:56:10.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T16:56:10.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:56:11.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-18113 does not seem to be running inside a container [2023-11-15T16:56:11.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T16:56:13.908Z] $ docker top eda42e1fb1b555fb7376954b69668e44f47be14bbd87afcab698e0b276e0af6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:14.780Z] ---> job-cost.sh [2023-11-15T16:56:14.780Z] lf-activate-venv: SKIPPING [2023-11-15T16:56:14.780Z] INFO: No Stack... [2023-11-15T16:56:15.044Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T16:56:15.996Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T16:56:16.334Z] + cut -d, -f6 [2023-11-15T16:56:16.334Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-11-15T16:56:16.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [2023-11-15T16:56:16.751Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] did not exist. Created. [2023-11-15T16:56:16.751Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T16:56:17.472Z] /w/workspace/device-onvif-camera/1@tmp/durable-92a3e7d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T16:56:18.139Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T16:56:18.175Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T16:56:18.239Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T16:56:18.253Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T16:56:18.356Z] $ docker stop --time=1 eda42e1fb1b555fb7376954b69668e44f47be14bbd87afcab698e0b276e0af6f [2023-11-15T16:56:21.265Z] $ docker rm -f --volumes eda42e1fb1b555fb7376954b69668e44f47be14bbd87afcab698e0b276e0af6f [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-11-15T16:56:22.234Z] provisioning config files... [2023-11-15T16:56:22.241Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config13133886688426152817tmp [Pipeline] { [Pipeline] sh [2023-11-15T16:56:22.573Z] + set +x [2023-11-15T16:56:22.573Z] + curl -s https://codecov.io/bash [2023-11-15T16:56:22.573Z] + bash -s -- [2023-11-15T16:56:22.573Z] [2023-11-15T16:56:22.573Z] _____ _ [2023-11-15T16:56:22.573Z] / ____| | | [2023-11-15T16:56:22.573Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T16:56:22.573Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T16:56:22.573Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T16:56:22.573Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T16:56:22.573Z] Bash-1.0.6 [2023-11-15T16:56:22.573Z] [2023-11-15T16:56:22.573Z] [2023-11-15T16:56:22.573Z] ==> git version 2.25.1 found [2023-11-15T16:56:22.573Z] ==> 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-11-15T16:56:22.573Z] Release-Date: 2020-01-08 [2023-11-15T16:56:22.573Z] 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-11-15T16:56:22.573Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T16:56:22.573Z] ==> Jenkins CI detected. [2023-11-15T16:56:22.573Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-409 [2023-11-15T16:56:22.573Z] project root: . [2023-11-15T16:56:22.573Z] --> token set from env [2023-11-15T16:56:22.573Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-15T16:56:22.573Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T16:56:22.573Z] ==> Python coveragepy not found [2023-11-15T16:56:22.573Z] ==> Searching for coverage reports in: [2023-11-15T16:56:22.573Z] + . [2023-11-15T16:56:22.832Z] -> Found 1 reports [2023-11-15T16:56:22.832Z] ==> Detecting git/mercurial file structure [2023-11-15T16:56:22.832Z] ==> Reading reports [2023-11-15T16:56:22.832Z] + ./coverage.out bytes=78456 [2023-11-15T16:56:22.832Z] ==> Appending adjustments [2023-11-15T16:56:22.832Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T16:56:22.832Z] + Found adjustments [2023-11-15T16:56:22.832Z] ==> Gzipping contents [2023-11-15T16:56:22.832Z] 12K /tmp/codecov.q3yILo.gz [2023-11-15T16:56:22.832Z] ==> Uploading reports [2023-11-15T16:56:22.832Z] url: https://codecov.io [2023-11-15T16:56:22.832Z] query: branch=PR-409&commit=ae9a3bbec71a13ec815b24444948b3cc54e7f54c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-409%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=409&job=&cmd_args= [2023-11-15T16:56:22.832Z] -> Pinging Codecov [2023-11-15T16:56:22.832Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-409&commit=ae9a3bbec71a13ec815b24444948b3cc54e7f54c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-409%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=409&job=&cmd_args= [2023-11-15T16:56:23.091Z] -> Uploading to [2023-11-15T16:56:23.091Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F29A59C45E3A92E06B3E522C9905F8EF/ae9a3bbec71a13ec815b24444948b3cc54e7f54c/6aea53f5-1655-41ce-af3c-174aed86a0d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T165622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=321f371a220e9dd6aea5124e9776070f6a56a964f91e9efc9986a28577986e37 [2023-11-15T16:56:23.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T16:56:23.091Z] Dload Upload Total Spent Left Speed [2023-11-15T16:56:23.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 39460 --:--:-- --:--:-- --:--:-- 39460 [2023-11-15T16:56:23.350Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ae9a3bbec71a13ec815b24444948b3cc54e7f54c [Pipeline] } [2023-11-15T16:56:23.375Z] 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-11-15T16:56:25.200Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-409/archives ] [2023-11-15T16:56:25.200Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T16:56:25.200Z] total 16 [2023-11-15T16:56:25.200Z] drwxr-xr-x 3 root root 4096 Nov 15 16:46 . [2023-11-15T16:56:25.200Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 16:46 .. [2023-11-15T16:56:25.200Z] drwxr-xr-x 2 root root 4096 Nov 15 16:46 cost [2023-11-15T16:56:25.200Z] -rw-r--r-- 1 root root 91 Nov 15 16:46 cost.csv [2023-11-15T16:56:25.200Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T16:56:25.200Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T16:56:25.200Z] total 16 [2023-11-15T16:56:25.200Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 16:46 . [2023-11-15T16:56:25.200Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 16:46 .. [2023-11-15T16:56:25.200Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 16:46 cost [2023-11-15T16:56:25.200Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 15 16:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:25.530Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:26.417Z] ---> package-listing.sh [2023-11-15T16:56:26.417Z] ++ facter osfamily [2023-11-15T16:56:26.417Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T16:56:26.676Z] + OS_FAMILY=debian [2023-11-15T16:56:26.676Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-409 [2023-11-15T16:56:26.676Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T16:56:26.676Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T16:56:26.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T16:56:26.676Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T16:56:26.676Z] + '[' /w/workspace/undry_device-onvif-camera_PR-409 ']' [2023-11-15T16:56:26.676Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T16:56:26.676Z] + case "${OS_FAMILY}" in [2023-11-15T16:56:26.676Z] + dpkg -l [2023-11-15T16:56:26.676Z] + grep '^ii' [2023-11-15T16:56:26.676Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T16:56:26.676Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T16:56:26.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T16:56:26.676Z] + '[' /w/workspace/undry_device-onvif-camera_PR-409 ']' [2023-11-15T16:56:26.676Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-409/archives/ [2023-11-15T16:56:26.676Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-409/archives/ [Pipeline] echo [2023-11-15T16:56:26.712Z] 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-409/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T16:56:26.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:56:27.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T16:56:27.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:56:27.790Z] prd-ubuntu20.04-docker-8c-8g-18112 does not seem to be running inside a container [2023-11-15T16:56:27.820Z] $ 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-409/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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T16:56:28.006Z] $ docker top c9018d1a8f1361b62deefc5269e20f5213dc37c8d3b4f4781f7678e2fc081db1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:56:28.392Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T16:56:28.697Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T16:56:29.006Z] + ls /var/log/sa-host [2023-11-15T16:56:29.006Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T16:56:29.148Z] provisioning config files... [2023-11-15T16:56:29.155Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config18147129246954925639tmp [Pipeline] { [Pipeline] echo [2023-11-15T16:56:29.207Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:29.521Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T16:56:29.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:29.955Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T16:56:29.983Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:30.299Z] ---> sudo-logs.sh [2023-11-15T16:56:30.299Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T16:56:30.393Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:30.708Z] ---> job-cost.sh [2023-11-15T16:56:30.708Z] lf-activate-venv: SKIPPING [2023-11-15T16:56:30.708Z] DEBUG: total: 0.2199999988079071 [2023-11-15T16:56:30.708Z] INFO: Retrieving Stack Cost... [2023-11-15T16:56:31.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T16:56:31.535Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T16:56:31.567Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:56:31.886Z] ---> logs-deploy.sh [2023-11-15T16:56:31.886Z] lf-activate-venv: SKIPPING [2023-11-15T16:56:31.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-409/1 [2023-11-15T16:56:31.886Z] INFO: archiving workspace using pattern(s): [2023-11-15T16:56:32.823Z] Archives upload complete. [2023-11-15T16:56:32.823Z] INFO: archiving logs to Nexus