Pull request #238 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 vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than ac6de9fc34e29ddc561fe7a9c258767668e77e04 Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh16839342658685342561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6970758671558457233.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2535709940103971483.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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15201802588107217804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2833456552673592579.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10131825414960063277.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7392 in /w/workspace/undry_device-onvif-camera_PR-238 [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-238 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ac6de9fc34e29ddc561fe7a9c258767668e77e04 Merge succeeded, producing ac6de9fc34e29ddc561fe7a9c258767668e77e04 Checking out Revision ac6de9fc34e29ddc561fe7a9c258767668e77e04 (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f ac6de9fc34e29ddc561fe7a9c258767668e77e04 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac6de9fc34e29ddc561fe7a9c258767668e77e04 # timeout=10 Commit message: "feat: update device-sdk-go go-mod-bootstrap go-mod-core-contracts version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T21:30:30.858Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T21:30:31.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T21:30:31.137Z] ========================================================= [2023-02-24T21:30:31.137Z] EdgeX Global Pipelines Version Info [2023-02-24T21:30:31.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:30:32.313Z] ------------------- [2023-02-24T21:30:32.314Z] stable info: [2023-02-24T21:30:32.314Z] ------------------- [2023-02-24T21:30:32.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T21:30:32.314Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T21:30:32.314Z] Message: update stable to v1.0.244 [2023-02-24T21:30:32.573Z] ------------------- [2023-02-24T21:30:32.573Z] experimental info: [2023-02-24T21:30:32.573Z] ------------------- [2023-02-24T21:30:32.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T21:30:32.573Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T21:30:32.573Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T21:30:32.870Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-24T21:30:32.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-24T21:30:32.953Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T21:30:32.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T21:30:33.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T21:30:33.067Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T21:30:33.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T21:30:33.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-24T21:30:33.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T21:30:33.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T21:30:33.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T21:30:33.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-24T21:30:33.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T21:30:33.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T21:30:33.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T21:30:33.468Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T21:30:33.511Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T21:30:33.550Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T21:30:33.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T21:30:33.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T21:30:33.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T21:30:33.705Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-24T21:30:33.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T21:30:33.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T21:30:33.820Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T21:30:33.860Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T21:30:33.898Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T21:30:33.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo [2023-02-24T21:30:33.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo [2023-02-24T21:30:34.018Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo [2023-02-24T21:30:34.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac6de9fc34e29ddc561fe7a9c258767668e77e04 [Pipeline] echo [2023-02-24T21:30:34.100Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac6de9f [Pipeline] echo [2023-02-24T21:30:34.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T21:30:34.241Z] provisioning config files... [2023-02-24T21:30:34.254Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config3127001978563170602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:30:34.593Z] ---> docker-login.sh [2023-02-24T21:30:34.593Z] nexus3.edgexfoundry.org:10001 [2023-02-24T21:30:35.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:30:36.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:30:36.245Z] Configure a credential helper to remove this warning. See [2023-02-24T21:30:36.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:30:36.245Z] [2023-02-24T21:30:36.245Z] Login Succeeded [2023-02-24T21:30:36.245Z] nexus3.edgexfoundry.org:10002 [2023-02-24T21:30:36.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:30:36.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:30:36.507Z] Configure a credential helper to remove this warning. See [2023-02-24T21:30:36.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:30:36.507Z] [2023-02-24T21:30:36.507Z] Login Succeeded [2023-02-24T21:30:36.507Z] nexus3.edgexfoundry.org:10003 [2023-02-24T21:30:36.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:30:36.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:30:36.507Z] Configure a credential helper to remove this warning. See [2023-02-24T21:30:36.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:30:36.507Z] [2023-02-24T21:30:36.507Z] Login Succeeded [2023-02-24T21:30:36.507Z] nexus3.edgexfoundry.org:10004 [2023-02-24T21:30:36.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:30:36.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:30:36.768Z] Configure a credential helper to remove this warning. See [2023-02-24T21:30:36.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:30:36.768Z] [2023-02-24T21:30:36.768Z] Login Succeeded [2023-02-24T21:30:36.768Z] docker.io [2023-02-24T21:30:36.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:30:37.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:30:37.029Z] Configure a credential helper to remove this warning. See [2023-02-24T21:30:37.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:30:37.029Z] [2023-02-24T21:30:37.029Z] Login Succeeded [2023-02-24T21:30:37.029Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T21:30:37.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T21:30:37.654Z] + git rev-list -1 --merges ac6de9fc34e29ddc561fe7a9c258767668e77e04~1..ac6de9fc34e29ddc561fe7a9c258767668e77e04 [Pipeline] echo [2023-02-24T21:30:37.729Z] -----------> git rev-list -1 --merges ac6de9fc34e29ddc561fe7a9c258767668e77e04~1..ac6de9fc34e29ddc561fe7a9c258767668e77e04 ac6de9fc34e29ddc561fe7a9c258767668e77e04 [false] [Pipeline] sh [2023-02-24T21:30:38.037Z] + git log --format=format:%s -1 ac6de9fc34e29ddc561fe7a9c258767668e77e04 [Pipeline] echo [2023-02-24T21:30:38.075Z] ========================================================= [2023-02-24T21:30:38.075Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T21:30:38.075Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T21:30:38.504Z] + git log --format=format:%s -1 ac6de9fc34e29ddc561fe7a9c258767668e77e04 [Pipeline] echo [2023-02-24T21:30:38.537Z] [semverPrep] GIT_COMMIT: ac6de9fc34e29ddc561fe7a9c258767668e77e04, Commit Message: feat: update device-sdk-go go-mod-bootstrap go-mod-core-contracts version [Pipeline] echo [2023-02-24T21:30:38.565Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T21:30:38.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T21:30:38.954Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T21:30:38.954Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T21:30:38.954Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T21:30:38.954Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T21:30:38.954Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T21:30:38.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:30:39.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T21:30:39.422Z] [2023-02-24T21:30:39.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:30:39.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T21:30:41.185Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T21:30:41.185Z] b85a868b505f: Pulling fs layer [2023-02-24T21:30:41.185Z] e2be974225ed: Pulling fs layer [2023-02-24T21:30:41.185Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T21:30:41.185Z] 988bab9f4d93: Pulling fs layer [2023-02-24T21:30:41.185Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T21:30:41.185Z] eaf3925da568: Pulling fs layer [2023-02-24T21:30:41.185Z] bab4dde63d76: Pulling fs layer [2023-02-24T21:30:41.185Z] bde34c3a00c8: Pulling fs layer [2023-02-24T21:30:41.185Z] b352a97aabf1: Pulling fs layer [2023-02-24T21:30:41.185Z] 4872d77fe225: Pulling fs layer [2023-02-24T21:30:41.185Z] 5851b861e8e6: Pulling fs layer [2023-02-24T21:30:41.185Z] bab4dde63d76: Waiting [2023-02-24T21:30:41.185Z] bde34c3a00c8: Waiting [2023-02-24T21:30:41.185Z] b352a97aabf1: Waiting [2023-02-24T21:30:41.185Z] 4872d77fe225: Waiting [2023-02-24T21:30:41.185Z] 5851b861e8e6: Waiting [2023-02-24T21:30:41.185Z] 988bab9f4d93: Waiting [2023-02-24T21:30:41.185Z] 1469e6f7b9e6: Waiting [2023-02-24T21:30:41.185Z] eaf3925da568: Waiting [2023-02-24T21:30:41.185Z] e2be974225ed: Verifying Checksum [2023-02-24T21:30:41.185Z] e2be974225ed: Download complete [2023-02-24T21:30:41.185Z] 988bab9f4d93: Download complete [2023-02-24T21:30:41.445Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T21:30:41.445Z] 1469e6f7b9e6: Download complete [2023-02-24T21:30:41.445Z] eaf3925da568: Verifying Checksum [2023-02-24T21:30:41.445Z] eaf3925da568: Download complete [2023-02-24T21:30:41.445Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T21:30:41.445Z] 339a4e72a1f5: Download complete [2023-02-24T21:30:41.445Z] bde34c3a00c8: Verifying Checksum [2023-02-24T21:30:41.445Z] bde34c3a00c8: Download complete [2023-02-24T21:30:41.445Z] b352a97aabf1: Verifying Checksum [2023-02-24T21:30:41.445Z] b352a97aabf1: Download complete [2023-02-24T21:30:41.445Z] 4872d77fe225: Verifying Checksum [2023-02-24T21:30:41.445Z] 4872d77fe225: Download complete [2023-02-24T21:30:41.445Z] 5851b861e8e6: Verifying Checksum [2023-02-24T21:30:41.445Z] 5851b861e8e6: Download complete [2023-02-24T21:30:41.445Z] b85a868b505f: Verifying Checksum [2023-02-24T21:30:41.445Z] b85a868b505f: Download complete [2023-02-24T21:30:42.011Z] bab4dde63d76: Verifying Checksum [2023-02-24T21:30:42.011Z] bab4dde63d76: Download complete [2023-02-24T21:30:43.913Z] b85a868b505f: Pull complete [2023-02-24T21:30:43.913Z] e2be974225ed: Pull complete [2023-02-24T21:30:44.477Z] 339a4e72a1f5: Pull complete [2023-02-24T21:30:44.478Z] 988bab9f4d93: Pull complete [2023-02-24T21:30:44.736Z] 1469e6f7b9e6: Pull complete [2023-02-24T21:30:44.995Z] eaf3925da568: Pull complete [2023-02-24T21:30:47.536Z] bab4dde63d76: Pull complete [2023-02-24T21:30:48.922Z] bde34c3a00c8: Pull complete [2023-02-24T21:30:50.302Z] b352a97aabf1: Pull complete [2023-02-24T21:30:51.687Z] 4872d77fe225: Pull complete [2023-02-24T21:30:53.102Z] 5851b861e8e6: Pull complete [2023-02-24T21:30:53.669Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T21:30:53.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T21:30:53.669Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:30:53.879Z] prd-ubuntu20.04-docker-8c-8g-7392 does not seem to be running inside a container [2023-02-24T21:30:53.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-02-24T21:30:57.084Z] $ docker top bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc -eo pid,comm [2023-02-24T21:30:57.133Z] 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-02-24T21:30:57.133Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T21:30:57.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T21:30:57.257Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T21:30:57.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T21:30:57.361Z] $ docker exec bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc ssh-agent [2023-02-24T21:30:57.453Z] SSH_AUTH_SOCK=/tmp/ssh-f6hsQ1ILERuF/agent.32 [2023-02-24T21:30:57.453Z] SSH_AGENT_PID=38 [2023-02-24T21:30:57.459Z] Running ssh-add (command line suppressed) [2023-02-24T21:30:57.561Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_8061202010691085508.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_8061202010691085508.key) [2023-02-24T21:30:57.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T21:30:57.900Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T21:30:57.926Z] $ docker exec --env ******** --env ******** bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc ssh-agent -k [2023-02-24T21:30:58.030Z] unset SSH_AUTH_SOCK; [2023-02-24T21:30:58.031Z] unset SSH_AGENT_PID; [2023-02-24T21:30:58.031Z] echo Agent pid 38 killed; [2023-02-24T21:30:58.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T21:30:58.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T21:30:58.111Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T21:30:58.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T21:30:58.213Z] $ docker exec bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc ssh-agent [2023-02-24T21:30:58.326Z] SSH_AUTH_SOCK=/tmp/ssh-qTC72i5fSbZ4/agent.70 [2023-02-24T21:30:58.326Z] SSH_AGENT_PID=76 [2023-02-24T21:30:58.331Z] Running ssh-add (command line suppressed) [2023-02-24T21:30:58.446Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_11405282672298923910.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_11405282672298923910.key) [2023-02-24T21:30:58.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T21:30:58.794Z] + git semver init [2023-02-24T21:30:59.053Z] 2023-02-24 21:30:58,948 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T21:30:59.053Z] 2023-02-24 21:30:58,949 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-02-24T21:30:59.053Z] 2023-02-24 21:30:58,950 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-238/.semver [2023-02-24T21:30:59.053Z] 2023-02-24 21:30:58,950 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-238/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-238, universal_newlines=False, shell=None, istream=None) [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,972 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-238/.git/info/exclude [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,972 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 with force:False [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,972 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,977 [execute] INFO git cat-file --batch-check [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,984 [execute] INFO git cat-file --batch [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T21:30:59.992Z] 2023-02-24 21:30:59,990 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 [2023-02-24T21:30:59.992Z] 0.0.0 [Pipeline] } [2023-02-24T21:31:00.270Z] $ docker exec --env ******** --env ******** bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc ssh-agent -k [2023-02-24T21:31:00.367Z] unset SSH_AUTH_SOCK; [2023-02-24T21:31:00.367Z] unset SSH_AGENT_PID; [2023-02-24T21:31:00.368Z] echo Agent pid 76 killed; [2023-02-24T21:31:00.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T21:31:00.789Z] + git semver [Pipeline] } [2023-02-24T21:31:01.075Z] $ docker stop --time=1 bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc [2023-02-24T21:31:02.366Z] $ docker rm -f --volumes bda29a47165e8e31ba53e745e9015a5734c4288ef01154fd1eb34c68277c7ebc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T21:31:02.767Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T21:31:03.040Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T21:31:03.057Z] [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-02-24T21:31:03.595Z] provisioning config files... [2023-02-24T21:31:03.605Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config18204441922748136476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:31:03.941Z] ---> docker-login.sh [2023-02-24T21:31:03.941Z] nexus3.edgexfoundry.org:10001 [2023-02-24T21:31:03.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:31:03.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:31:03.941Z] Configure a credential helper to remove this warning. See [2023-02-24T21:31:03.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:31:03.941Z] [2023-02-24T21:31:03.941Z] Login Succeeded [2023-02-24T21:31:03.941Z] nexus3.edgexfoundry.org:10002 [2023-02-24T21:31:03.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:31:03.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:31:03.941Z] Configure a credential helper to remove this warning. See [2023-02-24T21:31:03.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:31:03.941Z] [2023-02-24T21:31:03.941Z] Login Succeeded [2023-02-24T21:31:03.941Z] nexus3.edgexfoundry.org:10003 [2023-02-24T21:31:04.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:31:04.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:31:04.200Z] Configure a credential helper to remove this warning. See [2023-02-24T21:31:04.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:31:04.200Z] [2023-02-24T21:31:04.200Z] Login Succeeded [2023-02-24T21:31:04.200Z] nexus3.edgexfoundry.org:10004 [2023-02-24T21:31:04.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:31:04.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:31:04.200Z] Configure a credential helper to remove this warning. See [2023-02-24T21:31:04.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:31:04.200Z] [2023-02-24T21:31:04.200Z] Login Succeeded [2023-02-24T21:31:04.200Z] docker.io [2023-02-24T21:31:04.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:31:04.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:31:04.458Z] Configure a credential helper to remove this warning. See [2023-02-24T21:31:04.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:31:04.458Z] [2023-02-24T21:31:04.458Z] Login Succeeded [2023-02-24T21:31:04.458Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T21:31:04.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T21:31:04.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T21:31:04.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T21:31:04.727Z] ========================================================= [2023-02-24T21:31:04.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T21:31:04.727Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:31:05.197Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T21:31:05.197Z] Sending build context to Docker daemon 27.75MB [2023-02-24T21:31:05.197Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T21:31:05.197Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-24T21:31:07.736Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T21:31:07.736Z] 213ec9aee27d: Pulling fs layer [2023-02-24T21:31:07.736Z] 4583459ba037: Pulling fs layer [2023-02-24T21:31:07.736Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T21:31:07.736Z] 53926ce57604: Pulling fs layer [2023-02-24T21:31:07.736Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T21:31:07.736Z] 22ff95d597cd: Pulling fs layer [2023-02-24T21:31:07.736Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T21:31:07.736Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T21:31:07.736Z] a7acece74701: Pulling fs layer [2023-02-24T21:31:07.736Z] 53926ce57604: Waiting [2023-02-24T21:31:07.736Z] 21b2b0c7a3f4: Waiting [2023-02-24T21:31:07.736Z] 22ff95d597cd: Waiting [2023-02-24T21:31:07.736Z] 12d6caf4c0d1: Waiting [2023-02-24T21:31:07.736Z] 96b7cbca73a9: Waiting [2023-02-24T21:31:07.736Z] a7acece74701: Waiting [2023-02-24T21:31:07.736Z] 93c1e223e6f2: Download complete [2023-02-24T21:31:07.736Z] 4583459ba037: Verifying Checksum [2023-02-24T21:31:07.736Z] 4583459ba037: Download complete [2023-02-24T21:31:07.736Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-24T21:31:07.736Z] 21b2b0c7a3f4: Download complete [2023-02-24T21:31:07.736Z] 22ff95d597cd: Download complete [2023-02-24T21:31:07.736Z] 213ec9aee27d: Verifying Checksum [2023-02-24T21:31:07.736Z] 213ec9aee27d: Download complete [2023-02-24T21:31:07.736Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T21:31:07.736Z] 12d6caf4c0d1: Download complete [2023-02-24T21:31:08.310Z] 213ec9aee27d: Pull complete [2023-02-24T21:31:08.570Z] 53926ce57604: Verifying Checksum [2023-02-24T21:31:08.570Z] 53926ce57604: Download complete [2023-02-24T21:31:09.137Z] 4583459ba037: Pull complete [2023-02-24T21:31:09.395Z] a7acece74701: Verifying Checksum [2023-02-24T21:31:09.395Z] a7acece74701: Download complete [2023-02-24T21:31:09.395Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T21:31:09.395Z] 96b7cbca73a9: Download complete [2023-02-24T21:31:09.395Z] 93c1e223e6f2: Pull complete [2023-02-24T21:31:13.579Z] 53926ce57604: Pull complete [2023-02-24T21:31:14.146Z] 21b2b0c7a3f4: Pull complete [2023-02-24T21:31:14.146Z] 22ff95d597cd: Pull complete [2023-02-24T21:31:14.715Z] 12d6caf4c0d1: Pull complete [2023-02-24T21:31:16.611Z] 96b7cbca73a9: Pull complete [2023-02-24T21:31:18.436Z] Still waiting to schedule task [2023-02-24T21:31:18.436Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-24T21:31:18.509Z] a7acece74701: Pull complete [2023-02-24T21:31:18.509Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T21:31:18.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T21:31:18.509Z] ---> db6d94c90886 [2023-02-24T21:31:18.509Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-24T21:31:30.723Z] ---> Running in 75a83c4ec868 [2023-02-24T21:31:31.291Z] Removing intermediate container 75a83c4ec868 [2023-02-24T21:31:31.291Z] ---> b9062ab875a5 [2023-02-24T21:31:31.291Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T21:31:31.550Z] ---> Running in caa2faf8d42c [2023-02-24T21:31:32.117Z] Removing intermediate container caa2faf8d42c [2023-02-24T21:31:32.117Z] ---> 5db553db75b8 [2023-02-24T21:31:32.117Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T21:31:33.052Z] ---> Running in 4ea81a50eb2d [2023-02-24T21:31:34.428Z] Removing intermediate container 4ea81a50eb2d [2023-02-24T21:31:34.428Z] ---> 545b4f659112 [2023-02-24T21:31:34.428Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T21:31:34.996Z] ---> Running in 1dc15a50d0a4 [2023-02-24T21:31:35.578Z] Removing intermediate container 1dc15a50d0a4 [2023-02-24T21:31:35.578Z] ---> 914fbfdc2c6b [2023-02-24T21:31:35.578Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-24T21:31:35.837Z] ---> Running in 672013e6adb7 [2023-02-24T21:31:36.772Z] Removing intermediate container 672013e6adb7 [2023-02-24T21:31:36.772Z] ---> 26a7dc2e5cb0 [2023-02-24T21:31:36.772Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T21:31:36.772Z] ---> Running in 132fe6c05c2b [2023-02-24T21:31:37.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T21:31:37.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T21:31:37.862Z] OK: 211 MiB in 51 packages [2023-02-24T21:31:39.240Z] Removing intermediate container 132fe6c05c2b [2023-02-24T21:31:39.240Z] ---> adee9dfd7c6a [2023-02-24T21:31:39.240Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-24T21:31:39.835Z] ---> Running in 362b62ebdfa7 [2023-02-24T21:31:40.095Z] Removing intermediate container 362b62ebdfa7 [2023-02-24T21:31:40.095Z] ---> d94ff1cac4fc [2023-02-24T21:31:40.095Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-24T21:31:41.029Z] ---> 612381976824 [2023-02-24T21:31:41.029Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T21:31:41.291Z] ---> Running in b2f7792d7c1f [2023-02-24T21:32:37.524Z] Removing intermediate container b2f7792d7c1f [2023-02-24T21:32:37.524Z] ---> 9d286b965a6c [2023-02-24T21:32:37.524Z] Step 12/13 : COPY . . [2023-02-24T21:32:37.524Z] ---> 3ddc085c01ff [2023-02-24T21:32:37.524Z] Step 13/13 : RUN ${MAKE} [2023-02-24T21:32:37.524Z] ---> Running in 963315b1ea63 [2023-02-24T21:32:37.524Z] noop [2023-02-24T21:32:37.524Z] Removing intermediate container 963315b1ea63 [2023-02-24T21:32:37.524Z] ---> 0e18c56823f6 [2023-02-24T21:32:37.524Z] Successfully built 0e18c56823f6 [2023-02-24T21:32:37.524Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:32:37.980Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T21:32:37.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:32:38.140Z] prd-ubuntu20.04-docker-8c-8g-7392 does not seem to be running inside a container [2023-02-24T21:32:38.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-02-24T21:32:38.557Z] $ docker top bf8cbecc99ee53f86dfe2ae5210af593c767ca17e03d39849c0843ab3559264f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T21:32:38.942Z] + go version [2023-02-24T21:32:38.942Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T21:32:38.975Z] $ docker stop --time=1 bf8cbecc99ee53f86dfe2ae5210af593c767ca17e03d39849c0843ab3559264f [2023-02-24T21:32:40.281Z] $ docker rm -f --volumes bf8cbecc99ee53f86dfe2ae5210af593c767ca17e03d39849c0843ab3559264f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:32:41.045Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T21:32:41.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:32:41.202Z] prd-ubuntu20.04-docker-8c-8g-7392 does not seem to be running inside a container [2023-02-24T21:32:41.238Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-02-24T21:32:41.554Z] $ docker top 0ff11ff6d846ef7bc7a0dddb4817675983d78e1aa947cca97826ab6313c910cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T21:32:41.947Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] fileExists [Pipeline] sh [2023-02-24T21:32:42.298Z] + make test [2023-02-24T21:32:42.298Z] go test ./... -coverprofile=coverage.out ./... [2023-02-24T21:32:42.557Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-24T21:32:52.523Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-24T21:32:53.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7393 in /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] { [Pipeline] ws [2023-02-24T21:32:53.890Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-24T21:32:53.970Z] The recommended git tool is: git [2023-02-24T21:32:55.811Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements [2023-02-24T21:32:55.811Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-24T21:32:55.811Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.379s coverage: 86.5% of statements [2023-02-24T21:32:59.125Z] using credential edgex-jenkins-ssh [2023-02-24T21:32:59.141Z] Cloning the remote Git repository [2023-02-24T21:32:59.179Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T21:32:59.254Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-24T21:32:59.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T21:32:59.397Z] > git --version # timeout=10 [2023-02-24T21:32:59.415Z] > git --version # 'git version 2.25.1' [2023-02-24T21:32:59.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T21:32:59.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T21:33:00.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-24T21:33:00.857Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T21:33:02.460Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ac6de9fc34e29ddc561fe7a9c258767668e77e04 [2023-02-24T21:33:01.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-24T21:33:01.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-24T21:33:01.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T21:33:01.814Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T21:33:02.474Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T21:33:02.498Z] > git checkout -f ac6de9fc34e29ddc561fe7a9c258767668e77e04 # timeout=10 [2023-02-24T21:33:02.777Z] > git remote # timeout=10 [2023-02-24T21:33:02.792Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T21:33:02.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T21:33:02.883Z] Merge succeeded, producing ac6de9fc34e29ddc561fe7a9c258767668e77e04 [2023-02-24T21:33:02.883Z] Checking out Revision ac6de9fc34e29ddc561fe7a9c258767668e77e04 (PR-238) [2023-02-24T21:33:03.350Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T21:33:03.350Z] go vet ./... [2023-02-24T21:33:02.837Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-24T21:33:02.861Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T21:33:02.887Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T21:33:02.900Z] > git checkout -f ac6de9fc34e29ddc561fe7a9c258767668e77e04 # timeout=10 [2023-02-24T21:33:06.728Z] Commit message: "feat: update device-sdk-go go-mod-bootstrap go-mod-core-contracts version" [2023-02-24T21:33:06.780Z] > git --version # timeout=10 [2023-02-24T21:33:06.793Z] > git --version # 'git version 2.25.1' [2023-02-24T21:33:06.815Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-02-24T21:33:07.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T21:33:07.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T21:33:07.533Z] ./bin/test-attribution-txt.sh [Pipeline] sh [Pipeline] echo [2023-02-24T21:33:07.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T21:33:07.795Z] $ docker stop --time=1 0ff11ff6d846ef7bc7a0dddb4817675983d78e1aa947cca97826ab6313c910cd [2023-02-24T21:33:08.049Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T21:33:08.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T21:33:08.049Z] Dload Upload Total Spent Left Speed [2023-02-24T21:33:08.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 76813 [2023-02-24T21:33:10.586Z] $ docker rm -f --volumes 0ff11ff6d846ef7bc7a0dddb4817675983d78e1aa947cca97826ab6313c910cd [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-02-24T21:33:11.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T21:33:11.178Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-02-24T21:33:11.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-02-24T21:33:11.543Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T21:33:11.543Z] + sudo tee /etc/docker/daemon.new [2023-02-24T21:33:11.543Z] { [2023-02-24T21:33:11.543Z] "registry-mirrors": [ [2023-02-24T21:33:11.543Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T21:33:11.543Z] ], [2023-02-24T21:33:11.543Z] "bip": "10.250.0.254/24", [2023-02-24T21:33:11.543Z] "hosts": [ [2023-02-24T21:33:11.543Z] "tcp://0.0.0.0:5555", [2023-02-24T21:33:11.543Z] "unix:///var/run/docker.sock" [2023-02-24T21:33:11.543Z] ], [2023-02-24T21:33:11.543Z] "mtu": 1458, [2023-02-24T21:33:11.543Z] "selinux-enabled": true, [2023-02-24T21:33:11.543Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T21:33:11.543Z] } [Pipeline] sh [Pipeline] sh [2023-02-24T21:33:12.001Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T21:33:12.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T21:33:12.344Z] + sudo service docker restart [2023-02-24T21:33:12.415Z] + ls -al . [2023-02-24T21:33:12.415Z] total 236 [2023-02-24T21:33:12.415Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 21:32 . [2023-02-24T21:33:12.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:30 .. [2023-02-24T21:33:12.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 21:32 .git [2023-02-24T21:33:12.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 21:30 .github [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 24 21:30 .gitignore [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 21:30 .golangci.yml [2023-02-24T21:33:12.415Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 21:30 .semver [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 24 21:30 Attribution.txt [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 24 21:30 CHANGELOG.md [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 24 21:30 Dockerfile [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 21:30 GOVERNANCE.md [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 24 21:30 Jenkinsfile [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 24 21:30 LICENSE [2023-02-24T21:33:12.415Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 24 21:30 Makefile [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 24 21:30 OWNERS.md [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 24 21:30 README.md [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 21:31 VERSION [2023-02-24T21:33:12.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 21:30 bin [2023-02-24T21:33:12.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 21:30 cmd [2023-02-24T21:33:12.416Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 24 21:32 coverage.out [2023-02-24T21:33:12.416Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 21:30 doc [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 24 21:30 go.mod [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 24 21:30 go.sum [2023-02-24T21:33:12.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:30 internal [2023-02-24T21:33:12.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:30 snap [2023-02-24T21:33:12.416Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 24 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:33:12.890Z] + 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=ac6de9fc34e29ddc561fe7a9c258767668e77e04 --label arch=amd64 --label version=0.0.0 . [2023-02-24T21:33:12.890Z] Sending build context to Docker daemon 27.83MB [2023-02-24T21:33:12.890Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T21:33:12.890Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-24T21:33:12.890Z] ---> 0e18c56823f6 [2023-02-24T21:33:12.890Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-24T21:33:13.151Z] ---> Running in 03c3803f142f [2023-02-24T21:33:13.410Z] Removing intermediate container 03c3803f142f [2023-02-24T21:33:13.410Z] ---> 4145611e2647 [2023-02-24T21:33:13.411Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T21:33:13.411Z] ---> Running in 4573107680b6 [2023-02-24T21:33:13.411Z] Removing intermediate container 4573107680b6 [2023-02-24T21:33:13.411Z] ---> 8f98945ecd57 [2023-02-24T21:33:13.411Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T21:33:13.411Z] ---> Running in c7ecb913da7e [2023-02-24T21:33:13.411Z] Removing intermediate container c7ecb913da7e [2023-02-24T21:33:13.411Z] ---> 17944279e1a3 [2023-02-24T21:33:13.411Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T21:33:13.670Z] ---> Running in ef30f7f95b5b [2023-02-24T21:33:13.670Z] Removing intermediate container ef30f7f95b5b [2023-02-24T21:33:13.670Z] ---> cdde8d1071c0 [2023-02-24T21:33:13.670Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-24T21:33:13.670Z] ---> Running in bc4c54e50477 [2023-02-24T21:33:13.670Z] Removing intermediate container bc4c54e50477 [2023-02-24T21:33:13.670Z] ---> 2d61dcbd2769 [2023-02-24T21:33:13.670Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T21:33:13.670Z] ---> Running in e78eaf1afde6 [2023-02-24T21:33:13.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T21:33:14.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T21:33:14.452Z] OK: 211 MiB in 51 packages [2023-02-24T21:33:14.713Z] Removing intermediate container e78eaf1afde6 [2023-02-24T21:33:14.713Z] ---> df0760b2f8d8 [2023-02-24T21:33:14.713Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-24T21:33:14.713Z] ---> Running in c2f1c2fd21d2 [2023-02-24T21:33:14.972Z] Removing intermediate container c2f1c2fd21d2 [2023-02-24T21:33:14.972Z] ---> 09d37f15b984 [2023-02-24T21:33:14.972Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-24T21:33:14.972Z] ---> c3961c6d9cc5 [2023-02-24T21:33:14.972Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T21:33:14.972Z] ---> Running in 8a24d3ea2ab9 [2023-02-24T21:33:15.908Z] Removing intermediate container 8a24d3ea2ab9 [2023-02-24T21:33:15.908Z] ---> c5da0be4b3e1 [2023-02-24T21:33:15.908Z] Step 12/26 : COPY . . [2023-02-24T21:33:16.846Z] ---> 517219c931e9 [2023-02-24T21:33:16.846Z] Step 13/26 : RUN ${MAKE} [2023-02-24T21:33:16.846Z] ---> Running in fba988f5af7b [2023-02-24T21:33:17.106Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T21:33:30.686Z] provisioning config files... [2023-02-24T21:33:30.714Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config10697660061491390039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:33:31.107Z] ---> docker-login.sh [2023-02-24T21:33:31.107Z] nexus3.edgexfoundry.org:10001 [2023-02-24T21:33:31.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:33:31.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:33:31.650Z] Configure a credential helper to remove this warning. See [2023-02-24T21:33:31.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:33:31.650Z] [2023-02-24T21:33:31.650Z] Login Succeeded [2023-02-24T21:33:31.650Z] nexus3.edgexfoundry.org:10002 [2023-02-24T21:33:31.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:33:32.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:33:32.194Z] Configure a credential helper to remove this warning. See [2023-02-24T21:33:32.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:33:32.194Z] [2023-02-24T21:33:32.194Z] Login Succeeded [2023-02-24T21:33:32.194Z] nexus3.edgexfoundry.org:10003 [2023-02-24T21:33:32.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:33:32.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:33:32.463Z] Configure a credential helper to remove this warning. See [2023-02-24T21:33:32.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:33:32.463Z] [2023-02-24T21:33:32.463Z] Login Succeeded [2023-02-24T21:33:32.463Z] nexus3.edgexfoundry.org:10004 [2023-02-24T21:33:32.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:33:32.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:33:32.736Z] Configure a credential helper to remove this warning. See [2023-02-24T21:33:32.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:33:32.736Z] [2023-02-24T21:33:32.736Z] Login Succeeded [2023-02-24T21:33:32.736Z] docker.io [2023-02-24T21:33:33.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T21:33:33.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T21:33:33.280Z] Configure a credential helper to remove this warning. See [2023-02-24T21:33:33.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T21:33:33.280Z] [2023-02-24T21:33:33.280Z] Login Succeeded [2023-02-24T21:33:33.280Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T21:33:33.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T21:33:33.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T21:33:33.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T21:33:33.779Z] ========================================================= [2023-02-24T21:33:33.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T21:33:33.779Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:33:34.284Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T21:33:36.906Z] Sending build context to Docker daemon 20.57MB [2023-02-24T21:33:36.906Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T21:33:36.906Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-24T21:33:36.906Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T21:33:36.906Z] 9b18e9b68314: Pulling fs layer [2023-02-24T21:33:36.906Z] 35d82f9e3411: Pulling fs layer [2023-02-24T21:33:36.906Z] e16973657156: Pulling fs layer [2023-02-24T21:33:36.906Z] fc693d55d65f: Pulling fs layer [2023-02-24T21:33:36.906Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T21:33:36.906Z] dda99020689f: Pulling fs layer [2023-02-24T21:33:36.906Z] db1c61fa0a46: Pulling fs layer [2023-02-24T21:33:36.906Z] 891c053d2c06: Pulling fs layer [2023-02-24T21:33:36.906Z] fc693d55d65f: Waiting [2023-02-24T21:33:36.906Z] dda99020689f: Waiting [2023-02-24T21:33:36.906Z] db1c61fa0a46: Waiting [2023-02-24T21:33:36.906Z] 7e9fc2657dce: Waiting [2023-02-24T21:33:36.906Z] e16973657156: Verifying Checksum [2023-02-24T21:33:36.907Z] e16973657156: Download complete [2023-02-24T21:33:36.907Z] 35d82f9e3411: Download complete [2023-02-24T21:33:36.907Z] 7e9fc2657dce: Verifying Checksum [2023-02-24T21:33:36.907Z] 7e9fc2657dce: Download complete [2023-02-24T21:33:36.907Z] dda99020689f: Verifying Checksum [2023-02-24T21:33:36.907Z] dda99020689f: Download complete [2023-02-24T21:33:36.907Z] 9b18e9b68314: Verifying Checksum [2023-02-24T21:33:36.907Z] 9b18e9b68314: Download complete [2023-02-24T21:33:37.890Z] 9b18e9b68314: Pull complete [2023-02-24T21:33:37.890Z] 891c053d2c06: Verifying Checksum [2023-02-24T21:33:37.890Z] 891c053d2c06: Download complete [2023-02-24T21:33:38.159Z] 35d82f9e3411: Pull complete [2023-02-24T21:33:38.430Z] e16973657156: Pull complete [2023-02-24T21:33:39.030Z] db1c61fa0a46: Verifying Checksum [2023-02-24T21:33:39.030Z] db1c61fa0a46: Download complete [2023-02-24T21:33:39.041Z] Removing intermediate container fba988f5af7b [2023-02-24T21:33:39.041Z] ---> 174d35313732 [2023-02-24T21:33:39.041Z] Step 14/26 : FROM alpine:3.16 [2023-02-24T21:33:39.041Z] 3.16: Pulling from library/alpine [2023-02-24T21:33:39.607Z] ef5531b6e74e: Pulling fs layer [2023-02-24T21:33:39.607Z] ef5531b6e74e: Download complete [2023-02-24T21:33:39.616Z] fc693d55d65f: Download complete [2023-02-24T21:33:39.867Z] ef5531b6e74e: Pull complete [2023-02-24T21:33:39.867Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T21:33:39.867Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T21:33:39.867Z] ---> dfd21b5a31f5 [2023-02-24T21:33:39.867Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-24T21:33:39.867Z] ---> Running in e3d8a12dfc54 [2023-02-24T21:33:40.126Z] Removing intermediate container e3d8a12dfc54 [2023-02-24T21:33:40.126Z] ---> bd0cfe1d331e [2023-02-24T21:33:40.126Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-24T21:33:40.126Z] ---> Running in 5aa3c74bd10e [2023-02-24T21:33:40.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T21:33:40.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T21:33:40.645Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T21:33:40.645Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T21:33:40.645Z] OK: 6 MiB in 15 packages [2023-02-24T21:33:41.211Z] Removing intermediate container 5aa3c74bd10e [2023-02-24T21:33:41.211Z] ---> cfe5d6e4cd4e [2023-02-24T21:33:41.211Z] Step 17/26 : WORKDIR / [2023-02-24T21:33:41.211Z] ---> Running in b8ec4388c186 [2023-02-24T21:33:41.211Z] Removing intermediate container b8ec4388c186 [2023-02-24T21:33:41.211Z] ---> db04a9c9e09b [2023-02-24T21:33:41.211Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-24T21:33:42.153Z] ---> 51231be6aaf8 [2023-02-24T21:33:42.153Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-24T21:33:42.153Z] ---> e12780d8ef67 [2023-02-24T21:33:42.153Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-24T21:33:42.413Z] ---> 9c338c920985 [2023-02-24T21:33:42.413Z] Step 21/26 : EXPOSE 59984 [2023-02-24T21:33:42.413Z] ---> Running in 6f7fce0dc202 [2023-02-24T21:33:42.413Z] Removing intermediate container 6f7fce0dc202 [2023-02-24T21:33:42.413Z] ---> eee57346acf8 [2023-02-24T21:33:42.413Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-24T21:33:42.413Z] ---> Running in b35e5a12f12e [2023-02-24T21:33:42.413Z] Removing intermediate container b35e5a12f12e [2023-02-24T21:33:42.413Z] ---> a4ebd6d0f2cd [2023-02-24T21:33:42.413Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T21:33:42.413Z] ---> Running in 67ee0eab1098 [2023-02-24T21:33:42.672Z] Removing intermediate container 67ee0eab1098 [2023-02-24T21:33:42.672Z] ---> ed4667d65c60 [2023-02-24T21:33:42.672Z] Step 24/26 : LABEL arch=amd64 [2023-02-24T21:33:42.672Z] ---> Running in 4be7238168c3 [2023-02-24T21:33:42.672Z] Removing intermediate container 4be7238168c3 [2023-02-24T21:33:42.672Z] ---> b59ee1ab3550 [2023-02-24T21:33:42.672Z] Step 25/26 : LABEL git_sha=ac6de9fc34e29ddc561fe7a9c258767668e77e04 [2023-02-24T21:33:42.672Z] ---> Running in 2684a4f0d0cf [2023-02-24T21:33:42.672Z] Removing intermediate container 2684a4f0d0cf [2023-02-24T21:33:42.672Z] ---> 7e5686029f14 [2023-02-24T21:33:42.672Z] Step 26/26 : LABEL version=0.0.0 [2023-02-24T21:33:42.672Z] ---> Running in 9c3390307911 [2023-02-24T21:33:42.933Z] Removing intermediate container 9c3390307911 [2023-02-24T21:33:42.933Z] ---> 2d40abd6b5c4 [2023-02-24T21:33:42.933Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T21:33:42.933Z] Successfully built 2d40abd6b5c4 [2023-02-24T21:33:42.933Z] 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-02-24T21:33:43.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T21:33:43.789Z] [2023-02-24T21:33:43.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:33:44.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T21:33:44.162Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T21:33:44.162Z] 5eb5b503b376: Pulling fs layer [2023-02-24T21:33:44.162Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T21:33:44.162Z] ec43610c2a17: Pulling fs layer [2023-02-24T21:33:44.162Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T21:33:44.162Z] 33b1e0a273af: Pulling fs layer [2023-02-24T21:33:44.162Z] 3a2ae6a8a46f: Waiting [2023-02-24T21:33:44.162Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T21:33:44.162Z] 33b1e0a273af: Waiting [2023-02-24T21:33:44.162Z] 5d3b04190fa2: Waiting [2023-02-24T21:33:44.162Z] 2f39f015ded8: Pulling fs layer [2023-02-24T21:33:44.162Z] 2f39f015ded8: Waiting [2023-02-24T21:33:44.162Z] 5c69ac0246d0: Verifying Checksum [2023-02-24T21:33:44.162Z] 5c69ac0246d0: Download complete [2023-02-24T21:33:44.162Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T21:33:44.162Z] 3a2ae6a8a46f: Download complete [2023-02-24T21:33:44.162Z] ec43610c2a17: Verifying Checksum [2023-02-24T21:33:44.162Z] ec43610c2a17: Download complete [2023-02-24T21:33:44.422Z] 33b1e0a273af: Verifying Checksum [2023-02-24T21:33:44.422Z] 33b1e0a273af: Download complete [2023-02-24T21:33:44.422Z] 5d3b04190fa2: Download complete [2023-02-24T21:33:44.422Z] 5eb5b503b376: Verifying Checksum [2023-02-24T21:33:44.422Z] 5eb5b503b376: Download complete [2023-02-24T21:33:44.989Z] 2f39f015ded8: Download complete [2023-02-24T21:33:45.555Z] 5eb5b503b376: Pull complete [2023-02-24T21:33:45.812Z] 5c69ac0246d0: Pull complete [2023-02-24T21:33:46.070Z] ec43610c2a17: Pull complete [2023-02-24T21:33:46.328Z] 3a2ae6a8a46f: Pull complete [2023-02-24T21:33:46.328Z] 33b1e0a273af: Pull complete [2023-02-24T21:33:46.586Z] 5d3b04190fa2: Pull complete [2023-02-24T21:33:50.772Z] 2f39f015ded8: Pull complete [2023-02-24T21:33:50.772Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T21:33:50.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T21:33:50.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:33:51.009Z] prd-ubuntu20.04-docker-8c-8g-7392 does not seem to be running inside a container [2023-02-24T21:33:51.048Z] $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-02-24T21:33:51.940Z] fc693d55d65f: Pull complete [2023-02-24T21:33:51.940Z] 7e9fc2657dce: Pull complete [2023-02-24T21:33:51.940Z] dda99020689f: Pull complete [2023-02-24T21:33:55.079Z] $ docker top e4f02db28499d41e241e064c29b40dc48abccacae0f372297d19f8f6ec601097 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:33:55.548Z] ---> job-cost.sh [2023-02-24T21:33:55.548Z] lf-activate-venv: SKIPPING [2023-02-24T21:33:55.548Z] INFO: No Stack... [2023-02-24T21:33:56.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T21:33:56.375Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T21:33:56.687Z] + cat /w/workspace/undry_device-onvif-camera_PR-238/archives/cost.csv [2023-02-24T21:33:56.687Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T21:33:56.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [2023-02-24T21:33:56.741Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] did not exist. Created. [2023-02-24T21:33:56.742Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T21:33:57.123Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T21:33:57.172Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T21:33:57.201Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T21:33:57.287Z] $ docker stop --time=1 e4f02db28499d41e241e064c29b40dc48abccacae0f372297d19f8f6ec601097 [2023-02-24T21:33:58.454Z] $ docker rm -f --volumes e4f02db28499d41e241e064c29b40dc48abccacae0f372297d19f8f6ec601097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2023-02-24T21:33:58.623Z] db1c61fa0a46: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T21:34:00.040Z] 891c053d2c06: Pull complete [2023-02-24T21:34:00.040Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T21:34:00.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T21:34:00.040Z] ---> f96f9c87975a [2023-02-24T21:34:00.040Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-24T21:34:02.114Z] ---> Running in a0627a9da2a8 [2023-02-24T21:34:02.114Z] Removing intermediate container a0627a9da2a8 [2023-02-24T21:34:02.114Z] ---> 15e2518c5653 [2023-02-24T21:34:02.114Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T21:34:02.381Z] ---> Running in a13c20c4fbd1 [2023-02-24T21:34:02.650Z] Removing intermediate container a13c20c4fbd1 [2023-02-24T21:34:02.650Z] ---> 3c4327ff0cde [2023-02-24T21:34:02.650Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T21:34:02.650Z] ---> Running in b4e8192923cb [2023-02-24T21:34:02.918Z] Removing intermediate container b4e8192923cb [2023-02-24T21:34:02.918Z] ---> 7cad8917468b [2023-02-24T21:34:02.918Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T21:34:03.187Z] ---> Running in e4453d47f740 [2023-02-24T21:34:03.457Z] Removing intermediate container e4453d47f740 [2023-02-24T21:34:03.457Z] ---> 033b4429e66a [2023-02-24T21:34:03.457Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-24T21:34:03.457Z] ---> Running in 6eef645cae68 [2023-02-24T21:34:03.729Z] Removing intermediate container 6eef645cae68 [2023-02-24T21:34:03.729Z] ---> 9b7270b83d2b [2023-02-24T21:34:03.729Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T21:34:03.729Z] ---> Running in b8bc32b158e7 [2023-02-24T21:34:05.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T21:34:05.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T21:34:06.093Z] OK: 221 MiB in 51 packages [2023-02-24T21:34:07.050Z] Removing intermediate container b8bc32b158e7 [2023-02-24T21:34:07.050Z] ---> f75eea61cdbd [2023-02-24T21:34:07.050Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-24T21:34:07.050Z] ---> Running in 3beb6560fbcc [2023-02-24T21:34:07.318Z] Removing intermediate container 3beb6560fbcc [2023-02-24T21:34:07.318Z] ---> 909769f077ab [2023-02-24T21:34:07.318Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-24T21:34:07.902Z] ---> 854005ed3895 [2023-02-24T21:34:07.902Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T21:34:07.902Z] ---> Running in 9dec71416d22 [2023-02-24T21:35:15.763Z] Removing intermediate container 9dec71416d22 [2023-02-24T21:35:15.763Z] ---> f3b6a936884a [2023-02-24T21:35:15.764Z] Step 12/13 : COPY . . [2023-02-24T21:35:15.764Z] ---> baf1ab9a81d4 [2023-02-24T21:35:15.764Z] Step 13/13 : RUN ${MAKE} [2023-02-24T21:35:15.764Z] ---> Running in 24e7ea568a07 [2023-02-24T21:35:15.764Z] noop [2023-02-24T21:35:15.764Z] Removing intermediate container 24e7ea568a07 [2023-02-24T21:35:15.764Z] ---> 06e9ba1270ce [2023-02-24T21:35:15.764Z] Successfully built 06e9ba1270ce [2023-02-24T21:35:15.764Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:35:16.239Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T21:35:16.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:35:16.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-7393 does not seem to be running inside a container [2023-02-24T21:35:16.555Z] $ 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-02-24T21:35:17.777Z] $ docker top 14342fe2e1809886780cce731547bd940baf51b09395fe66e5be0964c0090e27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T21:35:18.678Z] + go version [2023-02-24T21:35:18.678Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T21:35:18.711Z] $ docker stop --time=1 14342fe2e1809886780cce731547bd940baf51b09395fe66e5be0964c0090e27 [2023-02-24T21:35:20.589Z] $ docker rm -f --volumes 14342fe2e1809886780cce731547bd940baf51b09395fe66e5be0964c0090e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:35:21.427Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T21:35:21.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:35:21.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-7393 does not seem to be running inside a container [2023-02-24T21:35:21.724Z] $ 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-02-24T21:35:22.825Z] $ docker top 7fe7f9e48901a6423bcc967598c592e0267dc35fd360aabcac7be61b87aef1c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T21:35:23.370Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-24T21:35:23.764Z] + make test [2023-02-24T21:35:23.764Z] go test ./... -coverprofile=coverage.out ./... [2023-02-24T21:35:25.713Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-24T21:37:02.378Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-24T21:37:02.378Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.189s coverage: 29.3% of statements [2023-02-24T21:37:02.378Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-24T21:37:14.725Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.870s coverage: 86.5% of statements [2023-02-24T21:37:14.725Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T21:37:14.725Z] go vet ./... [2023-02-24T21:37:46.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T21:37:46.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T21:37:46.973Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T21:37:47.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T21:37:47.049Z] $ docker stop --time=1 7fe7f9e48901a6423bcc967598c592e0267dc35fd360aabcac7be61b87aef1c5 [2023-02-24T21:37:49.028Z] $ docker rm -f --volumes 7fe7f9e48901a6423bcc967598c592e0267dc35fd360aabcac7be61b87aef1c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T21:37:50.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T21:37:50.138Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T21:37:50.700Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T21:37:51.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T21:37:51.589Z] + ls -al . [2023-02-24T21:37:51.589Z] total 232 [2023-02-24T21:37:51.589Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 21:35 . [2023-02-24T21:37:51.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:32 .. [2023-02-24T21:37:51.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 21:33 .git [2023-02-24T21:37:51.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 21:33 .github [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 24 21:33 .gitignore [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 21:33 .golangci.yml [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 24 21:33 Attribution.txt [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 24 21:33 CHANGELOG.md [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 24 21:33 Dockerfile [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 21:33 GOVERNANCE.md [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 24 21:33 Jenkinsfile [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 24 21:33 LICENSE [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 24 21:33 Makefile [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 24 21:33 OWNERS.md [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 24 21:33 README.md [2023-02-24T21:37:51.589Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 21:31 VERSION [2023-02-24T21:37:51.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 21:33 bin [2023-02-24T21:37:51.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 21:33 cmd [2023-02-24T21:37:51.589Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 24 21:37 coverage.out [2023-02-24T21:37:51.590Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 21:33 doc [2023-02-24T21:37:51.590Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 24 21:33 go.mod [2023-02-24T21:37:51.590Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 24 21:33 go.sum [2023-02-24T21:37:51.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:33 internal [2023-02-24T21:37:51.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 21:33 snap [2023-02-24T21:37:51.590Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 24 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:37:52.010Z] + 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=ac6de9fc34e29ddc561fe7a9c258767668e77e04 --label arch=arm64 --label version=0.0.0 . [2023-02-24T21:37:52.709Z] Sending build context to Docker daemon 20.65MB [2023-02-24T21:37:52.709Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T21:37:52.709Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-24T21:37:52.709Z] ---> 06e9ba1270ce [2023-02-24T21:37:52.709Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-24T21:37:54.161Z] ---> Running in f49113c5afd2 [2023-02-24T21:37:54.161Z] Removing intermediate container f49113c5afd2 [2023-02-24T21:37:54.161Z] ---> 1550e24c98e3 [2023-02-24T21:37:54.161Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-24T21:37:54.161Z] ---> Running in 98de9c9fd420 [2023-02-24T21:37:54.450Z] Removing intermediate container 98de9c9fd420 [2023-02-24T21:37:54.450Z] ---> 17c0371f2eb6 [2023-02-24T21:37:54.450Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-24T21:37:54.728Z] ---> Running in f60a578fd615 [2023-02-24T21:37:55.004Z] Removing intermediate container f60a578fd615 [2023-02-24T21:37:55.004Z] ---> 7761ef55b7a9 [2023-02-24T21:37:55.004Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-24T21:37:55.004Z] ---> Running in 2a6299103f37 [2023-02-24T21:37:55.279Z] Removing intermediate container 2a6299103f37 [2023-02-24T21:37:55.279Z] ---> 288b6e90fb47 [2023-02-24T21:37:55.279Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-24T21:37:55.279Z] ---> Running in 83125df710b1 [2023-02-24T21:37:55.548Z] Removing intermediate container 83125df710b1 [2023-02-24T21:37:55.548Z] ---> 8cafbe93aaf3 [2023-02-24T21:37:55.548Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-24T21:37:55.821Z] ---> Running in 1ad296c134bd [2023-02-24T21:37:56.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T21:37:57.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T21:37:58.020Z] OK: 221 MiB in 51 packages [2023-02-24T21:37:59.437Z] Removing intermediate container 1ad296c134bd [2023-02-24T21:37:59.437Z] ---> 7348c8e0f6ab [2023-02-24T21:37:59.437Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-24T21:37:59.437Z] ---> Running in 824fcd105cea [2023-02-24T21:37:59.437Z] Removing intermediate container 824fcd105cea [2023-02-24T21:37:59.437Z] ---> 34241e7df6f5 [2023-02-24T21:37:59.437Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-24T21:38:00.440Z] ---> 2f514f3e509c [2023-02-24T21:38:00.440Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T21:38:00.440Z] ---> Running in a95b6122d97b [2023-02-24T21:38:03.045Z] Removing intermediate container a95b6122d97b [2023-02-24T21:38:03.045Z] ---> 241c77ab8f34 [2023-02-24T21:38:03.045Z] Step 12/26 : COPY . . [2023-02-24T21:38:05.002Z] ---> 025efc81cf0a [2023-02-24T21:38:05.002Z] Step 13/26 : RUN ${MAKE} [2023-02-24T21:38:05.002Z] ---> Running in fc557346f667 [2023-02-24T21:38:05.968Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-24T21:40:27.709Z] Removing intermediate container fc557346f667 [2023-02-24T21:40:27.709Z] ---> 98ab506af145 [2023-02-24T21:40:27.709Z] Step 14/26 : FROM alpine:3.16 [2023-02-24T21:40:27.709Z] 3.16: Pulling from library/alpine [2023-02-24T21:40:27.709Z] 3760b48202b3: Pulling fs layer [2023-02-24T21:40:27.709Z] 3760b48202b3: Verifying Checksum [2023-02-24T21:40:27.709Z] 3760b48202b3: Download complete [2023-02-24T21:40:27.709Z] 3760b48202b3: Pull complete [2023-02-24T21:40:27.709Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T21:40:27.709Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T21:40:27.709Z] ---> 4c81e5bf8899 [2023-02-24T21:40:27.709Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-24T21:40:27.709Z] ---> Running in cdf0a5dc27b1 [2023-02-24T21:40:27.709Z] Removing intermediate container cdf0a5dc27b1 [2023-02-24T21:40:27.709Z] ---> 72033926fa09 [2023-02-24T21:40:27.709Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-24T21:40:27.709Z] ---> Running in 6dff5e7c4bbb [2023-02-24T21:40:27.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T21:40:27.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T21:40:27.709Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-24T21:40:27.709Z] Executing busybox-1.35.0-r17.trigger [2023-02-24T21:40:27.709Z] OK: 5 MiB in 15 packages [2023-02-24T21:40:27.709Z] Removing intermediate container 6dff5e7c4bbb [2023-02-24T21:40:27.709Z] ---> 4c82920e9bb6 [2023-02-24T21:40:27.709Z] Step 17/26 : WORKDIR / [2023-02-24T21:40:27.709Z] ---> Running in c25b7750d8d0 [2023-02-24T21:40:27.709Z] Removing intermediate container c25b7750d8d0 [2023-02-24T21:40:27.709Z] ---> dc580d9553d2 [2023-02-24T21:40:27.709Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-24T21:40:27.709Z] ---> 6b56235b79b6 [2023-02-24T21:40:27.709Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-24T21:40:27.709Z] ---> 47bb13f6ca20 [2023-02-24T21:40:27.709Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-24T21:40:27.709Z] ---> 7a66293b873b [2023-02-24T21:40:27.709Z] Step 21/26 : EXPOSE 59984 [2023-02-24T21:40:27.709Z] ---> Running in 4e93cba69402 [2023-02-24T21:40:27.709Z] Removing intermediate container 4e93cba69402 [2023-02-24T21:40:27.709Z] ---> 91ddf0a08724 [2023-02-24T21:40:27.709Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-24T21:40:27.709Z] ---> Running in 88ec49a4b4f7 [2023-02-24T21:40:27.709Z] Removing intermediate container 88ec49a4b4f7 [2023-02-24T21:40:27.709Z] ---> 2df6bcb848b1 [2023-02-24T21:40:27.709Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T21:40:27.709Z] ---> Running in 275f2cd080ec [2023-02-24T21:40:27.709Z] Removing intermediate container 275f2cd080ec [2023-02-24T21:40:27.709Z] ---> d6719ba1d9e6 [2023-02-24T21:40:27.709Z] Step 24/26 : LABEL arch=arm64 [2023-02-24T21:40:27.709Z] ---> Running in e2074ace913b [2023-02-24T21:40:27.709Z] Removing intermediate container e2074ace913b [2023-02-24T21:40:27.709Z] ---> bafe6857d60f [2023-02-24T21:40:27.709Z] Step 25/26 : LABEL git_sha=ac6de9fc34e29ddc561fe7a9c258767668e77e04 [2023-02-24T21:40:27.709Z] ---> Running in 69f73d976e36 [2023-02-24T21:40:27.709Z] Removing intermediate container 69f73d976e36 [2023-02-24T21:40:27.709Z] ---> f88ce2012864 [2023-02-24T21:40:27.709Z] Step 26/26 : LABEL version=0.0.0 [2023-02-24T21:40:27.709Z] ---> Running in 996a08a33804 [2023-02-24T21:40:27.709Z] Removing intermediate container 996a08a33804 [2023-02-24T21:40:27.709Z] ---> caacbbca6875 [2023-02-24T21:40:27.709Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T21:40:27.709Z] Successfully built caacbbca6875 [2023-02-24T21:40:27.709Z] 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-02-24T21:40:28.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T21:40:28.499Z] [2023-02-24T21:40:28.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:40:28.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T21:40:28.910Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T21:40:28.910Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T21:40:28.910Z] 04944245beec: Pulling fs layer [2023-02-24T21:40:28.910Z] 699f458cf7ca: Pulling fs layer [2023-02-24T21:40:28.910Z] 765212b225bb: Pulling fs layer [2023-02-24T21:40:28.910Z] f23df028b6ca: Pulling fs layer [2023-02-24T21:40:28.910Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T21:40:28.910Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T21:40:28.910Z] 765212b225bb: Waiting [2023-02-24T21:40:28.910Z] f23df028b6ca: Waiting [2023-02-24T21:40:28.910Z] d65c8cfc05b1: Waiting [2023-02-24T21:40:28.910Z] 2437ff75d9bd: Waiting [2023-02-24T21:40:29.177Z] 04944245beec: Verifying Checksum [2023-02-24T21:40:29.178Z] 04944245beec: Download complete [2023-02-24T21:40:29.178Z] 765212b225bb: Verifying Checksum [2023-02-24T21:40:29.178Z] 765212b225bb: Download complete [2023-02-24T21:40:29.178Z] f23df028b6ca: Download complete [2023-02-24T21:40:29.178Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T21:40:29.178Z] d65c8cfc05b1: Download complete [2023-02-24T21:40:29.444Z] 699f458cf7ca: Verifying Checksum [2023-02-24T21:40:29.444Z] 699f458cf7ca: Download complete [2023-02-24T21:40:29.711Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T21:40:29.711Z] 8998bd30e6a1: Download complete [2023-02-24T21:40:31.673Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T21:40:31.673Z] 2437ff75d9bd: Download complete [2023-02-24T21:40:33.623Z] 8998bd30e6a1: Pull complete [2023-02-24T21:40:34.209Z] 04944245beec: Pull complete [2023-02-24T21:40:35.618Z] 699f458cf7ca: Pull complete [2023-02-24T21:40:35.618Z] 765212b225bb: Pull complete [2023-02-24T21:40:38.958Z] f23df028b6ca: Pull complete [2023-02-24T21:40:38.958Z] d65c8cfc05b1: Pull complete [2023-02-24T21:40:53.986Z] 2437ff75d9bd: Pull complete [2023-02-24T21:40:53.986Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T21:40:53.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T21:40:53.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:40:54.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-7393 does not seem to be running inside a container [2023-02-24T21:40:54.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-24T21:40:56.752Z] $ docker top 8933c552c37374aaeb4410cc02192e8d8ab61239a2767b003b350b914da8315c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:40:57.638Z] ---> job-cost.sh [2023-02-24T21:40:57.638Z] lf-activate-venv: SKIPPING [2023-02-24T21:40:57.638Z] INFO: No Stack... [2023-02-24T21:40:58.225Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T21:40:58.811Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T21:40:59.148Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-24T21:40:59.148Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T21:40:59.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [2023-02-24T21:40:59.498Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] did not exist. Created. [2023-02-24T21:40:59.498Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T21:41:00.230Z] /w/workspace/device-onvif-camera/1@tmp/durable-043127dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T21:41:00.582Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T21:41:00.877Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T21:41:00.940Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T21:41:00.970Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T21:41:01.050Z] $ docker stop --time=1 8933c552c37374aaeb4410cc02192e8d8ab61239a2767b003b350b914da8315c [2023-02-24T21:41:02.553Z] $ docker rm -f --volumes 8933c552c37374aaeb4410cc02192e8d8ab61239a2767b003b350b914da8315c [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-02-24T21:41:03.478Z] provisioning config files... [2023-02-24T21:41:03.486Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config2621807032521550010tmp [Pipeline] { [Pipeline] sh [2023-02-24T21:41:03.820Z] + set +x [2023-02-24T21:41:03.820Z] + curl -s https://codecov.io/bash+ [2023-02-24T21:41:03.820Z] bash -s -- [2023-02-24T21:41:03.820Z] [2023-02-24T21:41:03.820Z] _____ _ [2023-02-24T21:41:03.820Z] / ____| | | [2023-02-24T21:41:03.820Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T21:41:03.820Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T21:41:03.820Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T21:41:03.820Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T21:41:03.820Z] Bash-1.0.6 [2023-02-24T21:41:03.820Z] [2023-02-24T21:41:03.820Z] [2023-02-24T21:41:03.820Z] ==> git version 2.25.1 found [2023-02-24T21:41:03.820Z] ==> 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-02-24T21:41:03.820Z] Release-Date: 2020-01-08 [2023-02-24T21:41:03.820Z] 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-02-24T21:41:03.820Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T21:41:03.820Z] ==> Jenkins CI detected. [2023-02-24T21:41:03.820Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-238 [2023-02-24T21:41:03.820Z] project root: . [2023-02-24T21:41:03.820Z] --> token set from env [2023-02-24T21:41:03.820Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T21:41:03.820Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T21:41:03.820Z] ==> Python coveragepy not found [2023-02-24T21:41:03.820Z] ==> Searching for coverage reports in: [2023-02-24T21:41:03.820Z] + . [2023-02-24T21:41:03.820Z] -> Found 1 reports [2023-02-24T21:41:03.820Z] ==> Detecting git/mercurial file structure [2023-02-24T21:41:04.079Z] ==> Reading reports [2023-02-24T21:41:04.079Z] + ./coverage.out bytes=79184 [2023-02-24T21:41:04.079Z] ==> Appending adjustments [2023-02-24T21:41:04.079Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T21:41:04.079Z] + Found adjustments [2023-02-24T21:41:04.079Z] ==> Gzipping contents [2023-02-24T21:41:04.079Z] 12K /tmp/codecov.sKOtbw.gz [2023-02-24T21:41:04.079Z] ==> Uploading reports [2023-02-24T21:41:04.079Z] url: https://codecov.io [2023-02-24T21:41:04.079Z] query: branch=PR-238&commit=ac6de9fc34e29ddc561fe7a9c258767668e77e04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-02-24T21:41:04.079Z] -> Pinging Codecov [2023-02-24T21:41:04.079Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-238&commit=ac6de9fc34e29ddc561fe7a9c258767668e77e04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= [2023-02-24T21:41:04.337Z] -> Uploading to [2023-02-24T21:41:04.337Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/F29A59C45E3A92E06B3E522C9905F8EF/ac6de9fc34e29ddc561fe7a9c258767668e77e04/b88b943f-0465-4349-be06-4b462a20683f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T214104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8570f5e3bb1ac5544938de84b7833622fcfeb1d58799129d360aa8cd098da152 [2023-02-24T21:41:04.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T21:41:04.337Z] Dload Upload Total Spent Left Speed [2023-02-24T21:41:04.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10839 0 0 100 10839 0 37898 --:--:-- --:--:-- --:--:-- 37898 [2023-02-24T21:41:04.596Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ac6de9fc34e29ddc561fe7a9c258767668e77e04 [Pipeline] } [2023-02-24T21:41:04.625Z] 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-02-24T21:41:06.398Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-238/archives ] [2023-02-24T21:41:06.398Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-24T21:41:06.398Z] total 16 [2023-02-24T21:41:06.398Z] drwxr-xr-x 3 root root 4096 Feb 24 21:33 . [2023-02-24T21:41:06.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 21:33 .. [2023-02-24T21:41:06.398Z] drwxr-xr-x 2 root root 4096 Feb 24 21:33 cost [2023-02-24T21:41:06.398Z] -rw-r--r-- 1 root root 91 Feb 24 21:33 cost.csv [2023-02-24T21:41:06.398Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-24T21:41:06.398Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives [2023-02-24T21:41:06.398Z] total 16 [2023-02-24T21:41:06.398Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 21:33 . [2023-02-24T21:41:06.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 21:33 .. [2023-02-24T21:41:06.398Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 21:33 cost [2023-02-24T21:41:06.398Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 24 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:06.725Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:07.619Z] ---> package-listing.sh [2023-02-24T21:41:07.619Z] ++ facter osfamily [2023-02-24T21:41:07.619Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T21:41:07.878Z] + OS_FAMILY=debian [2023-02-24T21:41:07.878Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-238 [2023-02-24T21:41:07.878Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T21:41:07.878Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T21:41:07.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T21:41:07.878Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T21:41:07.878Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-02-24T21:41:07.878Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T21:41:07.878Z] + case "${OS_FAMILY}" in [2023-02-24T21:41:07.878Z] + dpkg -l [2023-02-24T21:41:07.878Z] + grep '^ii' [2023-02-24T21:41:07.878Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T21:41:07.878Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T21:41:07.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T21:41:07.878Z] + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' [2023-02-24T21:41:07.878Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-238/archives/ [2023-02-24T21:41:07.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-238/archives/ [Pipeline] echo [2023-02-24T21:41:07.915Z] 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T21:41:08.202Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T21:41:09.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T21:41:09.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T21:41:09.995Z] prd-ubuntu20.04-docker-8c-8g-7392 does not seem to be running inside a container [2023-02-24T21:41:10.056Z] $ 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-238/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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-02-24T21:41:10.946Z] $ docker top 4dbf93246e92289a252c0c2eb60308f02212931c68576a45c5a81239beb5e78b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T21:41:11.314Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T21:41:11.621Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T21:41:11.926Z] + ls /var/log/sa-host [2023-02-24T21:41:11.926Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T21:41:12.132Z] provisioning config files... [2023-02-24T21:41:12.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config9189082274559705982tmp [Pipeline] { [Pipeline] echo [2023-02-24T21:41:12.185Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:12.506Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T21:41:12.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:12.927Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T21:41:12.969Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:13.275Z] ---> sudo-logs.sh [2023-02-24T21:41:13.275Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T21:41:13.345Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:13.654Z] ---> job-cost.sh [2023-02-24T21:41:13.654Z] lf-activate-venv: SKIPPING [2023-02-24T21:41:13.654Z] DEBUG: total: 0.2199999988079071 [2023-02-24T21:41:13.654Z] INFO: Retrieving Stack Cost... [2023-02-24T21:41:13.913Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T21:41:14.481Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T21:41:14.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T21:41:14.827Z] ---> logs-deploy.sh [2023-02-24T21:41:14.827Z] lf-activate-venv: SKIPPING [2023-02-24T21:41:14.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-238/1 [2023-02-24T21:41:14.827Z] INFO: archiving workspace using pattern(s): [2023-02-24T21:41:15.762Z] Archives upload complete. [2023-02-24T21:41:15.762Z] INFO: archiving logs to Nexus