Pull request #282 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3eb6799542c82009f5d38543cb65ea9726f93cfb+626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 (0f5125767c0107cb363764968e4729b641521cdf) 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-ssh5317448267322498558.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-ssh15536072921584326656.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-282/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-282/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17219333020461780388.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-282/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14910928246621009552.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-ssh7156375727605720820.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-282/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-282/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8157566987111169104.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5471 in /w/workspace/foundry_device-usb-camera_PR-282 [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-282 # 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/282/head:refs/remotes/origin/PR-282 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 into PR head commit 3eb6799542c82009f5d38543cb65ea9726f93cfb Merge succeeded, producing 3eb6799542c82009f5d38543cb65ea9726f93cfb Checking out Revision 3eb6799542c82009f5d38543cb65ea9726f93cfb (PR-282) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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-09-06T17:37:06.283Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 3eb6799542c82009f5d38543cb65ea9726f93cfb # 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 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3eb6799542c82009f5d38543cb65ea9726f93cfb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T17:37:06.472Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T17:37:06.564Z] ========================================================= [2023-09-06T17:37:06.564Z] EdgeX Global Pipelines Version Info [2023-09-06T17:37:06.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:37:07.298Z] ------------------- [2023-09-06T17:37:07.298Z] stable info: [2023-09-06T17:37:07.298Z] ------------------- [2023-09-06T17:37:07.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T17:37:07.298Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T17:37:07.298Z] Message: update stable to v1.0.253 [2023-09-06T17:37:08.240Z] ------------------- [2023-09-06T17:37:08.240Z] experimental info: [2023-09-06T17:37:08.240Z] ------------------- [2023-09-06T17:37:08.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T17:37:08.240Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T17:37:08.240Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T17:37:08.524Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-09-06T17:37:08.568Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-09-06T17:37:08.611Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T17:37:08.646Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T17:37:08.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T17:37:08.735Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T17:37:08.779Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T17:37:08.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-06T17:37:08.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T17:37:08.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T17:37:08.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T17:37:09.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-09-06T17:37:09.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T17:37:09.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T17:37:09.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T17:37:09.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T17:37:09.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T17:37:09.274Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T17:37:09.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T17:37:09.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T17:37:09.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-06T17:37:09.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-06T17:37:09.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T17:37:09.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T17:37:09.579Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T17:37:09.624Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T17:37:09.666Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T17:37:09.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-282 [Pipeline] echo [2023-09-06T17:37:09.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-282 [Pipeline] echo [2023-09-06T17:37:09.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-282 [Pipeline] echo [2023-09-06T17:37:09.844Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3eb6799542c82009f5d38543cb65ea9726f93cfb [Pipeline] echo [2023-09-06T17:37:09.886Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3eb6799 [Pipeline] echo [2023-09-06T17:37:09.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T17:37:10.053Z] provisioning config files... [2023-09-06T17:37:10.068Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-282@tmp/config10664414530272858452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:37:10.415Z] ---> docker-login.sh [2023-09-06T17:37:10.415Z] nexus3.edgexfoundry.org:10001 [2023-09-06T17:37:10.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:10.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:10.677Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:10.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:10.677Z] [2023-09-06T17:37:10.677Z] Login Succeeded [2023-09-06T17:37:10.677Z] nexus3.edgexfoundry.org:10002 [2023-09-06T17:37:10.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:10.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:10.938Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:10.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:10.938Z] [2023-09-06T17:37:10.938Z] Login Succeeded [2023-09-06T17:37:10.938Z] nexus3.edgexfoundry.org:10003 [2023-09-06T17:37:10.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:10.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:10.938Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:10.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:10.938Z] [2023-09-06T17:37:10.938Z] Login Succeeded [2023-09-06T17:37:10.938Z] nexus3.edgexfoundry.org:10004 [2023-09-06T17:37:11.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:11.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:11.201Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:11.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:11.201Z] [2023-09-06T17:37:11.201Z] Login Succeeded [2023-09-06T17:37:11.201Z] docker.io [2023-09-06T17:37:11.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:11.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:11.461Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:11.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:11.461Z] [2023-09-06T17:37:11.461Z] Login Succeeded [2023-09-06T17:37:11.461Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T17:37:11.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T17:37:12.116Z] + git rev-list -1 --merges 3eb6799542c82009f5d38543cb65ea9726f93cfb~1..3eb6799542c82009f5d38543cb65ea9726f93cfb [Pipeline] echo [2023-09-06T17:37:12.180Z] -----------> git rev-list -1 --merges 3eb6799542c82009f5d38543cb65ea9726f93cfb~1..3eb6799542c82009f5d38543cb65ea9726f93cfb 3eb6799542c82009f5d38543cb65ea9726f93cfb [false] [Pipeline] sh [2023-09-06T17:37:12.495Z] + git log --format=format:%s -1 3eb6799542c82009f5d38543cb65ea9726f93cfb [Pipeline] echo [2023-09-06T17:37:12.527Z] ========================================================= [2023-09-06T17:37:12.527Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T17:37:12.527Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T17:37:12.952Z] + git log --format=format:%s -1 3eb6799542c82009f5d38543cb65ea9726f93cfb [Pipeline] echo [2023-09-06T17:37:12.987Z] [semverPrep] GIT_COMMIT: 3eb6799542c82009f5d38543cb65ea9726f93cfb, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-06T17:37:13.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T17:37:13.408Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T17:37:13.408Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T17:37:13.408Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T17:37:13.408Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T17:37:13.408Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T17:37:13.408Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T17:37:13.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:37:13.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T17:37:13.884Z] [2023-09-06T17:37:13.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:37:14.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T17:37:14.262Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T17:37:14.262Z] b85a868b505f: Pulling fs layer [2023-09-06T17:37:14.262Z] e2be974225ed: Pulling fs layer [2023-09-06T17:37:14.262Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T17:37:14.262Z] 988bab9f4d93: Pulling fs layer [2023-09-06T17:37:14.262Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T17:37:14.262Z] eaf3925da568: Pulling fs layer [2023-09-06T17:37:14.262Z] bab4dde63d76: Pulling fs layer [2023-09-06T17:37:14.262Z] bde34c3a00c8: Pulling fs layer [2023-09-06T17:37:14.262Z] b352a97aabf1: Pulling fs layer [2023-09-06T17:37:14.262Z] 4872d77fe225: Pulling fs layer [2023-09-06T17:37:14.262Z] 5851b861e8e6: Pulling fs layer [2023-09-06T17:37:14.262Z] 988bab9f4d93: Waiting [2023-09-06T17:37:14.262Z] 1469e6f7b9e6: Waiting [2023-09-06T17:37:14.262Z] eaf3925da568: Waiting [2023-09-06T17:37:14.262Z] bab4dde63d76: Waiting [2023-09-06T17:37:14.262Z] 4872d77fe225: Waiting [2023-09-06T17:37:14.262Z] b352a97aabf1: Waiting [2023-09-06T17:37:14.262Z] bde34c3a00c8: Waiting [2023-09-06T17:37:14.262Z] 5851b861e8e6: Waiting [2023-09-06T17:37:14.262Z] e2be974225ed: Download complete [2023-09-06T17:37:14.262Z] 988bab9f4d93: Verifying Checksum [2023-09-06T17:37:14.262Z] 988bab9f4d93: Download complete [2023-09-06T17:37:14.523Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T17:37:14.523Z] 339a4e72a1f5: Download complete [2023-09-06T17:37:14.523Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T17:37:14.523Z] 1469e6f7b9e6: Download complete [2023-09-06T17:37:14.523Z] eaf3925da568: Verifying Checksum [2023-09-06T17:37:14.523Z] eaf3925da568: Download complete [2023-09-06T17:37:14.523Z] bde34c3a00c8: Verifying Checksum [2023-09-06T17:37:14.523Z] bde34c3a00c8: Download complete [2023-09-06T17:37:14.523Z] b352a97aabf1: Verifying Checksum [2023-09-06T17:37:14.523Z] b352a97aabf1: Download complete [2023-09-06T17:37:14.523Z] 4872d77fe225: Verifying Checksum [2023-09-06T17:37:14.523Z] 4872d77fe225: Download complete [2023-09-06T17:37:14.523Z] 5851b861e8e6: Verifying Checksum [2023-09-06T17:37:14.523Z] 5851b861e8e6: Download complete [2023-09-06T17:37:14.523Z] b85a868b505f: Verifying Checksum [2023-09-06T17:37:14.523Z] b85a868b505f: Download complete [2023-09-06T17:37:14.783Z] bab4dde63d76: Verifying Checksum [2023-09-06T17:37:14.783Z] bab4dde63d76: Download complete [2023-09-06T17:37:15.717Z] b85a868b505f: Pull complete [2023-09-06T17:37:15.977Z] e2be974225ed: Pull complete [2023-09-06T17:37:16.547Z] 339a4e72a1f5: Pull complete [2023-09-06T17:37:16.547Z] 988bab9f4d93: Pull complete [2023-09-06T17:37:16.806Z] 1469e6f7b9e6: Pull complete [2023-09-06T17:37:16.806Z] eaf3925da568: Pull complete [2023-09-06T17:37:18.720Z] bab4dde63d76: Pull complete [2023-09-06T17:37:18.720Z] bde34c3a00c8: Pull complete [2023-09-06T17:37:18.980Z] b352a97aabf1: Pull complete [2023-09-06T17:37:18.980Z] 4872d77fe225: Pull complete [2023-09-06T17:37:18.980Z] 5851b861e8e6: Pull complete [2023-09-06T17:37:18.980Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T17:37:18.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T17:37:18.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:37:19.231Z] prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container [2023-09-06T17:37:19.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-282 -v /w/workspace/foundry_device-usb-camera_PR-282:/w/workspace/foundry_device-usb-camera_PR-282:rw,z -v /w/workspace/foundry_device-usb-camera_PR-282@tmp:/w/workspace/foundry_device-usb-camera_PR-282@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-09-06T17:37:22.177Z] $ docker top 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 -eo pid,comm [2023-09-06T17:37:22.240Z] 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-09-06T17:37:22.241Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T17:37:22.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T17:37:22.369Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T17:37:22.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T17:37:22.495Z] $ docker exec 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 ssh-agent [2023-09-06T17:37:22.605Z] SSH_AUTH_SOCK=/tmp/ssh-IDvJnxZPEbAn/agent.32 [2023-09-06T17:37:22.605Z] SSH_AGENT_PID=38 [2023-09-06T17:37:22.612Z] Running ssh-add (command line suppressed) [2023-09-06T17:37:22.723Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-282@tmp/private_key_4680162455162481878.key (/w/workspace/foundry_device-usb-camera_PR-282@tmp/private_key_4680162455162481878.key) [2023-09-06T17:37:22.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T17:37:23.071Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T17:37:23.100Z] $ docker exec --env ******** --env ******** 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 ssh-agent -k [2023-09-06T17:37:23.203Z] unset SSH_AUTH_SOCK; [2023-09-06T17:37:23.204Z] unset SSH_AGENT_PID; [2023-09-06T17:37:23.205Z] echo Agent pid 38 killed; [2023-09-06T17:37:23.212Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T17:37:23.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T17:37:23.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T17:37:23.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T17:37:23.431Z] $ docker exec 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 ssh-agent [2023-09-06T17:37:23.546Z] SSH_AUTH_SOCK=/tmp/ssh-VoHTF6Uo81zq/agent.70 [2023-09-06T17:37:23.546Z] SSH_AGENT_PID=76 [2023-09-06T17:37:23.551Z] Running ssh-add (command line suppressed) [2023-09-06T17:37:23.648Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-282@tmp/private_key_11565265290994827761.key (/w/workspace/foundry_device-usb-camera_PR-282@tmp/private_key_11565265290994827761.key) [2023-09-06T17:37:23.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T17:37:23.998Z] + git semver init [2023-09-06T17:37:24.258Z] 2023-09-06 17:37:24,189 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T17:37:24.258Z] 2023-09-06 17:37:24,189 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-282/.semver [2023-09-06T17:37:24.258Z] 2023-09-06 17:37:24,190 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-282/.semver [2023-09-06T17:37:24.258Z] 2023-09-06 17:37:24,190 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-282/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-282, universal_newlines=False, shell=None, istream=None) [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,877 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-282/.git/info/exclude [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,878 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-282/.semver/PR-282 with force:False [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,878 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-282/.semver/PR-282 [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,882 [execute] INFO git cat-file --batch-check [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-282/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,888 [execute] INFO git cat-file --batch [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-282/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T17:37:25.197Z] 2023-09-06 17:37:24,892 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-282/.semver/PR-282 [2023-09-06T17:37:25.197Z] 0.0.0 [Pipeline] } [2023-09-06T17:37:25.225Z] $ docker exec --env ******** --env ******** 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 ssh-agent -k [2023-09-06T17:37:25.327Z] unset SSH_AUTH_SOCK; [2023-09-06T17:37:25.327Z] unset SSH_AGENT_PID; [2023-09-06T17:37:25.327Z] echo Agent pid 76 killed; [2023-09-06T17:37:25.337Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T17:37:25.763Z] + git semver [Pipeline] } [2023-09-06T17:37:26.048Z] $ docker stop --time=1 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 [2023-09-06T17:37:27.357Z] $ docker rm -f --volumes 10623c6f4ca9175d5a2d4e17e5970a822478beb69467d45fbac7890efaedf911 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T17:37:27.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T17:37:28.035Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T17:37:28.052Z] [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-09-06T17:37:28.684Z] provisioning config files... [2023-09-06T17:37:28.696Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-282@tmp/config2625766836729464395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:37:29.050Z] ---> docker-login.sh [2023-09-06T17:37:29.050Z] nexus3.edgexfoundry.org:10001 [2023-09-06T17:37:29.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:29.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:29.050Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:29.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:29.050Z] [2023-09-06T17:37:29.050Z] Login Succeeded [2023-09-06T17:37:29.050Z] nexus3.edgexfoundry.org:10002 [2023-09-06T17:37:29.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:29.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:29.050Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:29.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:29.050Z] [2023-09-06T17:37:29.050Z] Login Succeeded [2023-09-06T17:37:29.050Z] nexus3.edgexfoundry.org:10003 [2023-09-06T17:37:29.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:29.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:29.311Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:29.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:29.311Z] [2023-09-06T17:37:29.311Z] Login Succeeded [2023-09-06T17:37:29.311Z] nexus3.edgexfoundry.org:10004 [2023-09-06T17:37:29.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:29.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:29.572Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:29.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:29.572Z] [2023-09-06T17:37:29.572Z] Login Succeeded [2023-09-06T17:37:29.572Z] docker.io [2023-09-06T17:37:29.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:37:29.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:37:29.832Z] Configure a credential helper to remove this warning. See [2023-09-06T17:37:29.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:37:29.832Z] [2023-09-06T17:37:29.832Z] Login Succeeded [2023-09-06T17:37:29.832Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T17:37:29.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T17:37:30.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T17:37:30.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T17:37:30.166Z] ========================================================= [2023-09-06T17:37:30.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T17:37:30.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:37:30.665Z] + 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-09-06T17:37:30.665Z] Sending build context to Docker daemon 2.169MB [2023-09-06T17:37:30.665Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T17:37:30.665Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-06T17:37:30.665Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T17:37:30.665Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T17:37:30.665Z] 6911f1a30b25: Pulling fs layer [2023-09-06T17:37:30.665Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T17:37:30.665Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T17:37:30.665Z] ec0bb842ea78: Pulling fs layer [2023-09-06T17:37:30.665Z] 40a00589a448: Pulling fs layer [2023-09-06T17:37:30.665Z] 6c08303d61cc: Pulling fs layer [2023-09-06T17:37:30.665Z] 798269fcf238: Pulling fs layer [2023-09-06T17:37:30.665Z] 798269fcf238: Waiting [2023-09-06T17:37:30.665Z] 6c08303d61cc: Waiting [2023-09-06T17:37:30.665Z] ec0bb842ea78: Waiting [2023-09-06T17:37:30.665Z] 40a00589a448: Waiting [2023-09-06T17:37:30.665Z] 6863d3e3a2b1: Waiting [2023-09-06T17:37:30.665Z] 6911f1a30b25: Verifying Checksum [2023-09-06T17:37:30.665Z] 6911f1a30b25: Download complete [2023-09-06T17:37:30.665Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T17:37:30.665Z] 6863d3e3a2b1: Download complete [2023-09-06T17:37:30.665Z] 4db1b89c0bd1: Verifying Checksum [2023-09-06T17:37:30.665Z] 4db1b89c0bd1: Download complete [2023-09-06T17:37:30.665Z] ec0bb842ea78: Verifying Checksum [2023-09-06T17:37:30.665Z] ec0bb842ea78: Download complete [2023-09-06T17:37:30.931Z] 40a00589a448: Verifying Checksum [2023-09-06T17:37:30.931Z] 40a00589a448: Download complete [2023-09-06T17:37:30.931Z] 4db1b89c0bd1: Pull complete [2023-09-06T17:37:31.244Z] 6911f1a30b25: Pull complete [2023-09-06T17:37:31.504Z] 798269fcf238: Verifying Checksum [2023-09-06T17:37:31.763Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T17:37:31.763Z] e194b8c5c2a9: Download complete [2023-09-06T17:37:31.763Z] 6c08303d61cc: Verifying Checksum [2023-09-06T17:37:31.763Z] 6c08303d61cc: Download complete [2023-09-06T17:37:35.052Z] e194b8c5c2a9: Pull complete [2023-09-06T17:37:35.052Z] 6863d3e3a2b1: Pull complete [2023-09-06T17:37:35.311Z] ec0bb842ea78: Pull complete [2023-09-06T17:37:35.311Z] 40a00589a448: Pull complete [2023-09-06T17:37:37.841Z] 6c08303d61cc: Pull complete [2023-09-06T17:37:38.786Z] 798269fcf238: Pull complete [2023-09-06T17:37:38.786Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T17:37:38.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T17:37:38.786Z] ---> ec979cd7f677 [2023-09-06T17:37:38.786Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-06T17:37:43.505Z] Still waiting to schedule task [2023-09-06T17:37:43.505Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-06T17:37:47.007Z] ---> Running in 273866b5dde8 [2023-09-06T17:37:47.007Z] Removing intermediate container 273866b5dde8 [2023-09-06T17:37:47.007Z] ---> d661043d33f8 [2023-09-06T17:37:47.007Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T17:37:47.007Z] ---> Running in 37b6e48b3a16 [2023-09-06T17:37:47.007Z] Removing intermediate container 37b6e48b3a16 [2023-09-06T17:37:47.007Z] ---> 71c2f5652666 [2023-09-06T17:37:47.007Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T17:37:47.007Z] ---> Running in 6a89feebb654 [2023-09-06T17:37:47.007Z] Removing intermediate container 6a89feebb654 [2023-09-06T17:37:47.007Z] ---> 0a9ea4034f1e [2023-09-06T17:37:47.007Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T17:37:47.007Z] ---> Running in 239fab0c2bbb [2023-09-06T17:37:47.007Z] Removing intermediate container 239fab0c2bbb [2023-09-06T17:37:47.007Z] ---> 687177434ac9 [2023-09-06T17:37:47.007Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T17:37:47.007Z] ---> Running in baf2a4d165a8 [2023-09-06T17:37:47.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T17:37:47.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T17:37:47.007Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-06T17:37:47.007Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-06T17:37:47.007Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T17:37:47.007Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T17:37:47.007Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-06T17:37:47.007Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-06T17:37:47.007Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-06T17:37:47.007Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-06T17:37:47.008Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-06T17:37:47.008Z] (10/14) Installing kmod-libs (30-r1) [2023-09-06T17:37:47.008Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-06T17:37:47.267Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-06T17:37:47.267Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-06T17:37:47.267Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-06T17:37:47.267Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T17:37:47.267Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T17:37:47.267Z] OK: 272 MiB in 67 packages [2023-09-06T17:37:47.834Z] Removing intermediate container baf2a4d165a8 [2023-09-06T17:37:47.834Z] ---> d5909a43e6a0 [2023-09-06T17:37:47.834Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-06T17:37:47.834Z] ---> Running in 3cd709657489 [2023-09-06T17:37:48.091Z] Removing intermediate container 3cd709657489 [2023-09-06T17:37:48.091Z] ---> 00f1b108f92b [2023-09-06T17:37:48.091Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-06T17:37:48.091Z] ---> 143fb63e916d [2023-09-06T17:37:48.091Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T17:37:48.091Z] ---> Running in b5789d6111cb [2023-09-06T17:38:26.838Z] Removing intermediate container b5789d6111cb [2023-09-06T17:38:26.838Z] ---> ffba8d0da5f1 [2023-09-06T17:38:26.838Z] Step 11/13 : COPY . . [2023-09-06T17:38:26.838Z] ---> 9405d0a4ab74 [2023-09-06T17:38:26.838Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T17:38:26.838Z] ---> Running in 9c827ff7f1b7 [2023-09-06T17:38:26.838Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:38:26.838Z] Dload Upload Total Spent Left Speed [2023-09-06T17:38:26.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 10091 0 --:--:-- --:--:-- --:--:-- 10186 [2023-09-06T17:38:26.838Z] Removing intermediate container 9c827ff7f1b7 [2023-09-06T17:38:26.838Z] ---> 685ee2689e42 [2023-09-06T17:38:26.838Z] Step 13/13 : RUN ${MAKE} [2023-09-06T17:38:26.838Z] ---> Running in 80217f824050 [2023-09-06T17:38:26.838Z] noop [2023-09-06T17:38:26.838Z] Removing intermediate container 80217f824050 [2023-09-06T17:38:26.838Z] ---> a48e7b2366ca [2023-09-06T17:38:26.838Z] Successfully built a48e7b2366ca [2023-09-06T17:38:26.838Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:38:27.290Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T17:38:27.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:38:27.446Z] prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container [2023-09-06T17:38:27.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-282 -v /w/workspace/foundry_device-usb-camera_PR-282:/w/workspace/foundry_device-usb-camera_PR-282:rw,z -v /w/workspace/foundry_device-usb-camera_PR-282@tmp:/w/workspace/foundry_device-usb-camera_PR-282@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-09-06T17:38:27.850Z] $ docker top b5be3b23c99e51c2a235592cdf0d2ff89919ded89a4216ac2a97560c24ce5af8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T17:38:28.260Z] + go version [2023-09-06T17:38:28.260Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T17:38:28.293Z] $ docker stop --time=1 b5be3b23c99e51c2a235592cdf0d2ff89919ded89a4216ac2a97560c24ce5af8 [2023-09-06T17:38:29.583Z] $ docker rm -f --volumes b5be3b23c99e51c2a235592cdf0d2ff89919ded89a4216ac2a97560c24ce5af8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:38:30.312Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T17:38:30.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:38:30.466Z] prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container [2023-09-06T17:38:30.500Z] $ 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-282 -v /w/workspace/foundry_device-usb-camera_PR-282:/w/workspace/foundry_device-usb-camera_PR-282:rw,z -v /w/workspace/foundry_device-usb-camera_PR-282@tmp:/w/workspace/foundry_device-usb-camera_PR-282@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-09-06T17:38:30.858Z] $ docker top a5e9a89157b933bc5a79e1a97f2ad6e8ad4149ca8d5ff9c92f7ac5a9bea9dfb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T17:38:31.268Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-282 [Pipeline] fileExists [Pipeline] sh [2023-09-06T17:38:31.637Z] + make test [2023-09-06T17:38:31.637Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T17:38:36.903Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-06T17:38:49.151Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-06T17:38:49.151Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.022s coverage: 4.4% of statements [2023-09-06T17:38:57.340Z] go vet ./... [2023-09-06T17:39:01.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T17:39:01.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T17:39:01.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T17:39:01.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T17:39:01.609Z] $ docker stop --time=1 a5e9a89157b933bc5a79e1a97f2ad6e8ad4149ca8d5ff9c92f7ac5a9bea9dfb6 [2023-09-06T17:39:05.386Z] $ docker rm -f --volumes a5e9a89157b933bc5a79e1a97f2ad6e8ad4149ca8d5ff9c92f7ac5a9bea9dfb6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T17:39:05.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T17:39:06.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-06T17:39:06.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T17:39:06.999Z] + ls -al . [2023-09-06T17:39:06.999Z] total 220 [2023-09-06T17:39:06.999Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 17:38 . [2023-09-06T17:39:06.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 17:37 .. [2023-09-06T17:39:06.999Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 17:37 .git [2023-09-06T17:39:06.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:37 .github [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 6 17:37 .gitignore [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 6 17:37 .golangci.yml [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 6 17:37 .hadolint.yml [2023-09-06T17:39:06.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 17:37 .semver [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 6 17:37 Attribution.txt [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 6 17:37 CHANGELOG.md [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 6 17:37 Dockerfile [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 6 17:37 GOVERNANCE.md [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 6 17:37 Jenkinsfile [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 17:37 LICENSE [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 6 17:37 Makefile [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 17:37 OWNERS.md [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 6 17:37 README.md [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 17:37 VERSION [2023-09-06T17:39:06.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 17:37 bin [2023-09-06T17:39:06.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:37 cmd [2023-09-06T17:39:06.999Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 6 17:38 coverage.out [2023-09-06T17:39:06.999Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 6 17:37 docker-entrypoint.sh [2023-09-06T17:39:06.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 17:37 docs [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 6 17:37 go.mod [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 6 17:37 go.sum [2023-09-06T17:39:06.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:37 internal [2023-09-06T17:39:06.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 17:37 snap [2023-09-06T17:39:06.999Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 6 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:39:07.385Z] + 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=3eb6799542c82009f5d38543cb65ea9726f93cfb --label arch=amd64 --label version=0.0.0 . [2023-09-06T17:39:07.385Z] Sending build context to Docker daemon 2.224MB [2023-09-06T17:39:07.385Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T17:39:07.385Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-06T17:39:07.385Z] ---> a48e7b2366ca [2023-09-06T17:39:07.385Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-06T17:39:07.385Z] ---> Running in b9bfcf593a8a [2023-09-06T17:39:07.645Z] Removing intermediate container b9bfcf593a8a [2023-09-06T17:39:07.645Z] ---> 554cb3975a39 [2023-09-06T17:39:07.645Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T17:39:07.645Z] ---> Running in 4ff065aa0404 [2023-09-06T17:39:07.645Z] Removing intermediate container 4ff065aa0404 [2023-09-06T17:39:07.645Z] ---> 37195beaab86 [2023-09-06T17:39:07.645Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T17:39:07.645Z] ---> Running in 6ee4ca95b433 [2023-09-06T17:39:07.645Z] Removing intermediate container 6ee4ca95b433 [2023-09-06T17:39:07.645Z] ---> 108851c60bdd [2023-09-06T17:39:07.645Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T17:39:07.645Z] ---> Running in 9421ca8802f9 [2023-09-06T17:39:07.904Z] Removing intermediate container 9421ca8802f9 [2023-09-06T17:39:07.904Z] ---> 6ff768c53b26 [2023-09-06T17:39:07.904Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T17:39:07.904Z] ---> Running in 835623391df0 [2023-09-06T17:39:08.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T17:39:08.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T17:39:08.681Z] OK: 272 MiB in 67 packages [2023-09-06T17:39:08.942Z] Removing intermediate container 835623391df0 [2023-09-06T17:39:08.942Z] ---> 64f3ad340ac6 [2023-09-06T17:39:08.942Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-06T17:39:08.942Z] ---> Running in 24f6ac8b84b6 [2023-09-06T17:39:08.942Z] Removing intermediate container 24f6ac8b84b6 [2023-09-06T17:39:08.943Z] ---> 9b31012a7766 [2023-09-06T17:39:08.943Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-06T17:39:09.201Z] ---> 94cac7c22587 [2023-09-06T17:39:09.201Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T17:39:09.201Z] ---> Running in 3eda4879a6d3 [2023-09-06T17:39:10.136Z] Removing intermediate container 3eda4879a6d3 [2023-09-06T17:39:10.136Z] ---> d7bc2933d2f7 [2023-09-06T17:39:10.136Z] Step 11/36 : COPY . . [2023-09-06T17:39:10.394Z] ---> fb800d76d408 [2023-09-06T17:39:10.394Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T17:39:10.394Z] ---> Running in 4ec9f9c1731c [2023-09-06T17:39:10.656Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:39:10.656Z] Dload Upload Total Spent Left Speed [2023-09-06T17:39:10.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 25813 0 --:--:-- --:--:-- --:--:-- 26104 [2023-09-06T17:39:10.915Z] Removing intermediate container 4ec9f9c1731c [2023-09-06T17:39:10.915Z] ---> 3492994e2d51 [2023-09-06T17:39:10.915Z] Step 13/36 : RUN ${MAKE} [2023-09-06T17:39:10.915Z] ---> Running in 703d32b356c9 [2023-09-06T17:39:11.172Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-06T17:39:13.819Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5472 in /w/workspace/foundry_device-usb-camera_PR-282 [Pipeline] { [Pipeline] ws [2023-09-06T17:39:13.881Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-09-06T17:39:13.964Z] Selected Git installation does not exist. Using Default [2023-09-06T17:39:13.964Z] The recommended git tool is: NONE [2023-09-06T17:39:18.828Z] using credential edgex-jenkins-ssh [2023-09-06T17:39:18.850Z] Cloning the remote Git repository [2023-09-06T17:39:18.878Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T17:39:18.979Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-09-06T17:39:19.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T17:39:19.111Z] > git --version # timeout=10 [2023-09-06T17:39:19.135Z] > git --version # 'git version 2.25.1' [2023-09-06T17:39:19.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T17:39:19.304Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T17:39:20.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-06T17:39:20.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T17:39:20.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-06T17:39:20.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T17:39:20.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T17:39:21.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-06T17:39:21.508Z] Merging remotes/origin/main commit 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 into PR head commit 3eb6799542c82009f5d38543cb65ea9726f93cfb [2023-09-06T17:39:21.769Z] Merge succeeded, producing 3eb6799542c82009f5d38543cb65ea9726f93cfb [2023-09-06T17:39:21.769Z] Checking out Revision 3eb6799542c82009f5d38543cb65ea9726f93cfb (PR-282) [2023-09-06T17:39:22.205Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-06T17:39:22.249Z] > git --version # timeout=10 [2023-09-06T17:39:22.265Z] > git --version # 'git version 2.25.1' [2023-09-06T17:39:22.283Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T17:39:21.514Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T17:39:21.583Z] > git checkout -f 3eb6799542c82009f5d38543cb65ea9726f93cfb # timeout=10 [2023-09-06T17:39:21.669Z] > git remote # timeout=10 [2023-09-06T17:39:21.688Z] > git config --get remote.origin.url # timeout=10 [2023-09-06T17:39:21.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T17:39:21.721Z] > git merge 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 [2023-09-06T17:39:21.745Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-06T17:39:21.766Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T17:39:21.779Z] > git checkout -f 3eb6799542c82009f5d38543cb65ea9726f93cfb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T17:39:23.463Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T17:39:23.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:39:23.463Z] Dload Upload Total Spent Left Speed [2023-09-06T17:39:23.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-09-06T17:39:24.151Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T17:39:24.500Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T17:39:24.500Z] + sudo tee /etc/docker/daemon.new [2023-09-06T17:39:24.500Z] { [2023-09-06T17:39:24.500Z] "registry-mirrors": [ [2023-09-06T17:39:24.500Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T17:39:24.500Z] ], [2023-09-06T17:39:24.500Z] "bip": "10.250.0.254/24", [2023-09-06T17:39:24.500Z] "hosts": [ [2023-09-06T17:39:24.500Z] "tcp://0.0.0.0:5555", [2023-09-06T17:39:24.500Z] "unix:///var/run/docker.sock" [2023-09-06T17:39:24.500Z] ], [2023-09-06T17:39:24.500Z] "mtu": 1458, [2023-09-06T17:39:24.500Z] "selinux-enabled": true, [2023-09-06T17:39:24.500Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T17:39:24.500Z] } [Pipeline] sh [2023-09-06T17:39:24.845Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T17:39:25.200Z] + sudo service docker restart [2023-09-06T17:39:37.717Z] Removing intermediate container 703d32b356c9 [2023-09-06T17:39:37.717Z] ---> f1cf8d3a0569 [2023-09-06T17:39:37.717Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-06T17:39:37.717Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-06T17:39:37.717Z] 4acc49c71d14: Pulling fs layer [2023-09-06T17:39:37.717Z] 4acc49c71d14: Verifying Checksum [2023-09-06T17:39:37.717Z] 4acc49c71d14: Download complete [2023-09-06T17:39:37.717Z] 4acc49c71d14: Pull complete [2023-09-06T17:39:37.717Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-06T17:39:37.717Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-06T17:39:37.717Z] ---> 01a2bd3e5fff [2023-09-06T17:39:37.717Z] Step 15/36 : FROM alpine:3.17 [2023-09-06T17:39:37.717Z] 3.17: Pulling from library/alpine [2023-09-06T17:39:37.717Z] 9398808236ff: Pulling fs layer [2023-09-06T17:39:37.717Z] 9398808236ff: Verifying Checksum [2023-09-06T17:39:37.717Z] 9398808236ff: Download complete [2023-09-06T17:39:37.717Z] 9398808236ff: Pull complete [2023-09-06T17:39:37.717Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T17:39:37.717Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T17:39:37.717Z] ---> 1e0b8b5322fc [2023-09-06T17:39:37.717Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-06T17:39:37.717Z] ---> Running in aa653275cb98 [2023-09-06T17:39:37.717Z] Removing intermediate container aa653275cb98 [2023-09-06T17:39:37.717Z] ---> d9b177a09cca [2023-09-06T17:39:37.717Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-06T17:39:37.717Z] ---> Running in e921bf44e78f [2023-09-06T17:39:37.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T17:39:37.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T17:39:37.718Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-09-06T17:39:37.718Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-09-06T17:39:37.718Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-09-06T17:39:37.718Z] (4/86) Installing libxau (1.0.10-r0) [2023-09-06T17:39:37.718Z] (5/86) Installing libmd (1.0.4-r0) [2023-09-06T17:39:37.718Z] (6/86) Installing libbsd (0.11.7-r0) [2023-09-06T17:39:37.718Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-09-06T17:39:37.718Z] (8/86) Installing libxcb (1.15-r0) [2023-09-06T17:39:37.718Z] (9/86) Installing libx11 (1.8.4-r1) [2023-09-06T17:39:37.718Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-09-06T17:39:37.718Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-09-06T17:39:37.718Z] (12/86) Installing libexpat (2.5.0-r0) [2023-09-06T17:39:37.718Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-09-06T17:39:37.718Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-09-06T17:39:37.718Z] (15/86) Installing libpng (1.6.39-r0) [2023-09-06T17:39:37.718Z] (16/86) Installing freetype (2.12.1-r0) [2023-09-06T17:39:37.718Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-09-06T17:39:37.718Z] (18/86) Installing fribidi (1.0.12-r0) [2023-09-06T17:39:37.718Z] (19/86) Installing libffi (3.4.4-r0) [2023-09-06T17:39:37.718Z] (20/86) Installing libintl (0.21.1-r1) [2023-09-06T17:39:37.718Z] (21/86) Installing libblkid (2.38.1-r1) [2023-09-06T17:39:37.718Z] (22/86) Installing libmount (2.38.1-r1) [2023-09-06T17:39:37.718Z] (23/86) Installing pcre2 (10.42-r0) [2023-09-06T17:39:37.718Z] (24/86) Installing glib (2.74.7-r0) [2023-09-06T17:39:37.718Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-09-06T17:39:37.718Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-09-06T17:39:37.718Z] (27/86) Installing libass (0.16.0-r1) [2023-09-06T17:39:37.718Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-09-06T17:39:37.718Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-09-06T17:39:37.718Z] (30/86) Installing libpciaccess (0.17-r0) [2023-09-06T17:39:37.718Z] (31/86) Installing libdrm (2.4.114-r0) [2023-09-06T17:39:37.718Z] (32/86) Installing gmp (6.2.1-r2) [2023-09-06T17:39:37.718Z] (33/86) Installing nettle (3.8.1-r0) [2023-09-06T17:39:37.718Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-09-06T17:39:37.718Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-09-06T17:39:37.718Z] (36/86) Installing libunistring (1.1-r0) [2023-09-06T17:39:37.976Z] (37/86) Installing gnutls (3.7.8-r3) [2023-09-06T17:39:37.976Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-06T17:39:37.976Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-06T17:39:37.976Z] (40/86) Installing lame (3.100-r2) [2023-09-06T17:39:37.976Z] (41/86) Installing opus (1.3.1-r1) [2023-09-06T17:39:37.976Z] (42/86) Installing libasyncns (0.8-r1) [2023-09-06T17:39:37.976Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-09-06T17:39:37.976Z] (44/86) Installing libltdl (2.4.7-r1) [2023-09-06T17:39:37.976Z] (45/86) Installing orc (0.4.33-r0) [2023-09-06T17:39:37.976Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-09-06T17:39:37.976Z] (47/86) Installing libogg (1.3.5-r2) [2023-09-06T17:39:37.976Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-06T17:39:37.976Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-09-06T17:39:37.976Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-09-06T17:39:37.976Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-09-06T17:39:37.976Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-09-06T17:39:37.976Z] (53/86) Installing soxr (0.1.3-r3) [2023-09-06T17:39:37.976Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-09-06T17:39:37.976Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-09-06T17:39:37.976Z] (56/86) Installing libpulse (16.1-r6) [2023-09-06T17:39:37.976Z] (57/86) Installing cjson (1.7.15-r3) [2023-09-06T17:39:37.976Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-09-06T17:39:37.976Z] (59/86) Installing librist (0.2.7-r0) [2023-09-06T17:39:37.976Z] (60/86) Installing libsrt (1.5.1-r0) [2023-09-06T17:39:38.234Z] (61/86) Installing libssh (0.10.5-r0) [2023-09-06T17:39:38.234Z] (62/86) Installing libtheora (1.1.1-r16) [2023-09-06T17:39:38.234Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T17:39:38.234Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T17:39:38.234Z] (65/86) Installing libxext (1.3.5-r0) [2023-09-06T17:39:38.234Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-09-06T17:39:38.234Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-09-06T17:39:38.234Z] (68/86) Installing libva (2.16.0-r0) [2023-09-06T17:39:38.234Z] (69/86) Installing libvdpau (1.5-r0) [2023-09-06T17:39:38.234Z] (70/86) Installing vidstab (1.1.0-r2) [2023-09-06T17:39:38.234Z] (71/86) Installing libvpx (1.12.0-r1) [2023-09-06T17:39:38.234Z] (72/86) Installing libwebp (1.2.4-r2) [2023-09-06T17:39:38.234Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-09-06T17:39:38.234Z] (74/86) Installing numactl (2.0.16-r1) [2023-09-06T17:39:38.234Z] (75/86) Installing x265-libs (3.5-r3) [2023-09-06T17:39:38.493Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-09-06T17:39:38.493Z] (77/86) Installing libsodium (1.0.18-r2) [2023-09-06T17:39:38.493Z] (78/86) Installing libzmq (4.3.4-r1) [2023-09-06T17:39:38.493Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-09-06T17:39:38.493Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-09-06T17:39:38.493Z] (81/86) Installing udev-init-scripts (35-r1) [2023-09-06T17:39:38.493Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-09-06T17:39:38.494Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-09-06T17:39:38.494Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-09-06T17:39:38.494Z] (85/86) Installing kmod-libs (30-r1) [2023-09-06T17:39:38.494Z] (86/86) Installing eudev (3.2.11-r4) [2023-09-06T17:39:38.494Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T17:39:38.494Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T17:39:38.494Z] OK: 112 MiB in 101 packages [2023-09-06T17:39:41.780Z] Removing intermediate container e921bf44e78f [2023-09-06T17:39:41.780Z] ---> 24dd2d0333e1 [2023-09-06T17:39:41.780Z] Step 18/36 : WORKDIR / [2023-09-06T17:39:41.780Z] ---> Running in 7774c6549357 [2023-09-06T17:39:41.780Z] Removing intermediate container 7774c6549357 [2023-09-06T17:39:41.780Z] ---> 98e50a41ae38 [2023-09-06T17:39:41.780Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-06T17:39:42.083Z] ---> d37048d9ce56 [2023-09-06T17:39:42.083Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-06T17:39:42.341Z] ---> 91488116f63a [2023-09-06T17:39:42.341Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-06T17:39:42.341Z] ---> 5026331720bd [2023-09-06T17:39:42.341Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-06T17:39:42.599Z] ---> 814504efa0c6 [2023-09-06T17:39:42.599Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-06T17:39:42.599Z] ---> 3c98867a642c [2023-09-06T17:39:42.599Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-06T17:39:42.858Z] ---> 0e1a3cecc4f1 [2023-09-06T17:39:42.858Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-06T17:39:43.794Z] ---> 96e1d3859bd4 [2023-09-06T17:39:43.794Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-06T17:39:43.794Z] ---> Running in 133954b0905f [2023-09-06T17:39:44.365Z] Removing intermediate container 133954b0905f [2023-09-06T17:39:44.365Z] ---> 91d30b1ae6c5 [2023-09-06T17:39:44.365Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-06T17:39:44.365Z] ---> Running in bcca7dd8eed1 [2023-09-06T17:39:44.942Z] Removing intermediate container bcca7dd8eed1 [2023-09-06T17:39:44.942Z] ---> 0dc238296e98 [2023-09-06T17:39:44.942Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-06T17:39:44.942Z] ---> Running in 77f707224e7f [2023-09-06T17:39:45.508Z] Removing intermediate container 77f707224e7f [2023-09-06T17:39:45.508Z] ---> b478d7f0e535 [2023-09-06T17:39:45.508Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-06T17:39:45.508Z] ---> Running in fc094828658f [2023-09-06T17:39:46.076Z] Removing intermediate container fc094828658f [2023-09-06T17:39:46.076Z] ---> b62e44161e45 [2023-09-06T17:39:46.076Z] Step 30/36 : EXPOSE 59983 [2023-09-06T17:39:46.076Z] ---> Running in e7ef8960d3e5 [2023-09-06T17:39:46.076Z] Removing intermediate container e7ef8960d3e5 [2023-09-06T17:39:46.076Z] ---> 959d5a076e95 [2023-09-06T17:39:46.076Z] Step 31/36 : EXPOSE 8554 [2023-09-06T17:39:46.076Z] ---> Running in 0dced134119c [2023-09-06T17:39:46.335Z] Removing intermediate container 0dced134119c [2023-09-06T17:39:46.335Z] ---> 7783e34126b3 [2023-09-06T17:39:46.335Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-06T17:39:46.335Z] ---> Running in 062df5ca5774 [2023-09-06T17:39:46.335Z] Removing intermediate container 062df5ca5774 [2023-09-06T17:39:46.335Z] ---> 0f4f03b22591 [2023-09-06T17:39:46.335Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-06T17:39:46.335Z] ---> Running in d074f4d9f3f3 [2023-09-06T17:39:46.335Z] Removing intermediate container d074f4d9f3f3 [2023-09-06T17:39:46.335Z] ---> 2f6eeecb5de4 [2023-09-06T17:39:46.335Z] Step 34/36 : LABEL arch=amd64 [2023-09-06T17:39:46.335Z] ---> Running in 784159b5d445 [2023-09-06T17:39:46.594Z] Removing intermediate container 784159b5d445 [2023-09-06T17:39:46.594Z] ---> f958f5de1781 [2023-09-06T17:39:46.594Z] Step 35/36 : LABEL git_sha=3eb6799542c82009f5d38543cb65ea9726f93cfb [2023-09-06T17:39:46.594Z] ---> Running in 2ba77adad19f [2023-09-06T17:39:46.594Z] Removing intermediate container 2ba77adad19f [2023-09-06T17:39:46.594Z] ---> 1f3e61f1a834 [2023-09-06T17:39:46.594Z] Step 36/36 : LABEL version=0.0.0 [2023-09-06T17:39:46.594Z] ---> Running in 6d7bc42c2051 [2023-09-06T17:39:46.594Z] Removing intermediate container 6d7bc42c2051 [2023-09-06T17:39:46.594Z] ---> 06fdeb236a3d [2023-09-06T17:39:46.594Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T17:39:46.594Z] Successfully built 06fdeb236a3d [2023-09-06T17:39:46.594Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T17:39:47.348Z] provisioning config files... [2023-09-06T17:39:47.373Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8431186841129226993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:39:47.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T17:39:47.490Z] [2023-09-06T17:39:47.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:39:47.754Z] ---> docker-login.sh [2023-09-06T17:39:47.755Z] nexus3.edgexfoundry.org:10001 [2023-09-06T17:39:47.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T17:39:47.903Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T17:39:47.903Z] 5eb5b503b376: Pulling fs layer [2023-09-06T17:39:47.903Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T17:39:47.903Z] ec43610c2a17: Pulling fs layer [2023-09-06T17:39:47.903Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T17:39:47.903Z] 33b1e0a273af: Pulling fs layer [2023-09-06T17:39:47.903Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T17:39:47.903Z] 2f39f015ded8: Pulling fs layer [2023-09-06T17:39:47.903Z] 33b1e0a273af: Waiting [2023-09-06T17:39:47.903Z] 5d3b04190fa2: Waiting [2023-09-06T17:39:47.903Z] 2f39f015ded8: Waiting [2023-09-06T17:39:47.903Z] 3a2ae6a8a46f: Waiting [2023-09-06T17:39:47.903Z] 5c69ac0246d0: Verifying Checksum [2023-09-06T17:39:47.903Z] 5c69ac0246d0: Download complete [2023-09-06T17:39:47.903Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T17:39:47.903Z] 3a2ae6a8a46f: Download complete [2023-09-06T17:39:47.903Z] 33b1e0a273af: Verifying Checksum [2023-09-06T17:39:47.903Z] 33b1e0a273af: Download complete [2023-09-06T17:39:47.903Z] 5d3b04190fa2: Verifying Checksum [2023-09-06T17:39:47.903Z] 5d3b04190fa2: Download complete [2023-09-06T17:39:48.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:39:48.163Z] ec43610c2a17: Download complete [2023-09-06T17:39:48.163Z] 5eb5b503b376: Verifying Checksum [2023-09-06T17:39:48.163Z] 5eb5b503b376: Download complete [2023-09-06T17:39:48.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:39:48.299Z] Configure a credential helper to remove this warning. See [2023-09-06T17:39:48.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:39:48.299Z] [2023-09-06T17:39:48.299Z] Login Succeeded [2023-09-06T17:39:48.299Z] nexus3.edgexfoundry.org:10002 [2023-09-06T17:39:48.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:39:48.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:39:48.568Z] Configure a credential helper to remove this warning. See [2023-09-06T17:39:48.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:39:48.568Z] [2023-09-06T17:39:48.568Z] Login Succeeded [2023-09-06T17:39:48.568Z] nexus3.edgexfoundry.org:10003 [2023-09-06T17:39:48.729Z] 2f39f015ded8: Download complete [2023-09-06T17:39:48.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:39:49.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:39:49.113Z] Configure a credential helper to remove this warning. See [2023-09-06T17:39:49.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:39:49.113Z] [2023-09-06T17:39:49.113Z] Login Succeeded [2023-09-06T17:39:49.113Z] nexus3.edgexfoundry.org:10004 [2023-09-06T17:39:49.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:39:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:39:49.386Z] Configure a credential helper to remove this warning. See [2023-09-06T17:39:49.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:39:49.386Z] [2023-09-06T17:39:49.386Z] Login Succeeded [2023-09-06T17:39:49.386Z] docker.io [2023-09-06T17:39:49.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T17:39:49.663Z] 5eb5b503b376: Pull complete [2023-09-06T17:39:49.663Z] 5c69ac0246d0: Pull complete [2023-09-06T17:39:49.921Z] ec43610c2a17: Pull complete [2023-09-06T17:39:49.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T17:39:49.923Z] Configure a credential helper to remove this warning. See [2023-09-06T17:39:49.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T17:39:49.923Z] [2023-09-06T17:39:49.923Z] Login Succeeded [2023-09-06T17:39:49.923Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T17:39:49.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-06T17:39:50.179Z] 3a2ae6a8a46f: Pull complete [2023-09-06T17:39:50.179Z] 33b1e0a273af: Pull complete [Pipeline] echo [2023-09-06T17:39:50.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T17:39:50.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T17:39:50.434Z] ========================================================= [2023-09-06T17:39:50.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T17:39:50.434Z] ========================================================= [2023-09-06T17:39:50.442Z] 5d3b04190fa2: Pull complete [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:39:50.981Z] + 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-09-06T17:39:51.250Z] Sending build context to Docker daemon 1.295MB [2023-09-06T17:39:51.250Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T17:39:51.250Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-06T17:39:51.520Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T17:39:51.520Z] edb6bdbacee9: Pulling fs layer [2023-09-06T17:39:51.520Z] 5f9638ab2659: Pulling fs layer [2023-09-06T17:39:51.520Z] 8d51d6327a98: Pulling fs layer [2023-09-06T17:39:51.520Z] 8b374f2dd631: Pulling fs layer [2023-09-06T17:39:51.520Z] ec14aa9079de: Pulling fs layer [2023-09-06T17:39:51.520Z] 2f466654f4bb: Pulling fs layer [2023-09-06T17:39:51.520Z] 554e91adad29: Pulling fs layer [2023-09-06T17:39:51.520Z] ec14aa9079de: Waiting [2023-09-06T17:39:51.520Z] 2f466654f4bb: Waiting [2023-09-06T17:39:51.520Z] 554e91adad29: Waiting [2023-09-06T17:39:51.520Z] 8b374f2dd631: Waiting [2023-09-06T17:39:51.520Z] 5f9638ab2659: Verifying Checksum [2023-09-06T17:39:51.520Z] 5f9638ab2659: Download complete [2023-09-06T17:39:51.520Z] 8b374f2dd631: Verifying Checksum [2023-09-06T17:39:51.520Z] 8b374f2dd631: Download complete [2023-09-06T17:39:51.520Z] ec14aa9079de: Verifying Checksum [2023-09-06T17:39:51.520Z] ec14aa9079de: Download complete [2023-09-06T17:39:51.520Z] edb6bdbacee9: Verifying Checksum [2023-09-06T17:39:51.520Z] edb6bdbacee9: Download complete [2023-09-06T17:39:52.946Z] 554e91adad29: Verifying Checksum [2023-09-06T17:39:52.946Z] 554e91adad29: Download complete [2023-09-06T17:39:53.911Z] 8d51d6327a98: Download complete [2023-09-06T17:39:53.911Z] 2f466654f4bb: Verifying Checksum [2023-09-06T17:39:53.911Z] edb6bdbacee9: Pull complete [2023-09-06T17:39:54.504Z] 5f9638ab2659: Pull complete [2023-09-06T17:39:54.637Z] 2f39f015ded8: Pull complete [2023-09-06T17:39:54.637Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T17:39:54.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T17:39:54.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:39:54.866Z] prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container [2023-09-06T17:39:54.899Z] $ 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-282 -v /w/workspace/foundry_device-usb-camera_PR-282:/w/workspace/foundry_device-usb-camera_PR-282:rw,z -v /w/workspace/foundry_device-usb-camera_PR-282@tmp:/w/workspace/foundry_device-usb-camera_PR-282@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-09-06T17:39:58.715Z] $ docker top 4ca173036555b426b192ae69b68ce62668ae72026ca06c1d51e41c6e4a3e30c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:39:59.180Z] ---> job-cost.sh [2023-09-06T17:39:59.180Z] lf-activate-venv: SKIPPING [2023-09-06T17:39:59.180Z] INFO: No Stack... [2023-09-06T17:39:59.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T17:39:59.698Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T17:40:00.015Z] + cat /w/workspace/foundry_device-usb-camera_PR-282/archives/cost.csv [2023-09-06T17:40:00.015Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T17:40:00.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [2023-09-06T17:40:00.060Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] did not exist. Created. [2023-09-06T17:40:00.060Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T17:40:00.465Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T17:40:00.521Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T17:40:00.553Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T17:40:00.636Z] $ docker stop --time=1 4ca173036555b426b192ae69b68ce62668ae72026ca06c1d51e41c6e4a3e30c9 [2023-09-06T17:40:01.795Z] $ docker rm -f --volumes 4ca173036555b426b192ae69b68ce62668ae72026ca06c1d51e41c6e4a3e30c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T17:40:06.973Z] 8d51d6327a98: Pull complete [2023-09-06T17:40:07.240Z] 8b374f2dd631: Pull complete [2023-09-06T17:40:07.509Z] ec14aa9079de: Pull complete [2023-09-06T17:40:14.185Z] 2f466654f4bb: Pull complete [2023-09-06T17:40:16.786Z] 554e91adad29: Pull complete [2023-09-06T17:40:16.786Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T17:40:16.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T17:40:16.786Z] ---> 1e15ea492957 [2023-09-06T17:40:16.786Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-06T17:40:18.192Z] ---> Running in 48c25cc2b3b5 [2023-09-06T17:40:18.459Z] Removing intermediate container 48c25cc2b3b5 [2023-09-06T17:40:18.459Z] ---> a8c4e01f8aa6 [2023-09-06T17:40:18.459Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T17:40:18.459Z] ---> Running in fe0a2c2b4707 [2023-09-06T17:40:18.726Z] Removing intermediate container fe0a2c2b4707 [2023-09-06T17:40:18.726Z] ---> 8ef0f05ca4fa [2023-09-06T17:40:18.726Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T17:40:18.993Z] ---> Running in 0654c6d7ec39 [2023-09-06T17:40:19.259Z] Removing intermediate container 0654c6d7ec39 [2023-09-06T17:40:19.259Z] ---> 9c4c36e59a96 [2023-09-06T17:40:19.259Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T17:40:19.259Z] ---> Running in 7f4696a99c58 [2023-09-06T17:40:19.530Z] Removing intermediate container 7f4696a99c58 [2023-09-06T17:40:19.530Z] ---> aadc9658b7c0 [2023-09-06T17:40:19.530Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T17:40:19.530Z] ---> Running in 70d3e450e0c2 [2023-09-06T17:40:20.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T17:40:21.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T17:40:22.170Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-06T17:40:22.170Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-06T17:40:22.170Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T17:40:22.170Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T17:40:22.170Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-06T17:40:22.170Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-06T17:40:22.170Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-06T17:40:22.170Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-06T17:40:22.170Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-06T17:40:22.170Z] (10/14) Installing kmod-libs (30-r1) [2023-09-06T17:40:22.170Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-06T17:40:22.441Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-06T17:40:22.441Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-06T17:40:22.441Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-06T17:40:22.441Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T17:40:22.441Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T17:40:22.441Z] OK: 271 MiB in 67 packages [2023-09-06T17:40:23.860Z] Removing intermediate container 70d3e450e0c2 [2023-09-06T17:40:23.860Z] ---> d9c27007698b [2023-09-06T17:40:23.860Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-06T17:40:23.860Z] ---> Running in 73d313b2a45e [2023-09-06T17:40:23.860Z] Removing intermediate container 73d313b2a45e [2023-09-06T17:40:23.860Z] ---> 4dbe2b9f6afb [2023-09-06T17:40:23.860Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-06T17:40:24.452Z] ---> 965fb845266d [2023-09-06T17:40:24.452Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T17:40:24.452Z] ---> Running in a47e6a3dc238 [2023-09-06T17:41:32.327Z] Removing intermediate container a47e6a3dc238 [2023-09-06T17:41:32.327Z] ---> e39ae9a74842 [2023-09-06T17:41:32.327Z] Step 11/13 : COPY . . [2023-09-06T17:41:32.327Z] ---> 260d73c1d75f [2023-09-06T17:41:32.327Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T17:41:32.327Z] ---> Running in bfee7d7c5f45 [2023-09-06T17:41:32.327Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:41:32.327Z] Dload Upload Total Spent Left Speed [2023-09-06T17:41:32.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 5110 0 --:--:-- --:--:-- --:--:-- 5135 [2023-09-06T17:41:32.327Z] Removing intermediate container bfee7d7c5f45 [2023-09-06T17:41:32.327Z] ---> 218dc786af0e [2023-09-06T17:41:32.327Z] Step 13/13 : RUN ${MAKE} [2023-09-06T17:41:32.327Z] ---> Running in 45fd087bdb03 [2023-09-06T17:41:32.327Z] noop [2023-09-06T17:41:32.327Z] Removing intermediate container 45fd087bdb03 [2023-09-06T17:41:32.327Z] ---> 0f0119978ec6 [2023-09-06T17:41:32.327Z] Successfully built 0f0119978ec6 [2023-09-06T17:41:32.327Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:41:32.801Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T17:41:32.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:41:33.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-09-06T17:41:33.142Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-06T17:41:34.285Z] $ docker top 3110e6c9ffed8c6faaeccf0d05d402c3ab23971252fe1dd885129f46a2c42feb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T17:41:35.142Z] + go version [2023-09-06T17:41:35.143Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T17:41:35.183Z] $ docker stop --time=1 3110e6c9ffed8c6faaeccf0d05d402c3ab23971252fe1dd885129f46a2c42feb [2023-09-06T17:41:36.798Z] $ docker rm -f --volumes 3110e6c9ffed8c6faaeccf0d05d402c3ab23971252fe1dd885129f46a2c42feb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:41:37.648Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T17:41:37.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:41:37.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-09-06T17:41:37.968Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-06T17:41:39.093Z] $ docker top f5e5aa6b4b83aed973dc2fa191992623a293e572f77dcdee605d11d062f807c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T17:41:39.634Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-09-06T17:41:40.012Z] + make test [2023-09-06T17:41:40.012Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T17:42:12.237Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-06T17:44:18.896Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-06T17:44:20.298Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.093s coverage: 4.4% of statements [2023-09-06T17:44:20.879Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T17:44:20.879Z] go vet ./... [2023-09-06T17:44:47.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T17:44:47.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T17:44:47.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T17:44:47.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T17:44:47.639Z] $ docker stop --time=1 f5e5aa6b4b83aed973dc2fa191992623a293e572f77dcdee605d11d062f807c3 [2023-09-06T17:44:49.395Z] $ docker rm -f --volumes f5e5aa6b4b83aed973dc2fa191992623a293e572f77dcdee605d11d062f807c3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T17:44:50.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T17:44:50.608Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T17:44:51.043Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T17:44:51.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T17:44:51.982Z] + ls -al . [2023-09-06T17:44:51.982Z] total 216 [2023-09-06T17:44:51.982Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 17:41 . [2023-09-06T17:44:51.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 17:39 .. [2023-09-06T17:44:51.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 17:39 .git [2023-09-06T17:44:51.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:39 .github [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 6 17:39 .gitignore [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 6 17:39 .golangci.yml [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 6 17:39 .hadolint.yml [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 6 17:39 Attribution.txt [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 6 17:39 CHANGELOG.md [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 6 17:39 Dockerfile [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 6 17:39 GOVERNANCE.md [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 6 17:39 Jenkinsfile [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 17:39 LICENSE [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 6 17:39 Makefile [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 17:39 OWNERS.md [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 6 17:39 README.md [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 17:37 VERSION [2023-09-06T17:44:51.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 17:39 bin [2023-09-06T17:44:51.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:39 cmd [2023-09-06T17:44:51.982Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 6 17:44 coverage.out [2023-09-06T17:44:51.982Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 6 17:39 docker-entrypoint.sh [2023-09-06T17:44:51.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 17:39 docs [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 6 17:39 go.mod [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 6 17:39 go.sum [2023-09-06T17:44:51.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 17:39 internal [2023-09-06T17:44:51.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 17:39 snap [2023-09-06T17:44:51.982Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 6 17:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:44:52.400Z] + 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=3eb6799542c82009f5d38543cb65ea9726f93cfb --label arch=arm64 --label version=0.0.0 . [2023-09-06T17:44:52.668Z] Sending build context to Docker daemon 1.35MB [2023-09-06T17:44:52.668Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T17:44:52.668Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-06T17:44:52.668Z] ---> 0f0119978ec6 [2023-09-06T17:44:52.668Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-06T17:44:53.625Z] ---> Running in 8465c217b935 [2023-09-06T17:44:53.892Z] Removing intermediate container 8465c217b935 [2023-09-06T17:44:53.892Z] ---> 3ee8f573888a [2023-09-06T17:44:53.892Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T17:44:53.892Z] ---> Running in 50db33db9b2f [2023-09-06T17:44:54.157Z] Removing intermediate container 50db33db9b2f [2023-09-06T17:44:54.157Z] ---> a91c7142e46b [2023-09-06T17:44:54.157Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T17:44:54.157Z] ---> Running in b9b07a84df55 [2023-09-06T17:44:54.421Z] Removing intermediate container b9b07a84df55 [2023-09-06T17:44:54.421Z] ---> 26f0b222d985 [2023-09-06T17:44:54.421Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T17:44:54.689Z] ---> Running in 823b6cf1d06d [2023-09-06T17:44:54.956Z] Removing intermediate container 823b6cf1d06d [2023-09-06T17:44:54.956Z] ---> 0e6faacda1ad [2023-09-06T17:44:54.956Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T17:44:54.956Z] ---> Running in ff388864552f [2023-09-06T17:44:55.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T17:44:56.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T17:44:57.447Z] OK: 271 MiB in 67 packages [2023-09-06T17:44:58.031Z] Removing intermediate container ff388864552f [2023-09-06T17:44:58.031Z] ---> 3b3160245324 [2023-09-06T17:44:58.031Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-06T17:44:58.031Z] ---> Running in 86e5ef95a109 [2023-09-06T17:44:58.296Z] Removing intermediate container 86e5ef95a109 [2023-09-06T17:44:58.296Z] ---> 4f67b571c5d4 [2023-09-06T17:44:58.296Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-06T17:44:58.878Z] ---> 4e15cd43126d [2023-09-06T17:44:58.878Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T17:44:58.878Z] ---> Running in 11abd8d9923b [2023-09-06T17:45:01.463Z] Removing intermediate container 11abd8d9923b [2023-09-06T17:45:01.463Z] ---> 0ae3f5281383 [2023-09-06T17:45:01.463Z] Step 11/36 : COPY . . [2023-09-06T17:45:02.424Z] ---> 59ae4c0c05c2 [2023-09-06T17:45:02.424Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T17:45:02.424Z] ---> Running in 34d2d029079f [2023-09-06T17:45:03.388Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:45:03.388Z] Dload Upload Total Spent  Left Speed [2023-09-06T17:45:03.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4004 0 --:--:-- --:--:-- --:--:-- 4016 [2023-09-06T17:45:04.241Z] Removing intermediate container 34d2d029079f [2023-09-06T17:45:04.241Z] ---> 7b8dbabc7301 [2023-09-06T17:45:04.241Z] Step 13/36 : RUN ${MAKE} [2023-09-06T17:45:04.241Z] ---> Running in f14a6eebf6b4 [2023-09-06T17:45:05.199Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-06T17:47:41.881Z] Removing intermediate container f14a6eebf6b4 [2023-09-06T17:47:41.881Z] ---> b848316c1e0c [2023-09-06T17:47:41.881Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-06T17:47:41.881Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-06T17:47:41.881Z] 8766b47fe142: Pulling fs layer [2023-09-06T17:47:41.881Z] 8766b47fe142: Verifying Checksum [2023-09-06T17:47:41.881Z] 8766b47fe142: Download complete [2023-09-06T17:47:41.881Z] 8766b47fe142: Pull complete [2023-09-06T17:47:41.881Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-06T17:47:41.881Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-06T17:47:41.881Z] ---> 69d40e2cb93c [2023-09-06T17:47:41.881Z] Step 15/36 : FROM alpine:3.17 [2023-09-06T17:47:41.881Z] 3.17: Pulling from library/alpine [2023-09-06T17:47:41.881Z] 4060ece20d7a: Pulling fs layer [2023-09-06T17:47:41.881Z] 4060ece20d7a: Verifying Checksum [2023-09-06T17:47:41.881Z] 4060ece20d7a: Download complete [2023-09-06T17:47:41.881Z] 4060ece20d7a: Pull complete [2023-09-06T17:47:41.881Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T17:47:41.881Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T17:47:41.881Z] ---> 8650cd65339b [2023-09-06T17:47:41.881Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-06T17:47:41.881Z] ---> Running in 72f8ba1b1ac4 [2023-09-06T17:47:41.881Z] Removing intermediate container 72f8ba1b1ac4 [2023-09-06T17:47:41.881Z] ---> 5d143ca94be9 [2023-09-06T17:47:41.881Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-06T17:47:41.881Z] ---> Running in 784759e44b7b [2023-09-06T17:47:41.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T17:47:41.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T17:47:41.881Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-09-06T17:47:41.881Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-09-06T17:47:41.881Z] (3/83) Installing libxau (1.0.10-r0) [2023-09-06T17:47:41.881Z] (4/83) Installing libmd (1.0.4-r0) [2023-09-06T17:47:41.881Z] (5/83) Installing libbsd (0.11.7-r0) [2023-09-06T17:47:41.881Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-09-06T17:47:41.881Z] (7/83) Installing libxcb (1.15-r0) [2023-09-06T17:47:41.881Z] (8/83) Installing libx11 (1.8.4-r1) [2023-09-06T17:47:41.881Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-09-06T17:47:41.881Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-09-06T17:47:41.881Z] (11/83) Installing libexpat (2.5.0-r0) [2023-09-06T17:47:41.881Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-09-06T17:47:41.881Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-09-06T17:47:41.881Z] (14/83) Installing libpng (1.6.39-r0) [2023-09-06T17:47:41.881Z] (15/83) Installing freetype (2.12.1-r0) [2023-09-06T17:47:41.881Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-09-06T17:47:41.881Z] (17/83) Installing fribidi (1.0.12-r0) [2023-09-06T17:47:41.881Z] (18/83) Installing libffi (3.4.4-r0) [2023-09-06T17:47:41.881Z] (19/83) Installing libintl (0.21.1-r1) [2023-09-06T17:47:41.881Z] (20/83) Installing libblkid (2.38.1-r1) [2023-09-06T17:47:41.881Z] (21/83) Installing libmount (2.38.1-r1) [2023-09-06T17:47:41.881Z] (22/83) Installing pcre2 (10.42-r0) [2023-09-06T17:47:41.881Z] (23/83) Installing glib (2.74.7-r0) [2023-09-06T17:47:41.881Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-09-06T17:47:41.881Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-09-06T17:47:41.881Z] (26/83) Installing libass (0.16.0-r1) [2023-09-06T17:47:41.881Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-09-06T17:47:41.881Z] (28/83) Installing libdrm (2.4.114-r0) [2023-09-06T17:47:41.881Z] (29/83) Installing gmp (6.2.1-r2) [2023-09-06T17:47:41.881Z] (30/83) Installing nettle (3.8.1-r0) [2023-09-06T17:47:41.881Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-09-06T17:47:41.881Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-09-06T17:47:41.881Z] (33/83) Installing libunistring (1.1-r0) [2023-09-06T17:47:41.881Z] (34/83) Installing gnutls (3.7.8-r3) [2023-09-06T17:47:41.881Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-06T17:47:41.881Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-06T17:47:41.881Z] (37/83) Installing lame (3.100-r2) [2023-09-06T17:47:41.881Z] (38/83) Installing opus (1.3.1-r1) [2023-09-06T17:47:41.881Z] (39/83) Installing libasyncns (0.8-r1) [2023-09-06T17:47:41.881Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-09-06T17:47:41.881Z] (41/83) Installing libltdl (2.4.7-r1) [2023-09-06T17:47:41.881Z] (42/83) Installing orc (0.4.33-r0) [2023-09-06T17:47:41.881Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-09-06T17:47:41.881Z] (44/83) Installing libogg (1.3.5-r2) [2023-09-06T17:47:41.881Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-06T17:47:41.881Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-09-06T17:47:41.881Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-09-06T17:47:41.881Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-09-06T17:47:41.882Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-09-06T17:47:41.882Z] (50/83) Installing soxr (0.1.3-r3) [2023-09-06T17:47:41.882Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-09-06T17:47:41.882Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-09-06T17:47:41.882Z] (53/83) Installing libpulse (16.1-r6) [2023-09-06T17:47:41.882Z] (54/83) Installing cjson (1.7.15-r3) [2023-09-06T17:47:41.882Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-09-06T17:47:41.882Z] (56/83) Installing librist (0.2.7-r0) [2023-09-06T17:47:41.882Z] (57/83) Installing libsrt (1.5.1-r0) [2023-09-06T17:47:41.882Z] (58/83) Installing libssh (0.10.5-r0) [2023-09-06T17:47:41.882Z] (59/83) Installing libtheora (1.1.1-r16) [2023-09-06T17:47:41.882Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T17:47:41.882Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T17:47:41.882Z] (62/83) Installing libxext (1.3.5-r0) [2023-09-06T17:47:41.882Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-09-06T17:47:41.882Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-09-06T17:47:41.882Z] (65/83) Installing libva (2.16.0-r0) [2023-09-06T17:47:41.882Z] (66/83) Installing libvdpau (1.5-r0) [2023-09-06T17:47:41.882Z] (67/83) Installing vidstab (1.1.0-r2) [2023-09-06T17:47:41.882Z] (68/83) Installing libvpx (1.12.0-r1) [2023-09-06T17:47:41.882Z] (69/83) Installing libwebp (1.2.4-r2) [2023-09-06T17:47:41.882Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-09-06T17:47:41.882Z] (71/83) Installing numactl (2.0.16-r1) [2023-09-06T17:47:41.882Z] (72/83) Installing x265-libs (3.5-r3) [2023-09-06T17:47:41.882Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-09-06T17:47:41.882Z] (74/83) Installing libsodium (1.0.18-r2) [2023-09-06T17:47:41.882Z] (75/83) Installing libzmq (4.3.4-r1) [2023-09-06T17:47:41.882Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-09-06T17:47:41.882Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-09-06T17:47:41.882Z] (78/83) Installing udev-init-scripts (35-r1) [2023-09-06T17:47:41.882Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-09-06T17:47:41.882Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-09-06T17:47:41.882Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-09-06T17:47:41.882Z] (82/83) Installing kmod-libs (30-r1) [2023-09-06T17:47:41.882Z] (83/83) Installing eudev (3.2.11-r4) [2023-09-06T17:47:41.882Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T17:47:41.882Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T17:47:41.882Z] OK: 86 MiB in 98 packages [2023-09-06T17:47:42.150Z] Removing intermediate container 784759e44b7b [2023-09-06T17:47:42.150Z] ---> 392814e9c57b [2023-09-06T17:47:42.150Z] Step 18/36 : WORKDIR / [2023-09-06T17:47:42.418Z] ---> Running in fbb7729526f1 [2023-09-06T17:47:42.818Z] Removing intermediate container fbb7729526f1 [2023-09-06T17:47:42.818Z] ---> 39d482a58b7c [2023-09-06T17:47:42.818Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-06T17:47:44.223Z] ---> 8ba22891dab1 [2023-09-06T17:47:44.223Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-06T17:47:44.489Z] ---> 2cbca387967e [2023-09-06T17:47:44.489Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-06T17:47:47.063Z] ---> 6a5863c609cc [2023-09-06T17:47:47.063Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-06T17:47:47.063Z] ---> 501a0adc353a [2023-09-06T17:47:47.063Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-06T17:47:47.644Z] ---> a388298934db [2023-09-06T17:47:47.644Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-06T17:47:47.913Z] ---> 5b4e5a0e3d12 [2023-09-06T17:47:47.913Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-06T17:47:49.317Z] ---> e4bf0b46f2d7 [2023-09-06T17:47:49.317Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-06T17:47:49.317Z] ---> Running in fa2b108061e5 [2023-09-06T17:47:51.258Z] Removing intermediate container fa2b108061e5 [2023-09-06T17:47:51.258Z] ---> 37ed08de646e [2023-09-06T17:47:51.258Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-06T17:47:51.258Z] ---> Running in 07ee5e482b22 [2023-09-06T17:47:52.663Z] Removing intermediate container 07ee5e482b22 [2023-09-06T17:47:52.663Z] ---> dca9bc3c13a5 [2023-09-06T17:47:52.663Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-06T17:47:52.663Z] ---> Running in 8eedd6bbbac6 [2023-09-06T17:47:54.066Z] Removing intermediate container 8eedd6bbbac6 [2023-09-06T17:47:54.066Z] ---> 34c2b0565bf6 [2023-09-06T17:47:54.066Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-06T17:47:54.336Z] ---> Running in 4a83f2e520da [2023-09-06T17:47:55.741Z] Removing intermediate container 4a83f2e520da [2023-09-06T17:47:55.741Z] ---> fa068485f4b4 [2023-09-06T17:47:55.741Z] Step 30/36 : EXPOSE 59983 [2023-09-06T17:47:55.741Z] ---> Running in 73220180a657 [2023-09-06T17:47:56.007Z] Removing intermediate container 73220180a657 [2023-09-06T17:47:56.007Z] ---> 490a6d34a777 [2023-09-06T17:47:56.007Z] Step 31/36 : EXPOSE 8554 [2023-09-06T17:47:56.272Z] ---> Running in 49b8a97c3b9a [2023-09-06T17:47:56.536Z] Removing intermediate container 49b8a97c3b9a [2023-09-06T17:47:56.536Z] ---> 9b48aff92147 [2023-09-06T17:47:56.536Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-06T17:47:56.536Z] ---> Running in e2487b0ea41d [2023-09-06T17:47:56.801Z] Removing intermediate container e2487b0ea41d [2023-09-06T17:47:56.801Z] ---> d420307025a0 [2023-09-06T17:47:56.801Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-06T17:47:56.801Z] ---> Running in a8d4e238ecd8 [2023-09-06T17:47:57.145Z] Removing intermediate container a8d4e238ecd8 [2023-09-06T17:47:57.145Z] ---> 61242b455624 [2023-09-06T17:47:57.145Z] Step 34/36 : LABEL arch=arm64 [2023-09-06T17:47:57.145Z] ---> Running in 919a111f4454 [2023-09-06T17:47:57.414Z] Removing intermediate container 919a111f4454 [2023-09-06T17:47:57.414Z] ---> 6045e51a4d97 [2023-09-06T17:47:57.414Z] Step 35/36 : LABEL git_sha=3eb6799542c82009f5d38543cb65ea9726f93cfb [2023-09-06T17:47:57.414Z] ---> Running in b0024321f843 [2023-09-06T17:47:57.688Z] Removing intermediate container b0024321f843 [2023-09-06T17:47:57.688Z] ---> 27c3238f8d7f [2023-09-06T17:47:57.688Z] Step 36/36 : LABEL version=0.0.0 [2023-09-06T17:47:57.956Z] ---> Running in a68f9dbc5553 [2023-09-06T17:47:58.225Z] Removing intermediate container a68f9dbc5553 [2023-09-06T17:47:58.225Z] ---> 5d38e98e2a95 [2023-09-06T17:47:58.225Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T17:47:58.225Z] Successfully built 5d38e98e2a95 [2023-09-06T17:47:58.225Z] 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-09-06T17:47:59.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T17:47:59.050Z] [2023-09-06T17:47:59.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:47:59.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T17:47:59.472Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T17:47:59.472Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T17:47:59.472Z] 04944245beec: Pulling fs layer [2023-09-06T17:47:59.472Z] 699f458cf7ca: Pulling fs layer [2023-09-06T17:47:59.472Z] 765212b225bb: Pulling fs layer [2023-09-06T17:47:59.472Z] f23df028b6ca: Pulling fs layer [2023-09-06T17:47:59.472Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T17:47:59.472Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T17:47:59.472Z] 765212b225bb: Waiting [2023-09-06T17:47:59.472Z] f23df028b6ca: Waiting [2023-09-06T17:47:59.472Z] d65c8cfc05b1: Waiting [2023-09-06T17:47:59.472Z] 2437ff75d9bd: Waiting [2023-09-06T17:47:59.752Z] 04944245beec: Verifying Checksum [2023-09-06T17:47:59.752Z] 04944245beec: Download complete [2023-09-06T17:47:59.752Z] 765212b225bb: Verifying Checksum [2023-09-06T17:47:59.752Z] 765212b225bb: Download complete [2023-09-06T17:47:59.752Z] f23df028b6ca: Verifying Checksum [2023-09-06T17:47:59.752Z] f23df028b6ca: Download complete [2023-09-06T17:47:59.752Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T17:47:59.752Z] d65c8cfc05b1: Download complete [2023-09-06T17:47:59.752Z] 699f458cf7ca: Verifying Checksum [2023-09-06T17:47:59.752Z] 699f458cf7ca: Download complete [2023-09-06T17:48:00.363Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T17:48:00.363Z] 8998bd30e6a1: Download complete [2023-09-06T17:48:02.322Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T17:48:02.322Z] 2437ff75d9bd: Download complete [2023-09-06T17:48:04.262Z] 8998bd30e6a1: Pull complete [2023-09-06T17:48:04.530Z] 04944245beec: Pull complete [2023-09-06T17:48:05.932Z] 699f458cf7ca: Pull complete [2023-09-06T17:48:05.932Z] 765212b225bb: Pull complete [2023-09-06T17:48:06.900Z] f23df028b6ca: Pull complete [2023-09-06T17:48:06.900Z] d65c8cfc05b1: Pull complete [2023-09-06T17:48:21.894Z] 2437ff75d9bd: Pull complete [2023-09-06T17:48:21.894Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T17:48:21.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T17:48:21.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:48:22.202Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-09-06T17:48:22.274Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-06T17:48:24.696Z] $ docker top 753dbc2229d91e31d4a3d44824d4df3d691dcfcb0888927e775e1526ea5d783d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:48:25.573Z] ---> job-cost.sh [2023-09-06T17:48:25.573Z] lf-activate-venv: SKIPPING [2023-09-06T17:48:25.573Z] INFO: No Stack... [2023-09-06T17:48:26.154Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T17:48:26.735Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T17:48:27.384Z] + cut -d, -f6 [2023-09-06T17:48:27.384Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-09-06T17:48:27.434Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [2023-09-06T17:48:27.439Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] did not exist. Created. [2023-09-06T17:48:27.440Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T17:48:27.850Z] /w/workspace/device-usb-camera/1@tmp/durable-765b9939/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T17:48:28.200Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T17:48:28.240Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T17:48:28.289Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T17:48:28.304Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T17:48:28.401Z] $ docker stop --time=1 753dbc2229d91e31d4a3d44824d4df3d691dcfcb0888927e775e1526ea5d783d [2023-09-06T17:48:29.889Z] $ docker rm -f --volumes 753dbc2229d91e31d4a3d44824d4df3d691dcfcb0888927e775e1526ea5d783d [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-09-06T17:48:30.860Z] provisioning config files... [2023-09-06T17:48:30.868Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-282@tmp/config12543607761311454479tmp [Pipeline] { [Pipeline] sh [2023-09-06T17:48:31.209Z] + set +x [2023-09-06T17:48:31.209Z] + curl -s https://codecov.io/bash [2023-09-06T17:48:31.209Z] + bash -s -- [2023-09-06T17:48:31.469Z] [2023-09-06T17:48:31.469Z] _____ _ [2023-09-06T17:48:31.469Z] / ____| | | [2023-09-06T17:48:31.469Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T17:48:31.469Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T17:48:31.469Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T17:48:31.469Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T17:48:31.469Z] Bash-1.0.6 [2023-09-06T17:48:31.469Z] [2023-09-06T17:48:31.469Z] [2023-09-06T17:48:31.469Z] ==> git version 2.25.1 found [2023-09-06T17:48:31.469Z] ==> 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-09-06T17:48:31.469Z] Release-Date: 2020-01-08 [2023-09-06T17:48:31.469Z] 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-09-06T17:48:31.469Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T17:48:31.469Z] ==> Jenkins CI detected. [2023-09-06T17:48:31.469Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-282 [2023-09-06T17:48:31.469Z] project root: . [2023-09-06T17:48:31.469Z] --> token set from env [2023-09-06T17:48:31.469Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T17:48:31.469Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T17:48:31.469Z] ==> Python coveragepy not found [2023-09-06T17:48:31.469Z] ==> Searching for coverage reports in: [2023-09-06T17:48:31.469Z] + . [2023-09-06T17:48:31.469Z] -> Found 1 reports [2023-09-06T17:48:31.469Z] ==> Detecting git/mercurial file structure [2023-09-06T17:48:31.469Z] ==> Reading reports [2023-09-06T17:48:31.469Z] + ./coverage.out bytes=53856 [2023-09-06T17:48:31.469Z] ==> Appending adjustments [2023-09-06T17:48:31.469Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T17:48:31.730Z] + Found adjustments [2023-09-06T17:48:31.730Z] ==> Gzipping contents [2023-09-06T17:48:31.730Z] 8.0K /tmp/codecov.NSdMqI.gz [2023-09-06T17:48:31.730Z] ==> Uploading reports [2023-09-06T17:48:31.730Z] url: https://codecov.io [2023-09-06T17:48:31.730Z] query: branch=PR-282&commit=3eb6799542c82009f5d38543cb65ea9726f93cfb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=282&job=&cmd_args= [2023-09-06T17:48:31.730Z] -> Pinging Codecov [2023-09-06T17:48:31.730Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-282&commit=3eb6799542c82009f5d38543cb65ea9726f93cfb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=282&job=&cmd_args= [2023-09-06T17:49:39.430Z] -> Uploading to [2023-09-06T17:49:39.430Z] [2023-09-06T17:49:39.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:49:39.430Z] Dload Upload Total Spent Left Speed [2023-09-06T17:49:39.430Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: [2023-09-06T17:49:39.430Z] X> Failed to upload [2023-09-06T17:49:39.430Z] ==> Uploading to Codecov [2023-09-06T17:49:39.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T17:49:39.430Z] Dload Upload Total Spent Left Speed [2023-09-06T17:49:39.430Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7133 100 250 100 6883 1436 39557 --:--:-- --:--:-- --:--:-- 40994 [2023-09-06T17:49:39.430Z] Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "a6ccdcaf-8975-4693-ab2d-4008fdf7b4bd", "url": "https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/3eb6799542c82009f5d38543cb65ea9726f93cfb"} [Pipeline] } [2023-09-06T17:49:39.456Z] 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-09-06T17:49:41.276Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-282/archives ] [2023-09-06T17:49:41.276Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-282/archives [2023-09-06T17:49:41.276Z] total 16 [2023-09-06T17:49:41.276Z] drwxr-xr-x 3 root root 4096 Sep 6 17:39 . [2023-09-06T17:49:41.276Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 17:40 .. [2023-09-06T17:49:41.276Z] drwxr-xr-x 2 root root 4096 Sep 6 17:39 cost [2023-09-06T17:49:41.276Z] -rw-r--r-- 1 root root 89 Sep 6 17:39 cost.csv [2023-09-06T17:49:41.276Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-282/archives [2023-09-06T17:49:41.276Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-282/archives [2023-09-06T17:49:41.276Z] total 16 [2023-09-06T17:49:41.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 17:39 . [2023-09-06T17:49:41.276Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 17:40 .. [2023-09-06T17:49:41.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 17:39 cost [2023-09-06T17:49:41.276Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 6 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:41.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:42.494Z] ---> package-listing.sh [2023-09-06T17:49:42.494Z] ++ facter osfamily [2023-09-06T17:49:42.494Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T17:49:42.753Z] + OS_FAMILY=debian [2023-09-06T17:49:42.753Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-282 [2023-09-06T17:49:42.753Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T17:49:42.753Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T17:49:42.753Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T17:49:42.753Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T17:49:42.753Z] + '[' /w/workspace/foundry_device-usb-camera_PR-282 ']' [2023-09-06T17:49:42.753Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T17:49:42.753Z] + case "${OS_FAMILY}" in [2023-09-06T17:49:42.753Z] + dpkg -l [2023-09-06T17:49:42.753Z] + grep '^ii' [2023-09-06T17:49:42.753Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T17:49:42.753Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T17:49:42.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T17:49:42.754Z] + '[' /w/workspace/foundry_device-usb-camera_PR-282 ']' [2023-09-06T17:49:42.754Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-282/archives/ [2023-09-06T17:49:42.754Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-282/archives/ [Pipeline] echo [2023-09-06T17:49:42.787Z] 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-282/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T17:49:43.079Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T17:49:43.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T17:49:43.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T17:49:43.852Z] prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container [2023-09-06T17:49:43.884Z] $ 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-282/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-282 -v /w/workspace/foundry_device-usb-camera_PR-282:/w/workspace/foundry_device-usb-camera_PR-282:rw,z -v /w/workspace/foundry_device-usb-camera_PR-282@tmp:/w/workspace/foundry_device-usb-camera_PR-282@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-09-06T17:49:44.093Z] $ docker top 02ab5b8bc178d689716747d9056d5f3b6ce82e6b1200912558fc927181722f37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T17:49:44.486Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T17:49:44.798Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T17:49:45.108Z] + ls /var/log/sa-host [2023-09-06T17:49:45.108Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T17:49:45.341Z] provisioning config files... [2023-09-06T17:49:45.350Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-282@tmp/config6573853316726915498tmp [Pipeline] { [Pipeline] echo [2023-09-06T17:49:45.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:45.705Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T17:49:45.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:46.146Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T17:49:46.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:46.490Z] ---> sudo-logs.sh [2023-09-06T17:49:46.490Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T17:49:46.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:46.891Z] ---> job-cost.sh [2023-09-06T17:49:46.891Z] lf-activate-venv: SKIPPING [2023-09-06T17:49:46.891Z] DEBUG: total: 0.2199999988079071 [2023-09-06T17:49:46.891Z] INFO: Retrieving Stack Cost... [2023-09-06T17:49:47.459Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T17:49:47.718Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T17:49:47.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T17:49:48.062Z] ---> logs-deploy.sh [2023-09-06T17:49:48.063Z] lf-activate-venv: SKIPPING [2023-09-06T17:49:48.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-282/1 [2023-09-06T17:49:48.063Z] INFO: archiving workspace using pattern(s): [2023-09-06T17:49:49.000Z] Archives upload complete. [2023-09-06T17:49:49.000Z] INFO: archiving logs to Nexus