Pull request #165 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 87705a392df95c720bda82ac1b9f5f1497326bc3 rather than a9199593bbedbc171aa0eea47cb188d7d5a5898d Obtained Jenkinsfile from 87705a392df95c720bda82ac1b9f5f1497326bc3 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-ssh6719221316354178130.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-ssh16280152150160649236.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-usb-camera/branches/PR-165/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-usb-camera/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7478418468398999217.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-usb-camera/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh911298120805662867.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-ssh12538176577640630587.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-usb-camera/branches/PR-165/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-usb-camera/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12963917038189261343.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7793’ Running on prd-ubuntu20.04-docker-8c-8g-7799 in /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit a9199593bbedbc171aa0eea47cb188d7d5a5898d Merge succeeded, producing a9199593bbedbc171aa0eea47cb188d7d5a5898d Checking out Revision a9199593bbedbc171aa0eea47cb188d7d5a5898d (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f a9199593bbedbc171aa0eea47cb188d7d5a5898d # 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 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9199593bbedbc171aa0eea47cb188d7d5a5898d # timeout=10 Commit message: "refactor!: provision watcher code removed" 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-28T21:53:11.975Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T21:53:12.149Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T21:53:12.242Z] ========================================================= [2023-02-28T21:53:12.242Z] EdgeX Global Pipelines Version Info [2023-02-28T21:53:12.242Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T21:53:12.999Z] ------------------- [2023-02-28T21:53:12.999Z] stable info: [2023-02-28T21:53:12.999Z] ------------------- [2023-02-28T21:53:12.999Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T21:53:12.999Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T21:53:12.999Z] Message: update stable to v1.0.244 [2023-02-28T21:53:13.573Z] ------------------- [2023-02-28T21:53:13.573Z] experimental info: [2023-02-28T21:53:13.573Z] ------------------- [2023-02-28T21:53:13.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T21:53:13.573Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T21:53:13.573Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T21:53:13.861Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-28T21:53:13.898Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-28T21:53:13.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T21:53:13.971Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T21:53:14.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T21:53:14.042Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T21:53:14.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T21:53:14.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-28T21:53:14.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T21:53:14.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T21:53:14.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T21:53:14.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-28T21:53:14.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T21:53:14.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T21:53:14.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T21:53:14.423Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T21:53:14.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T21:53:14.499Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T21:53:14.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T21:53:14.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T21:53:14.617Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-28T21:53:14.654Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-28T21:53:14.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T21:53:14.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T21:53:14.769Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T21:53:14.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T21:53:14.850Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T21:53:14.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2023-02-28T21:53:14.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2023-02-28T21:53:14.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2023-02-28T21:53:15.019Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9199593bbedbc171aa0eea47cb188d7d5a5898d [Pipeline] echo [2023-02-28T21:53:15.060Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a919959 [Pipeline] echo [2023-02-28T21:53:15.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T21:53:15.220Z] provisioning config files... [2023-02-28T21:53:15.237Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config16048917241431597235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T21:53:15.585Z] ---> docker-login.sh [2023-02-28T21:53:15.585Z] nexus3.edgexfoundry.org:10001 [2023-02-28T21:53:15.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:15.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:15.849Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:15.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:15.849Z] [2023-02-28T21:53:15.849Z] Login Succeeded [2023-02-28T21:53:15.849Z] nexus3.edgexfoundry.org:10002 [2023-02-28T21:53:16.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:16.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:16.119Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:16.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:16.119Z] [2023-02-28T21:53:16.119Z] Login Succeeded [2023-02-28T21:53:16.119Z] nexus3.edgexfoundry.org:10003 [2023-02-28T21:53:16.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:16.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:16.119Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:16.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:16.119Z] [2023-02-28T21:53:16.119Z] Login Succeeded [2023-02-28T21:53:16.119Z] nexus3.edgexfoundry.org:10004 [2023-02-28T21:53:16.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:16.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:16.379Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:16.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:16.379Z] [2023-02-28T21:53:16.379Z] Login Succeeded [2023-02-28T21:53:16.379Z] docker.io [2023-02-28T21:53:16.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:16.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:16.641Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:16.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:16.641Z] [2023-02-28T21:53:16.641Z] Login Succeeded [2023-02-28T21:53:16.641Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T21:53:16.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T21:53:17.299Z] + git rev-list -1 --merges a9199593bbedbc171aa0eea47cb188d7d5a5898d~1..a9199593bbedbc171aa0eea47cb188d7d5a5898d [Pipeline] echo [2023-02-28T21:53:17.363Z] -----------> git rev-list -1 --merges a9199593bbedbc171aa0eea47cb188d7d5a5898d~1..a9199593bbedbc171aa0eea47cb188d7d5a5898d a9199593bbedbc171aa0eea47cb188d7d5a5898d [false] [Pipeline] sh [2023-02-28T21:53:17.675Z] + git log --format=format:%s -1 a9199593bbedbc171aa0eea47cb188d7d5a5898d [Pipeline] echo [2023-02-28T21:53:17.715Z] ========================================================= [2023-02-28T21:53:17.715Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T21:53:17.715Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T21:53:18.252Z] + git log --format=format:%s -1 a9199593bbedbc171aa0eea47cb188d7d5a5898d [Pipeline] echo [2023-02-28T21:53:18.286Z] [semverPrep] GIT_COMMIT: a9199593bbedbc171aa0eea47cb188d7d5a5898d, Commit Message: refactor!: provision watcher code removed [Pipeline] echo [2023-02-28T21:53:18.315Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T21:53:18.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T21:53:18.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T21:53:18.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T21:53:18.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T21:53:18.679Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T21:53:18.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T21:53:18.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:53:19.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T21:53:19.110Z] [2023-02-28T21:53:19.110Z] 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-28T21:53:19.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T21:53:19.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T21:53:19.749Z] b85a868b505f: Pulling fs layer [2023-02-28T21:53:19.749Z] e2be974225ed: Pulling fs layer [2023-02-28T21:53:19.749Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T21:53:19.749Z] 988bab9f4d93: Pulling fs layer [2023-02-28T21:53:19.749Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T21:53:19.749Z] eaf3925da568: Pulling fs layer [2023-02-28T21:53:19.749Z] bab4dde63d76: Pulling fs layer [2023-02-28T21:53:19.749Z] bde34c3a00c8: Pulling fs layer [2023-02-28T21:53:19.749Z] b352a97aabf1: Pulling fs layer [2023-02-28T21:53:19.749Z] 4872d77fe225: Pulling fs layer [2023-02-28T21:53:19.749Z] 5851b861e8e6: Pulling fs layer [2023-02-28T21:53:19.749Z] bde34c3a00c8: Waiting [2023-02-28T21:53:19.749Z] bab4dde63d76: Waiting [2023-02-28T21:53:19.749Z] 1469e6f7b9e6: Waiting [2023-02-28T21:53:19.749Z] b352a97aabf1: Waiting [2023-02-28T21:53:19.749Z] 4872d77fe225: Waiting [2023-02-28T21:53:19.749Z] eaf3925da568: Waiting [2023-02-28T21:53:19.749Z] 5851b861e8e6: Waiting [2023-02-28T21:53:19.749Z] 988bab9f4d93: Waiting [2023-02-28T21:53:19.749Z] e2be974225ed: Verifying Checksum [2023-02-28T21:53:19.749Z] e2be974225ed: Download complete [2023-02-28T21:53:19.749Z] 988bab9f4d93: Verifying Checksum [2023-02-28T21:53:19.749Z] 988bab9f4d93: Download complete [2023-02-28T21:53:20.009Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T21:53:20.009Z] 1469e6f7b9e6: Download complete [2023-02-28T21:53:20.009Z] eaf3925da568: Verifying Checksum [2023-02-28T21:53:20.009Z] eaf3925da568: Download complete [2023-02-28T21:53:20.009Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T21:53:20.009Z] 339a4e72a1f5: Download complete [2023-02-28T21:53:20.009Z] bde34c3a00c8: Verifying Checksum [2023-02-28T21:53:20.009Z] bde34c3a00c8: Download complete [2023-02-28T21:53:20.009Z] b352a97aabf1: Download complete [2023-02-28T21:53:20.009Z] 4872d77fe225: Download complete [2023-02-28T21:53:20.009Z] 5851b861e8e6: Verifying Checksum [2023-02-28T21:53:20.009Z] 5851b861e8e6: Download complete [2023-02-28T21:53:20.009Z] b85a868b505f: Verifying Checksum [2023-02-28T21:53:20.009Z] b85a868b505f: Download complete [2023-02-28T21:53:20.303Z] bab4dde63d76: Verifying Checksum [2023-02-28T21:53:20.303Z] bab4dde63d76: Download complete [2023-02-28T21:53:21.691Z] b85a868b505f: Pull complete [2023-02-28T21:53:21.691Z] e2be974225ed: Pull complete [2023-02-28T21:53:22.264Z] 339a4e72a1f5: Pull complete [2023-02-28T21:53:22.264Z] 988bab9f4d93: Pull complete [2023-02-28T21:53:22.833Z] 1469e6f7b9e6: Pull complete [2023-02-28T21:53:22.833Z] eaf3925da568: Pull complete [2023-02-28T21:53:24.741Z] bab4dde63d76: Pull complete [2023-02-28T21:53:25.001Z] bde34c3a00c8: Pull complete [2023-02-28T21:53:25.273Z] b352a97aabf1: Pull complete [2023-02-28T21:53:25.534Z] 4872d77fe225: Pull complete [2023-02-28T21:53:26.102Z] 5851b861e8e6: Pull complete [2023-02-28T21:53:26.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T21:53:26.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T21:53:26.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:53:26.307Z] prd-ubuntu20.04-docker-8c-8g-7799 does not seem to be running inside a container [2023-02-28T21:53:26.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T21:53:30.287Z] $ docker top 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede -eo pid,comm [2023-02-28T21:53:30.343Z] 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-28T21:53:30.343Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T21:53:30.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T21:53:30.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T21:53:30.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T21:53:30.584Z] $ docker exec 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede ssh-agent [2023-02-28T21:53:30.701Z] SSH_AUTH_SOCK=/tmp/ssh-wUinebRznrai/agent.32 [2023-02-28T21:53:30.701Z] SSH_AGENT_PID=38 [2023-02-28T21:53:30.708Z] Running ssh-add (command line suppressed) [2023-02-28T21:53:30.801Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_4890365809422618977.key (/w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_4890365809422618977.key) [2023-02-28T21:53:30.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T21:53:31.143Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T21:53:31.165Z] $ docker exec --env ******** --env ******** 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede ssh-agent -k [2023-02-28T21:53:31.260Z] unset SSH_AUTH_SOCK; [2023-02-28T21:53:31.260Z] unset SSH_AGENT_PID; [2023-02-28T21:53:31.260Z] echo Agent pid 38 killed; [2023-02-28T21:53:31.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T21:53:31.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T21:53:31.348Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T21:53:31.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T21:53:31.464Z] $ docker exec 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede ssh-agent [2023-02-28T21:53:31.573Z] SSH_AUTH_SOCK=/tmp/ssh-R70AGWgEHbP2/agent.70 [2023-02-28T21:53:31.573Z] SSH_AGENT_PID=76 [2023-02-28T21:53:31.579Z] Running ssh-add (command line suppressed) [2023-02-28T21:53:31.669Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_12046647327656700336.key (/w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_12046647327656700336.key) [2023-02-28T21:53:31.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T21:53:32.015Z] + git semver init [2023-02-28T21:53:32.274Z] 2023-02-28 21:53:32,207 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T21:53:32.274Z] 2023-02-28 21:53:32,208 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-165/.semver [2023-02-28T21:53:32.274Z] 2023-02-28 21:53:32,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-165/.semver [2023-02-28T21:53:32.274Z] 2023-02-28 21:53:32,208 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-165/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-165, universal_newlines=False, shell=None, istream=None) [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,027 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-165/.git/info/exclude [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,028 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 with force:False [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,028 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,032 [execute] INFO git cat-file --batch-check [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,038 [execute] INFO git cat-file --batch [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T21:53:33.214Z] 2023-02-28 21:53:33,044 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 [2023-02-28T21:53:33.214Z] 0.0.0 [Pipeline] } [2023-02-28T21:53:33.236Z] $ docker exec --env ******** --env ******** 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede ssh-agent -k [2023-02-28T21:53:33.339Z] unset SSH_AUTH_SOCK; [2023-02-28T21:53:33.340Z] unset SSH_AGENT_PID; [2023-02-28T21:53:33.340Z] echo Agent pid 76 killed; [2023-02-28T21:53:33.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T21:53:33.835Z] + git semver [Pipeline] } [2023-02-28T21:53:34.116Z] $ docker stop --time=1 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede [2023-02-28T21:53:35.426Z] $ docker rm -f --volumes 82b299a26f208e9965691caf51bc78e1f4263612be2ad6a43ead53aa0c066ede [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T21:53:35.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T21:53:36.089Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T21:53:36.106Z] [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-28T21:53:36.653Z] provisioning config files... [2023-02-28T21:53:36.663Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config11610653520214311168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T21:53:37.011Z] ---> docker-login.sh [2023-02-28T21:53:37.011Z] nexus3.edgexfoundry.org:10001 [2023-02-28T21:53:37.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:37.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:37.011Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:37.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:37.011Z] [2023-02-28T21:53:37.011Z] Login Succeeded [2023-02-28T21:53:37.011Z] nexus3.edgexfoundry.org:10002 [2023-02-28T21:53:37.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:37.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:37.011Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:37.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:37.011Z] [2023-02-28T21:53:37.011Z] Login Succeeded [2023-02-28T21:53:37.011Z] nexus3.edgexfoundry.org:10003 [2023-02-28T21:53:37.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:37.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:37.271Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:37.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:37.271Z] [2023-02-28T21:53:37.271Z] Login Succeeded [2023-02-28T21:53:37.271Z] nexus3.edgexfoundry.org:10004 [2023-02-28T21:53:37.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:37.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:37.271Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:37.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:37.271Z] [2023-02-28T21:53:37.271Z] Login Succeeded [2023-02-28T21:53:37.271Z] docker.io [2023-02-28T21:53:37.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:53:37.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:53:37.532Z] Configure a credential helper to remove this warning. See [2023-02-28T21:53:37.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:53:37.532Z] [2023-02-28T21:53:37.532Z] Login Succeeded [2023-02-28T21:53:37.532Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T21:53:37.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T21:53:37.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T21:53:37.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T21:53:37.808Z] ========================================================= [2023-02-28T21:53:37.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T21:53:37.808Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:53:38.274Z] + 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-28T21:53:38.274Z] Sending build context to Docker daemon 1.803MB [2023-02-28T21:53:38.274Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T21:53:38.274Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T21:53:38.274Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T21:53:38.274Z] 213ec9aee27d: Pulling fs layer [2023-02-28T21:53:38.274Z] 4583459ba037: Pulling fs layer [2023-02-28T21:53:38.274Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T21:53:38.274Z] 53926ce57604: Pulling fs layer [2023-02-28T21:53:38.274Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T21:53:38.274Z] 22ff95d597cd: Pulling fs layer [2023-02-28T21:53:38.274Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T21:53:38.274Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T21:53:38.274Z] a7acece74701: Pulling fs layer [2023-02-28T21:53:38.274Z] 53926ce57604: Waiting [2023-02-28T21:53:38.274Z] 21b2b0c7a3f4: Waiting [2023-02-28T21:53:38.274Z] a7acece74701: Waiting [2023-02-28T21:53:38.274Z] 22ff95d597cd: Waiting [2023-02-28T21:53:38.274Z] 96b7cbca73a9: Waiting [2023-02-28T21:53:38.274Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T21:53:38.274Z] 93c1e223e6f2: Download complete [2023-02-28T21:53:38.274Z] 4583459ba037: Verifying Checksum [2023-02-28T21:53:38.274Z] 4583459ba037: Download complete [2023-02-28T21:53:38.274Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T21:53:38.274Z] 21b2b0c7a3f4: Download complete [2023-02-28T21:53:38.274Z] 22ff95d597cd: Download complete [2023-02-28T21:53:38.274Z] 213ec9aee27d: Verifying Checksum [2023-02-28T21:53:38.274Z] 213ec9aee27d: Download complete [2023-02-28T21:53:38.541Z] 12d6caf4c0d1: Download complete [2023-02-28T21:53:38.541Z] 213ec9aee27d: Pull complete [2023-02-28T21:53:38.803Z] 4583459ba037: Pull complete [2023-02-28T21:53:38.803Z] 93c1e223e6f2: Pull complete [2023-02-28T21:53:38.803Z] a7acece74701: Verifying Checksum [2023-02-28T21:53:39.370Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T21:53:39.370Z] 96b7cbca73a9: Download complete [2023-02-28T21:53:39.370Z] 53926ce57604: Verifying Checksum [2023-02-28T21:53:39.370Z] 53926ce57604: Download complete [2023-02-28T21:53:43.558Z] 53926ce57604: Pull complete [2023-02-28T21:53:43.558Z] 21b2b0c7a3f4: Pull complete [2023-02-28T21:53:43.558Z] 22ff95d597cd: Pull complete [2023-02-28T21:53:43.558Z] 12d6caf4c0d1: Pull complete [2023-02-28T21:53:45.465Z] 96b7cbca73a9: Pull complete [2023-02-28T21:53:46.033Z] a7acece74701: Pull complete [2023-02-28T21:53:46.033Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T21:53:46.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T21:53:46.033Z] ---> db6d94c90886 [2023-02-28T21:53:46.033Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T21:53:51.391Z] ---> Running in 87d3fb34798c [2023-02-28T21:53:51.391Z] Removing intermediate container 87d3fb34798c [2023-02-28T21:53:51.391Z] ---> ed773425b157 [2023-02-28T21:53:51.391Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T21:53:51.391Z] ---> Running in b4e3632a2c48 [2023-02-28T21:53:51.391Z] Removing intermediate container b4e3632a2c48 [2023-02-28T21:53:51.391Z] ---> 76095be1613a [2023-02-28T21:53:51.391Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T21:53:51.391Z] ---> Running in ba0f3a57efb6 [2023-02-28T21:53:51.483Z] Still waiting to schedule task [2023-02-28T21:53:51.483Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7798’ is offline [2023-02-28T21:53:51.652Z] Removing intermediate container ba0f3a57efb6 [2023-02-28T21:53:51.652Z] ---> 037a242dc534 [2023-02-28T21:53:51.652Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T21:53:51.652Z] ---> Running in 0e6ea18ae812 [2023-02-28T21:53:51.912Z] Removing intermediate container 0e6ea18ae812 [2023-02-28T21:53:51.912Z] ---> a6ee82fe848d [2023-02-28T21:53:51.912Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T21:53:51.912Z] ---> Running in 5e0d646b9cbd [2023-02-28T21:53:52.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T21:53:52.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T21:53:52.684Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-28T21:53:52.684Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-28T21:53:52.684Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-28T21:53:52.684Z] (4/80) Installing libxcb (1.15-r0) [2023-02-28T21:53:52.684Z] (5/80) Installing libx11 (1.8-r0) [2023-02-28T21:53:52.684Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-28T21:53:52.684Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-28T21:53:52.684Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-28T21:53:52.684Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-28T21:53:52.684Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-28T21:53:52.684Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-28T21:53:52.684Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-28T21:53:52.684Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-28T21:53:52.684Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-28T21:53:52.943Z] (15/80) Installing libice (1.0.10-r0) [2023-02-28T21:53:52.943Z] (16/80) Installing libuuid (2.38-r1) [2023-02-28T21:53:52.943Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-28T21:53:52.943Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-28T21:53:52.943Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-28T21:53:52.943Z] (20/80) Installing xset (1.2.4-r0) [2023-02-28T21:53:52.943Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-28T21:53:52.943Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-28T21:53:52.943Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-28T21:53:52.943Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-28T21:53:52.943Z] (25/80) Installing libintl (0.21-r2) [2023-02-28T21:53:52.943Z] (26/80) Installing libblkid (2.38-r1) [2023-02-28T21:53:52.943Z] (27/80) Installing libmount (2.38-r1) [2023-02-28T21:53:52.943Z] (28/80) Installing pcre (8.45-r2) [2023-02-28T21:53:52.943Z] (29/80) Installing glib (2.72.1-r0) [2023-02-28T21:53:52.943Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-28T21:53:52.943Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-28T21:53:52.943Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-28T21:53:52.943Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-28T21:53:53.203Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-28T21:53:53.203Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-28T21:53:53.203Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-28T21:53:53.203Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T21:53:53.203Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-28T21:53:53.203Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-28T21:53:53.203Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-28T21:53:53.203Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-28T21:53:53.203Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-28T21:53:53.203Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-28T21:53:53.203Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-28T21:53:53.203Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-28T21:53:53.203Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-28T21:53:53.462Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-28T21:53:53.462Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-28T21:53:53.462Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-28T21:53:53.462Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-28T21:53:53.462Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-28T21:53:53.462Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-28T21:53:53.462Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-28T21:53:53.462Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-28T21:53:53.462Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-28T21:53:53.462Z] (56/80) Installing libunistring (1.0-r0) [2023-02-28T21:53:53.462Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-28T21:53:53.462Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-28T21:53:53.462Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-28T21:53:53.462Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-28T21:53:53.722Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-28T21:53:53.722Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-28T21:53:53.722Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-28T21:53:53.722Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-28T21:53:53.722Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T21:53:53.722Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-28T21:53:53.722Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-28T21:53:53.722Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-28T21:53:53.722Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-28T21:53:53.722Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-28T21:53:53.722Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-28T21:53:53.722Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-28T21:53:53.722Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T21:53:53.722Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-28T21:53:53.722Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-28T21:53:53.722Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T21:53:53.722Z] (76/80) Installing kmod-libs (29-r2) [2023-02-28T21:53:53.722Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-28T21:53:53.981Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-28T21:53:53.981Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T21:53:53.981Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T21:53:53.981Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T21:53:53.981Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T21:53:53.981Z] OK: 331 MiB in 131 packages [2023-02-28T21:53:59.254Z] Removing intermediate container 5e0d646b9cbd [2023-02-28T21:53:59.254Z] ---> fcc104559379 [2023-02-28T21:53:59.254Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T21:53:59.254Z] ---> Running in b137b134a7ca [2023-02-28T21:53:59.254Z] Removing intermediate container b137b134a7ca [2023-02-28T21:53:59.254Z] ---> e27eb569cf0e [2023-02-28T21:53:59.254Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T21:53:59.254Z] ---> 0b69eb704c40 [2023-02-28T21:53:59.254Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T21:53:59.254Z] ---> Running in 917b1711835a [2023-02-28T21:54:31.356Z] Removing intermediate container 917b1711835a [2023-02-28T21:54:31.356Z] ---> 2f04a0da18ea [2023-02-28T21:54:31.356Z] Step 11/13 : COPY . . [2023-02-28T21:54:31.356Z] ---> dbebd5b15128 [2023-02-28T21:54:31.357Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T21:54:31.357Z] ---> Running in e7242b505722 [2023-02-28T21:54:31.357Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T21:54:31.357Z] Dload Upload Total Spent Left Speed [2023-02-28T21:54:31.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7968 0 --:--:-- --:--:-- --:--:-- 7984 [2023-02-28T21:54:31.357Z] Removing intermediate container e7242b505722 [2023-02-28T21:54:31.357Z] ---> 303ba6c0e532 [2023-02-28T21:54:31.357Z] Step 13/13 : RUN ${MAKE} [2023-02-28T21:54:31.357Z] ---> Running in 8bd0e44f38d3 [2023-02-28T21:54:31.357Z] noop [2023-02-28T21:54:31.357Z] Removing intermediate container 8bd0e44f38d3 [2023-02-28T21:54:31.357Z] ---> 7fc81c45bc17 [2023-02-28T21:54:31.357Z] Successfully built 7fc81c45bc17 [2023-02-28T21:54:31.357Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:54:31.793Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T21:54:31.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:54:31.940Z] prd-ubuntu20.04-docker-8c-8g-7799 does not seem to be running inside a container [2023-02-28T21:54:31.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@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-x86_64 cat [2023-02-28T21:54:32.314Z] $ docker top 900250b2a99dd4563269c04787186076c9dab12f34198b6003b61c8dc9ef3d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T21:54:32.698Z] + go version [2023-02-28T21:54:32.698Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T21:54:32.729Z] $ docker stop --time=1 900250b2a99dd4563269c04787186076c9dab12f34198b6003b61c8dc9ef3d33 [2023-02-28T21:54:34.022Z] $ docker rm -f --volumes 900250b2a99dd4563269c04787186076c9dab12f34198b6003b61c8dc9ef3d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:54:34.783Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T21:54:34.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:54:34.934Z] prd-ubuntu20.04-docker-8c-8g-7799 does not seem to be running inside a container [2023-02-28T21:54:34.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@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-x86_64 cat [2023-02-28T21:54:35.291Z] $ docker top 9bc7d42b36b396344e144e889e0d08dbfe9a58dabcfec4a42a54f9a0f3fd8ec0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T21:54:35.677Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] fileExists [Pipeline] sh [2023-02-28T21:54:36.028Z] + make test [2023-02-28T21:54:36.028Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T21:54:36.285Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T21:54:46.246Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T21:54:46.246Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements [2023-02-28T21:54:51.509Z] 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-28T21:54:51.509Z] internal/driver/driver.go:48:2: field `addedWatchers` is unused (unused) [2023-02-28T21:54:51.509Z] addedWatchers bool [2023-02-28T21:54:51.509Z] ^ [2023-02-28T21:54:51.509Z] internal/driver/driver.go:49:2: field `watchersMu` is unused (unused) [2023-02-28T21:54:51.509Z] watchersMu sync.Mutex [2023-02-28T21:54:51.509Z] ^ [2023-02-28T21:54:51.767Z] make: *** [Makefile:50: lint] Error 1 [Pipeline] } [2023-02-28T21:54:51.812Z] $ docker stop --time=1 9bc7d42b36b396344e144e889e0d08dbfe9a58dabcfec4a42a54f9a0f3fd8ec0 [2023-02-28T21:54:54.363Z] $ docker rm -f --volumes 9bc7d42b36b396344e144e889e0d08dbfe9a58dabcfec4a42a54f9a0f3fd8ec0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:54:55.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T21:54:55.559Z] [2023-02-28T21:54:55.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:54:55.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T21:54:55.933Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T21:54:55.933Z] 5eb5b503b376: Pulling fs layer [2023-02-28T21:54:55.933Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T21:54:55.933Z] ec43610c2a17: Pulling fs layer [2023-02-28T21:54:55.933Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T21:54:55.933Z] 33b1e0a273af: Pulling fs layer [2023-02-28T21:54:55.933Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T21:54:55.933Z] 2f39f015ded8: Pulling fs layer [2023-02-28T21:54:55.933Z] 3a2ae6a8a46f: Waiting [2023-02-28T21:54:55.933Z] 33b1e0a273af: Waiting [2023-02-28T21:54:55.933Z] 5d3b04190fa2: Waiting [2023-02-28T21:54:55.933Z] 5c69ac0246d0: Download complete [2023-02-28T21:54:55.933Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T21:54:55.933Z] 3a2ae6a8a46f: Download complete [2023-02-28T21:54:56.192Z] 33b1e0a273af: Verifying Checksum [2023-02-28T21:54:56.192Z] 33b1e0a273af: Download complete [2023-02-28T21:54:56.192Z] 5d3b04190fa2: Download complete [2023-02-28T21:54:56.192Z] ec43610c2a17: Verifying Checksum [2023-02-28T21:54:56.192Z] ec43610c2a17: Download complete [2023-02-28T21:54:56.192Z] 5eb5b503b376: Verifying Checksum [2023-02-28T21:54:56.192Z] 5eb5b503b376: Download complete [2023-02-28T21:54:56.757Z] 2f39f015ded8: Download complete [2023-02-28T21:54:57.324Z] 5eb5b503b376: Pull complete [2023-02-28T21:54:57.583Z] 5c69ac0246d0: Pull complete [2023-02-28T21:54:58.151Z] ec43610c2a17: Pull complete [2023-02-28T21:54:58.151Z] 3a2ae6a8a46f: Pull complete [2023-02-28T21:54:58.410Z] 33b1e0a273af: Pull complete [2023-02-28T21:54:58.410Z] 5d3b04190fa2: Pull complete [2023-02-28T21:55:02.605Z] 2f39f015ded8: Pull complete [2023-02-28T21:55:02.605Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T21:55:02.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T21:55:02.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:55:02.798Z] prd-ubuntu20.04-docker-8c-8g-7799 does not seem to be running inside a container [2023-02-28T21:55:02.829Z] $ 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/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@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:latest cat [2023-02-28T21:55:09.311Z] $ docker top 38de12bb829676c1a3fa3051594b39a701437e2f46faac07d94303f6eb47bb7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T21:55:09.732Z] ---> job-cost.sh [2023-02-28T21:55:09.732Z] lf-activate-venv: SKIPPING [2023-02-28T21:55:09.732Z] INFO: No Stack... [2023-02-28T21:55:10.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T21:55:10.558Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T21:55:10.869Z] + + cut -d, -f6 [2023-02-28T21:55:10.869Z] cat /w/workspace/foundry_device-usb-camera_PR-165/archives/cost.csv [Pipeline] lock [2023-02-28T21:55:10.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [2023-02-28T21:55:10.919Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] did not exist. Created. [2023-02-28T21:55:10.919Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T21:55:11.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T21:55:11.600Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T21:55:11.615Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T21:55:11.687Z] $ docker stop --time=1 38de12bb829676c1a3fa3051594b39a701437e2f46faac07d94303f6eb47bb7d [2023-02-28T21:55:12.903Z] $ docker rm -f --volumes 38de12bb829676c1a3fa3051594b39a701437e2f46faac07d94303f6eb47bb7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T21:55:13.283Z] Failed in branch amd64 [2023-02-28T21:55:19.439Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7801 in /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] { [Pipeline] ws [2023-02-28T21:55:19.494Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-28T21:55:19.574Z] Selected Git installation does not exist. Using Default [2023-02-28T21:55:19.574Z] The recommended git tool is: NONE [2023-02-28T21:55:24.851Z] using credential edgex-jenkins-ssh [2023-02-28T21:55:24.874Z] Cloning the remote Git repository [2023-02-28T21:55:24.915Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T21:55:24.995Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-28T21:55:25.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T21:55:25.168Z] > git --version # timeout=10 [2023-02-28T21:55:25.186Z] > git --version # 'git version 2.25.1' [2023-02-28T21:55:25.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T21:55:25.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T21:55:26.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T21:55:26.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T21:55:26.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T21:55:27.010Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T21:55:27.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T21:55:27.027Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T21:55:27.688Z] Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit a9199593bbedbc171aa0eea47cb188d7d5a5898d [2023-02-28T21:55:27.904Z] Merge succeeded, producing a9199593bbedbc171aa0eea47cb188d7d5a5898d [2023-02-28T21:55:27.904Z] Checking out Revision a9199593bbedbc171aa0eea47cb188d7d5a5898d (PR-165) [2023-02-28T21:55:27.701Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T21:55:27.728Z] > git checkout -f a9199593bbedbc171aa0eea47cb188d7d5a5898d # timeout=10 [2023-02-28T21:55:27.814Z] > git remote # timeout=10 [2023-02-28T21:55:27.830Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T21:55:27.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T21:55:27.857Z] > git merge 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 [2023-02-28T21:55:27.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T21:55:27.907Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T21:55:27.925Z] > git checkout -f a9199593bbedbc171aa0eea47cb188d7d5a5898d # timeout=10 [2023-02-28T21:55:31.387Z] Commit message: "refactor!: provision watcher code removed" [2023-02-28T21:55:31.432Z] > git --version # timeout=10 [2023-02-28T21:55:31.443Z] > git --version # 'git version 2.25.1' [2023-02-28T21:55:31.462Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T21:55:32.682Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T21:55:32.682Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T21:55:32.682Z] Dload Upload Total Spent Left Speed [2023-02-28T21:55:32.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-02-28T21:55:33.367Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T21:55:33.714Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T21:55:33.714Z] + sudo tee /etc/docker/daemon.new [2023-02-28T21:55:33.714Z] { [2023-02-28T21:55:33.714Z] "registry-mirrors": [ [2023-02-28T21:55:33.714Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T21:55:33.714Z] ], [2023-02-28T21:55:33.714Z] "bip": "10.250.0.254/24", [2023-02-28T21:55:33.714Z] "hosts": [ [2023-02-28T21:55:33.714Z] "tcp://0.0.0.0:5555", [2023-02-28T21:55:33.714Z] "unix:///var/run/docker.sock" [2023-02-28T21:55:33.714Z] ], [2023-02-28T21:55:33.714Z] "mtu": 1458, [2023-02-28T21:55:33.714Z] "selinux-enabled": true, [2023-02-28T21:55:33.714Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T21:55:33.714Z] } [Pipeline] sh [2023-02-28T21:55:34.061Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T21:55:34.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T21:55:52.736Z] provisioning config files... [2023-02-28T21:55:52.763Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1846815735398771714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T21:55:53.150Z] ---> docker-login.sh [2023-02-28T21:55:53.150Z] nexus3.edgexfoundry.org:10001 [2023-02-28T21:55:53.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:55:53.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:55:53.693Z] Configure a credential helper to remove this warning. See [2023-02-28T21:55:53.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:55:53.693Z] [2023-02-28T21:55:53.693Z] Login Succeeded [2023-02-28T21:55:53.693Z] nexus3.edgexfoundry.org:10002 [2023-02-28T21:55:53.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:55:53.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:55:53.962Z] Configure a credential helper to remove this warning. See [2023-02-28T21:55:53.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:55:53.962Z] [2023-02-28T21:55:53.962Z] Login Succeeded [2023-02-28T21:55:54.235Z] nexus3.edgexfoundry.org:10003 [2023-02-28T21:55:54.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:55:54.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:55:54.504Z] Configure a credential helper to remove this warning. See [2023-02-28T21:55:54.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:55:54.504Z] [2023-02-28T21:55:54.504Z] Login Succeeded [2023-02-28T21:55:54.504Z] nexus3.edgexfoundry.org:10004 [2023-02-28T21:55:54.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:55:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:55:54.776Z] Configure a credential helper to remove this warning. See [2023-02-28T21:55:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:55:54.776Z] [2023-02-28T21:55:54.776Z] Login Succeeded [2023-02-28T21:55:54.776Z] docker.io [2023-02-28T21:55:55.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T21:55:55.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T21:55:55.312Z] Configure a credential helper to remove this warning. See [2023-02-28T21:55:55.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T21:55:55.312Z] [2023-02-28T21:55:55.312Z] Login Succeeded [2023-02-28T21:55:55.312Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T21:55:55.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T21:55:55.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T21:55:55.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T21:55:55.793Z] ========================================================= [2023-02-28T21:55:55.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T21:55:55.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:55:56.293Z] + 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-28T21:55:56.568Z] Sending build context to Docker daemon 1.181MB [2023-02-28T21:55:56.568Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T21:55:56.568Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T21:55:56.839Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T21:55:56.839Z] 9b18e9b68314: Pulling fs layer [2023-02-28T21:55:56.839Z] 35d82f9e3411: Pulling fs layer [2023-02-28T21:55:56.839Z] e16973657156: Pulling fs layer [2023-02-28T21:55:56.839Z] fc693d55d65f: Pulling fs layer [2023-02-28T21:55:56.839Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T21:55:56.839Z] dda99020689f: Pulling fs layer [2023-02-28T21:55:56.839Z] db1c61fa0a46: Pulling fs layer [2023-02-28T21:55:56.839Z] 891c053d2c06: Pulling fs layer [2023-02-28T21:55:56.839Z] fc693d55d65f: Waiting [2023-02-28T21:55:56.839Z] 7e9fc2657dce: Waiting [2023-02-28T21:55:56.839Z] dda99020689f: Waiting [2023-02-28T21:55:56.839Z] db1c61fa0a46: Waiting [2023-02-28T21:55:56.839Z] 891c053d2c06: Waiting [2023-02-28T21:55:56.839Z] e16973657156: Verifying Checksum [2023-02-28T21:55:56.839Z] e16973657156: Download complete [2023-02-28T21:55:56.839Z] 35d82f9e3411: Verifying Checksum [2023-02-28T21:55:56.839Z] 35d82f9e3411: Download complete [2023-02-28T21:55:56.839Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T21:55:56.839Z] 7e9fc2657dce: Download complete [2023-02-28T21:55:56.839Z] dda99020689f: Verifying Checksum [2023-02-28T21:55:56.839Z] dda99020689f: Download complete [2023-02-28T21:55:56.839Z] 9b18e9b68314: Verifying Checksum [2023-02-28T21:55:56.839Z] 9b18e9b68314: Download complete [2023-02-28T21:55:57.819Z] 9b18e9b68314: Pull complete [2023-02-28T21:55:58.090Z] 891c053d2c06: Verifying Checksum [2023-02-28T21:55:58.090Z] 891c053d2c06: Download complete [2023-02-28T21:55:58.364Z] 35d82f9e3411: Pull complete [2023-02-28T21:55:58.644Z] e16973657156: Pull complete [2023-02-28T21:55:59.232Z] db1c61fa0a46: Verifying Checksum [2023-02-28T21:55:59.232Z] db1c61fa0a46: Download complete [2023-02-28T21:55:59.817Z] fc693d55d65f: Verifying Checksum [2023-02-28T21:55:59.817Z] fc693d55d65f: Download complete [2023-02-28T21:56:12.173Z] fc693d55d65f: Pull complete [2023-02-28T21:56:12.173Z] 7e9fc2657dce: Pull complete [2023-02-28T21:56:12.173Z] dda99020689f: Pull complete [2023-02-28T21:56:18.846Z] db1c61fa0a46: Pull complete [2023-02-28T21:56:20.262Z] 891c053d2c06: Pull complete [2023-02-28T21:56:20.262Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T21:56:20.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T21:56:20.262Z] ---> f96f9c87975a [2023-02-28T21:56:20.262Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T21:56:22.213Z] ---> Running in e540daa52650 [2023-02-28T21:56:22.213Z] Removing intermediate container e540daa52650 [2023-02-28T21:56:22.213Z] ---> d2bedf665c05 [2023-02-28T21:56:22.213Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T21:56:22.480Z] ---> Running in d2ab9bf7196e [2023-02-28T21:56:22.748Z] Removing intermediate container d2ab9bf7196e [2023-02-28T21:56:22.748Z] ---> 6b12c4864bbd [2023-02-28T21:56:22.748Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T21:56:22.748Z] ---> Running in 81c8bc3f72af [2023-02-28T21:56:23.017Z] Removing intermediate container 81c8bc3f72af [2023-02-28T21:56:23.018Z] ---> a5e4a4a83f49 [2023-02-28T21:56:23.018Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T21:56:23.018Z] ---> Running in d8a516919a55 [2023-02-28T21:56:23.292Z] Removing intermediate container d8a516919a55 [2023-02-28T21:56:23.292Z] ---> 1e4999cded32 [2023-02-28T21:56:23.292Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T21:56:23.559Z] ---> Running in a1764d948e92 [2023-02-28T21:56:24.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T21:56:24.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T21:56:25.750Z] (1/14) Installing libintl (0.21-r2) [2023-02-28T21:56:25.750Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-28T21:56:25.750Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T21:56:25.750Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T21:56:25.750Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-28T21:56:26.019Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-28T21:56:26.019Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T21:56:26.019Z] (7/14) Installing libblkid (2.38-r1) [2023-02-28T21:56:26.019Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-28T21:56:26.019Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-28T21:56:26.019Z] (10/14) Installing kmod-libs (29-r2) [2023-02-28T21:56:26.019Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-28T21:56:26.019Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-28T21:56:26.019Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T21:56:26.019Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T21:56:26.019Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T21:56:26.019Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T21:56:26.019Z] OK: 228 MiB in 65 packages [2023-02-28T21:56:27.430Z] Removing intermediate container a1764d948e92 [2023-02-28T21:56:27.430Z] ---> 715dbcdc60e2 [2023-02-28T21:56:27.430Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T21:56:27.430Z] ---> Running in fcf5887b3c51 [2023-02-28T21:56:27.703Z] Removing intermediate container fcf5887b3c51 [2023-02-28T21:56:27.703Z] ---> 252d1e99b04f [2023-02-28T21:56:27.703Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T21:56:28.287Z] ---> c32937584a5f [2023-02-28T21:56:28.287Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T21:56:28.287Z] ---> Running in 724978f42a36 [2023-02-28T21:57:36.177Z] Removing intermediate container 724978f42a36 [2023-02-28T21:57:36.177Z] ---> 1a48aa8dfafa [2023-02-28T21:57:36.177Z] Step 11/13 : COPY . . [2023-02-28T21:57:36.177Z] ---> cac91229addc [2023-02-28T21:57:36.177Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T21:57:36.177Z] ---> Running in be672e029650 [2023-02-28T21:57:36.764Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T21:57:36.764Z] Dload Upload Total Spent Left Speed [2023-02-28T21:57:37.045Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14287 0 --:--:-- --:--:-- --:--:-- 14547 [2023-02-28T21:57:37.633Z] Removing intermediate container be672e029650 [2023-02-28T21:57:37.633Z] ---> c69d02ba6a00 [2023-02-28T21:57:37.633Z] Step 13/13 : RUN ${MAKE} [2023-02-28T21:57:37.633Z] ---> Running in 0724d9118f61 [2023-02-28T21:57:38.598Z] noop [2023-02-28T21:57:39.182Z] Removing intermediate container 0724d9118f61 [2023-02-28T21:57:39.182Z] ---> f0c891b28341 [2023-02-28T21:57:39.182Z] Successfully built f0c891b28341 [2023-02-28T21:57:39.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:57:39.665Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T21:57:39.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:57:39.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-7801 does not seem to be running inside a container [2023-02-28T21:57:39.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-28T21:57:41.165Z] $ docker top d87e13fa89814d1c6d53859c903a606d34cc43a9c8e998ce26827b6cb5f963a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T21:57:42.048Z] + go version [2023-02-28T21:57:42.048Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T21:57:42.084Z] $ docker stop --time=1 d87e13fa89814d1c6d53859c903a606d34cc43a9c8e998ce26827b6cb5f963a1 [2023-02-28T21:57:43.699Z] $ docker rm -f --volumes d87e13fa89814d1c6d53859c903a606d34cc43a9c8e998ce26827b6cb5f963a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:57:44.548Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T21:57:44.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T21:57:44.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-7801 does not seem to be running inside a container [2023-02-28T21:57:44.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-28T21:57:47.545Z] $ docker top 028c3bf7bda94ca1b1f5a2ea610fa9c94ed99070c23d39ef4127af4804d5b404 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T21:57:48.098Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-28T21:57:48.488Z] + make test [2023-02-28T21:57:48.488Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T21:57:50.466Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T21:59:12.123Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T21:59:16.380Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 2.0% of statements [2023-02-28T21:59:16.963Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T21:59:16.963Z] go vet ./... [2023-02-28T21:59:39.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T21:59:39.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T21:59:39.023Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T21:59:39.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T21:59:39.096Z] $ docker stop --time=1 028c3bf7bda94ca1b1f5a2ea610fa9c94ed99070c23d39ef4127af4804d5b404 [2023-02-28T21:59:40.900Z] $ docker rm -f --volumes 028c3bf7bda94ca1b1f5a2ea610fa9c94ed99070c23d39ef4127af4804d5b404 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T21:59:41.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T21:59:42.306Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T21:59:43.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T21:59:43.605Z] + ls -al . [2023-02-28T21:59:43.605Z] total 188 [2023-02-28T21:59:43.605Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 21:57 . [2023-02-28T21:59:43.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 21:55 .. [2023-02-28T21:59:43.605Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 21:55 .git [2023-02-28T21:59:43.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 21:55 .github [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 21:55 .gitignore [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 21:55 .golangci.yml [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 21:55 .hadolint.yml [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 9660 Feb 28 21:55 Attribution.txt [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 21:55 CHANGELOG.md [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 21:55 Dockerfile [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 21:55 GOVERNANCE.md [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 21:55 Jenkinsfile [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 21:55 LICENSE [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 21:55 Makefile [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 21:55 OWNERS.md [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 21:55 README.md [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 21:53 VERSION [2023-02-28T21:59:43.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 21:55 bin [2023-02-28T21:59:43.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 21:55 cmd [2023-02-28T21:59:43.605Z] -rw-r--r-- 1 jenkins jenkins 28522 Feb 28 21:59 coverage.out [2023-02-28T21:59:43.605Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 21:55 docker-entrypoint.sh [2023-02-28T21:59:43.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 21:55 docs [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 3487 Feb 28 21:55 go.mod [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 33501 Feb 28 21:55 go.sum [2023-02-28T21:59:43.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 21:55 internal [2023-02-28T21:59:43.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 21:55 snap [2023-02-28T21:59:43.605Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T21:59:44.031Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a9199593bbedbc171aa0eea47cb188d7d5a5898d --label arch=arm64 --label version=0.0.0 . [2023-02-28T21:59:44.297Z] Sending build context to Docker daemon 1.21MB [2023-02-28T21:59:44.297Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T21:59:44.297Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-28T21:59:44.297Z] ---> f0c891b28341 [2023-02-28T21:59:44.297Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-28T21:59:44.881Z] ---> Running in c473c70d968f [2023-02-28T21:59:45.148Z] Removing intermediate container c473c70d968f [2023-02-28T21:59:45.148Z] ---> 23e60f6fe359 [2023-02-28T21:59:45.148Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T21:59:45.415Z] ---> Running in c890e73db330 [2023-02-28T21:59:46.824Z] Removing intermediate container c890e73db330 [2023-02-28T21:59:46.824Z] ---> bd3f26482d3f [2023-02-28T21:59:46.824Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T21:59:46.824Z] ---> Running in e952c2492639 [2023-02-28T21:59:47.090Z] Removing intermediate container e952c2492639 [2023-02-28T21:59:47.090Z] ---> 0d3702a00a3c [2023-02-28T21:59:47.090Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T21:59:47.359Z] ---> Running in 387a53c089bd [2023-02-28T21:59:47.625Z] Removing intermediate container 387a53c089bd [2023-02-28T21:59:47.625Z] ---> 5b828477a044 [2023-02-28T21:59:47.625Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T21:59:47.625Z] ---> Running in f303a069c4ec [2023-02-28T21:59:48.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T21:59:48.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T21:59:49.810Z] OK: 228 MiB in 65 packages [2023-02-28T21:59:50.775Z] Removing intermediate container f303a069c4ec [2023-02-28T21:59:50.775Z] ---> 00556a0eea71 [2023-02-28T21:59:50.775Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-28T21:59:50.775Z] ---> Running in 763c73b41237 [2023-02-28T21:59:51.358Z] Removing intermediate container 763c73b41237 [2023-02-28T21:59:51.358Z] ---> f30a24e0a2f3 [2023-02-28T21:59:51.358Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-28T21:59:51.953Z] ---> 85573a616862 [2023-02-28T21:59:51.953Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T21:59:51.953Z] ---> Running in a0d54e60fe4b [2023-02-28T21:59:54.534Z] Removing intermediate container a0d54e60fe4b [2023-02-28T21:59:54.534Z] ---> 5d5ea6a632b7 [2023-02-28T21:59:54.534Z] Step 11/35 : COPY . . [2023-02-28T21:59:55.941Z] ---> 4f2ebfdb1b1e [2023-02-28T21:59:55.941Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T21:59:55.941Z] ---> Running in 24d8c452fa19 [2023-02-28T21:59:56.919Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T21:59:56.919Z] Dload Upload Total Spent Left Speed [2023-02-28T21:59:56.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100  1062 0 0 6405 0 --:--:-- --:--:-- --:--:-- 6397 100 1062 100 1062 0 0 6073 0 --:--:-- --:--:-- --:--:-- 6068 [2023-02-28T21:59:58.331Z] Removing intermediate container 24d8c452fa19 [2023-02-28T21:59:58.331Z] ---> 019749d73c92 [2023-02-28T21:59:58.331Z] Step 13/35 : RUN ${MAKE} [2023-02-28T21:59:58.331Z] ---> Running in cef518bd7948 [2023-02-28T21:59:59.380Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-02-28T22:02:21.314Z] Removing intermediate container cef518bd7948 [2023-02-28T22:02:21.314Z] ---> bf1fffb536c9 [2023-02-28T22:02:21.314Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-28T22:02:21.314Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-28T22:02:21.314Z] eab2503cf8f4: Pulling fs layer [2023-02-28T22:02:21.314Z] 97cd0a44c592: Pulling fs layer [2023-02-28T22:02:21.314Z] 97cd0a44c592: Verifying Checksum [2023-02-28T22:02:21.314Z] 97cd0a44c592: Download complete [2023-02-28T22:02:21.314Z] eab2503cf8f4: Verifying Checksum [2023-02-28T22:02:21.314Z] eab2503cf8f4: Download complete [2023-02-28T22:02:21.314Z] eab2503cf8f4: Pull complete [2023-02-28T22:02:21.314Z] 97cd0a44c592: Pull complete [2023-02-28T22:02:21.314Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-28T22:02:21.314Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-28T22:02:21.314Z] ---> 7f763cca56b3 [2023-02-28T22:02:21.314Z] Step 15/35 : FROM alpine:3.16 [2023-02-28T22:02:21.314Z] 3.16: Pulling from library/alpine [2023-02-28T22:02:21.314Z] 3760b48202b3: Pulling fs layer [2023-02-28T22:02:21.314Z] 3760b48202b3: Verifying Checksum [2023-02-28T22:02:21.314Z] 3760b48202b3: Download complete [2023-02-28T22:02:21.314Z] 3760b48202b3: Pull complete [2023-02-28T22:02:21.314Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T22:02:21.314Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T22:02:21.314Z] ---> 4c81e5bf8899 [2023-02-28T22:02:21.314Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T22:02:21.314Z] ---> Running in 4e1d0adb3ec4 [2023-02-28T22:02:21.314Z] Removing intermediate container 4e1d0adb3ec4 [2023-02-28T22:02:21.314Z] ---> 08465fe58ffe [2023-02-28T22:02:21.314Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-28T22:02:21.314Z] ---> Running in bbc95240676b [2023-02-28T22:02:21.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T22:02:21.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T22:02:21.314Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-02-28T22:02:21.314Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-02-28T22:02:21.314Z] (3/79) Installing libxau (1.0.9-r0) [2023-02-28T22:02:21.314Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-02-28T22:02:21.314Z] (5/79) Installing libxcb (1.15-r0) [2023-02-28T22:02:21.314Z] (6/79) Installing libx11 (1.8-r0) [2023-02-28T22:02:21.314Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-02-28T22:02:21.314Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-02-28T22:02:21.314Z] (9/79) Installing expat (2.5.0-r0) [2023-02-28T22:02:21.314Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-02-28T22:02:21.314Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-02-28T22:02:21.314Z] (12/79) Installing libpng (1.6.37-r1) [2023-02-28T22:02:21.314Z] (13/79) Installing freetype (2.12.1-r0) [2023-02-28T22:02:21.314Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-02-28T22:02:21.314Z] (15/79) Installing fribidi (1.0.12-r0) [2023-02-28T22:02:21.314Z] (16/79) Installing libffi (3.4.2-r1) [2023-02-28T22:02:21.314Z] (17/79) Installing libintl (0.21-r2) [2023-02-28T22:02:21.314Z] (18/79) Installing libblkid (2.38-r1) [2023-02-28T22:02:21.314Z] (19/79) Installing libmount (2.38-r1) [2023-02-28T22:02:21.314Z] (20/79) Installing pcre (8.45-r2) [2023-02-28T22:02:21.314Z] (21/79) Installing glib (2.72.1-r0) [2023-02-28T22:02:21.314Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-02-28T22:02:21.314Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-02-28T22:02:21.314Z] (24/79) Installing libass (0.16.0-r0) [2023-02-28T22:02:21.314Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-02-28T22:02:21.314Z] (26/79) Installing libdrm (2.4.110-r0) [2023-02-28T22:02:21.314Z] (27/79) Installing gmp (6.2.1-r2) [2023-02-28T22:02:21.314Z] (28/79) Installing nettle (3.7.3-r0) [2023-02-28T22:02:21.314Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-02-28T22:02:21.314Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-02-28T22:02:21.314Z] (31/79) Installing libunistring (1.0-r0) [2023-02-28T22:02:21.314Z] (32/79) Installing gnutls (3.7.7-r1) [2023-02-28T22:02:21.314Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-28T22:02:21.314Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-28T22:02:21.314Z] (35/79) Installing lame (3.100-r0) [2023-02-28T22:02:21.314Z] (36/79) Installing opus (1.3.1-r1) [2023-02-28T22:02:21.314Z] (37/79) Installing libasyncns (0.8-r1) [2023-02-28T22:02:21.314Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-02-28T22:02:21.314Z] (39/79) Installing libltdl (2.4.7-r0) [2023-02-28T22:02:21.314Z] (40/79) Installing orc (0.4.32-r0) [2023-02-28T22:02:21.314Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-02-28T22:02:21.314Z] (42/79) Installing libogg (1.3.5-r1) [2023-02-28T22:02:21.314Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-28T22:02:21.314Z] (44/79) Installing flac (1.3.4-r0) [2023-02-28T22:02:21.314Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-02-28T22:02:21.314Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-02-28T22:02:21.314Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-02-28T22:02:21.314Z] (48/79) Installing soxr (0.1.3-r2) [2023-02-28T22:02:21.314Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-02-28T22:02:21.314Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-02-28T22:02:21.314Z] (51/79) Installing libpulse (15.0-r2) [2023-02-28T22:02:21.314Z] (52/79) Installing cjson (1.7.15-r3) [2023-02-28T22:02:21.314Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-02-28T22:02:21.314Z] (54/79) Installing librist (0.2.6-r1) [2023-02-28T22:02:21.314Z] (55/79) Installing libsrt (1.4.4-r0) [2023-02-28T22:02:21.314Z] (56/79) Installing libssh (0.9.6-r1) [2023-02-28T22:02:21.314Z] (57/79) Installing libtheora (1.1.1-r16) [2023-02-28T22:02:21.314Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T22:02:21.314Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T22:02:21.314Z] (60/79) Installing libxext (1.3.4-r0) [2023-02-28T22:02:21.314Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-02-28T22:02:21.314Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T22:02:21.314Z] (63/79) Installing libva (2.14.0-r0) [2023-02-28T22:02:21.314Z] (64/79) Installing libvdpau (1.5-r0) [2023-02-28T22:02:21.314Z] (65/79) Installing vidstab (1.1.0-r1) [2023-02-28T22:02:21.314Z] (66/79) Installing libvpx (1.11.0-r1) [2023-02-28T22:02:21.314Z] (67/79) Installing libwebp (1.2.3-r0) [2023-02-28T22:02:21.314Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-02-28T22:02:21.314Z] (69/79) Installing numactl (2.0.14-r0) [2023-02-28T22:02:21.314Z] (70/79) Installing x265-libs (3.5-r3) [2023-02-28T22:02:21.314Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-02-28T22:02:21.314Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-02-28T22:02:21.314Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-02-28T22:02:21.314Z] (74/79) Installing udev-init-scripts (35-r0) [2023-02-28T22:02:21.314Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T22:02:21.314Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-02-28T22:02:21.314Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-02-28T22:02:21.314Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-02-28T22:02:21.314Z] (78/79) Installing kmod-libs (29-r2) [2023-02-28T22:02:21.314Z] (79/79) Installing eudev (3.2.11-r0) [2023-02-28T22:02:21.314Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T22:02:21.314Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T22:02:21.314Z] OK: 77 MiB in 93 packages [2023-02-28T22:02:22.731Z] Removing intermediate container bbc95240676b [2023-02-28T22:02:22.731Z] ---> 0555b6de4ab6 [2023-02-28T22:02:22.731Z] Step 18/35 : WORKDIR / [2023-02-28T22:02:22.731Z] ---> Running in 6d154be6c14c [2023-02-28T22:02:22.998Z] Removing intermediate container 6d154be6c14c [2023-02-28T22:02:22.998Z] ---> c968527d94f4 [2023-02-28T22:02:22.998Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-28T22:02:24.410Z] ---> 251f9983147f [2023-02-28T22:02:24.411Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-28T22:02:24.677Z] ---> c72e217e1003 [2023-02-28T22:02:24.677Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-28T22:02:25.257Z] ---> 5b9eb259ca44 [2023-02-28T22:02:25.257Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-28T22:02:25.524Z] ---> 39cdd76e4095 [2023-02-28T22:02:25.524Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-28T22:02:26.104Z] ---> 9cf5dc2e4d8f [2023-02-28T22:02:26.104Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-28T22:02:26.687Z] ---> 32178067d17f [2023-02-28T22:02:26.687Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-28T22:02:27.643Z] ---> 6b2a3564068a [2023-02-28T22:02:27.643Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-28T22:02:27.643Z] ---> Running in 7a41bbe0a07b [2023-02-28T22:02:29.054Z] Removing intermediate container 7a41bbe0a07b [2023-02-28T22:02:29.054Z] ---> fbe973b04cce [2023-02-28T22:02:29.054Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-28T22:02:29.054Z] ---> Running in 3a67378cd386 [2023-02-28T22:02:30.469Z] Removing intermediate container 3a67378cd386 [2023-02-28T22:02:30.469Z] ---> 116b2f7d5f14 [2023-02-28T22:02:30.469Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-28T22:02:30.469Z] ---> Running in 31a62b95d207 [2023-02-28T22:02:32.416Z] Removing intermediate container 31a62b95d207 [2023-02-28T22:02:32.416Z] ---> 3106788f6b43 [2023-02-28T22:02:32.416Z] Step 29/35 : EXPOSE 59983 [2023-02-28T22:02:32.682Z] ---> Running in 7b9f7dbdb183 [2023-02-28T22:02:32.948Z] Removing intermediate container 7b9f7dbdb183 [2023-02-28T22:02:32.948Z] ---> bd5a62ecd355 [2023-02-28T22:02:32.948Z] Step 30/35 : EXPOSE 8554 [2023-02-28T22:02:32.948Z] ---> Running in b67ae3d4fda6 [2023-02-28T22:02:33.215Z] Removing intermediate container b67ae3d4fda6 [2023-02-28T22:02:33.215Z] ---> 8d58fa779a95 [2023-02-28T22:02:33.215Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-28T22:02:33.215Z] ---> Running in bf17eb42ccdd [2023-02-28T22:02:33.481Z] Removing intermediate container bf17eb42ccdd [2023-02-28T22:02:33.481Z] ---> 1e379188199c [2023-02-28T22:02:33.481Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-28T22:02:33.481Z] ---> Running in 924dc359cb32 [2023-02-28T22:02:33.747Z] Removing intermediate container 924dc359cb32 [2023-02-28T22:02:33.747Z] ---> 988a6466022b [2023-02-28T22:02:33.747Z] Step 33/35 : LABEL arch=arm64 [2023-02-28T22:02:33.747Z] ---> Running in db0d2a9b37e2 [2023-02-28T22:02:34.015Z] Removing intermediate container db0d2a9b37e2 [2023-02-28T22:02:34.015Z] ---> 85735d22301f [2023-02-28T22:02:34.015Z] Step 34/35 : LABEL git_sha=a9199593bbedbc171aa0eea47cb188d7d5a5898d [2023-02-28T22:02:34.281Z] ---> Running in c93f7def8b34 [2023-02-28T22:02:34.281Z] Removing intermediate container c93f7def8b34 [2023-02-28T22:02:34.281Z] ---> a9b2d60ec4ea [2023-02-28T22:02:34.281Z] Step 35/35 : LABEL version=0.0.0 [2023-02-28T22:02:34.546Z] ---> Running in 82e9f3649352 [2023-02-28T22:02:34.811Z] Removing intermediate container 82e9f3649352 [2023-02-28T22:02:34.811Z] ---> 3954dd39bbee [2023-02-28T22:02:34.811Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T22:02:34.811Z] Successfully built 3954dd39bbee [2023-02-28T22:02:34.811Z] Successfully tagged device-usb-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-28T22:02:35.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T22:02:35.607Z] [2023-02-28T22:02:35.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:02:36.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T22:02:36.001Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T22:02:36.001Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T22:02:36.001Z] 04944245beec: Pulling fs layer [2023-02-28T22:02:36.001Z] 699f458cf7ca: Pulling fs layer [2023-02-28T22:02:36.001Z] 765212b225bb: Pulling fs layer [2023-02-28T22:02:36.001Z] f23df028b6ca: Pulling fs layer [2023-02-28T22:02:36.001Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T22:02:36.001Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T22:02:36.001Z] f23df028b6ca: Waiting [2023-02-28T22:02:36.001Z] d65c8cfc05b1: Waiting [2023-02-28T22:02:36.001Z] 2437ff75d9bd: Waiting [2023-02-28T22:02:36.001Z] 765212b225bb: Waiting [2023-02-28T22:02:36.268Z] 04944245beec: Verifying Checksum [2023-02-28T22:02:36.268Z] 04944245beec: Download complete [2023-02-28T22:02:36.268Z] 765212b225bb: Verifying Checksum [2023-02-28T22:02:36.268Z] 765212b225bb: Download complete [2023-02-28T22:02:36.268Z] f23df028b6ca: Verifying Checksum [2023-02-28T22:02:36.268Z] f23df028b6ca: Download complete [2023-02-28T22:02:36.268Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T22:02:36.268Z] d65c8cfc05b1: Download complete [2023-02-28T22:02:36.268Z] 699f458cf7ca: Verifying Checksum [2023-02-28T22:02:36.268Z] 699f458cf7ca: Download complete [2023-02-28T22:02:36.854Z] 8998bd30e6a1: Download complete [2023-02-28T22:02:38.796Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T22:02:38.796Z] 2437ff75d9bd: Download complete [2023-02-28T22:02:40.202Z] 8998bd30e6a1: Pull complete [2023-02-28T22:02:40.800Z] 04944245beec: Pull complete [2023-02-28T22:02:41.756Z] 699f458cf7ca: Pull complete [2023-02-28T22:02:42.023Z] 765212b225bb: Pull complete [2023-02-28T22:02:42.607Z] f23df028b6ca: Pull complete [2023-02-28T22:02:42.876Z] d65c8cfc05b1: Pull complete [2023-02-28T22:02:55.172Z] 2437ff75d9bd: Pull complete [2023-02-28T22:02:55.172Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T22:02:55.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T22:02:55.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:02:55.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-7801 does not seem to be running inside a container [2023-02-28T22:02:55.549Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-28T22:02:57.920Z] $ docker top 8ea9683ca8c6b5b604dc5eb9c6cb4ef249fc23828237a383762e1b5cc3188ed9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:02:58.798Z] ---> job-cost.sh [2023-02-28T22:02:58.798Z] lf-activate-venv: SKIPPING [2023-02-28T22:02:58.798Z] INFO: No Stack... [2023-02-28T22:02:59.065Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T22:03:00.024Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T22:03:00.367Z] + + cut -d,cat -f6 [2023-02-28T22:03:00.368Z] /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-02-28T22:03:00.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [2023-02-28T22:03:00.455Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] did not exist. Created. [2023-02-28T22:03:00.456Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T22:03:00.869Z] /w/workspace/device-usb-camera/1@tmp/durable-6cc31de5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T22:03:01.232Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T22:03:01.269Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T22:03:01.317Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T22:03:01.331Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T22:03:01.398Z] $ docker stop --time=1 8ea9683ca8c6b5b604dc5eb9c6cb4ef249fc23828237a383762e1b5cc3188ed9 [2023-02-28T22:03:02.860Z] $ docker rm -f --volumes 8ea9683ca8c6b5b604dc5eb9c6cb4ef249fc23828237a383762e1b5cc3188ed9 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-28T22:03:05.287Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-165/archives ] [2023-02-28T22:03:05.287Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-02-28T22:03:05.287Z] total 16 [2023-02-28T22:03:05.287Z] drwxr-xr-x 3 root root 4096 Feb 28 21:55 . [2023-02-28T22:03:05.287Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 21:55 .. [2023-02-28T22:03:05.287Z] drwxr-xr-x 2 root root 4096 Feb 28 21:55 cost [2023-02-28T22:03:05.287Z] -rw-r--r-- 1 root root 89 Feb 28 21:55 cost.csv [2023-02-28T22:03:05.287Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-02-28T22:03:05.287Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-02-28T22:03:05.287Z] total 16 [2023-02-28T22:03:05.287Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 21:55 . [2023-02-28T22:03:05.287Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 21:55 .. [2023-02-28T22:03:05.287Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 21:55 cost [2023-02-28T22:03:05.287Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 28 21:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:05.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:06.509Z] ---> package-listing.sh [2023-02-28T22:03:06.510Z] ++ facter osfamily [2023-02-28T22:03:06.510Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T22:03:06.768Z] + OS_FAMILY=debian [2023-02-28T22:03:06.768Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-165 [2023-02-28T22:03:06.768Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T22:03:06.768Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T22:03:06.768Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T22:03:06.768Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T22:03:06.768Z] + '[' /w/workspace/foundry_device-usb-camera_PR-165 ']' [2023-02-28T22:03:06.768Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T22:03:06.768Z] + case "${OS_FAMILY}" in [2023-02-28T22:03:06.768Z] + dpkg -l [2023-02-28T22:03:06.768Z] + grep '^ii' [2023-02-28T22:03:06.768Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T22:03:06.768Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T22:03:06.768Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T22:03:06.768Z] + '[' /w/workspace/foundry_device-usb-camera_PR-165 ']' [2023-02-28T22:03:06.768Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-165/archives/ [2023-02-28T22:03:06.768Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-165/archives/ [Pipeline] echo [2023-02-28T22:03:06.799Z] 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/foundry_device-usb-camera_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T22:03:07.090Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T22:03:07.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T22:03:07.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T22:03:07.843Z] prd-ubuntu20.04-docker-8c-8g-7799 does not seem to be running inside a container [2023-02-28T22:03:07.874Z] $ 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/foundry_device-usb-camera_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@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-28T22:03:08.077Z] $ docker top 64e2de026c80adf81854d1e1579fbd1760e6d5f5913046a1eccbc2646dd76870 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T22:03:08.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T22:03:08.770Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T22:03:09.079Z] + ls /var/log/sa-host [2023-02-28T22:03:09.079Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T22:03:09.224Z] provisioning config files... [2023-02-28T22:03:09.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config12836518575723904181tmp [Pipeline] { [Pipeline] echo [2023-02-28T22:03:09.288Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:09.599Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T22:03:09.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:10.033Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T22:03:10.069Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:10.380Z] ---> sudo-logs.sh [2023-02-28T22:03:10.380Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T22:03:10.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:10.779Z] ---> job-cost.sh [2023-02-28T22:03:10.779Z] lf-activate-venv: SKIPPING [2023-02-28T22:03:10.779Z] DEBUG: total: 0.2199999988079071 [2023-02-28T22:03:10.779Z] INFO: Retrieving Stack Cost... [2023-02-28T22:03:11.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T22:03:11.609Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T22:03:11.644Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T22:03:11.954Z] ---> logs-deploy.sh [2023-02-28T22:03:11.954Z] lf-activate-venv: SKIPPING [2023-02-28T22:03:11.954Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-165/1 [2023-02-28T22:03:11.954Z] INFO: archiving workspace using pattern(s): [2023-02-28T22:03:12.890Z] Archives upload complete. [2023-02-28T22:03:12.890Z] INFO: archiving logs to Nexus