Pull request #271 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 860b2ed41c63812ea8e78996a55d34ef8e22b126 rather than 02f39ede7208f2d87b8bcee4216eb06da9a536ce Obtained Jenkinsfile from 860b2ed41c63812ea8e78996a55d34ef8e22b126 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-ssh14033185564533931253.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14535516877173231716.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-271/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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4926503015068076667.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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8804688433520119092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6774735441544066608.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-271/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-271/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15903139014035650277.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-4319’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4331 in /w/workspace/foundry_device-usb-camera_PR-271 [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-271 # 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/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 860b2ed41c63812ea8e78996a55d34ef8e22b126 into PR head commit 02f39ede7208f2d87b8bcee4216eb06da9a536ce Merge succeeded, producing 02f39ede7208f2d87b8bcee4216eb06da9a536ce Checking out Revision 02f39ede7208f2d87b8bcee4216eb06da9a536ce (PR-271) > git config core.sparsecheckout # timeout=10 > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # 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 860b2ed41c63812ea8e78996a55d34ef8e22b126 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # timeout=10 Commit message: "feat: Add proxy to build script for device-usb-service" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-23T01:25:27.063Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-23T01:25:27.269Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-23T01:25:27.372Z] ========================================================= [2023-08-23T01:25:27.372Z] EdgeX Global Pipelines Version Info [2023-08-23T01:25:27.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:25:28.494Z] ------------------- [2023-08-23T01:25:28.494Z] stable info: [2023-08-23T01:25:28.494Z] ------------------- [2023-08-23T01:25:28.494Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-23T01:25:28.494Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T01:25:28.494Z] Message: update stable to v1.0.253 [2023-08-23T01:25:29.066Z] ------------------- [2023-08-23T01:25:29.066Z] experimental info: [2023-08-23T01:25:29.066Z] ------------------- [2023-08-23T01:25:29.066Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-23T01:25:29.066Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T01:25:29.066Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-23T01:25:29.355Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-23T01:25:29.390Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-23T01:25:29.426Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-23T01:25:29.463Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-23T01:25:29.501Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-23T01:25:29.540Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-23T01:25:29.577Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-23T01:25:29.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-23T01:25:29.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-23T01:25:29.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-23T01:25:29.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-23T01:25:29.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-23T01:25:29.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-23T01:25:29.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-23T01:25:29.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T01:25:29.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T01:25:29.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T01:25:30.024Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T01:25:30.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-23T01:25:30.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-23T01:25:30.148Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-23T01:25:30.212Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-23T01:25:30.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-23T01:25:30.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-23T01:25:30.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-23T01:25:30.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-23T01:25:30.437Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-23T01:25:30.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo [2023-08-23T01:25:30.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo [2023-08-23T01:25:30.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo [2023-08-23T01:25:30.596Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02f39ede7208f2d87b8bcee4216eb06da9a536ce [Pipeline] echo [2023-08-23T01:25:30.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02f39ed [Pipeline] echo [2023-08-23T01:25:30.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T01:25:30.774Z] provisioning config files... [2023-08-23T01:25:30.787Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config11632096934797007376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:25:31.126Z] ---> docker-login.sh [2023-08-23T01:25:31.126Z] nexus3.edgexfoundry.org:10001 [2023-08-23T01:25:31.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:31.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:31.654Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:31.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:31.654Z] [2023-08-23T01:25:31.654Z] Login Succeeded [2023-08-23T01:25:31.654Z] nexus3.edgexfoundry.org:10002 [2023-08-23T01:25:31.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:31.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:31.654Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:31.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:31.654Z] [2023-08-23T01:25:31.654Z] Login Succeeded [2023-08-23T01:25:31.654Z] nexus3.edgexfoundry.org:10003 [2023-08-23T01:25:31.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:31.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:31.914Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:31.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:31.914Z] [2023-08-23T01:25:31.914Z] Login Succeeded [2023-08-23T01:25:31.914Z] nexus3.edgexfoundry.org:10004 [2023-08-23T01:25:31.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:31.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:31.914Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:31.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:31.914Z] [2023-08-23T01:25:31.914Z] Login Succeeded [2023-08-23T01:25:31.914Z] docker.io [2023-08-23T01:25:31.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:32.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:32.175Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:32.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:32.175Z] [2023-08-23T01:25:32.175Z] Login Succeeded [2023-08-23T01:25:32.175Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T01:25:32.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-23T01:25:32.841Z] + git rev-list -1 --merges 02f39ede7208f2d87b8bcee4216eb06da9a536ce~1..02f39ede7208f2d87b8bcee4216eb06da9a536ce [Pipeline] echo [2023-08-23T01:25:32.905Z] -----------> git rev-list -1 --merges 02f39ede7208f2d87b8bcee4216eb06da9a536ce~1..02f39ede7208f2d87b8bcee4216eb06da9a536ce 02f39ede7208f2d87b8bcee4216eb06da9a536ce [false] [Pipeline] sh [2023-08-23T01:25:33.217Z] + git log --format=format:%s -1 02f39ede7208f2d87b8bcee4216eb06da9a536ce [Pipeline] echo [2023-08-23T01:25:33.255Z] ========================================================= [2023-08-23T01:25:33.255Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-23T01:25:33.255Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T01:25:33.679Z] + git log --format=format:%s -1 02f39ede7208f2d87b8bcee4216eb06da9a536ce [Pipeline] echo [2023-08-23T01:25:33.707Z] [semverPrep] GIT_COMMIT: 02f39ede7208f2d87b8bcee4216eb06da9a536ce, Commit Message: feat: Add proxy to build script for device-usb-service [Pipeline] echo [2023-08-23T01:25:33.768Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-23T01:25:34.156Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T01:25:34.156Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-23T01:25:34.156Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-23T01:25:34.156Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-23T01:25:34.156Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-23T01:25:34.156Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-23T01:25:34.156Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:25:34.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T01:25:34.636Z] [2023-08-23T01:25:34.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:25:35.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T01:25:35.011Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-23T01:25:35.011Z] b85a868b505f: Pulling fs layer [2023-08-23T01:25:35.011Z] e2be974225ed: Pulling fs layer [2023-08-23T01:25:35.011Z] 339a4e72a1f5: Pulling fs layer [2023-08-23T01:25:35.011Z] 988bab9f4d93: Pulling fs layer [2023-08-23T01:25:35.011Z] 1469e6f7b9e6: Pulling fs layer [2023-08-23T01:25:35.011Z] eaf3925da568: Pulling fs layer [2023-08-23T01:25:35.011Z] bab4dde63d76: Pulling fs layer [2023-08-23T01:25:35.011Z] bde34c3a00c8: Pulling fs layer [2023-08-23T01:25:35.011Z] b352a97aabf1: Pulling fs layer [2023-08-23T01:25:35.011Z] 4872d77fe225: Pulling fs layer [2023-08-23T01:25:35.011Z] 5851b861e8e6: Pulling fs layer [2023-08-23T01:25:35.011Z] 988bab9f4d93: Waiting [2023-08-23T01:25:35.011Z] 1469e6f7b9e6: Waiting [2023-08-23T01:25:35.011Z] eaf3925da568: Waiting [2023-08-23T01:25:35.011Z] bab4dde63d76: Waiting [2023-08-23T01:25:35.011Z] bde34c3a00c8: Waiting [2023-08-23T01:25:35.011Z] b352a97aabf1: Waiting [2023-08-23T01:25:35.011Z] 4872d77fe225: Waiting [2023-08-23T01:25:35.011Z] 5851b861e8e6: Waiting [2023-08-23T01:25:35.011Z] e2be974225ed: Verifying Checksum [2023-08-23T01:25:35.011Z] e2be974225ed: Download complete [2023-08-23T01:25:35.011Z] 988bab9f4d93: Download complete [2023-08-23T01:25:35.271Z] 1469e6f7b9e6: Verifying Checksum [2023-08-23T01:25:35.271Z] 1469e6f7b9e6: Download complete [2023-08-23T01:25:35.271Z] eaf3925da568: Verifying Checksum [2023-08-23T01:25:35.271Z] eaf3925da568: Download complete [2023-08-23T01:25:35.271Z] 339a4e72a1f5: Verifying Checksum [2023-08-23T01:25:35.271Z] 339a4e72a1f5: Download complete [2023-08-23T01:25:35.271Z] bde34c3a00c8: Download complete [2023-08-23T01:25:35.271Z] b352a97aabf1: Download complete [2023-08-23T01:25:35.271Z] 4872d77fe225: Verifying Checksum [2023-08-23T01:25:35.271Z] 4872d77fe225: Download complete [2023-08-23T01:25:35.271Z] 5851b861e8e6: Verifying Checksum [2023-08-23T01:25:35.271Z] 5851b861e8e6: Download complete [2023-08-23T01:25:35.271Z] b85a868b505f: Verifying Checksum [2023-08-23T01:25:35.271Z] b85a868b505f: Download complete [2023-08-23T01:25:35.529Z] bab4dde63d76: Download complete [2023-08-23T01:25:36.951Z] b85a868b505f: Pull complete [2023-08-23T01:25:36.951Z] e2be974225ed: Pull complete [2023-08-23T01:25:37.212Z] 339a4e72a1f5: Pull complete [2023-08-23T01:25:37.470Z] 988bab9f4d93: Pull complete [2023-08-23T01:25:37.728Z] 1469e6f7b9e6: Pull complete [2023-08-23T01:25:37.728Z] eaf3925da568: Pull complete [2023-08-23T01:25:39.631Z] bab4dde63d76: Pull complete [2023-08-23T01:25:39.631Z] bde34c3a00c8: Pull complete [2023-08-23T01:25:39.931Z] b352a97aabf1: Pull complete [2023-08-23T01:25:39.931Z] 4872d77fe225: Pull complete [2023-08-23T01:25:39.931Z] 5851b861e8e6: Pull complete [2023-08-23T01:25:39.931Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-23T01:25:39.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T01:25:39.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:25:40.178Z] prd-ubuntu20.04-docker-8c-8g-4331 does not seem to be running inside a container [2023-08-23T01:25:40.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-23T01:25:43.589Z] $ docker top 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e -eo pid,comm [2023-08-23T01:25:43.644Z] 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-08-23T01:25:43.644Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T01:25:43.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T01:25:43.780Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T01:25:43.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T01:25:43.912Z] $ docker exec 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e ssh-agent [2023-08-23T01:25:44.029Z] SSH_AUTH_SOCK=/tmp/ssh-8ufnZ1P1V8Wq/agent.32 [2023-08-23T01:25:44.029Z] SSH_AGENT_PID=38 [2023-08-23T01:25:44.035Z] Running ssh-add (command line suppressed) [2023-08-23T01:25:44.141Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_12390545429789829003.key (/w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_12390545429789829003.key) [2023-08-23T01:25:44.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T01:25:44.487Z] + git tag --points-at HEAD [Pipeline] } [2023-08-23T01:25:44.516Z] $ docker exec --env ******** --env ******** 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e ssh-agent -k [2023-08-23T01:25:44.624Z] unset SSH_AUTH_SOCK; [2023-08-23T01:25:44.624Z] unset SSH_AGENT_PID; [2023-08-23T01:25:44.624Z] echo Agent pid 38 killed; [2023-08-23T01:25:44.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-23T01:25:44.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T01:25:44.728Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T01:25:44.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T01:25:44.882Z] $ docker exec 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e ssh-agent [2023-08-23T01:25:45.002Z] SSH_AUTH_SOCK=/tmp/ssh-NNVrD0m98STD/agent.70 [2023-08-23T01:25:45.002Z] SSH_AGENT_PID=76 [2023-08-23T01:25:45.008Z] Running ssh-add (command line suppressed) [2023-08-23T01:25:45.118Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_15420996835462946658.key (/w/workspace/foundry_device-usb-camera_PR-271@tmp/private_key_15420996835462946658.key) [2023-08-23T01:25:45.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T01:25:45.463Z] + git semver init [2023-08-23T01:25:45.722Z] 2023-08-23 01:25:45,648 [run_init] DEBUG init version:0.0.0 force:False [2023-08-23T01:25:45.722Z] 2023-08-23 01:25:45,649 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-271/.semver [2023-08-23T01:25:45.722Z] 2023-08-23 01:25:45,649 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-271/.semver [2023-08-23T01:25:45.722Z] 2023-08-23 01:25:45,649 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-271/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-271, universal_newlines=False, shell=None, istream=None) [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,354 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-271/.git/info/exclude [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 with force:False [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,355 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,359 [execute] INFO git cat-file --batch-check [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,365 [execute] INFO git cat-file --batch [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T01:25:46.663Z] 2023-08-23 01:25:46,371 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-271/.semver/PR-271 [2023-08-23T01:25:46.663Z] 0.0.0 [Pipeline] } [2023-08-23T01:25:46.692Z] $ docker exec --env ******** --env ******** 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e ssh-agent -k [2023-08-23T01:25:46.800Z] unset SSH_AUTH_SOCK; [2023-08-23T01:25:46.800Z] unset SSH_AGENT_PID; [2023-08-23T01:25:46.800Z] echo Agent pid 76 killed; [2023-08-23T01:25:46.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T01:25:47.249Z] + git semver [Pipeline] } [2023-08-23T01:25:47.533Z] $ docker stop --time=1 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e [2023-08-23T01:25:48.804Z] $ docker rm -f --volumes 6a20281943ebf74b3fb2cca268425c835a5860cbef876b2b2f19c211ae205a5e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T01:25:49.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-23T01:25:49.469Z] Stashed 1 file(s) [Pipeline] echo [2023-08-23T01:25:49.487Z] [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-08-23T01:25:50.080Z] provisioning config files... [2023-08-23T01:25:50.092Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config14914170804814454036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:25:50.453Z] ---> docker-login.sh [2023-08-23T01:25:50.453Z] nexus3.edgexfoundry.org:10001 [2023-08-23T01:25:50.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:50.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:50.453Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:50.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:50.453Z] [2023-08-23T01:25:50.453Z] Login Succeeded [2023-08-23T01:25:50.453Z] nexus3.edgexfoundry.org:10002 [2023-08-23T01:25:50.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:50.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:50.453Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:50.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:50.453Z] [2023-08-23T01:25:50.453Z] Login Succeeded [2023-08-23T01:25:50.453Z] nexus3.edgexfoundry.org:10003 [2023-08-23T01:25:50.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:50.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:50.743Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:50.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:50.743Z] [2023-08-23T01:25:50.743Z] Login Succeeded [2023-08-23T01:25:50.743Z] nexus3.edgexfoundry.org:10004 [2023-08-23T01:25:50.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:50.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:50.743Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:50.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:50.743Z] [2023-08-23T01:25:50.743Z] Login Succeeded [2023-08-23T01:25:50.743Z] docker.io [2023-08-23T01:25:50.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:25:51.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:25:51.002Z] Configure a credential helper to remove this warning. See [2023-08-23T01:25:51.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:25:51.002Z] [2023-08-23T01:25:51.002Z] Login Succeeded [2023-08-23T01:25:51.002Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T01:25:51.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T01:25:51.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T01:25:51.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T01:25:51.287Z] ========================================================= [2023-08-23T01:25:51.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-23T01:25:51.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:25:51.759Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-23T01:25:51.759Z] Sending build context to Docker daemon 2.088MB [2023-08-23T01:25:51.759Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T01:25:51.759Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-23T01:25:51.759Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-23T01:25:51.759Z] 4db1b89c0bd1: Pulling fs layer [2023-08-23T01:25:51.759Z] 6911f1a30b25: Pulling fs layer [2023-08-23T01:25:51.759Z] e194b8c5c2a9: Pulling fs layer [2023-08-23T01:25:51.759Z] 6863d3e3a2b1: Pulling fs layer [2023-08-23T01:25:51.759Z] ec0bb842ea78: Pulling fs layer [2023-08-23T01:25:51.759Z] 40a00589a448: Pulling fs layer [2023-08-23T01:25:51.759Z] 6c08303d61cc: Pulling fs layer [2023-08-23T01:25:51.759Z] 798269fcf238: Pulling fs layer [2023-08-23T01:25:51.759Z] ec0bb842ea78: Waiting [2023-08-23T01:25:51.759Z] 40a00589a448: Waiting [2023-08-23T01:25:51.759Z] 798269fcf238: Waiting [2023-08-23T01:25:51.759Z] 6863d3e3a2b1: Waiting [2023-08-23T01:25:51.759Z] 6c08303d61cc: Waiting [2023-08-23T01:25:51.759Z] 6911f1a30b25: Download complete [2023-08-23T01:25:51.759Z] 6863d3e3a2b1: Download complete [2023-08-23T01:25:52.019Z] ec0bb842ea78: Verifying Checksum [2023-08-23T01:25:52.019Z] ec0bb842ea78: Download complete [2023-08-23T01:25:52.019Z] 4db1b89c0bd1: Download complete [2023-08-23T01:25:52.019Z] 40a00589a448: Verifying Checksum [2023-08-23T01:25:52.019Z] 40a00589a448: Download complete [2023-08-23T01:25:52.019Z] 4db1b89c0bd1: Pull complete [2023-08-23T01:25:52.279Z] 6911f1a30b25: Pull complete [2023-08-23T01:25:52.539Z] 798269fcf238: Verifying Checksum [2023-08-23T01:25:52.540Z] e194b8c5c2a9: Verifying Checksum [2023-08-23T01:25:52.540Z] e194b8c5c2a9: Download complete [2023-08-23T01:25:52.798Z] 6c08303d61cc: Verifying Checksum [2023-08-23T01:25:52.798Z] 6c08303d61cc: Download complete [2023-08-23T01:25:56.988Z] e194b8c5c2a9: Pull complete [2023-08-23T01:25:56.988Z] 6863d3e3a2b1: Pull complete [2023-08-23T01:25:56.988Z] ec0bb842ea78: Pull complete [2023-08-23T01:25:56.988Z] 40a00589a448: Pull complete [2023-08-23T01:25:58.890Z] 6c08303d61cc: Pull complete [2023-08-23T01:26:00.265Z] 798269fcf238: Pull complete [2023-08-23T01:26:00.265Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-23T01:26:00.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-23T01:26:00.265Z] ---> ec979cd7f677 [2023-08-23T01:26:00.265Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-23T01:26:04.888Z] Still waiting to schedule task [2023-08-23T01:26:04.888Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-23T01:26:05.541Z] ---> Running in 84f70eac2fc8 [2023-08-23T01:26:05.541Z] Removing intermediate container 84f70eac2fc8 [2023-08-23T01:26:05.541Z] ---> 82fd33ff554e [2023-08-23T01:26:05.541Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T01:26:05.541Z] ---> Running in 08a680597e17 [2023-08-23T01:26:05.801Z] Removing intermediate container 08a680597e17 [2023-08-23T01:26:05.801Z] ---> 61a5f43050de [2023-08-23T01:26:05.801Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T01:26:05.801Z] ---> Running in 293c5f29fc49 [2023-08-23T01:26:05.801Z] Removing intermediate container 293c5f29fc49 [2023-08-23T01:26:05.801Z] ---> b29f8352e129 [2023-08-23T01:26:05.801Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T01:26:05.801Z] ---> Running in 23d50a79c6f0 [2023-08-23T01:26:05.801Z] Removing intermediate container 23d50a79c6f0 [2023-08-23T01:26:05.801Z] ---> 14af6611738b [2023-08-23T01:26:05.801Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T01:26:06.061Z] ---> Running in 4f84950e6cff [2023-08-23T01:26:06.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T01:26:06.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T01:26:06.580Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-23T01:26:06.580Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-23T01:26:06.580Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T01:26:06.839Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T01:26:06.840Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-23T01:26:06.840Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-23T01:26:06.840Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-23T01:26:06.840Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-23T01:26:06.840Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-23T01:26:06.840Z] (10/14) Installing kmod-libs (30-r1) [2023-08-23T01:26:06.840Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-23T01:26:06.840Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-23T01:26:06.840Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-23T01:26:06.840Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-23T01:26:06.840Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T01:26:06.840Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T01:26:06.840Z] OK: 272 MiB in 67 packages [2023-08-23T01:26:07.407Z] Removing intermediate container 4f84950e6cff [2023-08-23T01:26:07.407Z] ---> 412a32499e3a [2023-08-23T01:26:07.407Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-23T01:26:07.407Z] ---> Running in dce1798065c8 [2023-08-23T01:26:07.666Z] Removing intermediate container dce1798065c8 [2023-08-23T01:26:07.666Z] ---> 27fbf422169a [2023-08-23T01:26:07.666Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-23T01:26:07.666Z] ---> 74df5f1e3474 [2023-08-23T01:26:07.666Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T01:26:07.666Z] ---> Running in e182242f3504 [2023-08-23T01:27:05.726Z] Removing intermediate container e182242f3504 [2023-08-23T01:27:05.726Z] ---> 2fff9888a056 [2023-08-23T01:27:05.726Z] Step 11/13 : COPY . . [2023-08-23T01:27:05.726Z] ---> efc23e2b388b [2023-08-23T01:27:05.726Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T01:27:05.726Z] ---> Running in 0153d5131d77 [2023-08-23T01:27:05.726Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T01:27:05.726Z] Dload Upload Total Spent Left Speed [2023-08-23T01:27:05.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062  0    0  5443    0 --:--:-- --:--:-- --:--:--  5474 [2023-08-23T01:27:05.726Z] Removing intermediate container 0153d5131d77 [2023-08-23T01:27:05.726Z] ---> bf27d29204fe [2023-08-23T01:27:05.726Z] Step 13/13 : RUN ${MAKE} [2023-08-23T01:27:05.726Z] ---> Running in aa94ad1ed2e8 [2023-08-23T01:27:05.726Z] noop [2023-08-23T01:27:05.726Z] Removing intermediate container aa94ad1ed2e8 [2023-08-23T01:27:05.726Z] ---> 8713ffff697a [2023-08-23T01:27:05.726Z] Successfully built 8713ffff697a [2023-08-23T01:27:05.726Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:27:06.162Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T01:27:06.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:27:06.316Z] prd-ubuntu20.04-docker-8c-8g-4331 does not seem to be running inside a container [2023-08-23T01:27:06.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-23T01:27:06.683Z] $ docker top cf552d4bdc9cbec770d7163a84ee8d7da7c561d3a7877b3552f39e2dfad2a44a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T01:27:07.074Z] + go version [2023-08-23T01:27:07.074Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-23T01:27:07.109Z] $ docker stop --time=1 cf552d4bdc9cbec770d7163a84ee8d7da7c561d3a7877b3552f39e2dfad2a44a [2023-08-23T01:27:08.403Z] $ docker rm -f --volumes cf552d4bdc9cbec770d7163a84ee8d7da7c561d3a7877b3552f39e2dfad2a44a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:27:09.126Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T01:27:09.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:27:09.281Z] prd-ubuntu20.04-docker-8c-8g-4331 does not seem to be running inside a container [2023-08-23T01:27:09.316Z] $ 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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-23T01:27:09.643Z] $ docker top d0ffb706e1e99943e725dc824850914b45bbc6436272a2c3c75e9ada833c0f92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T01:27:10.025Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-271 [Pipeline] fileExists [Pipeline] sh [2023-08-23T01:27:10.379Z] + make test [2023-08-23T01:27:10.379Z] go test ./... -coverprofile=coverage.out ./... [2023-08-23T01:27:15.762Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-23T01:27:25.768Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-23T01:27:26.334Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements [2023-08-23T01:27:29.973Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4333 in /w/workspace/foundry_device-usb-camera_PR-271 [Pipeline] { [Pipeline] ws [2023-08-23T01:27:30.028Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-08-23T01:27:30.112Z] Selected Git installation does not exist. Using Default [2023-08-23T01:27:30.112Z] The recommended git tool is: NONE [2023-08-23T01:27:34.440Z] go vet ./... [2023-08-23T01:27:34.842Z] using credential edgex-jenkins-ssh [2023-08-23T01:27:34.857Z] Cloning the remote Git repository [2023-08-23T01:27:34.893Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T01:27:34.981Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-08-23T01:27:35.115Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T01:27:35.116Z] > git --version # timeout=10 [2023-08-23T01:27:35.135Z] > git --version # 'git version 2.25.1' [2023-08-23T01:27:35.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T01:27:35.272Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T01:27:36.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-23T01:27:36.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T01:27:36.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-23T01:27:36.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-23T01:27:36.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T01:27:36.952Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-23T01:27:37.541Z] Merging remotes/origin/main commit 860b2ed41c63812ea8e78996a55d34ef8e22b126 into PR head commit 02f39ede7208f2d87b8bcee4216eb06da9a536ce [2023-08-23T01:27:37.718Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T01:27:37.718Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T01:27:37.718Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-23T01:27:37.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T01:27:37.799Z] $ docker stop --time=1 d0ffb706e1e99943e725dc824850914b45bbc6436272a2c3c75e9ada833c0f92 [2023-08-23T01:27:37.804Z] Merge succeeded, producing 02f39ede7208f2d87b8bcee4216eb06da9a536ce [2023-08-23T01:27:37.805Z] Checking out Revision 02f39ede7208f2d87b8bcee4216eb06da9a536ce (PR-271) [2023-08-23T01:27:37.556Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T01:27:37.630Z] > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # timeout=10 [2023-08-23T01:27:37.711Z] > git remote # timeout=10 [2023-08-23T01:27:37.729Z] > git config --get remote.origin.url # timeout=10 [2023-08-23T01:27:37.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T01:27:37.757Z] > git merge 860b2ed41c63812ea8e78996a55d34ef8e22b126 # timeout=10 [2023-08-23T01:27:37.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-23T01:27:37.807Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T01:27:37.828Z] > git checkout -f 02f39ede7208f2d87b8bcee4216eb06da9a536ce # timeout=10 [2023-08-23T01:27:39.428Z] $ docker rm -f --volumes d0ffb706e1e99943e725dc824850914b45bbc6436272a2c3c75e9ada833c0f92 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T01:27:39.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T01:27:40.027Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-23T01:27:40.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T01:27:41.001Z] + ls -al . [2023-08-23T01:27:41.001Z] total 216 [2023-08-23T01:27:41.001Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 01:27 . [2023-08-23T01:27:41.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 01:25 .. [2023-08-23T01:27:41.001Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 01:25 .git [2023-08-23T01:27:41.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:25 .github [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 23 01:25 .gitignore [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 01:25 .golangci.yml [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 01:25 .hadolint.yml [2023-08-23T01:27:41.001Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 01:25 .semver [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 23 01:25 Attribution.txt [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 23 01:25 CHANGELOG.md [2023-08-23T01:27:41.001Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 01:25 Dockerfile [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 01:25 GOVERNANCE.md [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 01:25 Jenkinsfile [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 01:25 LICENSE [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 2485 Aug 23 01:25 Makefile [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 01:25 OWNERS.md [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 01:25 README.md [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 01:25 VERSION [2023-08-23T01:27:41.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 01:25 bin [2023-08-23T01:27:41.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:25 cmd [2023-08-23T01:27:41.002Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 23 01:27 coverage.out [2023-08-23T01:27:41.002Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 23 01:25 docker-entrypoint.sh [2023-08-23T01:27:41.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 01:25 docs [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 23 01:25 go.mod [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 23 01:25 go.sum [2023-08-23T01:27:41.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:25 internal [2023-08-23T01:27:41.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 01:25 snap [2023-08-23T01:27:41.002Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:27:41.266Z] Commit message: "feat: Add proxy to build script for device-usb-service" [2023-08-23T01:27:41.310Z] > git --version # timeout=10 [2023-08-23T01:27:41.322Z] > git --version # 'git version 2.25.1' [2023-08-23T01:27:41.347Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T01:27:41.387Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=02f39ede7208f2d87b8bcee4216eb06da9a536ce --label arch=amd64 --label version=0.0.0 . [2023-08-23T01:27:41.387Z] Sending build context to Docker daemon 2.143MB [2023-08-23T01:27:41.388Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T01:27:41.388Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-23T01:27:41.388Z] ---> 8713ffff697a [2023-08-23T01:27:41.388Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-23T01:27:41.388Z] ---> Running in 4b5de01e3e25 [2023-08-23T01:27:41.646Z] Removing intermediate container 4b5de01e3e25 [2023-08-23T01:27:41.646Z] ---> 26d2ee18c97d [2023-08-23T01:27:41.646Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T01:27:41.646Z] ---> Running in 18472480d3c9 [2023-08-23T01:27:41.646Z] Removing intermediate container 18472480d3c9 [2023-08-23T01:27:41.646Z] ---> 74afc037ab0c [2023-08-23T01:27:41.646Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T01:27:41.646Z] ---> Running in ae8dd2c8a2b9 [2023-08-23T01:27:41.646Z] Removing intermediate container ae8dd2c8a2b9 [2023-08-23T01:27:41.646Z] ---> 3beee3101131 [2023-08-23T01:27:41.646Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-08-23T01:27:41.905Z] ---> Running in 6151e93da86c [2023-08-23T01:27:41.905Z] Removing intermediate container 6151e93da86c [2023-08-23T01:27:41.905Z] ---> f5e2b965734a [2023-08-23T01:27:41.905Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T01:27:41.905Z] ---> Running in 2adbb4fbea27 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T01:27:42.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T01:27:42.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T01:27:42.421Z] OK: 272 MiB in 67 packages [2023-08-23T01:27:42.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-23T01:27:42.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T01:27:42.438Z] Dload Upload Total Spent Left Speed [2023-08-23T01:27:42.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-08-23T01:27:42.987Z] Removing intermediate container 2adbb4fbea27 [2023-08-23T01:27:42.987Z] ---> b905f331cdf2 [2023-08-23T01:27:42.987Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-23T01:27:42.987Z] ---> Running in e2a23b52ee28 [2023-08-23T01:27:42.987Z] Removing intermediate container e2a23b52ee28 [2023-08-23T01:27:42.987Z] ---> 7478ab4aa03e [2023-08-23T01:27:42.987Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-23T01:27:42.987Z] ---> fac078e46271 [2023-08-23T01:27:42.987Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T01:27:42.987Z] ---> Running in 2904920070ee [2023-08-23T01:27:43.182Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-23T01:27:43.522Z] + sudo tee /etc/docker/daemon.new [2023-08-23T01:27:43.522Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-23T01:27:43.522Z] { [2023-08-23T01:27:43.522Z] "registry-mirrors": [ [2023-08-23T01:27:43.522Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-23T01:27:43.522Z] ], [2023-08-23T01:27:43.522Z] "bip": "10.250.0.254/24", [2023-08-23T01:27:43.522Z] "hosts": [ [2023-08-23T01:27:43.522Z] "tcp://0.0.0.0:5555", [2023-08-23T01:27:43.522Z] "unix:///var/run/docker.sock" [2023-08-23T01:27:43.522Z] ], [2023-08-23T01:27:43.522Z] "mtu": 1458, [2023-08-23T01:27:43.522Z] "selinux-enabled": true, [2023-08-23T01:27:43.522Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-23T01:27:43.522Z] } [Pipeline] sh [2023-08-23T01:27:43.859Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-23T01:27:43.923Z] Removing intermediate container 2904920070ee [2023-08-23T01:27:43.923Z] ---> 2556a79f96c2 [2023-08-23T01:27:43.923Z] Step 11/36 : COPY . . [2023-08-23T01:27:44.182Z] ---> 86790559bb4b [2023-08-23T01:27:44.182Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T01:27:44.182Z] ---> Running in 058493fd1c26 [2023-08-23T01:27:44.200Z] + sudo service docker restart [2023-08-23T01:27:44.751Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T01:27:44.751Z] Dload Upload Total Spent Left Speed [2023-08-23T01:27:44.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18096 0 --:--:-- --:--:-- --:--:-- 18310 [2023-08-23T01:27:45.011Z] Removing intermediate container 058493fd1c26 [2023-08-23T01:27:45.011Z] ---> 9f2f967f8300 [2023-08-23T01:27:45.011Z] Step 13/36 : RUN ${MAKE} [2023-08-23T01:27:45.011Z] ---> Running in 8a9791dfb9e4 [2023-08-23T01:27:45.269Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T01:28:02.494Z] provisioning config files... [2023-08-23T01:28:02.518Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4183120327735257989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:28:02.896Z] ---> docker-login.sh [2023-08-23T01:28:02.896Z] nexus3.edgexfoundry.org:10001 [2023-08-23T01:28:03.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:28:03.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:28:03.454Z] Configure a credential helper to remove this warning. See [2023-08-23T01:28:03.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:28:03.454Z] [2023-08-23T01:28:03.454Z] Login Succeeded [2023-08-23T01:28:03.454Z] nexus3.edgexfoundry.org:10002 [2023-08-23T01:28:03.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:28:03.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:28:03.723Z] Configure a credential helper to remove this warning. See [2023-08-23T01:28:03.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:28:03.723Z] [2023-08-23T01:28:03.723Z] Login Succeeded [2023-08-23T01:28:03.723Z] nexus3.edgexfoundry.org:10003 [2023-08-23T01:28:03.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:28:04.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:28:04.261Z] Configure a credential helper to remove this warning. See [2023-08-23T01:28:04.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:28:04.261Z] [2023-08-23T01:28:04.261Z] Login Succeeded [2023-08-23T01:28:04.261Z] nexus3.edgexfoundry.org:10004 [2023-08-23T01:28:04.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:28:04.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:28:04.533Z] Configure a credential helper to remove this warning. See [2023-08-23T01:28:04.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:28:04.533Z] [2023-08-23T01:28:04.533Z] Login Succeeded [2023-08-23T01:28:04.533Z] docker.io [2023-08-23T01:28:04.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T01:28:05.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T01:28:05.070Z] Configure a credential helper to remove this warning. See [2023-08-23T01:28:05.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T01:28:05.070Z] [2023-08-23T01:28:05.070Z] Login Succeeded [2023-08-23T01:28:05.070Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T01:28:05.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T01:28:05.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T01:28:05.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T01:28:05.554Z] ========================================================= [2023-08-23T01:28:05.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-23T01:28:05.554Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:28:06.073Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-23T01:28:08.025Z] Sending build context to Docker daemon 1.25MB [2023-08-23T01:28:08.025Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T01:28:08.025Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-23T01:28:08.025Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-23T01:28:08.025Z] edb6bdbacee9: Pulling fs layer [2023-08-23T01:28:08.025Z] 5f9638ab2659: Pulling fs layer [2023-08-23T01:28:08.025Z] 8d51d6327a98: Pulling fs layer [2023-08-23T01:28:08.025Z] 8b374f2dd631: Pulling fs layer [2023-08-23T01:28:08.025Z] ec14aa9079de: Pulling fs layer [2023-08-23T01:28:08.025Z] 2f466654f4bb: Pulling fs layer [2023-08-23T01:28:08.025Z] 554e91adad29: Pulling fs layer [2023-08-23T01:28:08.025Z] ec14aa9079de: Waiting [2023-08-23T01:28:08.025Z] 2f466654f4bb: Waiting [2023-08-23T01:28:08.025Z] 554e91adad29: Waiting [2023-08-23T01:28:08.025Z] 8b374f2dd631: Waiting [2023-08-23T01:28:08.025Z] 5f9638ab2659: Verifying Checksum [2023-08-23T01:28:08.025Z] 5f9638ab2659: Download complete [2023-08-23T01:28:08.025Z] 8b374f2dd631: Verifying Checksum [2023-08-23T01:28:08.025Z] 8b374f2dd631: Download complete [2023-08-23T01:28:08.025Z] ec14aa9079de: Verifying Checksum [2023-08-23T01:28:08.025Z] ec14aa9079de: Download complete [2023-08-23T01:28:08.025Z] edb6bdbacee9: Download complete [2023-08-23T01:28:08.991Z] edb6bdbacee9: Pull complete [2023-08-23T01:28:09.575Z] 554e91adad29: Verifying Checksum [2023-08-23T01:28:09.575Z] 554e91adad29: Download complete [2023-08-23T01:28:09.575Z] 5f9638ab2659: Pull complete [2023-08-23T01:28:10.548Z] 2f466654f4bb: Verifying Checksum [2023-08-23T01:28:10.548Z] 2f466654f4bb: Download complete [2023-08-23T01:28:10.548Z] 8d51d6327a98: Verifying Checksum [2023-08-23T01:28:10.548Z] 8d51d6327a98: Download complete [2023-08-23T01:28:13.896Z] Removing intermediate container 8a9791dfb9e4 [2023-08-23T01:28:13.896Z] ---> 711c189db49d [2023-08-23T01:28:13.896Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-23T01:28:13.896Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-23T01:28:13.896Z] 4acc49c71d14: Pulling fs layer [2023-08-23T01:28:13.897Z] 4acc49c71d14: Verifying Checksum [2023-08-23T01:28:13.897Z] 4acc49c71d14: Download complete [2023-08-23T01:28:13.897Z] 4acc49c71d14: Pull complete [2023-08-23T01:28:13.897Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-23T01:28:13.897Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-23T01:28:13.897Z] ---> 01a2bd3e5fff [2023-08-23T01:28:13.897Z] Step 15/36 : FROM alpine:3.17 [2023-08-23T01:28:13.897Z] 3.17: Pulling from library/alpine [2023-08-23T01:28:13.897Z] 9398808236ff: Pulling fs layer [2023-08-23T01:28:13.897Z] 9398808236ff: Download complete [2023-08-23T01:28:13.897Z] 9398808236ff: Pull complete [2023-08-23T01:28:13.897Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T01:28:13.897Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T01:28:13.897Z] ---> 1e0b8b5322fc [2023-08-23T01:28:13.897Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-23T01:28:13.897Z] ---> Running in 86fa2328e5fe [2023-08-23T01:28:13.897Z] Removing intermediate container 86fa2328e5fe [2023-08-23T01:28:13.897Z] ---> c756eb5b8d0e [2023-08-23T01:28:13.897Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-23T01:28:13.897Z] ---> Running in 8f7e1349d124 [2023-08-23T01:28:13.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T01:28:13.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T01:28:13.897Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-23T01:28:13.897Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-23T01:28:13.897Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-23T01:28:13.897Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-23T01:28:13.897Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-23T01:28:13.897Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-23T01:28:13.897Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-23T01:28:13.897Z] (8/86) Installing libxcb (1.15-r0) [2023-08-23T01:28:13.897Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-23T01:28:13.897Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-23T01:28:13.897Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-23T01:28:13.897Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-23T01:28:13.897Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-23T01:28:13.897Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-23T01:28:13.897Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-23T01:28:13.897Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-23T01:28:13.897Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-23T01:28:13.897Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-23T01:28:13.897Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-23T01:28:13.897Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-23T01:28:13.897Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-23T01:28:13.897Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-23T01:28:13.897Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-23T01:28:13.897Z] (24/86) Installing glib (2.74.7-r0) [2023-08-23T01:28:13.897Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-23T01:28:13.897Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-23T01:28:13.897Z] (27/86) Installing libass (0.16.0-r1) [2023-08-23T01:28:13.897Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-23T01:28:13.897Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-23T01:28:13.897Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-23T01:28:13.897Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-23T01:28:13.897Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-23T01:28:13.897Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-23T01:28:13.897Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-23T01:28:13.897Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-23T01:28:13.897Z] (36/86) Installing libunistring (1.1-r0) [2023-08-23T01:28:13.897Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-23T01:28:13.897Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-23T01:28:13.897Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-23T01:28:13.897Z] (40/86) Installing lame (3.100-r2) [2023-08-23T01:28:13.897Z] (41/86) Installing opus (1.3.1-r1) [2023-08-23T01:28:13.897Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-23T01:28:13.897Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-23T01:28:13.897Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-23T01:28:13.897Z] (45/86) Installing orc (0.4.33-r0) [2023-08-23T01:28:13.897Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-23T01:28:13.897Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-23T01:28:13.897Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-23T01:28:13.897Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-23T01:28:13.897Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-23T01:28:13.897Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-23T01:28:13.897Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-23T01:28:13.897Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-23T01:28:13.897Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-23T01:28:13.897Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-23T01:28:13.897Z] (56/86) Installing libpulse (16.1-r6) [2023-08-23T01:28:13.897Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-23T01:28:13.897Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-23T01:28:13.897Z] (59/86) Installing librist (0.2.7-r0) [2023-08-23T01:28:13.897Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-23T01:28:13.897Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-23T01:28:13.897Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-23T01:28:13.897Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T01:28:13.897Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T01:28:13.897Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-23T01:28:13.897Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-23T01:28:13.897Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-23T01:28:13.897Z] (68/86) Installing libva (2.16.0-r0) [2023-08-23T01:28:13.897Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-23T01:28:13.897Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-23T01:28:13.897Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-23T01:28:13.897Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-23T01:28:13.897Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-23T01:28:13.897Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-23T01:28:13.897Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-23T01:28:13.897Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-23T01:28:13.897Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-23T01:28:13.897Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-23T01:28:13.897Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-23T01:28:14.155Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-23T01:28:14.155Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-23T01:28:14.155Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-23T01:28:14.155Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-23T01:28:14.155Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-23T01:28:14.155Z] (85/86) Installing kmod-libs (30-r1) [2023-08-23T01:28:14.155Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-23T01:28:14.155Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T01:28:14.155Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T01:28:14.155Z] OK: 112 MiB in 101 packages [2023-08-23T01:28:17.507Z] Removing intermediate container 8f7e1349d124 [2023-08-23T01:28:17.507Z] ---> 8255053df8e5 [2023-08-23T01:28:17.507Z] Step 18/36 : WORKDIR / [2023-08-23T01:28:17.507Z] ---> Running in 39c86ec2488b [2023-08-23T01:28:17.507Z] Removing intermediate container 39c86ec2488b [2023-08-23T01:28:17.507Z] ---> 3fa51ed23ad9 [2023-08-23T01:28:17.507Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-23T01:28:18.438Z] ---> 017196d3a90d [2023-08-23T01:28:18.438Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-23T01:28:18.438Z] ---> 9078de5dd2b3 [2023-08-23T01:28:18.438Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-23T01:28:18.695Z] ---> ef3ea5847738 [2023-08-23T01:28:18.695Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-23T01:28:18.695Z] ---> b81ba4c1bf87 [2023-08-23T01:28:18.695Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-23T01:28:18.953Z] ---> 237f93727725 [2023-08-23T01:28:18.954Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-23T01:28:18.954Z] ---> be3d4505952a [2023-08-23T01:28:18.954Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-23T01:28:19.888Z] ---> 26293bbc10a8 [2023-08-23T01:28:19.888Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-23T01:28:19.888Z] ---> Running in fe813fe5f245 [2023-08-23T01:28:20.454Z] Removing intermediate container fe813fe5f245 [2023-08-23T01:28:20.454Z] ---> 4a4e87bc3d8b [2023-08-23T01:28:20.454Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-23T01:28:20.454Z] ---> Running in 65db46136fdf [2023-08-23T01:28:21.019Z] Removing intermediate container 65db46136fdf [2023-08-23T01:28:21.019Z] ---> 1174d4327d1a [2023-08-23T01:28:21.019Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-23T01:28:21.019Z] ---> Running in 274b87db3644 [2023-08-23T01:28:21.585Z] Removing intermediate container 274b87db3644 [2023-08-23T01:28:21.585Z] ---> 9849cc9ee70b [2023-08-23T01:28:21.585Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-23T01:28:21.585Z] ---> Running in 29320c114028 [2023-08-23T01:28:22.153Z] Removing intermediate container 29320c114028 [2023-08-23T01:28:22.153Z] ---> e8ab820335b1 [2023-08-23T01:28:22.153Z] Step 30/36 : EXPOSE 59983 [2023-08-23T01:28:22.153Z] ---> Running in 849d7111801a [2023-08-23T01:28:22.153Z] Removing intermediate container 849d7111801a [2023-08-23T01:28:22.153Z] ---> b2e6fe5608e3 [2023-08-23T01:28:22.153Z] Step 31/36 : EXPOSE 8554 [2023-08-23T01:28:22.153Z] ---> Running in 681e2d66830b [2023-08-23T01:28:22.412Z] Removing intermediate container 681e2d66830b [2023-08-23T01:28:22.412Z] ---> e7ed5798c65f [2023-08-23T01:28:22.412Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-23T01:28:22.412Z] ---> Running in 3c383e0467dc [2023-08-23T01:28:22.412Z] Removing intermediate container 3c383e0467dc [2023-08-23T01:28:22.412Z] ---> a7aa0ab7da32 [2023-08-23T01:28:22.412Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-23T01:28:22.412Z] ---> Running in a0a227570cd6 [2023-08-23T01:28:22.412Z] Removing intermediate container a0a227570cd6 [2023-08-23T01:28:22.412Z] ---> 68d6dea77ce6 [2023-08-23T01:28:22.412Z] Step 34/36 : LABEL arch=amd64 [2023-08-23T01:28:22.412Z] ---> Running in b9544ec21908 [2023-08-23T01:28:22.854Z] 8d51d6327a98: Pull complete [2023-08-23T01:28:22.854Z] 8b374f2dd631: Pull complete [2023-08-23T01:28:22.854Z] ec14aa9079de: Pull complete [2023-08-23T01:28:27.145Z] Removing intermediate container b9544ec21908 [2023-08-23T01:28:27.145Z] ---> ef1ca9dff000 [2023-08-23T01:28:27.145Z] Step 35/36 : LABEL git_sha=02f39ede7208f2d87b8bcee4216eb06da9a536ce [2023-08-23T01:28:27.145Z] ---> Running in 8e5108684f8e [2023-08-23T01:28:27.145Z] Removing intermediate container 8e5108684f8e [2023-08-23T01:28:27.145Z] ---> d94b20472790 [2023-08-23T01:28:27.145Z] Step 36/36 : LABEL version=0.0.0 [2023-08-23T01:28:27.145Z] ---> Running in a21b50e072bb [2023-08-23T01:28:27.145Z] Removing intermediate container a21b50e072bb [2023-08-23T01:28:27.145Z] ---> f21fd7568eaf [2023-08-23T01:28:27.145Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T01:28:27.145Z] Successfully built f21fd7568eaf [2023-08-23T01:28:27.145Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:28:28.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T01:28:28.153Z] [2023-08-23T01:28:28.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-08-23T01:28:28.217Z] 2f466654f4bb: Pull complete [Pipeline] sh [2023-08-23T01:28:28.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T01:28:28.551Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-23T01:28:28.551Z] 5eb5b503b376: Pulling fs layer [2023-08-23T01:28:28.551Z] 5c69ac0246d0: Pulling fs layer [2023-08-23T01:28:28.551Z] ec43610c2a17: Pulling fs layer [2023-08-23T01:28:28.551Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-23T01:28:28.551Z] 33b1e0a273af: Pulling fs layer [2023-08-23T01:28:28.551Z] 5d3b04190fa2: Pulling fs layer [2023-08-23T01:28:28.551Z] 2f39f015ded8: Pulling fs layer [2023-08-23T01:28:28.551Z] 5d3b04190fa2: Waiting [2023-08-23T01:28:28.551Z] 3a2ae6a8a46f: Waiting [2023-08-23T01:28:28.551Z] 2f39f015ded8: Waiting [2023-08-23T01:28:28.551Z] 33b1e0a273af: Waiting [2023-08-23T01:28:28.551Z] 5c69ac0246d0: Download complete [2023-08-23T01:28:28.551Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-23T01:28:28.551Z] 3a2ae6a8a46f: Download complete [2023-08-23T01:28:28.551Z] 33b1e0a273af: Verifying Checksum [2023-08-23T01:28:28.551Z] 33b1e0a273af: Download complete [2023-08-23T01:28:28.551Z] ec43610c2a17: Verifying Checksum [2023-08-23T01:28:28.551Z] ec43610c2a17: Download complete [2023-08-23T01:28:28.551Z] 5d3b04190fa2: Verifying Checksum [2023-08-23T01:28:28.551Z] 5d3b04190fa2: Download complete [2023-08-23T01:28:28.815Z] 5eb5b503b376: Verifying Checksum [2023-08-23T01:28:28.815Z] 5eb5b503b376: Download complete [2023-08-23T01:28:29.383Z] 2f39f015ded8: Download complete [2023-08-23T01:28:30.166Z] 554e91adad29: Pull complete [2023-08-23T01:28:30.166Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-23T01:28:30.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-23T01:28:30.166Z] ---> 1e15ea492957 [2023-08-23T01:28:30.166Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-23T01:28:30.320Z] 5eb5b503b376: Pull complete [2023-08-23T01:28:30.320Z] 5c69ac0246d0: Pull complete [2023-08-23T01:28:30.892Z] ec43610c2a17: Pull complete [2023-08-23T01:28:30.892Z] 3a2ae6a8a46f: Pull complete [2023-08-23T01:28:31.150Z] 33b1e0a273af: Pull complete [2023-08-23T01:28:31.150Z] 5d3b04190fa2: Pull complete [2023-08-23T01:28:32.129Z] ---> Running in 5df8e6ba9989 [2023-08-23T01:28:32.396Z] Removing intermediate container 5df8e6ba9989 [2023-08-23T01:28:32.396Z] ---> 46323b1e59a3 [2023-08-23T01:28:32.396Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T01:28:32.396Z] ---> Running in 75a2640d64ac [2023-08-23T01:28:32.665Z] Removing intermediate container 75a2640d64ac [2023-08-23T01:28:32.665Z] ---> 9352437030f5 [2023-08-23T01:28:32.665Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T01:28:32.665Z] ---> Running in 8b59540b32c0 [2023-08-23T01:28:33.250Z] Removing intermediate container 8b59540b32c0 [2023-08-23T01:28:33.250Z] ---> 2d7301e3e0bc [2023-08-23T01:28:33.250Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T01:28:33.250Z] ---> Running in 8f112c5f1e12 [2023-08-23T01:28:33.518Z] Removing intermediate container 8f112c5f1e12 [2023-08-23T01:28:33.518Z] ---> 56906654f7a6 [2023-08-23T01:28:33.518Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T01:28:33.518Z] ---> Running in 2c0c779eec7b [2023-08-23T01:28:34.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T01:28:35.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T01:28:36.032Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-23T01:28:36.032Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-23T01:28:36.032Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T01:28:36.032Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T01:28:36.032Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-23T01:28:36.300Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-23T01:28:36.300Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-23T01:28:36.300Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-23T01:28:36.300Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-23T01:28:36.300Z] (10/14) Installing kmod-libs (30-r1) [2023-08-23T01:28:36.300Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-23T01:28:36.301Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-23T01:28:36.301Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-23T01:28:36.301Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-23T01:28:36.301Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T01:28:36.301Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T01:28:36.414Z] 2f39f015ded8: Pull complete [2023-08-23T01:28:36.414Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-23T01:28:36.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T01:28:36.414Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-08-23T01:28:36.567Z] OK: 271 MiB in 67 packages [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:28:36.688Z] prd-ubuntu20.04-docker-8c-8g-4331 does not seem to be running inside a container [2023-08-23T01:28:36.721Z] $ 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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-23T01:28:37.544Z] Removing intermediate container 2c0c779eec7b [2023-08-23T01:28:37.544Z] ---> df951c5effdf [2023-08-23T01:28:37.544Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-23T01:28:37.812Z] ---> Running in da08d2a50c94 [2023-08-23T01:28:38.080Z] Removing intermediate container da08d2a50c94 [2023-08-23T01:28:38.080Z] ---> c79f77e2a291 [2023-08-23T01:28:38.080Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-23T01:28:38.666Z] ---> 8fea7ab3e690 [2023-08-23T01:28:38.666Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T01:28:38.666Z] ---> Running in 0f8584f363fd [2023-08-23T01:28:43.081Z] $ docker top ce74087fefe961e185e85a796341fde55fc8e300d8dcbd37328e05494acf42e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:28:43.596Z] ---> job-cost.sh [2023-08-23T01:28:43.596Z] lf-activate-venv: SKIPPING [2023-08-23T01:28:43.596Z] INFO: No Stack... [2023-08-23T01:28:43.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T01:28:44.423Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T01:28:44.740Z] + cat /w/workspace/foundry_device-usb-camera_PR-271/archives/cost.csv [2023-08-23T01:28:44.740Z] + cut -d, -f6 [Pipeline] lock [2023-08-23T01:28:44.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [2023-08-23T01:28:44.786Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] did not exist. Created. [2023-08-23T01:28:44.786Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T01:28:45.187Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-23T01:28:45.243Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T01:28:45.274Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T01:28:45.361Z] $ docker stop --time=1 ce74087fefe961e185e85a796341fde55fc8e300d8dcbd37328e05494acf42e8 [2023-08-23T01:28:46.509Z] $ docker rm -f --volumes ce74087fefe961e185e85a796341fde55fc8e300d8dcbd37328e05494acf42e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-23T01:29:46.572Z] Removing intermediate container 0f8584f363fd [2023-08-23T01:29:46.572Z] ---> 1b170c0acd49 [2023-08-23T01:29:46.572Z] Step 11/13 : COPY . . [2023-08-23T01:29:46.572Z] ---> d2047b5b47e2 [2023-08-23T01:29:46.572Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T01:29:46.572Z] ---> Running in e477320b07e7 [2023-08-23T01:29:46.573Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T01:29:46.573Z]   Dload Upload Total Spent Left Speed [2023-08-23T01:29:46.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4303 0 --:--:-- --:--:-- --:--:-- 4317 [2023-08-23T01:29:46.573Z] Removing intermediate container e477320b07e7 [2023-08-23T01:29:46.573Z] ---> 15ed922e952a [2023-08-23T01:29:46.573Z] Step 13/13 : RUN ${MAKE} [2023-08-23T01:29:46.573Z] ---> Running in 9a5f09dcb689 [2023-08-23T01:29:46.573Z] noop [2023-08-23T01:29:46.573Z] Removing intermediate container 9a5f09dcb689 [2023-08-23T01:29:46.573Z] ---> fe6810e7b0a9 [2023-08-23T01:29:46.573Z] Successfully built fe6810e7b0a9 [2023-08-23T01:29:46.573Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:29:47.148Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T01:29:47.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:29:47.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-4333 does not seem to be running inside a container [2023-08-23T01:29:47.484Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-23T01:29:48.734Z] $ docker top 38ea94f8b92d0a74b88f61a2a7bf37dfbc660fe56ce2686db2c6ba8098a0494f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T01:29:49.633Z] + go version [2023-08-23T01:29:49.633Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-23T01:29:49.665Z] $ docker stop --time=1 38ea94f8b92d0a74b88f61a2a7bf37dfbc660fe56ce2686db2c6ba8098a0494f [2023-08-23T01:29:51.272Z] $ docker rm -f --volumes 38ea94f8b92d0a74b88f61a2a7bf37dfbc660fe56ce2686db2c6ba8098a0494f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:29:52.142Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T01:29:52.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:29:52.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-4333 does not seem to be running inside a container [2023-08-23T01:29:52.469Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-23T01:29:53.661Z] $ docker top fe27d10b061143bb71a65811da2983afafe36ca2363547fdeec102137a2bb3cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T01:29:54.539Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-08-23T01:29:55.246Z] + make test [2023-08-23T01:29:55.246Z] go test ./... -coverprofile=coverage.out ./... [2023-08-23T01:30:27.497Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-23T01:32:34.180Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-23T01:32:44.254Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.098s coverage: 4.4% of statements [2023-08-23T01:32:44.254Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-23T01:32:44.254Z] go vet ./... [2023-08-23T01:33:10.960Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T01:33:10.960Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T01:33:10.960Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-23T01:33:11.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T01:33:11.033Z] $ docker stop --time=1 fe27d10b061143bb71a65811da2983afafe36ca2363547fdeec102137a2bb3cb [2023-08-23T01:33:12.790Z] $ docker rm -f --volumes fe27d10b061143bb71a65811da2983afafe36ca2363547fdeec102137a2bb3cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T01:33:13.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T01:33:13.981Z] Warning: overwriting stash ‘coverage-report’ [2023-08-23T01:33:14.593Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T01:33:15.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T01:33:15.587Z] + ls -al . [2023-08-23T01:33:15.587Z] total 212 [2023-08-23T01:33:15.587Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 01:29 . [2023-08-23T01:33:15.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 01:27 .. [2023-08-23T01:33:15.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 01:27 .git [2023-08-23T01:33:15.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:27 .github [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 23 01:27 .gitignore [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 23 01:27 .golangci.yml [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 23 01:27 .hadolint.yml [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 23 01:27 Attribution.txt [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 23 01:27 CHANGELOG.md [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 23 01:27 Dockerfile [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 23 01:27 GOVERNANCE.md [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 23 01:27 Jenkinsfile [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 01:27 LICENSE [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 2485 Aug 23 01:27 Makefile [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 23 01:27 OWNERS.md [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 23 01:27 README.md [2023-08-23T01:33:15.587Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 01:25 VERSION [2023-08-23T01:33:15.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 01:27 bin [2023-08-23T01:33:15.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:27 cmd [2023-08-23T01:33:15.587Z] -rw-r--r-- 1 jenkins jenkins 53939 Aug 23 01:32 coverage.out [2023-08-23T01:33:15.588Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 23 01:27 docker-entrypoint.sh [2023-08-23T01:33:15.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 01:27 docs [2023-08-23T01:33:15.588Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 23 01:27 go.mod [2023-08-23T01:33:15.588Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 23 01:27 go.sum [2023-08-23T01:33:15.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 01:27 internal [2023-08-23T01:33:15.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 01:27 snap [2023-08-23T01:33:15.588Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 23 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:33:16.017Z] + 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=02f39ede7208f2d87b8bcee4216eb06da9a536ce --label arch=arm64 --label version=0.0.0 . [2023-08-23T01:33:16.285Z] Sending build context to Docker daemon 1.305MB [2023-08-23T01:33:16.285Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T01:33:16.285Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-23T01:33:16.285Z] ---> fe6810e7b0a9 [2023-08-23T01:33:16.285Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-23T01:33:16.554Z] ---> Running in e285d1fc4c90 [2023-08-23T01:33:16.824Z] Removing intermediate container e285d1fc4c90 [2023-08-23T01:33:16.824Z] ---> 085201b2b13c [2023-08-23T01:33:16.824Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T01:33:16.824Z] ---> Running in e0160366fcc0 [2023-08-23T01:33:17.092Z] Removing intermediate container e0160366fcc0 [2023-08-23T01:33:17.092Z] ---> 92436a934676 [2023-08-23T01:33:17.092Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-23T01:33:17.092Z] ---> Running in 47c5526cca69 [2023-08-23T01:33:17.365Z] Removing intermediate container 47c5526cca69 [2023-08-23T01:33:17.365Z] ---> 9bdcecf6d25b [2023-08-23T01:33:17.365Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-23T01:33:17.635Z] ---> Running in cf398eac9175 [2023-08-23T01:33:17.904Z] Removing intermediate container cf398eac9175 [2023-08-23T01:33:17.904Z] ---> bccc09e187f2 [2023-08-23T01:33:17.904Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T01:33:17.904Z] ---> Running in ea42d26939e0 [2023-08-23T01:33:18.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T01:33:19.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T01:33:20.413Z] OK: 271 MiB in 67 packages [2023-08-23T01:33:21.377Z] Removing intermediate container ea42d26939e0 [2023-08-23T01:33:21.377Z] ---> 9db9f6d96255 [2023-08-23T01:33:21.377Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-23T01:33:21.377Z] ---> Running in 2e7c72688b96 [2023-08-23T01:33:21.644Z] Removing intermediate container 2e7c72688b96 [2023-08-23T01:33:21.644Z] ---> 26daab44a563 [2023-08-23T01:33:21.644Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-23T01:33:22.230Z] ---> 51ef9d16f037 [2023-08-23T01:33:22.230Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T01:33:22.230Z] ---> Running in 2b37115b97d7 [2023-08-23T01:33:24.809Z] Removing intermediate container 2b37115b97d7 [2023-08-23T01:33:24.809Z] ---> 0c81417129f3 [2023-08-23T01:33:24.809Z] Step 11/36 : COPY . . [2023-08-23T01:33:25.394Z] ---> 681a510fc40e [2023-08-23T01:33:25.394Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-23T01:33:25.394Z] ---> Running in f3e3b2d2172a [2023-08-23T01:33:26.363Z]  % Total % Received % Xferd  Average Speed Time Time Time Current [2023-08-23T01:33:26.363Z]   Dload Upload Total Spent Left Speed [2023-08-23T01:33:26.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3410 0 --:--:-- --:--:-- --:--:-- 3425 [2023-08-23T01:33:27.590Z] Removing intermediate container f3e3b2d2172a [2023-08-23T01:33:27.590Z] ---> 90229f422831 [2023-08-23T01:33:27.590Z] Step 13/36 : RUN ${MAKE} [2023-08-23T01:33:27.590Z] ---> Running in 8d6d8ddc15fe [2023-08-23T01:33:28.559Z] 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-08-23T01:35:50.229Z] Removing intermediate container 8d6d8ddc15fe [2023-08-23T01:35:50.229Z] ---> 6dc852c2981a [2023-08-23T01:35:50.229Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-23T01:35:50.229Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-23T01:35:50.502Z] 8766b47fe142: Pulling fs layer [2023-08-23T01:35:50.770Z] 8766b47fe142: Verifying Checksum [2023-08-23T01:35:50.770Z] 8766b47fe142: Download complete [2023-08-23T01:35:51.729Z] 8766b47fe142: Pull complete [2023-08-23T01:35:51.729Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-23T01:35:51.729Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-23T01:35:51.729Z] ---> 69d40e2cb93c [2023-08-23T01:35:51.729Z] Step 15/36 : FROM alpine:3.17 [2023-08-23T01:35:52.311Z] 3.17: Pulling from library/alpine [2023-08-23T01:35:52.311Z] 4060ece20d7a: Pulling fs layer [2023-08-23T01:35:52.579Z] 4060ece20d7a: Verifying Checksum [2023-08-23T01:35:52.579Z] 4060ece20d7a: Download complete [2023-08-23T01:35:55.156Z] 4060ece20d7a: Pull complete [2023-08-23T01:35:55.156Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T01:35:55.156Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T01:35:55.156Z] ---> 8650cd65339b [2023-08-23T01:35:55.156Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-23T01:35:55.156Z] ---> Running in 0dfc8dd9bb05 [2023-08-23T01:35:55.156Z] Removing intermediate container 0dfc8dd9bb05 [2023-08-23T01:35:55.156Z] ---> b816172ce154 [2023-08-23T01:35:55.156Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-23T01:35:55.156Z] ---> Running in b4723de8405f [2023-08-23T01:35:56.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T01:35:57.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T01:35:58.059Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-23T01:35:58.059Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-23T01:35:58.059Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-23T01:35:58.059Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-23T01:35:58.059Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-23T01:35:58.059Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-23T01:35:58.059Z] (7/83) Installing libxcb (1.15-r0) [2023-08-23T01:35:58.059Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-23T01:35:58.059Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-23T01:35:58.324Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-23T01:35:58.324Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-23T01:35:58.324Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-23T01:35:58.324Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-23T01:35:58.324Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-23T01:35:58.591Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-23T01:35:58.591Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-23T01:35:58.591Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-23T01:35:58.591Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-23T01:35:58.591Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-23T01:35:58.591Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-23T01:35:58.591Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-23T01:35:58.591Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-23T01:35:58.591Z] (23/83) Installing glib (2.74.7-r0) [2023-08-23T01:35:58.857Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-23T01:35:58.857Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-23T01:35:58.857Z] (26/83) Installing libass (0.16.0-r1) [2023-08-23T01:35:58.857Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-23T01:35:58.857Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-23T01:35:58.857Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-23T01:35:58.857Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-23T01:35:58.857Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-23T01:35:58.857Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-23T01:35:58.857Z] (33/83) Installing libunistring (1.1-r0) [2023-08-23T01:35:58.857Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-23T01:35:59.125Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-23T01:35:59.125Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-23T01:35:59.125Z] (37/83) Installing lame (3.100-r2) [2023-08-23T01:35:59.125Z] (38/83) Installing opus (1.3.1-r1) [2023-08-23T01:35:59.125Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-23T01:35:59.125Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-23T01:35:59.125Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-23T01:35:59.125Z] (42/83) Installing orc (0.4.33-r0) [2023-08-23T01:35:59.125Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-23T01:35:59.125Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-23T01:35:59.125Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-23T01:35:59.125Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-23T01:35:59.125Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-23T01:35:59.392Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-23T01:35:59.392Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-23T01:35:59.392Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-23T01:35:59.392Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-23T01:35:59.392Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-23T01:35:59.392Z] (53/83) Installing libpulse (16.1-r6) [2023-08-23T01:35:59.392Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-23T01:35:59.392Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-23T01:35:59.392Z] (56/83) Installing librist (0.2.7-r0) [2023-08-23T01:35:59.392Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-23T01:35:59.392Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-23T01:35:59.392Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-23T01:35:59.659Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-23T01:35:59.659Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-23T01:35:59.659Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-23T01:35:59.659Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-23T01:35:59.659Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-23T01:35:59.659Z] (65/83) Installing libva (2.16.0-r0) [2023-08-23T01:35:59.659Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-23T01:35:59.659Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-23T01:35:59.659Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-23T01:35:59.659Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-23T01:35:59.659Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-23T01:35:59.659Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-23T01:35:59.659Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-23T01:35:59.927Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-23T01:35:59.927Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-23T01:35:59.927Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-23T01:35:59.927Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-23T01:36:00.513Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-23T01:36:00.513Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-23T01:36:00.513Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-23T01:36:00.513Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-23T01:36:00.513Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-23T01:36:00.513Z] (82/83) Installing kmod-libs (30-r1) [2023-08-23T01:36:00.513Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-23T01:36:00.513Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T01:36:00.513Z] Executing eudev-3.2.11-r4.trigger [2023-08-23T01:36:00.513Z] OK: 86 MiB in 98 packages [2023-08-23T01:36:03.854Z] Removing intermediate container b4723de8405f [2023-08-23T01:36:03.854Z] ---> 745e7211690d [2023-08-23T01:36:03.854Z] Step 18/36 : WORKDIR / [2023-08-23T01:36:03.854Z] ---> Running in 7cd9d31fad3c [2023-08-23T01:36:04.123Z] Removing intermediate container 7cd9d31fad3c [2023-08-23T01:36:04.123Z] ---> 4776b8a2ca06 [2023-08-23T01:36:04.123Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-23T01:36:05.533Z] ---> ddda9496ede8 [2023-08-23T01:36:05.533Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-23T01:36:05.800Z] ---> 0cd3be91e119 [2023-08-23T01:36:05.800Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-23T01:36:09.138Z] ---> 92119578819d [2023-08-23T01:36:09.138Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-23T01:36:09.406Z] ---> 97aa89f4ef9f [2023-08-23T01:36:09.406Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-23T01:36:09.986Z] ---> 844fce63672d [2023-08-23T01:36:09.986Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-23T01:36:10.256Z] ---> fd11cc3eec4d [2023-08-23T01:36:10.256Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-23T01:36:11.670Z] ---> 9407925affbd [2023-08-23T01:36:11.670Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-23T01:36:11.940Z] ---> Running in 42213d8d115d [2023-08-23T01:36:13.350Z] Removing intermediate container 42213d8d115d [2023-08-23T01:36:13.350Z] ---> f65fbaf55026 [2023-08-23T01:36:13.350Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-23T01:36:13.350Z] ---> Running in c710da897d56 [2023-08-23T01:36:15.300Z] Removing intermediate container c710da897d56 [2023-08-23T01:36:15.300Z] ---> 4612ea04d219 [2023-08-23T01:36:15.300Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-23T01:36:15.300Z] ---> Running in d8c2c740fe3e [2023-08-23T01:36:16.714Z] Removing intermediate container d8c2c740fe3e [2023-08-23T01:36:16.714Z] ---> b4358bbdeca3 [2023-08-23T01:36:16.714Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-23T01:36:16.714Z] ---> Running in 5660a8cac993 [2023-08-23T01:36:18.655Z] Removing intermediate container 5660a8cac993 [2023-08-23T01:36:18.655Z] ---> 98bad1ba2137 [2023-08-23T01:36:18.655Z] Step 30/36 : EXPOSE 59983 [2023-08-23T01:36:18.655Z] ---> Running in 1da16934a344 [2023-08-23T01:36:18.655Z] Removing intermediate container 1da16934a344 [2023-08-23T01:36:18.655Z] ---> 9cd8b9cde1f9 [2023-08-23T01:36:18.655Z] Step 31/36 : EXPOSE 8554 [2023-08-23T01:36:18.655Z] ---> Running in aad81cddb9fa [2023-08-23T01:36:18.923Z] Removing intermediate container aad81cddb9fa [2023-08-23T01:36:18.923Z] ---> de37d391d4ab [2023-08-23T01:36:18.923Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-23T01:36:18.923Z] ---> Running in 7dc30b7d2f10 [2023-08-23T01:36:19.190Z] Removing intermediate container 7dc30b7d2f10 [2023-08-23T01:36:19.190Z] ---> 85b62f8de7d2 [2023-08-23T01:36:19.190Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-23T01:36:19.456Z] ---> Running in 447e7510ab53 [2023-08-23T01:36:19.724Z] Removing intermediate container 447e7510ab53 [2023-08-23T01:36:19.724Z] ---> 28b53a208a5d [2023-08-23T01:36:19.724Z] Step 34/36 : LABEL arch=arm64 [2023-08-23T01:36:19.724Z] ---> Running in 39bfa03a36a5 [2023-08-23T01:36:19.992Z] Removing intermediate container 39bfa03a36a5 [2023-08-23T01:36:19.992Z] ---> 3a221f858bde [2023-08-23T01:36:19.992Z] Step 35/36 : LABEL git_sha=02f39ede7208f2d87b8bcee4216eb06da9a536ce [2023-08-23T01:36:19.992Z] ---> Running in d30f97abbacc [2023-08-23T01:36:20.259Z] Removing intermediate container d30f97abbacc [2023-08-23T01:36:20.259Z] ---> 7bfb8b327203 [2023-08-23T01:36:20.259Z] Step 36/36 : LABEL version=0.0.0 [2023-08-23T01:36:20.259Z] ---> Running in c90fa7ce052d [2023-08-23T01:36:20.526Z] Removing intermediate container c90fa7ce052d [2023-08-23T01:36:20.526Z] ---> 164462f4b91a [2023-08-23T01:36:20.526Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T01:36:20.793Z] Successfully built 164462f4b91a [2023-08-23T01:36:20.793Z] 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-08-23T01:36:21.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T01:36:21.604Z] [2023-08-23T01:36:21.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:36:22.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T01:36:22.851Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-23T01:36:22.851Z] 8998bd30e6a1: Pulling fs layer [2023-08-23T01:36:22.851Z] 04944245beec: Pulling fs layer [2023-08-23T01:36:22.851Z] 699f458cf7ca: Pulling fs layer [2023-08-23T01:36:22.851Z] 765212b225bb: Pulling fs layer [2023-08-23T01:36:22.851Z] f23df028b6ca: Pulling fs layer [2023-08-23T01:36:22.851Z] d65c8cfc05b1: Pulling fs layer [2023-08-23T01:36:22.851Z] 2437ff75d9bd: Pulling fs layer [2023-08-23T01:36:22.851Z] 765212b225bb: Waiting [2023-08-23T01:36:22.851Z] f23df028b6ca: Waiting [2023-08-23T01:36:22.851Z] d65c8cfc05b1: Waiting [2023-08-23T01:36:22.851Z] 2437ff75d9bd: Waiting [2023-08-23T01:36:22.851Z] 699f458cf7ca: Verifying Checksum [2023-08-23T01:36:22.851Z] 699f458cf7ca: Download complete [2023-08-23T01:36:22.851Z] 765212b225bb: Verifying Checksum [2023-08-23T01:36:22.851Z] 765212b225bb: Download complete [2023-08-23T01:36:22.851Z] 8998bd30e6a1: Verifying Checksum [2023-08-23T01:36:22.851Z] 8998bd30e6a1: Download complete [2023-08-23T01:36:22.851Z] d65c8cfc05b1: Download complete [2023-08-23T01:36:23.127Z] 04944245beec: Verifying Checksum [2023-08-23T01:36:23.127Z] 04944245beec: Download complete [2023-08-23T01:36:23.127Z] f23df028b6ca: Verifying Checksum [2023-08-23T01:36:23.127Z] f23df028b6ca: Download complete [2023-08-23T01:36:25.706Z] 2437ff75d9bd: Verifying Checksum [2023-08-23T01:36:25.706Z] 2437ff75d9bd: Download complete [2023-08-23T01:36:26.664Z] 8998bd30e6a1: Pull complete [2023-08-23T01:36:27.246Z] 04944245beec: Pull complete [2023-08-23T01:36:28.660Z] 699f458cf7ca: Pull complete [2023-08-23T01:36:28.660Z] 765212b225bb: Pull complete [2023-08-23T01:36:29.622Z] f23df028b6ca: Pull complete [2023-08-23T01:36:29.622Z] d65c8cfc05b1: Pull complete [2023-08-23T01:36:44.602Z] 2437ff75d9bd: Pull complete [2023-08-23T01:36:44.603Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-23T01:36:44.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T01:36:44.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:36:44.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-4333 does not seem to be running inside a container [2023-08-23T01:36:44.988Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-23T01:36:47.428Z] $ docker top 83f79c52ae858445f9156d43cd9f060f2f337de5ff6cbb97b70a4fbeb7093850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:36:48.324Z] ---> job-cost.sh [2023-08-23T01:36:48.324Z] lf-activate-venv: SKIPPING [2023-08-23T01:36:48.324Z] INFO: No Stack... [2023-08-23T01:36:48.589Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-23T01:36:49.543Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T01:36:49.876Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-08-23T01:36:49.876Z] + cut -d, -f6 [Pipeline] lock [2023-08-23T01:36:49.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [2023-08-23T01:36:49.960Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] did not exist. Created. [2023-08-23T01:36:49.960Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T01:36:50.691Z] /w/workspace/device-usb-camera/1@tmp/durable-fcc46075/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-23T01:36:51.355Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-23T01:36:51.394Z] Warning: overwriting stash ‘stack-cost’ [2023-08-23T01:36:51.443Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T01:36:51.458Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T01:36:51.530Z] $ docker stop --time=1 83f79c52ae858445f9156d43cd9f060f2f337de5ff6cbb97b70a4fbeb7093850 [2023-08-23T01:36:52.993Z] $ docker rm -f --volumes 83f79c52ae858445f9156d43cd9f060f2f337de5ff6cbb97b70a4fbeb7093850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-23T01:36:53.974Z] provisioning config files... [2023-08-23T01:36:53.982Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config5492639591903874024tmp [Pipeline] { [Pipeline] sh [2023-08-23T01:36:54.308Z] + set +x [2023-08-23T01:36:54.308Z] + curl -s https://codecov.io/bash [2023-08-23T01:36:54.308Z] + bash -s -- [2023-08-23T01:36:54.308Z] [2023-08-23T01:36:54.308Z] _____ _ [2023-08-23T01:36:54.308Z] / ____| | | [2023-08-23T01:36:54.308Z] | | ___ __| | ___ ___ _____ __ [2023-08-23T01:36:54.308Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-23T01:36:54.309Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-23T01:36:54.309Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-23T01:36:54.309Z] Bash-1.0.6 [2023-08-23T01:36:54.309Z] [2023-08-23T01:36:54.309Z] [2023-08-23T01:36:54.309Z] ==> git version 2.25.1 found [2023-08-23T01:36:54.309Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-23T01:36:54.309Z] Release-Date: 2020-01-08 [2023-08-23T01:36:54.309Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-23T01:36:54.309Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-23T01:36:54.309Z] ==> Jenkins CI detected. [2023-08-23T01:36:54.309Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-271 [2023-08-23T01:36:54.309Z] project root: . [2023-08-23T01:36:54.309Z] --> token set from env [2023-08-23T01:36:54.309Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-23T01:36:54.309Z] ==> Running gcov in . (disable via -X gcov) [2023-08-23T01:36:54.309Z] ==> Python coveragepy not found [2023-08-23T01:36:54.309Z] ==> Searching for coverage reports in: [2023-08-23T01:36:54.309Z] + . [2023-08-23T01:36:54.309Z] -> Found 1 reports [2023-08-23T01:36:54.309Z] ==> Detecting git/mercurial file structure [2023-08-23T01:36:54.309Z] ==> Reading reports [2023-08-23T01:36:54.309Z] + ./coverage.out bytes=53939 [2023-08-23T01:36:54.568Z] ==> Appending adjustments [2023-08-23T01:36:54.568Z] https://docs.codecov.io/docs/fixing-reports [2023-08-23T01:36:54.568Z] + Found adjustments [2023-08-23T01:36:54.568Z] ==> Gzipping contents [2023-08-23T01:36:54.568Z] 8.0K /tmp/codecov.ClXJVH.gz [2023-08-23T01:36:54.568Z] ==> Uploading reports [2023-08-23T01:36:54.568Z] url: https://codecov.io [2023-08-23T01:36:54.568Z] query: branch=PR-271&commit=02f39ede7208f2d87b8bcee4216eb06da9a536ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-08-23T01:36:54.568Z] -> Pinging Codecov [2023-08-23T01:36:54.568Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-271&commit=02f39ede7208f2d87b8bcee4216eb06da9a536ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=271&job=&cmd_args= [2023-08-23T01:36:54.827Z] -> Uploading to [2023-08-23T01:36:54.827Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-23/73D8F5FF140700D3E01443B452E23636/02f39ede7208f2d87b8bcee4216eb06da9a536ce/d66c0db2-4b45-4acd-9f33-65407e59c348.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230823T013654Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f227b9b4a7a9e73bd28da7ed08eab484981de1a8bb5235e9f6433f6cc7251dd [2023-08-23T01:36:54.827Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T01:36:54.827Z] Dload Upload Total Spent Left Speed [2023-08-23T01:36:55.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6891 0 0 100 6891 0 33614 --:--:-- --:--:-- --:--:-- 33614 [2023-08-23T01:36:55.087Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/02f39ede7208f2d87b8bcee4216eb06da9a536ce [Pipeline] } [2023-08-23T01:36:55.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-23T01:36:56.853Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-271/archives ] [2023-08-23T01:36:56.853Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-23T01:36:56.853Z] total 16 [2023-08-23T01:36:56.853Z] drwxr-xr-x 3 root root 4096 Aug 23 01:28 . [2023-08-23T01:36:56.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 01:28 .. [2023-08-23T01:36:56.853Z] drwxr-xr-x 2 root root 4096 Aug 23 01:28 cost [2023-08-23T01:36:56.853Z] -rw-r--r-- 1 root root 89 Aug 23 01:28 cost.csv [2023-08-23T01:36:56.853Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-23T01:36:56.853Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-271/archives [2023-08-23T01:36:56.853Z] total 16 [2023-08-23T01:36:56.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 01:28 . [2023-08-23T01:36:56.853Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 01:28 .. [2023-08-23T01:36:56.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 01:28 cost [2023-08-23T01:36:56.853Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 23 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:36:57.177Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:36:58.063Z] ---> package-listing.sh [2023-08-23T01:36:58.063Z] ++ facter osfamily [2023-08-23T01:36:58.063Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-23T01:36:58.324Z] + OS_FAMILY=debian [2023-08-23T01:36:58.324Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-271 [2023-08-23T01:36:58.324Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-23T01:36:58.324Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-23T01:36:58.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-23T01:36:58.324Z] + PACKAGES=/tmp/packages_start.txt [2023-08-23T01:36:58.324Z] + '[' /w/workspace/foundry_device-usb-camera_PR-271 ']' [2023-08-23T01:36:58.324Z] + PACKAGES=/tmp/packages_end.txt [2023-08-23T01:36:58.324Z] + case "${OS_FAMILY}" in [2023-08-23T01:36:58.324Z] + dpkg -l [2023-08-23T01:36:58.324Z] + grep '^ii' [2023-08-23T01:36:58.324Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-23T01:36:58.324Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-23T01:36:58.324Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-23T01:36:58.324Z] + '[' /w/workspace/foundry_device-usb-camera_PR-271 ']' [2023-08-23T01:36:58.324Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-271/archives/ [2023-08-23T01:36:58.324Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-271/archives/ [Pipeline] echo [2023-08-23T01:36:58.358Z] 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-23T01:36:58.649Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T01:36:59.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T01:36:59.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T01:36:59.423Z] prd-ubuntu20.04-docker-8c-8g-4331 does not seem to be running inside a container [2023-08-23T01:36:59.447Z] $ 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-271/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-271 -v /w/workspace/foundry_device-usb-camera_PR-271:/w/workspace/foundry_device-usb-camera_PR-271:rw,z -v /w/workspace/foundry_device-usb-camera_PR-271@tmp:/w/workspace/foundry_device-usb-camera_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-23T01:37:00.283Z] $ docker top 0f605b4575b38421b09bbee749a63c335751768f31cfb20d8c96ccb81c4faaf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T01:37:00.689Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-23T01:37:00.997Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-23T01:37:01.358Z] + ls /var/log/sa-host [2023-08-23T01:37:01.358Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T01:37:01.574Z] provisioning config files... [2023-08-23T01:37:01.582Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-271@tmp/config15520753795661847129tmp [Pipeline] { [Pipeline] echo [2023-08-23T01:37:01.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:37:01.949Z] ---> create-netrc.sh [Pipeline] } [2023-08-23T01:37:01.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:37:02.392Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-23T01:37:02.424Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:37:02.730Z] ---> sudo-logs.sh [2023-08-23T01:37:02.730Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-23T01:37:02.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:37:03.136Z] ---> job-cost.sh [2023-08-23T01:37:03.137Z] lf-activate-venv: SKIPPING [2023-08-23T01:37:03.137Z] DEBUG: total: 0.2199999988079071 [2023-08-23T01:37:03.137Z] INFO: Retrieving Stack Cost... [2023-08-23T01:37:03.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T01:37:04.042Z] INFO: Archiving Costs [Pipeline] echo [2023-08-23T01:37:04.082Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T01:37:04.406Z] ---> logs-deploy.sh [2023-08-23T01:37:04.406Z] lf-activate-venv: SKIPPING [2023-08-23T01:37:04.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-271/1 [2023-08-23T01:37:04.407Z] INFO: archiving workspace using pattern(s): [2023-08-23T01:37:05.342Z] Archives upload complete. [2023-08-23T01:37:05.342Z] INFO: archiving logs to Nexus