Pull request #408 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 7d13a77563ff4ab5d12322ecc2494d81dc953b52+e31ca8a3936982fb289ce3a844b1ee55f128a24a (e6d074867e37ab287c28de26dd5c877e1316fe04) 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-ssh5531889643625457352.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-ssh11045013021803055430.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-408/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-408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5613481324806254029.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-408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5099978859169807389.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-ssh15591334171711892751.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-408/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-408/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11414607892617759746.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17516 in /w/workspace/undry_device-onvif-camera_PR-408 [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-408 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e31ca8a3936982fb289ce3a844b1ee55f128a24a into PR head commit 7d13a77563ff4ab5d12322ecc2494d81dc953b52 Merge succeeded, producing 7d13a77563ff4ab5d12322ecc2494d81dc953b52 Checking out Revision 7d13a77563ff4ab5d12322ecc2494d81dc953b52 (PR-408) > 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/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d13a77563ff4ab5d12322ecc2494d81dc953b52 # 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 e31ca8a3936982fb289ce3a844b1ee55f128a24a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d13a77563ff4ab5d12322ecc2494d81dc953b52 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" 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-14T18:49:40.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:49:40.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:49:40.368Z] ========================================================= [2023-11-14T18:49:40.368Z] EdgeX Global Pipelines Version Info [2023-11-14T18:49:40.368Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:49:41.121Z] ------------------- [2023-11-14T18:49:41.121Z] stable info: [2023-11-14T18:49:41.121Z] ------------------- [2023-11-14T18:49:41.121Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:49:41.121Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:49:41.121Z] Message: update stable to v1.0.257 [2023-11-14T18:49:41.692Z] ------------------- [2023-11-14T18:49:41.693Z] experimental info: [2023-11-14T18:49:41.693Z] ------------------- [2023-11-14T18:49:41.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:49:41.693Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:49:41.693Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:49:41.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-14T18:49:42.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-14T18:49:42.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:49:42.093Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:49:42.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:49:42.183Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:49:42.229Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:49:42.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:49:42.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:49:42.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:49:42.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:49:42.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-14T18:49:42.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:49:42.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:49:42.594Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:49:42.638Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:49:42.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:49:42.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:49:42.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:49:42.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:49:42.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-14T18:49:42.901Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-14T18:49:42.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:49:42.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:49:43.025Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:49:43.070Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:49:43.122Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:49:43.162Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo [2023-11-14T18:49:43.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo [2023-11-14T18:49:43.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo [2023-11-14T18:49:43.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [Pipeline] echo [2023-11-14T18:49:43.364Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d13a77 [Pipeline] echo [2023-11-14T18:49:43.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:49:43.518Z] provisioning config files... [2023-11-14T18:49:43.532Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-408@tmp/config12276378998554993641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:49:43.882Z] ---> docker-login.sh [2023-11-14T18:49:43.882Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:49:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:44.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:44.142Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:44.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:44.142Z] [2023-11-14T18:49:44.142Z] Login Succeeded [2023-11-14T18:49:44.142Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:49:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:44.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:44.142Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:44.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:44.142Z] [2023-11-14T18:49:44.142Z] Login Succeeded [2023-11-14T18:49:44.142Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:49:44.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:44.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:44.403Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:44.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:44.403Z] [2023-11-14T18:49:44.403Z] Login Succeeded [2023-11-14T18:49:44.403Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:49:44.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:44.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:44.403Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:44.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:44.403Z] [2023-11-14T18:49:44.403Z] Login Succeeded [2023-11-14T18:49:44.403Z] docker.io [2023-11-14T18:49:44.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:44.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:44.663Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:44.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:44.663Z] [2023-11-14T18:49:44.663Z] Login Succeeded [2023-11-14T18:49:44.663Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:49:44.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:49:45.345Z] + git rev-list -1 --merges 7d13a77563ff4ab5d12322ecc2494d81dc953b52~1..7d13a77563ff4ab5d12322ecc2494d81dc953b52 [Pipeline] echo [2023-11-14T18:49:45.419Z] -----------> git rev-list -1 --merges 7d13a77563ff4ab5d12322ecc2494d81dc953b52~1..7d13a77563ff4ab5d12322ecc2494d81dc953b52 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [false] [Pipeline] sh [2023-11-14T18:49:45.729Z] + git log --format=format:%s -1 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [Pipeline] echo [2023-11-14T18:49:45.763Z] ========================================================= [2023-11-14T18:49:45.763Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:49:45.763Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:49:46.202Z] + git log --format=format:%s -1 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [Pipeline] echo [2023-11-14T18:49:46.239Z] [semverPrep] GIT_COMMIT: 7d13a77563ff4ab5d12322ecc2494d81dc953b52, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:49:46.269Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:49:46.649Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:49:46.649Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:49:46.649Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:49:46.649Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:49:46.649Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:49:46.649Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:49:46.649Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:49:47.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:47.074Z] [2023-11-14T18:49:47.074Z] 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-14T18:49:47.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:47.453Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:49:47.453Z] b85a868b505f: Pulling fs layer [2023-11-14T18:49:47.453Z] e2be974225ed: Pulling fs layer [2023-11-14T18:49:47.453Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:49:47.453Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:49:47.453Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:49:47.453Z] 988bab9f4d93: Waiting [2023-11-14T18:49:47.453Z] eaf3925da568: Pulling fs layer [2023-11-14T18:49:47.453Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:49:47.453Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:49:47.453Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:49:47.453Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:49:47.453Z] eaf3925da568: Waiting [2023-11-14T18:49:47.453Z] 1469e6f7b9e6: Waiting [2023-11-14T18:49:47.453Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:49:47.453Z] bde34c3a00c8: Waiting [2023-11-14T18:49:47.453Z] 4872d77fe225: Waiting [2023-11-14T18:49:47.453Z] b352a97aabf1: Waiting [2023-11-14T18:49:47.453Z] 5851b861e8e6: Waiting [2023-11-14T18:49:47.453Z] bab4dde63d76: Waiting [2023-11-14T18:49:47.453Z] e2be974225ed: Verifying Checksum [2023-11-14T18:49:47.453Z] e2be974225ed: Download complete [2023-11-14T18:49:47.453Z] 988bab9f4d93: Verifying Checksum [2023-11-14T18:49:47.453Z] 988bab9f4d93: Download complete [2023-11-14T18:49:47.453Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:49:47.453Z] 1469e6f7b9e6: Download complete [2023-11-14T18:49:47.453Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:49:47.453Z] 339a4e72a1f5: Download complete [2023-11-14T18:49:47.453Z] eaf3925da568: Verifying Checksum [2023-11-14T18:49:47.453Z] eaf3925da568: Download complete [2023-11-14T18:49:47.713Z] bde34c3a00c8: Download complete [2023-11-14T18:49:47.713Z] b352a97aabf1: Download complete [2023-11-14T18:49:47.713Z] 4872d77fe225: Verifying Checksum [2023-11-14T18:49:47.713Z] 4872d77fe225: Download complete [2023-11-14T18:49:47.713Z] 5851b861e8e6: Download complete [2023-11-14T18:49:47.713Z] b85a868b505f: Download complete [2023-11-14T18:49:47.973Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:49:47.973Z] bab4dde63d76: Download complete [2023-11-14T18:49:48.928Z] b85a868b505f: Pull complete [2023-11-14T18:49:49.188Z] e2be974225ed: Pull complete [2023-11-14T18:49:49.757Z] 339a4e72a1f5: Pull complete [2023-11-14T18:49:49.757Z] 988bab9f4d93: Pull complete [2023-11-14T18:49:50.017Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:49:50.017Z] eaf3925da568: Pull complete [2023-11-14T18:49:51.921Z] bab4dde63d76: Pull complete [2023-11-14T18:49:51.921Z] bde34c3a00c8: Pull complete [2023-11-14T18:49:51.921Z] b352a97aabf1: Pull complete [2023-11-14T18:49:52.181Z] 4872d77fe225: Pull complete [2023-11-14T18:49:52.181Z] 5851b861e8e6: Pull complete [2023-11-14T18:49:52.181Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:49:52.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:52.181Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:49:52.430Z] prd-ubuntu20.04-docker-8c-8g-17516 does not seem to be running inside a container [2023-11-14T18:49:52.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-408 -v /w/workspace/undry_device-onvif-camera_PR-408:/w/workspace/undry_device-onvif-camera_PR-408:rw,z -v /w/workspace/undry_device-onvif-camera_PR-408@tmp:/w/workspace/undry_device-onvif-camera_PR-408@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-14T18:49:55.356Z] $ docker top c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 -eo pid,comm [2023-11-14T18:49:55.419Z] 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-14T18:49:55.419Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:49:55.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:49:55.556Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:49:55.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:49:55.685Z] $ docker exec c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 ssh-agent [2023-11-14T18:49:55.807Z] SSH_AUTH_SOCK=/tmp/ssh-3JHt6t6nJFG4/agent.32 [2023-11-14T18:49:55.807Z] SSH_AGENT_PID=38 [2023-11-14T18:49:55.813Z] Running ssh-add (command line suppressed) [2023-11-14T18:49:55.922Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-408@tmp/private_key_3103864670010301926.key (/w/workspace/undry_device-onvif-camera_PR-408@tmp/private_key_3103864670010301926.key) [2023-11-14T18:49:55.938Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:49:56.269Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:49:56.294Z] $ docker exec --env ******** --env ******** c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 ssh-agent -k [2023-11-14T18:49:56.399Z] unset SSH_AUTH_SOCK; [2023-11-14T18:49:56.399Z] unset SSH_AGENT_PID; [2023-11-14T18:49:56.399Z] echo Agent pid 38 killed; [2023-11-14T18:49:56.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:49:56.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:49:56.493Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:49:56.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:49:56.619Z] $ docker exec c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 ssh-agent [2023-11-14T18:49:56.721Z] SSH_AUTH_SOCK=/tmp/ssh-kIcDpGfGUM6M/agent.71 [2023-11-14T18:49:56.721Z] SSH_AGENT_PID=77 [2023-11-14T18:49:56.726Z] Running ssh-add (command line suppressed) [2023-11-14T18:49:56.842Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-408@tmp/private_key_12372923669771288309.key (/w/workspace/undry_device-onvif-camera_PR-408@tmp/private_key_12372923669771288309.key) [2023-11-14T18:49:56.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:49:57.204Z] + git semver init [2023-11-14T18:49:57.464Z] 2023-11-14 18:49:57,389 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:49:57.464Z] 2023-11-14 18:49:57,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-408/.semver [2023-11-14T18:49:57.464Z] 2023-11-14 18:49:57,390 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-408/.semver [2023-11-14T18:49:57.464Z] 2023-11-14 18:49:57,390 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-408/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-408, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,503 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-408/.git/info/exclude [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,504 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-408/.semver/PR-408 with force:False [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,504 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-408/.semver/PR-408 [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,508 [execute] INFO git cat-file --batch-check [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-408/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,517 [execute] INFO git cat-file --batch [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-408/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:49:58.868Z] 2023-11-14 18:49:58,524 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-408/.semver/PR-408 [2023-11-14T18:49:58.868Z] 0.0.0 [Pipeline] } [2023-11-14T18:49:58.897Z] $ docker exec --env ******** --env ******** c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 ssh-agent -k [2023-11-14T18:49:58.987Z] unset SSH_AUTH_SOCK; [2023-11-14T18:49:58.988Z] unset SSH_AGENT_PID; [2023-11-14T18:49:58.988Z] echo Agent pid 77 killed; [2023-11-14T18:49:58.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:49:59.439Z] + git semver [Pipeline] } [2023-11-14T18:49:59.720Z] $ docker stop --time=1 c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 [2023-11-14T18:50:01.039Z] $ docker rm -f --volumes c489292c3bd93af590a5bf1dd24a1019c322251b43a98861635e146c8f0bb9e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:50:01.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:50:01.725Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:50:01.744Z] [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-14T18:50:02.439Z] provisioning config files... [2023-11-14T18:50:02.448Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-408@tmp/config14004654685740164566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:50:02.796Z] ---> docker-login.sh [2023-11-14T18:50:02.796Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:50:02.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:50:02.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:50:02.796Z] Configure a credential helper to remove this warning. See [2023-11-14T18:50:02.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:50:02.796Z] [2023-11-14T18:50:02.796Z] Login Succeeded [2023-11-14T18:50:02.796Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:50:02.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:50:02.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:50:02.797Z] Configure a credential helper to remove this warning. See [2023-11-14T18:50:02.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:50:02.797Z] [2023-11-14T18:50:02.797Z] Login Succeeded [2023-11-14T18:50:02.797Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:50:03.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:50:03.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:50:03.056Z] Configure a credential helper to remove this warning. See [2023-11-14T18:50:03.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:50:03.056Z] [2023-11-14T18:50:03.056Z] Login Succeeded [2023-11-14T18:50:03.056Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:50:03.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:50:03.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:50:03.056Z] Configure a credential helper to remove this warning. See [2023-11-14T18:50:03.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:50:03.056Z] [2023-11-14T18:50:03.056Z] Login Succeeded [2023-11-14T18:50:03.056Z] docker.io [2023-11-14T18:50:03.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:50:03.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:50:03.576Z] Configure a credential helper to remove this warning. See [2023-11-14T18:50:03.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:50:03.576Z] [2023-11-14T18:50:03.576Z] Login Succeeded [2023-11-14T18:50:03.576Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:50:03.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:50:03.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:50:03.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:50:03.869Z] ========================================================= [2023-11-14T18:50:03.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:50:03.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:04.374Z] + 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-14T18:50:04.374Z] Sending build context to Docker daemon 21.7MB [2023-11-14T18:50:04.374Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:50:04.374Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-14T18:50:04.640Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:50:04.640Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:50:04.640Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:50:04.640Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:50:04.640Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:50:04.640Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:50:04.640Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:50:04.640Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:50:04.640Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:50:04.640Z] ad3a456e5733: Waiting [2023-11-14T18:50:04.640Z] 1f1c1a5573a3: Waiting [2023-11-14T18:50:04.641Z] 69c7f0334f64: Waiting [2023-11-14T18:50:04.641Z] ce7588e14bc9: Waiting [2023-11-14T18:50:04.641Z] c4d48a809fc2: Download complete [2023-11-14T18:50:04.641Z] ad3a456e5733: Verifying Checksum [2023-11-14T18:50:04.641Z] ad3a456e5733: Download complete [2023-11-14T18:50:04.641Z] 69c7f0334f64: Download complete [2023-11-14T18:50:04.641Z] 7264a8db6415: Download complete [2023-11-14T18:50:04.641Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:50:04.641Z] 1f1c1a5573a3: Download complete [2023-11-14T18:50:04.908Z] 7264a8db6415: Pull complete [2023-11-14T18:50:04.908Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:50:04.908Z] b5e4710f87ac: Download complete [2023-11-14T18:50:04.908Z] c4d48a809fc2: Pull complete [2023-11-14T18:50:05.168Z] 4f1c88b9dad5: Download complete [2023-11-14T18:50:05.428Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:50:05.428Z] ce7588e14bc9: Download complete [2023-11-14T18:50:08.712Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:50:08.712Z] ad3a456e5733: Pull complete [2023-11-14T18:50:08.712Z] 69c7f0334f64: Pull complete [2023-11-14T18:50:08.712Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:50:11.243Z] ce7588e14bc9: Pull complete [2023-11-14T18:50:11.813Z] b5e4710f87ac: Pull complete [2023-11-14T18:50:11.813Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:50:11.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:50:11.813Z] ---> 88b5674ff536 [2023-11-14T18:50:11.813Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:50:17.243Z] Still waiting to schedule task [2023-11-14T18:50:17.243Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:50:17.270Z] ---> Running in a1f758c6df87 [2023-11-14T18:50:17.270Z] Removing intermediate container a1f758c6df87 [2023-11-14T18:50:17.270Z] ---> b8c0364d99f0 [2023-11-14T18:50:17.270Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:50:17.270Z] ---> Running in c9b5b62c975b [2023-11-14T18:50:17.270Z] Removing intermediate container c9b5b62c975b [2023-11-14T18:50:17.270Z] ---> 3b40f7de12ea [2023-11-14T18:50:17.270Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:50:17.270Z] ---> Running in 9d4cdbf50c65 [2023-11-14T18:50:17.270Z] Removing intermediate container 9d4cdbf50c65 [2023-11-14T18:50:17.270Z] ---> 313114e79f83 [2023-11-14T18:50:17.270Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:50:17.270Z] ---> Running in c8044a75de1d [2023-11-14T18:50:17.270Z] Removing intermediate container c8044a75de1d [2023-11-14T18:50:17.270Z] ---> dbe6615be3e3 [2023-11-14T18:50:17.270Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-14T18:50:17.270Z] ---> Running in 5d5a2672d2c6 [2023-11-14T18:50:17.270Z] Removing intermediate container 5d5a2672d2c6 [2023-11-14T18:50:17.270Z] ---> 3272356e6130 [2023-11-14T18:50:17.270Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:50:17.528Z] ---> Running in 63ebe84d1898 [2023-11-14T18:50:17.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:50:17.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:50:18.046Z] OK: 264 MiB in 52 packages [2023-11-14T18:50:18.613Z] Removing intermediate container 63ebe84d1898 [2023-11-14T18:50:18.613Z] ---> ba386bfc92e1 [2023-11-14T18:50:18.613Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-14T18:50:18.613Z] ---> Running in b58165eabb43 [2023-11-14T18:50:18.613Z] Removing intermediate container b58165eabb43 [2023-11-14T18:50:18.613Z] ---> fc4f17c67811 [2023-11-14T18:50:18.613Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-14T18:50:18.613Z] ---> 3f1140f0ab3b [2023-11-14T18:50:18.613Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:50:18.613Z] ---> Running in 5b42dc9557f5 [2023-11-14T18:50:57.391Z] Removing intermediate container 5b42dc9557f5 [2023-11-14T18:50:57.391Z] ---> aad2a5bfa33f [2023-11-14T18:50:57.391Z] Step 12/13 : COPY . . [2023-11-14T18:50:57.391Z] ---> 84d48164673d [2023-11-14T18:50:57.391Z] Step 13/13 : RUN ${MAKE} [2023-11-14T18:50:57.391Z] ---> Running in 2035aa4842e9 [2023-11-14T18:50:57.391Z] noop [2023-11-14T18:50:57.391Z] Removing intermediate container 2035aa4842e9 [2023-11-14T18:50:57.391Z] ---> 9b4556fb726d [2023-11-14T18:50:57.391Z] Successfully built 9b4556fb726d [2023-11-14T18:50:57.391Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:57.870Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:50:57.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:50:58.029Z] prd-ubuntu20.04-docker-8c-8g-17516 does not seem to be running inside a container [2023-11-14T18:50:58.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-408 -v /w/workspace/undry_device-onvif-camera_PR-408:/w/workspace/undry_device-onvif-camera_PR-408:rw,z -v /w/workspace/undry_device-onvif-camera_PR-408@tmp:/w/workspace/undry_device-onvif-camera_PR-408@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-14T18:50:58.373Z] $ docker top 145095b3c99470572b59b73303c1ebc5f215eead290fddf139657468a24815f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:50:58.769Z] + go version [2023-11-14T18:50:58.769Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:50:58.803Z] $ docker stop --time=1 145095b3c99470572b59b73303c1ebc5f215eead290fddf139657468a24815f5 [2023-11-14T18:51:00.057Z] $ docker rm -f --volumes 145095b3c99470572b59b73303c1ebc5f215eead290fddf139657468a24815f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:51:00.785Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:51:00.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:51:00.949Z] prd-ubuntu20.04-docker-8c-8g-17516 does not seem to be running inside a container [2023-11-14T18:51:00.980Z] $ 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-408 -v /w/workspace/undry_device-onvif-camera_PR-408:/w/workspace/undry_device-onvif-camera_PR-408:rw,z -v /w/workspace/undry_device-onvif-camera_PR-408@tmp:/w/workspace/undry_device-onvif-camera_PR-408@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-14T18:51:01.289Z] $ docker top 9c92458ae0baeb3e67d98361c9df46751b1d7cff7a38ea5f97368afe941b4306 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:51:01.722Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-408 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:51:02.093Z] + make test [2023-11-14T18:51:02.093Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:51:03.467Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-14T18:51:13.428Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-14T18:51:13.686Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-14T18:51:16.219Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.5% of statements [2023-11-14T18:51:16.219Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.102s coverage: 86.5% of statements [2023-11-14T18:51:22.773Z] go vet ./... [2023-11-14T18:51:26.095Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:51:26.095Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:51:26.095Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:51:26.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:51:26.164Z] $ docker stop --time=1 9c92458ae0baeb3e67d98361c9df46751b1d7cff7a38ea5f97368afe941b4306 [2023-11-14T18:51:29.763Z] $ docker rm -f --volumes 9c92458ae0baeb3e67d98361c9df46751b1d7cff7a38ea5f97368afe941b4306 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:51:30.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:51:30.410Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:51:31.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:51:31.370Z] + ls -al . [2023-11-14T18:51:31.370Z] total 240 [2023-11-14T18:51:31.370Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:51 . [2023-11-14T18:51:31.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:49 .. [2023-11-14T18:51:31.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:51 .git [2023-11-14T18:51:31.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:49 .github [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 18:49 .gitignore [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:49 .golangci.yml [2023-11-14T18:51:31.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:49 .semver [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 18:49 Attribution.txt [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 18:49 CHANGELOG.md [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 18:49 Dockerfile [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:49 GOVERNANCE.md [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 18:49 Jenkinsfile [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 18:49 LICENSE [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 18:49 Makefile [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 18:49 OWNERS.md [2023-11-14T18:51:31.370Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 18:49 README.md [2023-11-14T18:51:31.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:50 VERSION [2023-11-14T18:51:31.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:49 bin [2023-11-14T18:51:31.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:49 cmd [2023-11-14T18:51:31.371Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 18:51 coverage.out [2023-11-14T18:51:31.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:49 doc [2023-11-14T18:51:31.371Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 18:49 go.mod [2023-11-14T18:51:31.371Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 18:49 go.sum [2023-11-14T18:51:31.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:49 internal [2023-11-14T18:51:31.371Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:51:31.762Z] + 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=7d13a77563ff4ab5d12322ecc2494d81dc953b52 --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:51:31.762Z] Sending build context to Docker daemon 21.78MB [2023-11-14T18:51:31.762Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:51:31.762Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T18:51:31.762Z] ---> 9b4556fb726d [2023-11-14T18:51:31.762Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:51:32.022Z] ---> Running in af3b6c0fc45d [2023-11-14T18:51:32.281Z] Removing intermediate container af3b6c0fc45d [2023-11-14T18:51:32.281Z] ---> 059b293e3353 [2023-11-14T18:51:32.281Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:51:32.281Z] ---> Running in 070d6cc8c815 [2023-11-14T18:51:32.281Z] Removing intermediate container 070d6cc8c815 [2023-11-14T18:51:32.281Z] ---> 137e8373ba70 [2023-11-14T18:51:32.281Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:51:32.281Z] ---> Running in 27bb25936c8f [2023-11-14T18:51:32.281Z] Removing intermediate container 27bb25936c8f [2023-11-14T18:51:32.281Z] ---> 5cf505bf9633 [2023-11-14T18:51:32.281Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:51:32.281Z] ---> Running in 70a1370da87d [2023-11-14T18:51:32.540Z] Removing intermediate container 70a1370da87d [2023-11-14T18:51:32.540Z] ---> f41059ddebca [2023-11-14T18:51:32.540Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-14T18:51:32.540Z] ---> Running in eb3129b4c012 [2023-11-14T18:51:32.540Z] Removing intermediate container eb3129b4c012 [2023-11-14T18:51:32.540Z] ---> e6500bd584cb [2023-11-14T18:51:32.540Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:51:32.540Z] ---> Running in 952c0d8d8ace [2023-11-14T18:51:32.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:32.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:33.058Z] OK: 264 MiB in 52 packages [2023-11-14T18:51:33.317Z] Removing intermediate container 952c0d8d8ace [2023-11-14T18:51:33.317Z] ---> e75b0f568af3 [2023-11-14T18:51:33.317Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-14T18:51:33.575Z] ---> Running in f20faa290691 [2023-11-14T18:51:33.575Z] Removing intermediate container f20faa290691 [2023-11-14T18:51:33.575Z] ---> 857db3f6f1eb [2023-11-14T18:51:33.575Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-14T18:51:33.575Z] ---> f143f670451b [2023-11-14T18:51:33.575Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:51:33.575Z] ---> Running in f105e22dc4b2 [2023-11-14T18:51:34.514Z] Removing intermediate container f105e22dc4b2 [2023-11-14T18:51:34.514Z] ---> b5fbbda8f3c0 [2023-11-14T18:51:34.514Z] Step 12/27 : COPY . . [2023-11-14T18:51:35.272Z] ---> d4b54457ae59 [2023-11-14T18:51:35.273Z] Step 13/27 : RUN ${MAKE} [2023-11-14T18:51:35.273Z] ---> Running in 8b73df4f8266 [2023-11-14T18:51:35.531Z] 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-14T18:51:57.452Z] Removing intermediate container 8b73df4f8266 [2023-11-14T18:51:57.452Z] ---> 0b113d900b99 [2023-11-14T18:51:57.452Z] Step 14/27 : FROM alpine:3.18 [2023-11-14T18:51:57.452Z] 3.18: Pulling from library/alpine [2023-11-14T18:51:57.452Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:51:57.452Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:51:57.452Z] 96526aa774ef: Download complete [2023-11-14T18:51:57.452Z] 96526aa774ef: Pull complete [2023-11-14T18:51:57.452Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:51:57.452Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:51:57.452Z] ---> 8ca4688f4f35 [2023-11-14T18:51:57.452Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-14T18:51:57.452Z] ---> Running in 9e06d2c636e1 [2023-11-14T18:51:57.452Z] Removing intermediate container 9e06d2c636e1 [2023-11-14T18:51:57.452Z] ---> 682fa1e66cf9 [2023-11-14T18:51:57.452Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:51:57.452Z] ---> Running in 3d91cb02d946 [2023-11-14T18:51:57.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:57.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:57.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:51:57.452Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:51:57.452Z] OK: 7 MiB in 16 packages [2023-11-14T18:51:57.452Z] Removing intermediate container 3d91cb02d946 [2023-11-14T18:51:57.452Z] ---> f42e3ecfb4e7 [2023-11-14T18:51:57.452Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T18:51:57.452Z] ---> Running in 8c981c52ae8e [2023-11-14T18:51:57.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:57.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:57.452Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:57.452Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:57.452Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:51:57.452Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:57.452Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:57.452Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:57.452Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:57.452Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:57.452Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:51:57.452Z] OK: 7 MiB in 16 packages [2023-11-14T18:51:57.711Z] Removing intermediate container 8c981c52ae8e [2023-11-14T18:51:57.711Z] ---> 774d4a73e89b [2023-11-14T18:51:57.711Z] Step 18/27 : WORKDIR / [2023-11-14T18:51:57.711Z] ---> Running in 3e22513908c4 [2023-11-14T18:51:57.969Z] Removing intermediate container 3e22513908c4 [2023-11-14T18:51:57.969Z] ---> 5670d74cba8f [2023-11-14T18:51:57.969Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-14T18:51:58.535Z] ---> 8cbddfc9e1e6 [2023-11-14T18:51:58.535Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-14T18:51:58.795Z] ---> 3faefa35a77c [2023-11-14T18:51:58.795Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-14T18:51:58.795Z] ---> 6d9cc0a33a71 [2023-11-14T18:51:58.795Z] Step 22/27 : EXPOSE 59984 [2023-11-14T18:51:58.795Z] ---> Running in 8ba10009bd50 [2023-11-14T18:51:59.056Z] Removing intermediate container 8ba10009bd50 [2023-11-14T18:51:59.056Z] ---> 2c5457d30ede [2023-11-14T18:51:59.056Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-14T18:51:59.056Z] ---> Running in e7749c9bb704 [2023-11-14T18:51:59.056Z] Removing intermediate container e7749c9bb704 [2023-11-14T18:51:59.056Z] ---> 6e2dd97c3528 [2023-11-14T18:51:59.056Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:51:59.056Z] ---> Running in b60aec7d17d6 [2023-11-14T18:51:59.056Z] Removing intermediate container b60aec7d17d6 [2023-11-14T18:51:59.056Z] ---> 4fedaa3391db [2023-11-14T18:51:59.056Z] Step 25/27 : LABEL arch=amd64 [2023-11-14T18:51:59.318Z] ---> Running in c6e5214237b0 [2023-11-14T18:51:59.318Z] Removing intermediate container c6e5214237b0 [2023-11-14T18:51:59.318Z] ---> 6154eea52423 [2023-11-14T18:51:59.318Z] Step 26/27 : LABEL git_sha=7d13a77563ff4ab5d12322ecc2494d81dc953b52 [2023-11-14T18:51:59.318Z] ---> Running in e1e1f5d142c5 [2023-11-14T18:51:59.318Z] Removing intermediate container e1e1f5d142c5 [2023-11-14T18:51:59.318Z] ---> 83b563740888 [2023-11-14T18:51:59.318Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T18:51:59.318Z] ---> Running in f569c719411f [2023-11-14T18:51:59.318Z] Removing intermediate container f569c719411f [2023-11-14T18:51:59.318Z] ---> 5f92f6e246a4 [2023-11-14T18:51:59.318Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:51:59.578Z] Successfully built 5f92f6e246a4 [2023-11-14T18:51:59.578Z] 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-14T18:52:00.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:52:00.410Z] [2023-11-14T18:52:00.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:52:00.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:52:00.792Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:52:00.792Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:52:00.792Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:52:00.792Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:52:00.792Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:52:00.792Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:52:00.792Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:52:00.792Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:52:00.792Z] 33b1e0a273af: Waiting [2023-11-14T18:52:00.792Z] 5d3b04190fa2: Waiting [2023-11-14T18:52:00.792Z] 2f39f015ded8: Waiting [2023-11-14T18:52:00.792Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:52:00.792Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:52:00.792Z] 5c69ac0246d0: Download complete [2023-11-14T18:52:00.792Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:52:00.792Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:52:00.792Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:52:00.792Z] 33b1e0a273af: Download complete [2023-11-14T18:52:00.792Z] ec43610c2a17: Download complete [2023-11-14T18:52:00.792Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T18:52:00.792Z] 5d3b04190fa2: Download complete [2023-11-14T18:52:01.053Z] 5eb5b503b376: Verifying Checksum [2023-11-14T18:52:01.053Z] 5eb5b503b376: Download complete [2023-11-14T18:52:01.619Z] 2f39f015ded8: Download complete [2023-11-14T18:52:02.187Z] 5eb5b503b376: Pull complete [2023-11-14T18:52:02.187Z] 5c69ac0246d0: Pull complete [2023-11-14T18:52:02.752Z] ec43610c2a17: Pull complete [2023-11-14T18:52:02.752Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:52:03.011Z] 33b1e0a273af: Pull complete [2023-11-14T18:52:03.011Z] 5d3b04190fa2: Pull complete [2023-11-14T18:52:07.197Z] 2f39f015ded8: Pull complete [2023-11-14T18:52:07.197Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:52:07.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:52:07.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:52:07.415Z] prd-ubuntu20.04-docker-8c-8g-17516 does not seem to be running inside a container [2023-11-14T18:52:07.446Z] $ 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-408 -v /w/workspace/undry_device-onvif-camera_PR-408:/w/workspace/undry_device-onvif-camera_PR-408:rw,z -v /w/workspace/undry_device-onvif-camera_PR-408@tmp:/w/workspace/undry_device-onvif-camera_PR-408@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-14T18:52:11.601Z] $ docker top 3b3b7b4acbab91cfb7fd0f01761812b9991bf4ab3837d71f849c4de3200b2f5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:12.038Z] ---> job-cost.sh [2023-11-14T18:52:12.038Z] lf-activate-venv: SKIPPING [2023-11-14T18:52:12.038Z] INFO: No Stack... [2023-11-14T18:52:12.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:52:12.863Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:52:13.186Z] + cat /w/workspace/undry_device-onvif-camera_PR-408/archives/cost.csv [2023-11-14T18:52:13.186Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:52:13.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [2023-11-14T18:52:13.235Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] did not exist. Created. [2023-11-14T18:52:13.235Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:52:13.633Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:52:13.685Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:52:13.717Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:52:13.803Z] $ docker stop --time=1 3b3b7b4acbab91cfb7fd0f01761812b9991bf4ab3837d71f849c4de3200b2f5c [2023-11-14T18:52:14.950Z] $ docker rm -f --volumes 3b3b7b4acbab91cfb7fd0f01761812b9991bf4ab3837d71f849c4de3200b2f5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:54:01.098Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17518 in /w/workspace/undry_device-onvif-camera_PR-408 [Pipeline] { [Pipeline] ws [2023-11-14T18:54:01.164Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:54:01.256Z] The recommended git tool is: git [2023-11-14T18:54:07.579Z] using credential edgex-jenkins-ssh [2023-11-14T18:54:07.597Z] Cloning the remote Git repository [2023-11-14T18:54:07.653Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T18:54:07.770Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-11-14T18:54:07.952Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T18:54:07.953Z] > git --version # timeout=10 [2023-11-14T18:54:07.979Z] > git --version # 'git version 2.25.1' [2023-11-14T18:54:07.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:54:08.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:54:09.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-14T18:54:09.879Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:54:11.600Z] Merging remotes/origin/main commit e31ca8a3936982fb289ce3a844b1ee55f128a24a into PR head commit 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [2023-11-14T18:54:10.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-14T18:54:10.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T18:54:10.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:54:10.959Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:54:11.624Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:54:12.024Z] Merge succeeded, producing 7d13a77563ff4ab5d12322ecc2494d81dc953b52 [2023-11-14T18:54:12.025Z] Checking out Revision 7d13a77563ff4ab5d12322ecc2494d81dc953b52 (PR-408) [2023-11-14T18:54:11.726Z] > git checkout -f 7d13a77563ff4ab5d12322ecc2494d81dc953b52 # timeout=10 [2023-11-14T18:54:11.914Z] > git remote # timeout=10 [2023-11-14T18:54:11.943Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:54:11.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:54:11.976Z] > git merge e31ca8a3936982fb289ce3a844b1ee55f128a24a # timeout=10 [2023-11-14T18:54:12.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:54:12.034Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:54:12.051Z] > git checkout -f 7d13a77563ff4ab5d12322ecc2494d81dc953b52 # timeout=10 [2023-11-14T18:54:18.992Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:54:19.053Z] > git --version # timeout=10 [2023-11-14T18:54:19.067Z] > git --version # 'git version 2.25.1' [2023-11-14T18:54:19.082Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:54:20.345Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:54:20.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:54:20.345Z] Dload Upload Total Spent Left Speed [2023-11-14T18:54:20.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2023-11-14T18:54:21.162Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:54:21.518Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:54:21.518Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:54:21.518Z] { [2023-11-14T18:54:21.518Z] "registry-mirrors": [ [2023-11-14T18:54:21.518Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:54:21.518Z] ], [2023-11-14T18:54:21.518Z] "bip": "10.250.0.254/24", [2023-11-14T18:54:21.518Z] "hosts": [ [2023-11-14T18:54:21.518Z] "tcp://0.0.0.0:5555", [2023-11-14T18:54:21.518Z] "unix:///var/run/docker.sock" [2023-11-14T18:54:21.518Z] ], [2023-11-14T18:54:21.518Z] "mtu": 1458, [2023-11-14T18:54:21.518Z] "selinux-enabled": true, [2023-11-14T18:54:21.518Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:54:21.518Z] } [Pipeline] sh [2023-11-14T18:54:21.866Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:54:22.220Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:54:40.574Z] provisioning config files... [2023-11-14T18:54:40.606Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9629198988181417114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:54:41.040Z] ---> docker-login.sh [2023-11-14T18:54:41.040Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:54:41.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:41.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:41.912Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:41.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:41.912Z] [2023-11-14T18:54:41.912Z] Login Succeeded [2023-11-14T18:54:41.912Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:54:42.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:42.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:42.183Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:42.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:42.183Z] [2023-11-14T18:54:42.183Z] Login Succeeded [2023-11-14T18:54:42.183Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:54:42.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:42.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:42.731Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:42.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:42.731Z] [2023-11-14T18:54:42.731Z] Login Succeeded [2023-11-14T18:54:42.731Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:54:43.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:43.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:43.001Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:43.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:43.001Z] [2023-11-14T18:54:43.001Z] Login Succeeded [2023-11-14T18:54:43.001Z] docker.io [2023-11-14T18:54:43.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:54:43.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:54:43.541Z] Configure a credential helper to remove this warning. See [2023-11-14T18:54:43.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:54:43.541Z] [2023-11-14T18:54:43.541Z] Login Succeeded [2023-11-14T18:54:43.541Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:54:43.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:54:44.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:54:44.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:54:44.312Z] ========================================================= [2023-11-14T18:54:44.312Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:54:44.312Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:54:44.844Z] + 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-14T18:54:46.277Z] Sending build context to Docker daemon 14.21MB [2023-11-14T18:54:46.277Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:54:46.277Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-14T18:54:46.545Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:54:46.545Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:54:46.545Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:54:46.545Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:54:46.545Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:54:46.545Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:54:46.545Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:54:46.545Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:54:46.545Z] f0e02332f6b5: Waiting [2023-11-14T18:54:46.545Z] 872ee5b61b7b: Waiting [2023-11-14T18:54:46.545Z] 0c6a40ed1a82: Waiting [2023-11-14T18:54:46.545Z] 94ae7d8d031c: Waiting [2023-11-14T18:54:46.545Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:54:46.545Z] 5d54e960e981: Download complete [2023-11-14T18:54:46.545Z] f0e02332f6b5: Download complete [2023-11-14T18:54:46.545Z] 872ee5b61b7b: Download complete [2023-11-14T18:54:46.545Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T18:54:46.545Z] 9fda8d8052c6: Download complete [2023-11-14T18:54:47.135Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:54:47.135Z] 94ae7d8d031c: Download complete [2023-11-14T18:54:47.405Z] 9fda8d8052c6: Pull complete [2023-11-14T18:54:48.000Z] 5d54e960e981: Pull complete [2023-11-14T18:54:48.586Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T18:54:48.586Z] c4a7e357bf2a: Download complete [2023-11-14T18:54:49.580Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T18:54:49.581Z] 0c6a40ed1a82: Download complete [2023-11-14T18:55:01.932Z] c4a7e357bf2a: Pull complete [2023-11-14T18:55:01.932Z] f0e02332f6b5: Pull complete [2023-11-14T18:55:01.932Z] 872ee5b61b7b: Pull complete [2023-11-14T18:55:10.179Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:55:14.448Z] 94ae7d8d031c: Pull complete [2023-11-14T18:55:14.449Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:55:14.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:55:14.721Z] ---> 86de565de09d [2023-11-14T18:55:14.721Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:55:16.673Z] ---> Running in 293ced077415 [2023-11-14T18:55:16.942Z] Removing intermediate container 293ced077415 [2023-11-14T18:55:16.942Z] ---> 829874108d23 [2023-11-14T18:55:16.942Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:55:16.942Z] ---> Running in 545ba34a6ec5 [2023-11-14T18:55:17.211Z] Removing intermediate container 545ba34a6ec5 [2023-11-14T18:55:17.211Z] ---> aa4f0a2094ab [2023-11-14T18:55:17.211Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:55:17.478Z] ---> Running in 8f2f6184b6f8 [2023-11-14T18:55:17.748Z] Removing intermediate container 8f2f6184b6f8 [2023-11-14T18:55:17.748Z] ---> f2b2e3e75044 [2023-11-14T18:55:17.748Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:55:18.016Z] ---> Running in bdc914c71a4b [2023-11-14T18:55:18.286Z] Removing intermediate container bdc914c71a4b [2023-11-14T18:55:18.286Z] ---> bd05421febf3 [2023-11-14T18:55:18.286Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-14T18:55:18.286Z] ---> Running in 6e04ca833175 [2023-11-14T18:55:18.872Z] Removing intermediate container 6e04ca833175 [2023-11-14T18:55:18.872Z] ---> 827661609da9 [2023-11-14T18:55:18.872Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:55:18.872Z] ---> Running in 12854c3663d2 [2023-11-14T18:55:20.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:55:20.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:55:21.709Z] OK: 266 MiB in 52 packages [2023-11-14T18:55:22.680Z] Removing intermediate container 12854c3663d2 [2023-11-14T18:55:22.680Z] ---> 809a780f34eb [2023-11-14T18:55:22.680Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-14T18:55:22.680Z] ---> Running in cc1c1a80a015 [2023-11-14T18:55:22.951Z] Removing intermediate container cc1c1a80a015 [2023-11-14T18:55:22.951Z] ---> 9d1c8d570ecf [2023-11-14T18:55:22.951Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-14T18:55:23.537Z] ---> ab27af2005cc [2023-11-14T18:55:23.537Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:55:23.537Z] ---> Running in 181a5421d7d9 [2023-11-14T18:56:45.269Z] Removing intermediate container 181a5421d7d9 [2023-11-14T18:56:45.269Z] ---> 2eb6d38776b9 [2023-11-14T18:56:45.269Z] Step 12/13 : COPY . . [2023-11-14T18:56:45.269Z] ---> c36d2efa6536 [2023-11-14T18:56:45.269Z] Step 13/13 : RUN ${MAKE} [2023-11-14T18:56:45.269Z] ---> Running in 98dd092c6948 [2023-11-14T18:56:45.269Z] noop [2023-11-14T18:56:45.269Z] Removing intermediate container 98dd092c6948 [2023-11-14T18:56:45.269Z] ---> 67072aa64142 [2023-11-14T18:56:45.269Z] Successfully built 67072aa64142 [2023-11-14T18:56:45.269Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:56:45.741Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:56:45.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:56:46.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-17518 does not seem to be running inside a container [2023-11-14T18:56:46.104Z] $ 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-14T18:56:47.359Z] $ docker top 678c897d366fcf64f5d6b0c83060ce8aa6ca538803dfc9a3a2c63d9b4197f586 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:56:48.268Z] + go version [2023-11-14T18:56:48.268Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:56:48.303Z] $ docker stop --time=1 678c897d366fcf64f5d6b0c83060ce8aa6ca538803dfc9a3a2c63d9b4197f586 [2023-11-14T18:56:49.978Z] $ docker rm -f --volumes 678c897d366fcf64f5d6b0c83060ce8aa6ca538803dfc9a3a2c63d9b4197f586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:56:50.836Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:56:50.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:56:51.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-17518 does not seem to be running inside a container [2023-11-14T18:56:51.185Z] $ 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-14T18:56:55.640Z] $ docker top 86c8c470f73f553bad07472ddf045cd8c54b14c5ad3915626c68f10f980ee97a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:56:56.527Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:56:57.271Z] + make test [2023-11-14T18:56:57.271Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:57:01.570Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-14T18:59:08.259Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-14T18:59:08.259Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-14T18:59:08.259Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.285s coverage: 31.5% of statements [2023-11-14T18:59:26.496Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.975s coverage: 86.5% of statements [2023-11-14T18:59:26.496Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:59:26.496Z] go vet ./... [2023-11-14T18:59:53.218Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:59:53.218Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:59:53.218Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:59:53.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:59:53.302Z] $ docker stop --time=1 86c8c470f73f553bad07472ddf045cd8c54b14c5ad3915626c68f10f980ee97a [2023-11-14T18:59:55.215Z] $ docker rm -f --volumes 86c8c470f73f553bad07472ddf045cd8c54b14c5ad3915626c68f10f980ee97a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:59:56.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:59:56.551Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:59:57.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:59:57.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:59:57.958Z] + ls -al . [2023-11-14T18:59:57.958Z] total 236 [2023-11-14T18:59:57.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:57 . [2023-11-14T18:59:57.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:54 .. [2023-11-14T18:59:57.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:54 .git [2023-11-14T18:59:57.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 .github [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 18:54 .gitignore [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:54 .golangci.yml [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 18:54 Attribution.txt [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 18:54 CHANGELOG.md [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 18:54 Dockerfile [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:54 GOVERNANCE.md [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 18:54 Jenkinsfile [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 18:54 LICENSE [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 18:54 Makefile [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 18:54 OWNERS.md [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 18:54 README.md [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:50 VERSION [2023-11-14T18:59:57.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:54 bin [2023-11-14T18:59:57.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 cmd [2023-11-14T18:59:57.958Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 18:59 coverage.out [2023-11-14T18:59:57.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:54 doc [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 18:54 go.mod [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 18:54 go.sum [2023-11-14T18:59:57.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:54 internal [2023-11-14T18:59:57.958Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:59:58.381Z] + 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=7d13a77563ff4ab5d12322ecc2494d81dc953b52 --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:59:58.964Z] Sending build context to Docker daemon 14.29MB [2023-11-14T18:59:58.964Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:59:58.964Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T18:59:58.964Z] ---> 67072aa64142 [2023-11-14T18:59:58.964Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:00:00.372Z] ---> Running in 6e6501da6ca2 [2023-11-14T19:00:00.641Z] Removing intermediate container 6e6501da6ca2 [2023-11-14T19:00:00.641Z] ---> 44529ced0877 [2023-11-14T19:00:00.641Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:00:00.908Z] ---> Running in 367a45dd7cac [2023-11-14T19:00:01.176Z] Removing intermediate container 367a45dd7cac [2023-11-14T19:00:01.176Z] ---> d34dc8c0c0ef [2023-11-14T19:00:01.176Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T19:00:01.176Z] ---> Running in c5b831915c00 [2023-11-14T19:00:01.444Z] Removing intermediate container c5b831915c00 [2023-11-14T19:00:01.444Z] ---> bd1581a32894 [2023-11-14T19:00:01.444Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:00:01.444Z] ---> Running in c839d85f7b95 [2023-11-14T19:00:01.719Z] Removing intermediate container c839d85f7b95 [2023-11-14T19:00:01.719Z] ---> deec805c8894 [2023-11-14T19:00:01.719Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-14T19:00:01.987Z] ---> Running in 6a4647f56e30 [2023-11-14T19:00:02.254Z] Removing intermediate container 6a4647f56e30 [2023-11-14T19:00:02.254Z] ---> 15e1f0f232fe [2023-11-14T19:00:02.254Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:00:02.254Z] ---> Running in 7d5a45616243 [2023-11-14T19:00:03.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:03.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:04.765Z] OK: 266 MiB in 52 packages [2023-11-14T19:00:05.726Z] Removing intermediate container 7d5a45616243 [2023-11-14T19:00:05.726Z] ---> 901fc7ed6eba [2023-11-14T19:00:05.726Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-14T19:00:05.726Z] ---> Running in 80352be69d0a [2023-11-14T19:00:06.313Z] Removing intermediate container 80352be69d0a [2023-11-14T19:00:06.313Z] ---> 62d038cda2ac [2023-11-14T19:00:06.313Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-14T19:00:06.896Z] ---> 2011fc13f9f6 [2023-11-14T19:00:06.896Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:00:06.896Z] ---> Running in 44dbc6bfa27b [2023-11-14T19:00:09.484Z] Removing intermediate container 44dbc6bfa27b [2023-11-14T19:00:09.484Z] ---> 6fc0920953b7 [2023-11-14T19:00:09.484Z] Step 12/27 : COPY . . [2023-11-14T19:00:16.145Z] ---> 259e8c90daf9 [2023-11-14T19:00:16.145Z] Step 13/27 : RUN ${MAKE} [2023-11-14T19:00:16.145Z] ---> Running in 14cc90698c3e [2023-11-14T19:00:16.415Z] 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-14T19:02:38.271Z] Removing intermediate container 14cc90698c3e [2023-11-14T19:02:38.271Z] ---> 1e8d2a68394d [2023-11-14T19:02:38.271Z] Step 14/27 : FROM alpine:3.18 [2023-11-14T19:02:38.271Z] 3.18: Pulling from library/alpine [2023-11-14T19:02:38.271Z] 579b34f0a95b: Pulling fs layer [2023-11-14T19:02:38.271Z] 579b34f0a95b: Verifying Checksum [2023-11-14T19:02:38.271Z] 579b34f0a95b: Download complete [2023-11-14T19:02:38.271Z] 579b34f0a95b: Pull complete [2023-11-14T19:02:38.271Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T19:02:38.271Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T19:02:38.271Z] ---> 3cc203321400 [2023-11-14T19:02:38.271Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-14T19:02:38.271Z] ---> Running in 88ea1f4fd5e3 [2023-11-14T19:02:38.271Z] Removing intermediate container 88ea1f4fd5e3 [2023-11-14T19:02:38.271Z] ---> 391292941783 [2023-11-14T19:02:38.271Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-14T19:02:38.271Z] ---> Running in 76507ef09b2d [2023-11-14T19:02:38.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:02:38.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:02:38.271Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T19:02:38.271Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T19:02:38.271Z] OK: 8 MiB in 16 packages [2023-11-14T19:02:38.271Z] Removing intermediate container 76507ef09b2d [2023-11-14T19:02:38.271Z] ---> 07dc11c8aaf6 [2023-11-14T19:02:38.271Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T19:02:38.271Z] ---> Running in 49dd71ca60c7 [2023-11-14T19:02:38.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:02:38.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:02:38.271Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:02:38.271Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:02:38.271Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T19:02:38.271Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:02:38.271Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:02:38.271Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:02:38.271Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:02:38.271Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:02:38.271Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:02:38.271Z] OK: 8 MiB in 16 packages [2023-11-14T19:02:38.271Z] Removing intermediate container 49dd71ca60c7 [2023-11-14T19:02:38.271Z] ---> 328df7dc59b4 [2023-11-14T19:02:38.271Z] Step 18/27 : WORKDIR / [2023-11-14T19:02:38.271Z] ---> Running in 45c8abe9c24e [2023-11-14T19:02:38.271Z] Removing intermediate container 45c8abe9c24e [2023-11-14T19:02:38.271Z] ---> 8e2a4ae08d92 [2023-11-14T19:02:38.271Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-14T19:02:38.271Z] ---> 520df56e8c71 [2023-11-14T19:02:38.271Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-14T19:02:38.271Z] ---> cf54c8514593 [2023-11-14T19:02:38.271Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-14T19:02:38.271Z] ---> 6d17725f82fa [2023-11-14T19:02:38.271Z] Step 22/27 : EXPOSE 59984 [2023-11-14T19:02:38.271Z] ---> Running in 7387e8c41c52 [2023-11-14T19:02:38.271Z] Removing intermediate container 7387e8c41c52 [2023-11-14T19:02:38.271Z] ---> fbb24fc79c28 [2023-11-14T19:02:38.271Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-14T19:02:38.271Z] ---> Running in abcc0d1f518f [2023-11-14T19:02:38.271Z] Removing intermediate container abcc0d1f518f [2023-11-14T19:02:38.271Z] ---> f6e7dda276b6 [2023-11-14T19:02:38.271Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T19:02:38.271Z] ---> Running in 135076ec2679 [2023-11-14T19:02:38.271Z] Removing intermediate container 135076ec2679 [2023-11-14T19:02:38.271Z] ---> 03ec03dd0b2c [2023-11-14T19:02:38.271Z] Step 25/27 : LABEL arch=arm64 [2023-11-14T19:02:38.271Z] ---> Running in 1c415f997c2a [2023-11-14T19:02:38.539Z] Removing intermediate container 1c415f997c2a [2023-11-14T19:02:38.539Z] ---> 47d503e7893c [2023-11-14T19:02:38.539Z] Step 26/27 : LABEL git_sha=7d13a77563ff4ab5d12322ecc2494d81dc953b52 [2023-11-14T19:02:38.808Z] ---> Running in 147daa2f2c55 [2023-11-14T19:02:39.076Z] Removing intermediate container 147daa2f2c55 [2023-11-14T19:02:39.077Z] ---> 433a1a330dc2 [2023-11-14T19:02:39.077Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T19:02:39.077Z] ---> Running in eddc40eafd22 [2023-11-14T19:02:39.661Z] Removing intermediate container eddc40eafd22 [2023-11-14T19:02:39.661Z] ---> 16799aeb2c7a [2023-11-14T19:02:39.661Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T19:02:39.661Z] Successfully built 16799aeb2c7a [2023-11-14T19:02:39.661Z] 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-14T19:02:40.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:02:40.479Z] [2023-11-14T19:02:40.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:02:40.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:02:40.888Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T19:02:40.888Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T19:02:40.888Z] 04944245beec: Pulling fs layer [2023-11-14T19:02:40.888Z] 699f458cf7ca: Pulling fs layer [2023-11-14T19:02:40.888Z] 765212b225bb: Pulling fs layer [2023-11-14T19:02:40.888Z] f23df028b6ca: Pulling fs layer [2023-11-14T19:02:40.888Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T19:02:40.888Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T19:02:40.888Z] f23df028b6ca: Waiting [2023-11-14T19:02:40.888Z] d65c8cfc05b1: Waiting [2023-11-14T19:02:40.888Z] 2437ff75d9bd: Waiting [2023-11-14T19:02:40.888Z] 765212b225bb: Waiting [2023-11-14T19:02:41.156Z] 04944245beec: Verifying Checksum [2023-11-14T19:02:41.156Z] 04944245beec: Download complete [2023-11-14T19:02:41.156Z] 765212b225bb: Verifying Checksum [2023-11-14T19:02:41.156Z] 765212b225bb: Download complete [2023-11-14T19:02:41.156Z] f23df028b6ca: Download complete [2023-11-14T19:02:41.156Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T19:02:41.156Z] d65c8cfc05b1: Download complete [2023-11-14T19:02:41.425Z] 699f458cf7ca: Verifying Checksum [2023-11-14T19:02:41.425Z] 699f458cf7ca: Download complete [2023-11-14T19:02:41.694Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T19:02:41.694Z] 8998bd30e6a1: Download complete [2023-11-14T19:02:44.286Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T19:02:44.286Z] 2437ff75d9bd: Download complete [2023-11-14T19:02:46.239Z] 8998bd30e6a1: Pull complete [2023-11-14T19:02:46.822Z] 04944245beec: Pull complete [2023-11-14T19:02:48.233Z] 699f458cf7ca: Pull complete [2023-11-14T19:02:48.233Z] 765212b225bb: Pull complete [2023-11-14T19:02:49.193Z] f23df028b6ca: Pull complete [2023-11-14T19:02:49.459Z] d65c8cfc05b1: Pull complete [2023-11-14T19:03:07.673Z] 2437ff75d9bd: Pull complete [2023-11-14T19:03:07.673Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T19:03:07.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:03:07.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:03:08.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-17518 does not seem to be running inside a container [2023-11-14T19:03:08.133Z] $ 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-14T19:03:11.697Z] $ docker top ad793f7d2da81e372c381b927fb93308e4aa469ca81425f11dbcefc39010d1ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:12.597Z] ---> job-cost.sh [2023-11-14T19:03:12.597Z] lf-activate-venv: SKIPPING [2023-11-14T19:03:12.597Z] INFO: No Stack... [2023-11-14T19:03:12.862Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T19:03:13.824Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T19:03:14.487Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-11-14T19:03:14.487Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T19:03:14.568Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [2023-11-14T19:03:14.573Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] did not exist. Created. [2023-11-14T19:03:14.573Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T19:03:15.313Z] /w/workspace/device-onvif-camera/1@tmp/durable-d2fca8db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T19:03:15.986Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T19:03:16.017Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T19:03:16.096Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T19:03:16.115Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T19:03:16.260Z] $ docker stop --time=1 ad793f7d2da81e372c381b927fb93308e4aa469ca81425f11dbcefc39010d1ed [2023-11-14T19:03:17.810Z] $ docker rm -f --volumes ad793f7d2da81e372c381b927fb93308e4aa469ca81425f11dbcefc39010d1ed [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-14T19:03:18.867Z] provisioning config files... [2023-11-14T19:03:18.875Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-408@tmp/config7278964076582564598tmp [Pipeline] { [Pipeline] sh [2023-11-14T19:03:19.211Z] + set +x [2023-11-14T19:03:19.211Z] + curl -s https://codecov.io/bash [2023-11-14T19:03:19.211Z] + bash -s -- [2023-11-14T19:03:19.211Z] [2023-11-14T19:03:19.211Z] _____ _ [2023-11-14T19:03:19.211Z] / ____| | | [2023-11-14T19:03:19.211Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T19:03:19.211Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T19:03:19.211Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T19:03:19.211Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T19:03:19.211Z] Bash-1.0.6 [2023-11-14T19:03:19.211Z] [2023-11-14T19:03:19.211Z] [2023-11-14T19:03:19.211Z] ==> git version 2.25.1 found [2023-11-14T19:03:19.211Z] ==> 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-14T19:03:19.211Z] Release-Date: 2020-01-08 [2023-11-14T19:03:19.211Z] 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-14T19:03:19.211Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T19:03:19.211Z] ==> Jenkins CI detected. [2023-11-14T19:03:19.211Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-408 [2023-11-14T19:03:19.211Z] project root: . [2023-11-14T19:03:19.211Z] --> token set from env [2023-11-14T19:03:19.211Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T19:03:19.211Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T19:03:19.211Z] ==> Python coveragepy not found [2023-11-14T19:03:19.211Z] ==> Searching for coverage reports in: [2023-11-14T19:03:19.211Z] + . [2023-11-14T19:03:19.211Z] -> Found 1 reports [2023-11-14T19:03:19.211Z] ==> Detecting git/mercurial file structure [2023-11-14T19:03:19.211Z] ==> Reading reports [2023-11-14T19:03:19.471Z] + ./coverage.out bytes=78456 [2023-11-14T19:03:19.471Z] ==> Appending adjustments [2023-11-14T19:03:19.471Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T19:03:19.471Z] + Found adjustments [2023-11-14T19:03:19.471Z] ==> Gzipping contents [2023-11-14T19:03:19.471Z] 12K /tmp/codecov.Q8JdCr.gz [2023-11-14T19:03:19.471Z] ==> Uploading reports [2023-11-14T19:03:19.471Z] url: https://codecov.io [2023-11-14T19:03:19.471Z] query: branch=PR-408&commit=7d13a77563ff4ab5d12322ecc2494d81dc953b52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=408&job=&cmd_args= [2023-11-14T19:03:19.471Z] -> Pinging Codecov [2023-11-14T19:03:19.471Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-408&commit=7d13a77563ff4ab5d12322ecc2494d81dc953b52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=408&job=&cmd_args= [2023-11-14T19:03:19.729Z] -> Uploading to [2023-11-14T19:03:19.729Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/F29A59C45E3A92E06B3E522C9905F8EF/7d13a77563ff4ab5d12322ecc2494d81dc953b52/50576132-8e60-4ce9-beba-d0d47f409cab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T190319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83af4c5b4c2b7e2152d70f4c0fed4a9c6086c1a97ebfa7136646db3defe348d4 [2023-11-14T19:03:19.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:03:19.729Z] Dload Upload Total Spent Left Speed [2023-11-14T19:03:19.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 39762 --:--:-- --:--:-- --:--:-- 39762 [2023-11-14T19:03:19.988Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7d13a77563ff4ab5d12322ecc2494d81dc953b52 [Pipeline] } [2023-11-14T19:03:20.017Z] 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-14T19:03:21.847Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-408/archives ] [2023-11-14T19:03:21.847Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-408/archives [2023-11-14T19:03:21.847Z] total 16 [2023-11-14T19:03:21.847Z] drwxr-xr-x 3 root root 4096 Nov 14 18:52 . [2023-11-14T19:03:21.847Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:52 .. [2023-11-14T19:03:21.847Z] drwxr-xr-x 2 root root 4096 Nov 14 18:52 cost [2023-11-14T19:03:21.847Z] -rw-r--r-- 1 root root 91 Nov 14 18:52 cost.csv [2023-11-14T19:03:21.847Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-408/archives [2023-11-14T19:03:21.847Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-408/archives [2023-11-14T19:03:21.847Z] total 16 [2023-11-14T19:03:21.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:52 . [2023-11-14T19:03:21.847Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:52 .. [2023-11-14T19:03:21.847Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:52 cost [2023-11-14T19:03:21.847Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 14 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:22.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:22.878Z] ---> package-listing.sh [2023-11-14T19:03:22.878Z] ++ facter osfamily [2023-11-14T19:03:22.878Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T19:03:23.138Z] + OS_FAMILY=debian [2023-11-14T19:03:23.138Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-408 [2023-11-14T19:03:23.138Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T19:03:23.138Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T19:03:23.138Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T19:03:23.138Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T19:03:23.138Z] + '[' /w/workspace/undry_device-onvif-camera_PR-408 ']' [2023-11-14T19:03:23.138Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T19:03:23.138Z] + case "${OS_FAMILY}" in [2023-11-14T19:03:23.138Z] + dpkg -l [2023-11-14T19:03:23.138Z] + grep '^ii' [2023-11-14T19:03:23.138Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T19:03:23.138Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T19:03:23.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T19:03:23.138Z] + '[' /w/workspace/undry_device-onvif-camera_PR-408 ']' [2023-11-14T19:03:23.138Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-408/archives/ [2023-11-14T19:03:23.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-408/archives/ [Pipeline] echo [2023-11-14T19:03:23.174Z] 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-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T19:03:23.466Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:03:24.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:03:24.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:03:24.251Z] prd-ubuntu20.04-docker-8c-8g-17516 does not seem to be running inside a container [2023-11-14T19:03:24.282Z] $ 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-408/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-408 -v /w/workspace/undry_device-onvif-camera_PR-408:/w/workspace/undry_device-onvif-camera_PR-408:rw,z -v /w/workspace/undry_device-onvif-camera_PR-408@tmp:/w/workspace/undry_device-onvif-camera_PR-408@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-14T19:03:24.468Z] $ docker top 30da95768619dc2489d5afd042f5fa565c2df0e268703487275f6c14f432352e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:03:24.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T19:03:25.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T19:03:25.494Z] + ls /var/log/sa-host [2023-11-14T19:03:25.495Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:03:25.626Z] provisioning config files... [2023-11-14T19:03:25.634Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-408@tmp/config10027249300208781230tmp [Pipeline] { [Pipeline] echo [2023-11-14T19:03:25.685Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:25.998Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T19:03:26.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:26.431Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T19:03:26.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:26.783Z] ---> sudo-logs.sh [2023-11-14T19:03:26.783Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T19:03:26.868Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:27.176Z] ---> job-cost.sh [2023-11-14T19:03:27.176Z] lf-activate-venv: SKIPPING [2023-11-14T19:03:27.176Z] DEBUG: total: 0.2199999988079071 [2023-11-14T19:03:27.176Z] INFO: Retrieving Stack Cost... [2023-11-14T19:03:27.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T19:03:28.001Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T19:03:28.038Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:03:28.353Z] ---> logs-deploy.sh [2023-11-14T19:03:28.353Z] lf-activate-venv: SKIPPING [2023-11-14T19:03:28.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-408/1 [2023-11-14T19:03:28.353Z] INFO: archiving workspace using pattern(s): [2023-11-14T19:03:29.287Z] Archives upload complete. [2023-11-14T19:03:29.287Z] INFO: archiving logs to Nexus